/* =====================================================
   CONTACTO PLOTTERS HP
   Archivo: contacto.css
   Uso: SOLO página contacto
===================================================== */

.contact-page {
  background: #fff;
  overflow: hidden;
}

.contact-container {
  width: min(1180px, 86%);
  margin: 0 auto;
}

/* HERO */

.contact-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, #061a3e, #0067d1),
    url("https://www.hp.com/content/dam/sites/worldwide/printers/large-formats/designjet-t850-t950-plotters/jpg/HP_DesignJet_T850-T950_PDP-Technical_banner.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(2, 12, 32, 0.96) 0%,
      rgba(3, 18, 46, 0.88) 42%,
      rgba(3, 18, 46, 0.48) 72%,
      rgba(0, 0, 0, 0.18) 100%
    );
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      120deg,
      transparent 0%,
      transparent 40%,
      rgba(0, 103, 209, 0.14) 40.2%,
      rgba(0, 103, 209, 0.03) 62%,
      transparent 62.2%
    );
  pointer-events: none;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--home-blue-light, #2ea3ff);
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.contact-hero h1 {
  font-size: clamp(40px, 4vw, 72px);
  line-height: 0.98;
  letter-spacing: -2.5px;
  max-width: 840px;
  margin: 22px 0;
}

.contact-hero p {
  font-size: 20px;
  line-height: 1.6;
  color: #dbeafe;
  max-width: 650px;
}

/* BOTONES */

.contact-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.contact-actions-center {
  justify-content: center;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 9px;
  font-weight: 900;
  transition: 0.25s ease;
}

.contact-btn:hover {
  transform: translateY(-3px);
}

.contact-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--home-blue, #0067d1), #004ab0);
  box-shadow: 0 18px 36px rgba(0, 103, 209, 0.28);
}

.contact-btn-primary::after,
.contact-btn-outline::after {
  content: "→";
  margin-left: 12px;
}

.contact-btn-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

/* CARDS DE CONTACTO */

.contact-info-section {
  background: #ffffff;
  padding: 42px 0;
  border-bottom: 1px solid #dbe3ef;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.contact-info-card {
  min-height: 220px;
  padding: 26px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dbe3ef;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  transition: 0.28s ease;
}

.contact-info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 103, 209, 0.35);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

.contact-info-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f3ff, #fff);
  color: var(--home-blue, #0067d1);
  font-size: 22px;
  margin-bottom: 22px;
}

.contact-info-card h3 {
  font-size: 20px;
  color: #081b3f;
  margin-bottom: 10px;
}

.contact-info-card p {
  color: #667085;
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.contact-info-card a {
  color: var(--home-blue, #0067d1);
  font-weight: 900;
}

/* FORMULARIO */

.contact-section {
  padding: 86px 0;
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: start;
}

.contact-copy h2,
.contact-section-heading h2,
.contact-cta h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: -2px;
  margin: 14px 0;
  color: #081b3f;
}

.contact-copy p,
.contact-section-heading p,
.contact-cta p {
  color: #667085;
  font-size: 18px;
  line-height: 1.6;
}

.contact-benefits {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.contact-benefits div {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid #dbe3ef;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.contact-benefits strong {
  display: block;
  color: #081b3f;
  font-size: 18px;
  margin-bottom: 6px;
}

.contact-benefits span {
  color: #667085;
  line-height: 1.5;
}

.contact-form {
  padding: 34px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #dbe3ef;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 14px;
  font-weight: 900;
  color: #081b3f;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  color: #081b3f;
  background: #f8fbff;
  outline: none;
  transition: 0.25s ease;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--home-blue, #0067d1);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 103, 209, 0.1);
}

.contact-submit {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--home-blue, #0067d1), #004ab0);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(0, 103, 209, 0.24);
  transition: 0.25s ease;
}

.contact-submit:hover {
  transform: translateY(-3px);
}

/* MAPA */

.contact-map-section {
  padding: 86px 0;
  background: linear-gradient(180deg, #f7faff, #eef4fb);
}

.contact-section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.contact-map-box {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid #dbe3ef;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.12);
  background: #fff;
}

.contact-map-box iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* CTA */

.contact-cta {
  padding: 90px 0;
  background: linear-gradient(135deg, #061a3e, #0067d1);
  color: #fff;
}

.contact-cta-box {
  text-align: center;
  max-width: 900px;
}

.contact-cta h2 {
  color: #fff;
}

.contact-cta p {
  color: #dbeafe;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-container {
    width: min(92%, 1180px);
  }

  .contact-hero {
    min-height: 560px;
  }

  .contact-hero h1 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }

  .contact-hero p {
    font-size: 17px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 24px;
  }

  .contact-map-box iframe {
    height: 340px;
  }
} 