/* Metrox LP — rebuild fiel del real (metrox.mx, Unbounce) */

:root {
  --orange: #ff751f;
  --orange-hover: #f26118;
  --orange-active: #e65614;
  --navy: #052a47;
  --grey-text: #555555;
  --grey-bg: #eeeeee;
  --dark-overlay: rgba(1, 16, 27, 0.88);
  --dark-overlay-2: rgba(1, 16, 27, 0.91);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #000;
  background: var(--grey-bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a { text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  border: none;
  border-radius: 5px;
  padding: 14px 24px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--orange-hover); }
.btn:active { background: var(--orange-active); }
.btn-block { width: 100%; }
.btn-big { padding: 18px 30px; font-size: 17px; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  padding: 18px 0;
}
.header-inner .logo {
  height: 40px;
  width: auto;
}

/* ---------- Hero ---------- */
.hero {
  background-color: #01101b;
  background-image: url('../assets/hero-bg-basculas.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  padding: 40px 0 50px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dark-overlay);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hero-title {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
}
.hero-title .orange { color: var(--orange); }
.hero-title .white { color: #fff; font-weight: 400; }
.hero-divider {
  width: 90px;
  height: 0;
  border-top: 6px solid #ccc;
  margin: 18px 0 16px;
}
.hero-text {
  color: #fff;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  margin: 0;
}
.hero-text .semibold { font-weight: 600; }

.hero-card {
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 0;
  padding: 24px 20px;
}
.hero-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px;
  line-height: 1.3;
}
.hero-card-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey-text);
  margin: 0 0 20px;
}

/* ---------- Form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.form-field { position: relative; }
.form-field input,
.form-field select {
  width: 100%;
  height: 47px;
  padding: 0 15px;
  font-size: 15px;
  font-family: 'Montserrat', Arial, sans-serif;
  border: 1px solid #bbbbbb;
  border-radius: 5px;
  background-color: #fff;
  color: #000;
  box-shadow: inset 0 2px 3px #dddddd;
}
.select-label {
  display: block;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #000;
  margin-bottom: 4px;
}
.select-label + select { margin-top: 0; }

/* Honeypot anti-spam: display:none, fuera del autofill de movil/gestores
   de contrasenas (el patron "visualmente oculto" se seguia autorellenando
   en iOS/Android y tiraba leads reales en silencio). */
.hp-field {
  display: none;
}

.form-success,
.form-error {
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  margin: 10px 0 0;
}
.form-success { color: #1a7a2e; }
.form-error { color: #c0392b; }

/* ---------- Why / bullets section ---------- */
.why {
  background: #fff;
  padding: 50px 0;
  position: relative;
}
.why .container { position: relative; }
.why-title {
  color: var(--orange);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 18px;
  line-height: 1.3;
}
.why-text {
  color: var(--grey-text);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 30px;
  max-width: 700px;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.why-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.why-item:last-child { margin-bottom: 0; }
.check-icon {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 3px;
}
.why-item p {
  color: var(--grey-text);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}
.why-portrait {
  display: none;
}

/* ---------- Product cards ---------- */
.product { padding: 40px 0; }
.product-a, .product-c { background: var(--grey-bg); }
.product-b, .product-d { background: #fff; }
.product-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.product-alt .product-inner { flex-direction: column; }
.product-alt .product-copy { order: -1; }
.product-copy { width: 100%; }
.product-copy h3 {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin: 0 0 12px;
  line-height: 1.3;
}
.product-copy p {
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  margin: 0 0 20px;
}
.product-media { width: 100%; }
.product-media img {
  width: 100%;
  border-radius: 6px;
}

/* ---------- CTA ---------- */
.cta {
  background-color: #01101b;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  padding: 50px 0;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dark-overlay-2);
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}
.cta-title {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 20px;
}
.cta-text {
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 28px;
}
.btn-big { display: inline-block; }

/* ---------- FAQ ---------- */
.faq { background: #fff; padding: 50px 0; }
.faq-heading {
  color: var(--orange);
  font-weight: 700;
  font-size: 28px;
  text-align: center;
  margin: 0 0 30px;
}
.faq-container { width: 100%; }
.faq-container details {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  transition: background-color 0.3s ease;
}
.faq-container details[open] {
  background-color: #ffffff;
  border-color: #cccccc;
}
.faq-container summary {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  color: #333333;
  list-style-type: none;
  position: relative;
  padding-right: 40px;
  line-height: 1.2;
  outline: none;
}
.faq-container summary:focus-visible {
  border-radius: 4px;
  box-shadow: 0 0 0 2px #f9f9f9, 0 0 0 4px #333333;
}
.faq-container summary::-webkit-details-marker { display: none; }
.faq-container summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  color: #666;
}
.faq-container details[open] summary::after { content: '-'; }
.faq-container p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.8125rem;
  margin-top: 15px;
  margin-bottom: 0;
  color: #555555;
  line-height: 1.5;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #000;
  padding: 24px 0;
  text-align: center;
}
.footer-logo {
  height: 34px;
  width: auto;
  margin: 0 auto;
}

/* =========================================================
   Desktop breakpoint
   ========================================================= */
@media (min-width: 960px) {
  .hero { padding: 0; }
  .hero-inner {
    flex-direction: row;
    align-items: stretch;
    gap: 60px;
  }
  .hero-copy { flex: 1 1 50%; padding: 90px 0 100px; align-self: center; }
  .hero-card {
    flex: 1 1 45%;
    max-width: 500px;
    padding: 0 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-title { font-size: 48px; }
  .hero-text { font-size: 16px; }
  .hero-card-title { font-size: 24px; padding-top: 32px; }
  .hero-card-text { font-size: 16px; }

  .form-grid { grid-template-columns: 1fr 1fr; }
  .hp-field { grid-column: span 2; }

  .why-title { font-size: 24px; max-width: 620px; }
  .why-text { font-size: 16px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 40px; max-width: 800px; padding-bottom: 60px; }
  .why-item p { font-size: 16px; }
  .why-portrait {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 433px;
    height: auto;
    z-index: 5;
  }
  .why { padding-bottom: 0; }

  .product-inner { flex-direction: row; gap: 60px; align-items: center; }
  .product-alt .product-inner { flex-direction: row; }
  .product-alt .product-copy { order: 0; }
  .product-copy { width: 45%; }
  .product-media { width: 45%; }
  .product-copy h3 { font-size: 26px; }
  .product-copy p { font-size: 16px; line-height: 1.4; }

  .cta-title { font-size: 26px; max-width: 650px; margin-left: auto; margin-right: auto; }
  .cta-text { font-size: 16px; }

  .faq-heading { font-size: 36px; }
  .faq-container summary { font-size: 1.125rem; }
  .faq-container summary::after { font-size: 1.5rem; }
  .faq-container p { font-size: 1rem; }
}
