/* =============================================
   RESET & BASE — Mobile First
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
  overflow-y: auto;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

/* Background image */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Overlay oscuro */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.78) 50%,
    rgba(0,0,0,0.93) 100%
  );
}

/* =============================================
   HERO CONTENT — Mobile base
   ============================================= */
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 36px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* =============================================
   LOGO
   ============================================= */
.logo {
  display: flex;
  justify-content: flex-start;
}

.logo img {
  max-width: 140px;
  width: 100%;
  height: auto;
}

/* =============================================
   TÍTULOS
   ============================================= */
.hero-text {
  text-align: left;
}

.title-main,
.title-highlight {
  font-size: clamp(1.6rem, 8vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.title-highlight {
  color: #e60000;
}

.subtitle {
  font-size: clamp(0.6rem, 2.5vw, 0.9rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.65);
  margin-top: 0.4rem;
  text-transform: uppercase;
}

/* =============================================
   DESCRIPCIÓN
   ============================================= */
.hero-desc {
  font-size: clamp(0.78rem, 3vw, 1rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  text-align: left;
}

/* =============================================
   BOTÓN WHATSAPP
   ============================================= */
.buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  justify-content: flex-start;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.82rem, 3.5vw, 1rem);
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  width: 100%;
  max-width: 340px;
  transition: background 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.btn-portfolio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.82rem, 3.5vw, 1rem);
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  border: 2px solid #e60000;
  transition: all .25s ease;
  width: 100%;
  max-width: 340px;
}

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

.portfolio-icon {
  width: 22px;
  height: 22px;
}

.btn-whatsapp:hover  { background: #1dbd59; }
.btn-whatsapp:active { transform: scale(0.97); }

.whatsapp-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* =============================================
   FEATURES
   ============================================= */
.features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
}

.feature .icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature .icon svg {
  width: 20px;
  height: 20px;
}

.feature strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.15rem;
}

.feature p {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.35;
}

/* =============================================
   CONTACT BAR
   ============================================= */
.contact-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 0.9rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
}

.contact-item:nth-child(3),
.contact-item:nth-child(4) {
  grid-column: 1 / -1;
}

.contact-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 16px;
  height: 16px;
}

.contact-item strong {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.1rem;
}

.contact-link,
.contact-link2 {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  word-break: break-all;
}

.contact-link:hover,
.contact-link2:hover {
  color: #e8c840;
}

/* =============================================
   TABLET — 600px+
   ============================================= */
@media (min-width: 600px) {
  .hero-content {
    padding: 2rem 2rem 3rem;
    gap: 1.5rem;
  }

  .logo img {
    max-width: 180px;
  }

  .features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
  }

  .contact-bar {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-item:nth-child(3),
  .contact-item:nth-child(4) {
    grid-column: auto;
  }
}

/* =============================================
   DESKTOP — 1024px+
   ============================================= */
@media (min-width: 1024px) {
  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: 4rem 3rem 5rem;
    gap: 2rem;
  }

  .logo img {
    max-width: 200px;
  }

  .btn-whatsapp {
    max-width: 300px;
  }

  .features {
    gap: 1rem;
  }

  .feature {
    padding: 1rem 1.1rem;
  }

  .feature strong {
    font-size: 0.875rem;
  }

  .feature p {
    font-size: 0.78rem;
  }
  
  .btn-portfolio {
  max-width: 320px;
}
}
