/* Página Contacto — Linda Flor Boutique (premium, modular) */

.contact-lf-page {
  padding-bottom: 48px;
  padding-top: 8px;
}

.contact-lf {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 12px;
  width: 100%;
  box-sizing: border-box;
}

/* Título y subtítulo fuera de la tarjeta, centrados */
.contact-lf__hero {
  text-align: center;
  margin-bottom: 28px;
}

.contact-lf__hero h1 {
  margin: 0 0 14px;
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.85rem, 5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2a2224;
  line-height: 1.2;
}

.contact-lf__subtitle {
  margin: 0 auto;
  max-width: 34em;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  font-weight: 500;
  line-height: 1.55;
  color: #6b6366;
}

/* Caja principal (overflow visible en móvil evita recortar bloque WA en iOS/Safari) */
.contact-lf__card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow:
    0 20px 50px rgba(60, 40, 50, 0.08),
    0 8px 24px rgba(60, 40, 50, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  border: 1px solid rgba(229, 194, 199, 0.35);
  overflow: visible;
  position: relative;
  z-index: 1;
}

/* Bloque WhatsApp */
.contact-lf__wa {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: linear-gradient(180deg, #f5eeee 0%, #efe6e6 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  border-radius: 20px 20px 0 0;
  position: relative;
  z-index: 2;
}

.contact-lf__wa-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 200px;
}

.contact-lf__wa-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.contact-lf__wa-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25d366;
}

.contact-lf__wa-icon svg {
  width: 40px;
  height: 40px;
  display: block;
}

.contact-lf__wa-label {
  margin: 0 0 4px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: #3d3638;
  line-height: 1.25;
}

.contact-lf__wa-phone {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #5c5456;
  letter-spacing: 0.02em;
}

/* Número clicable: siempre visible y con contraste en móvil */
.contact-lf__wa-phone-link {
  color: #128c7e !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  word-break: break-all;
}

.contact-lf__wa-phone-link:hover,
.contact-lf__wa-phone-link:focus-visible {
  color: #0d6b60 !important;
}

.contact-lf__wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  min-height: 46px;
  border-radius: 12px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(180deg, #2dd26c 0%, #20ba5a 45%, #1aad52 100%);
  box-shadow: 0 4px 14px rgba(32, 186, 90, 0.35);
  border: none;
  cursor: pointer;
  flex: 1 1 220px;
  max-width: 100%;
  position: relative;
  z-index: 3;
  -webkit-tap-highlight-color: rgba(32, 186, 90, 0.25);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.contact-lf__wa-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 18px rgba(32, 186, 90, 0.42);
  transform: translateY(-1px);
}

.contact-lf__wa-btn:focus-visible {
  outline: 2px solid #128c7e;
  outline-offset: 2px;
}

.contact-lf__wa-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #fff;
}

/* Formulario */
.contact-lf__form {
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border-radius: 0 0 20px 20px;
}

.contact-lf__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-lf__field label {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.contact-lf__input {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 16px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.95rem;
  color: #3d2f32;
  background: #faf7f7 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.contact-lf__input::placeholder {
  color: #b0a8ab;
}

.contact-lf__input:hover {
  border-color: rgba(203, 160, 162, 0.35) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-lf__input:focus {
  outline: none;
  border-color: rgba(203, 160, 162, 0.65) !important;
  background: #fff !important;
  box-shadow:
    0 0 0 3px rgba(203, 160, 162, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-lf__input--textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

.contact-lf__error {
  font-size: 0.82rem;
  color: #c45c6a;
  margin-top: -4px;
}

.contact-lf__submit {
  width: 100%;
  margin-top: 6px;
  min-height: 52px;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff !important;
  cursor: pointer;
  background: linear-gradient(
    180deg,
    #d4aeb2 0%,
    #cba0a2 35%,
    #b89395 100%
  ) !important;
  box-shadow:
    0 8px 28px rgba(203, 160, 162, 0.45),
    0 2px 8px rgba(120, 70, 80, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.contact-lf__submit:hover {
  filter: brightness(1.03);
  box-shadow:
    0 10px 32px rgba(203, 160, 162, 0.5),
    0 4px 12px rgba(120, 70, 80, 0.14);
  transform: translateY(-2px);
}

.contact-lf__submit:focus-visible {
  outline: 2px solid #a67a80;
  outline-offset: 3px;
}

.contact-lf__submit:active {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .contact-lf-page {
    overflow-x: hidden;
  }

  .contact-lf__hero {
    margin-bottom: 20px;
  }

  .contact-lf__wa {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 18px 16px;
  }

  .contact-lf__wa-main {
    flex-direction: column;
    text-align: center;
    flex: none;
    width: 100%;
  }

  .contact-lf__wa-copy {
    width: 100%;
  }

  .contact-lf__wa-label {
    font-size: 1.05rem;
  }

  .contact-lf__wa-phone {
    font-size: 1rem;
  }

  .contact-lf__wa-btn {
    width: 100%;
    flex: none;
    max-width: none;
    min-height: 48px;
    font-size: 0.9rem;
  }

  .contact-lf__form {
    padding: 20px 16px 22px;
  }
}
