:root {
  --azul: #154F8E;
  --amarillo: #F6C745;
  --oscuro: #0B1F33;
  --gris: #F5F7FA;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--oscuro);
  scroll-behavior: smooth;
}

.navbar {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
}

.logo {
  max-height: 70px;
}

.nav-link {
  font-weight: 600;
  color: var(--oscuro);
}

.nav-link:hover {
  color: var(--azul);
}

.btn-nordic {
  background: var(--azul);
  color: white;
  border: 2px solid var(--azul);
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 999px;
}

.btn-nordic:hover {
  background: #0f3d70;
  border-color: #0f3d70;
  color: white;
}

.btn-yellow {
  background: var(--amarillo);
  color: var(--oscuro);
  border: 2px solid var(--amarillo);
  font-weight: 800;
  padding: 13px 28px;
  border-radius: 999px;
}

.btn-yellow:hover {
  background: #e5b833;
  border-color: #e5b833;
  color: var(--oscuro);
}

.hero-slide {
  min-height: 68vh;
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  position: relative;
}

.slide-1 {
  background-image: linear-gradient(rgba(11,31,51,0.55), rgba(11,31,51,0.72)), url("madera-1.jpg?v=8");
}

.slide-2 {
  background-image: linear-gradient(rgba(11,31,51,0.55), rgba(11,31,51,0.72)), url("horno-secado.jpg?v=8");
}

.slide-3 {
  background-image: linear-gradient(rgba(11,31,51,0.55), rgba(11,31,51,0.72)), url("tablero-teca.png?v=8");
}

.hero-slide::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--amarillo);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-slide h1 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
  max-width: 900px;
}

.hero-slide p {
  max-width: 720px;
  font-size: 1.15rem;
}

.badge-nordic {
  background: var(--amarillo);
  color: var(--oscuro);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 20px;
}

.carousel-indicators [data-bs-target] {
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.section-padding {
  padding: 90px 0;
}

.section-title {
  color: var(--azul);
  font-weight: 800;
  margin-bottom: 18px;
}

.section-subtitle {
  color: #5C6B7A;
  max-width: 760px;
  margin: 0 auto;
}

.highlight-section {
  background: var(--gris);
}

.product-card,
.info-card,
.process-card {
  border: none;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
  background: white;
  height: 100%;
}

.product-card img {
  height: 420px;
  object-fit: cover;
}

.info-card {
  padding: 35px;
}

.info-card i {
  font-size: 2.2rem;
  color: var(--azul);
  margin-bottom: 18px;
}

.blue-section {
  background: var(--azul);
  color: white;
}

.blue-section .section-title {
  color: white;
}

.blue-section .section-subtitle {
  color: rgba(255,255,255,0.85);
}

.process-card {
  padding: 32px;
}

.process-number {
  width: 48px;
  height: 48px;
  background: var(--amarillo);
  color: var(--oscuro);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 18px;
}

.gallery-img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
  transition: transform .3s ease;
}

.gallery-img:hover {
  transform: scale(1.03);
}

.spec-box {
  background: var(--azul);
  color: white;
  border-radius: 22px;
  padding: 30px;
}

.contact-section {
  background:
    linear-gradient(rgba(21,79,142,0.92), rgba(21,79,142,0.92)),
    url("horno-secado.jpg?v=8");
  background-size: cover;
  background-position: center;
  color: white;
}

.social-section {
  background: #f1f1f1;
}

.social-logo {
  max-width: 140px;
  opacity: 0.9;
}

.social-icons a {
  color: #6b625b;
  font-size: 2rem;
  margin: 0 12px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--azul);
}

.footer {
  background: #061A30;
  color: white;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer a:hover {
  color: var(--amarillo);
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25D366;
  color: white;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
  z-index: 9999;
}

.floating-whatsapp:hover {
  background: #1ebe5d;
  color: white;
}

@media (max-width: 768px) {
  .hero-slide {
    min-height: 62vh;
    text-align: center;
  }

  .hero-slide p {
    margin-left: auto;
    margin-right: auto;
  }

  .section-padding {
    padding: 65px 0;
  }

  .product-card img,
  .gallery-img {
    height: 260px;
  }

  .logo {
    max-height: 58px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    padding: 12px 16px;
    font-size: 0.9rem;
  }
}
