/*
 * Estilos globales y componentes para la landing page de Neltec.
 * Este archivo define la apariencia general de la página: tipografías, colores,
 * layout de secciones y responsividad. Sigue el diseño inspirado en la
 * referencia proporcionada, con un enfoque profesional y moderno.
 */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #111;
  overflow-x: hidden;
}

/* =============================
   HEADER
   ============================= */
header {
  width: 100%;
  background: #fff;
  padding: 18px 0;
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #ff5a00;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
}

.logo-text h1 {
  font-size: 40px;
  line-height: 1;
  color: #111;
}

.logo-text p {
  font-size: 12px;
  letter-spacing: 1px;
  color: #444;
  font-weight: 600;
}

nav {
  display: flex;
  gap: 40px;
}

nav a {
  color: #111;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  position: relative;
}

nav a:hover {
  color: #ff5a00;
}

nav a::after {
  content: '';
  width: 0;
  height: 3px;
  background: #ff5a00;
  position: absolute;
  left: 0;
  bottom: -10px;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

.btn-whatsapp {
  background: #ff5a00;
  color: #fff;
  padding: 15px 26px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.btn-whatsapp:hover {
  background: #ff7a33;
  transform: translateY(-2px);
}

/* =============================
   HERO SECTION
   ============================= */
.hero {
  padding-top: 130px;
  padding-bottom: 90px;
  /* Fondo oscuro con imagen difuminada como textura */
  background: linear-gradient(rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.90)),
    url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=1600&auto=format&fit=crop') no-repeat center/cover;
  color: #fff;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-text h5 {
  color: #ff5a00;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.hero-text h1 {
  font-size: 88px;
  line-height: 0.95;
  margin-bottom: 30px;
  font-weight: 900;
}

.hero-text h1 span {
  color: #ff5a00;
}

.hero-text p {
  font-size: 22px;
  line-height: 1.7;
  color: #d9d9d9;
  margin-bottom: 35px;
}

.hero-list {
  margin-bottom: 40px;
}

.hero-list li {
  list-style: none;
  margin-bottom: 14px;
  font-size: 19px;
  color: #f1f1f1;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #ff5a00;
  color: #fff;
  padding: 18px 34px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #ff7a33;
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 18px 34px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #fff;
  color: #111;
}

.hero-image img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* =============================
   SERVICES SECTION
   ============================= */
.services {
  padding: 110px 0;
  background: #f6f6f6;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header h5 {
  color: #ff5a00;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-header h2 {
  font-size: 56px;
  margin-bottom: 18px;
}

.section-header p {
  color: #666;
  font-size: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  padding: 40px;
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

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

.service-card.orange {
  border-top: 7px solid #ff5a00;
}

.service-card.blue {
  border-top: 7px solid #2979ff;
}

.service-card.green {
  border-top: 7px solid #18c964;
}

.service-card h3 {
  font-size: 32px;
  margin-bottom: 25px;
}

.service-card ul li {
  margin-bottom: 14px;
  color: #555;
  line-height: 1.6;
}

/* =============================
   WHY SECTION
   ============================= */
.why {
  background: #0b0b0b;
  color: #fff;
  padding: 100px 0;
}

.why h2 {
  text-align: center;
  font-size: 54px;
  margin-bottom: 60px;
}

.why h2 span {
  color: #ff5a00;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.why-box {
  background: #111;
  padding: 40px 30px;
  border-radius: 24px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.why-box h4 {
  color: #ff5a00;
  margin: 22px 0;
  font-size: 24px;
}

.why-box p {
  color: #b8b8b8;
  line-height: 1.7;
}

/* =============================
   TESTIMONIALS SECTION
   ============================= */
.testimonials {
  padding: 110px 0;
  background: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial {
  background: #f8f8f8;
  padding: 40px;
  border-radius: 24px;
}

.stars {
  color: #ff5a00;
  margin-bottom: 20px;
  font-size: 20px;
}

.testimonial p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 25px;
}

.client {
  font-weight: 700;
}

/* =============================
   CONTACT SECTION
   ============================= */
.contact {
  background: #0b0b0b;
  color: #fff;
  padding: 100px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: #111;
  padding: 60px;
  border-radius: 30px;
}

.contact-left h2 {
  font-size: 60px;
  line-height: 1;
  margin-bottom: 25px;
}

.contact-left h2 span {
  color: #ff5a00;
}

.contact-left p {
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 35px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info div {
  font-size: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px;
  margin-bottom: 18px;
  border: none;
  border-radius: 12px;
  background: #1b1b1b;
  color: #fff;
  font-size: 16px;
}

.contact-form textarea {
  height: 140px;
  resize: none;
}

.contact-form button {
  width: 100%;
  padding: 18px;
  background: #ff5a00;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #ff7a33;
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: #000;
  color: #777;
  text-align: center;
  padding: 30px 0;
}

/* =============================
   RESPONSIVE BREAKPOINTS
   ============================= */
@media (max-width: 1100px) {
  .hero-text h1 {
    font-size: 68px;
  }
}

@media (max-width: 900px) {
  nav {
    display: none;
  }
  .hero-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-text h1 {
    font-size: 56px;
  }
  .section-header h2,
  .why h2 {
    font-size: 40px;
  }
  .contact-left h2 {
    font-size: 42px;
  }
}

@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 42px;
  }
  .section-header h2 {
    font-size: 34px;
  }
  .hero {
    padding-top: 110px;
  }
  .contact-wrapper {
    padding: 35px;
  }
}