/* =========================================
   BLACKSHARK — CSS HOME
   ========================================= */

/* HERO ----------------------------------- */
main { padding-top: 0; }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(80px + var(--nav-height)) 0 80px;
  background-image: url('../assets/images/section1.png');
  background-size: cover;
  background-position: center;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content {
  z-index: 2;
}

.hero-title {
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -1.5px;
  margin: 0 0 24px;
}
.hero-underline {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--green);
  margin-bottom: 32px;
}
.hero-sub {
  font-size: 18px;
  color: var(--gray-700);
  margin: 0 0 40px;
  max-width: 480px;
  line-height: 1.5;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-bg {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}
.hero-bg img {
  width: 100%;
  max-width: 520px;
  opacity: 0.05;
  filter: contrast(1.2);
}

/* IDENTIDAD ------------------------------ */
.identity {
  padding: 140px 0;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}
.identity-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.8px;
  margin: 0 auto 32px;
  max-width: 920px;
}
.accent {
  color: var(--green);
}

.identity-text {
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--gray-700);
  line-height: 1.6;
}

/* PRODUCTOS ------------------------------ */
.products {
  border-top: 1px solid var(--gray-200);
}
.product {
  padding: 120px 0;
}
.product + .product {
  border-top: 1px solid var(--gray-200);
}

.product-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.product-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.product-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
  margin: 0 0 24px;
}
.product-title-sub {
  font-size: 24px;
  font-weight: 500;
  display: block;
  margin-top: 0;
  line-height: 1.05;
}
.product-desc {
  font-size: 17px;
  color: var(--gray-700);
  margin: 0 0 28px;
  max-width: 480px;
  line-height: 1.6;
}
.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  max-width: 480px;
}
.product-features li {
  font-size: 14px;
  font-weight: 500;
  padding-left: 20px;
  position: relative;
}
.product-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 2px;
  background: var(--green);
}

/* MOCKUP PHONE --------------------------- */
.mockup-phone {
  width: 300px;
  max-width: 100%;
  aspect-ratio: 9 / 19;
  border: 12px solid var(--black);
  border-radius: 44px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.mockup-phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: var(--black);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.mockup-phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* MOCKUP LAPTOP -------------------------- */
.mockup-laptop {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: var(--black);
  box-shadow: var(--shadow);
}
.mockup-laptop-bar {
  height: 28px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
}
.mockup-laptop-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a3a3a;
}
.mockup-laptop-bar span:nth-child(1) {
  background: #ff5f57;
}
.mockup-laptop-bar span:nth-child(2) {
  background: #febc2e;
}
.mockup-laptop-bar span:nth-child(3) {
  background: #28c840;
}

.mockup-laptop-screen {
  width: 100%;
  display: block;
  background: var(--white);
}

/* CTA ------------------------------------ */
.cta {
  background: var(--black);
  color: var(--white);
  padding: 110px 0;
  text-align: center;
  position: relative;
}
.cta-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin: 0 0 40px;
}

/* CONTACTO ------------------------------- */
.contact {
  padding: 120px 0;
  border-top: 1px solid var(--gray-200);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
  margin: 0 0 16px;
}
.contact-text {
  font-size: 17px;
  color: var(--gray-700);
  margin: 0 0 32px;
  max-width: 400px;
}
.contact-data {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-data a {
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  width: fit-content;
  transition: border-color 0.2s ease;
}
.contact-data a:hover {
  border-color: var(--green);
}

/* FORM ----------------------------------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-500);
}
.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  border-radius: var(--radius);
  color: var(--black);
  transition: border-color 0.2s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
}
.form-error {
  font-size: 12px;
  color: #d43c3c;
  min-height: 14px;
}

/* Honeypot oculto */
.form-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

.form-status {
  font-size: 14px;
  padding: 8px 0 0;
  min-height: 22px;
}
.form-status.success {
  color: #2a8a2a;
}
.form-status.error {
  color: #d43c3c;
}

/* RESPONSIVE ----------------------------- */
@media (max-width: 900px) {
  .hero {
    padding: 60px 0 40px;
    min-height: auto;
  }
  .hero-inner,
  .product-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-bg {
    min-height: 200px;
    order: -1;
  }
  .hero-bg img {
    max-width: 220px;
  }

  .product {
    padding: 80px 0;
  }
  .product-inner .product-visual {
    order: -1;
  }
  .product-features {
    grid-template-columns: 1fr;
  }

  .identity {
    padding: 90px 0;
  }
  .cta {
    padding: 80px 0;
  }
  .contact {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .mockup-phone {
    width: 260px;
  }
}
