html {
  font-size: 16px;
}

body {
  font-size: 1rem;
  line-height: 1.6;
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 90px; /* altura aproximada del navbar */
}

.logo-navbar {
  height: 32px;
  width: auto;
  margin: 0.7rem 0;
}

.navbar-custom {
  background-color: #262523;
  border-bottom: 4px solid #b41c35;
}

.navbar-custom .nav-link,
.navbar-custom .navbar-brand {
  color: #f8f9fa;
}

.navbar-custom .nav-link {
  font-size: 1rem;
  font-weight: 500;
}

.navbar-custom .nav-link:hover {
  color: #ffc107;
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../img/hero.jpg") center / cover no-repeat;

  min-height: 100vh;
  padding-top: 90px; /* espacio para navbar fixed */
}

.hero-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.5;
}

.hero-credit-wrapper {
  background: #f8f9fa;
  padding: 4px 10px;
  text-align: right;
}

.hero-credit {
  font-size: 0.75rem;
  color: #6c757d;
  text-decoration: none;
}

.hero-credit:hover {
  color: #dc3545;
  text-decoration: underline;
}

.section {
  padding: 50px 0;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

#sobre p {
  font-size: 1.05rem;
}

.icon {
  font-size: 40px;
  color: #6f42c1;
  margin-bottom: 15px;
}

.card h5 {
  font-size: 1.1rem;
}

.card p {
  font-size: 0.95rem;
}

.card {
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.testimonial {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
}

.testimonial::before {
  content: "“";
  font-size: 3rem;
  color: #e0e0e0;
  position: absolute;
  top: 10px;
  left: 15px;
}

.testimonial img {
  width: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.testimonial p {
  font-size: 0.95rem;
}

#testimonios a {
  color: #6f42c1;
  text-decoration: none;
  font-weight: 500;
}

#testimonios a:hover {
  text-decoration: underline;
}

.stars {
  color: #ffc107; /* amarillo tipo Google */
  font-size: 1.1rem;
}

#contacto p {
  font-size: 1.05rem;
}

#contactForm input,
#contactForm textarea {
  font-size: 1.1rem;
}

#contactForm button {
  width: 100%;
}

.social-icons a {
  color: #262523;
  text-decoration: none;
  font-size: 1.5rem;
  margin-right: 12px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffc107;
}

iframe {
  border-radius: 10px;
}

@media (min-width: 768px) {
  .logo-navbar {
    height: 50px;
  }

  .navbar-custom .nav-link {
    font-size: 1.15rem;
  }

  .hero-logo {
    max-width: 800px;
  }

  .hero p {
    font-size: 1.4rem;
  }

  .section {
    padding: 80px 0;
  }

  .section h2 {
    font-size: 2rem;
  }

  #sobre p {
    font-size: 1.2rem;
  }

  .card h5 {
    font-size: 1.2rem;
  }

  .card p {
    font-size: 1rem;
  }

  .testimonial p {
    font-size: 1rem;
  }

  #contacto p {
    font-size: 1.15rem;
  }
}
