/* ============================================================
   CONSTRUFACH — CONTACT ADD / CTA BANNER
   ============================================================ */

.contact-add-container {
  background: var(--white);
  position: relative;
  overflow: hidden;
  border-top: 1px solid #e8e4df;
}

/* Patrón de puntos de fondo en navy muy tenue */
.contact-add-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11,53,87,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Acento rojo inferior */
.contact-add-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}

/* ── Contenedor interior ───────────────────────────────────── */
.contact-add {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  position: relative;
  z-index: 1;
  min-height: 280px;
}

/* ── Imagen desktop ────────────────────────────────────────── */
.contact-add-img {
  display: block;
  height: 320px;
  width: auto;
  object-fit: contain;
  object-position: bottom left;
  align-self: end;
  justify-self: start;
  /* Imagen "emerge" desde abajo */
  filter: drop-shadow(0 -8px 32px rgba(11,53,87,0.15));
  transition: transform 0.5s var(--ease-out-expo);
}

.contact-add:hover .contact-add-img {
  transform: translateY(-6px);
}

/* ── Imagen mobile (oculta en desktop) ─────────────────────── */
.contact-add-img-celular {
  display: none;
}

/* ── Bloque de texto y CTA ─────────────────────────────────── */
.contact-add-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.75rem;
  padding: 3.5rem 3rem 3.5rem 2rem;
  text-align: right;
}

.contact-add-message {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  max-width: 520px;
  position: relative;
}

/* Acento rojo derecho en el texto */
.contact-add-message::after {
  content: '';
  position: absolute;
  bottom: -0.6rem;
  right: 0;
  width: 48px;
  height: 3px;
  background: var(--red);
}

/* ── CTA link ──────────────────────────────────────────────── */
.contact-add-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  background: var(--red);
  border: 2px solid var(--red);
  padding: 0.75rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-add-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out-expo);
}

.contact-add-link:hover {
  color: var(--white);
  border-color: var(--navy);
}

.contact-add-link:hover::before {
  transform: scaleX(1);
}

.contact-add-link .material-symbols-outlined,
.contact-add-link span {
  position: relative;
  z-index: 1;
}

.contact-add-link .material-symbols-outlined {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.contact-add-link:hover .material-symbols-outlined {
  transform: translate(3px, -3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .contact-add {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: unset;
  }

  /* Ocultar imagen desktop, mostrar la de celular */
  .contact-add-img {
    display: none;
  }

  .contact-add-img-celular {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    object-position: center bottom;
    padding: 1.5rem 1.5rem 0;
    filter: drop-shadow(0 -4px 20px rgba(0,0,0,0.25));
  }

  .contact-add-text {
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem 3rem;
  }

  .contact-add-message::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .contact-add-link {
    width: 100%;
    justify-content: center;
  }
}