/* Mascotas Yice - estilos de: sección de precios, modal de WhatsApp y titular en móvil.
   Se carga DESPUÉS de styles.css para poder ajustar sin tocar ese archivo. */

/* ============ SECCIÓN DE PRECIOS ============ */
.pricing-section {
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
  z-index: 1;
  border-top: 5px solid #f05a28;
  background: linear-gradient(135deg, rgba(255, 237, 224, .88), rgba(255, 248, 228, .86), rgba(232, 247, 238, .84));
  background-size: 220% 220%;
  animation: brandColorWash 22s ease-in-out infinite;
}
.pricing-section h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1f242b;
}
.pricing-intro {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}
.pricing-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 34px;
  text-align: left;
  background: #fff;
  border-top: 6px solid #f05a28;
  border-radius: 26px;
  box-shadow: 0 14px 34px rgba(91, 62, 43, .12);
}
.pricing-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.pricing-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #342820;
}
.pricing-field select,
.pricing-field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font-size: 16px; /* 16px evita el zoom automático en iPhone */
  color: #2b2b2b;
  background: #fffaf6;
  border: 2px solid #f0c3ad;
  border-radius: 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.pricing-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d84315' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.pricing-field select:focus,
.pricing-field input:focus {
  border-color: #d84315;
  box-shadow: 0 0 0 4px rgba(216, 67, 21, .15);
}
.pricing-search { position: relative; }
.pricing-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 264px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 2px solid #f0c3ad;
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(60, 40, 30, .18);
}
.pricing-suggestions[hidden] { display: none; }
.pricing-suggestion {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  font-size: 15px;
  text-align: left;
  color: #2b2b2b;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.pricing-suggestion strong { color: #d84315; white-space: nowrap; font-size: 14px; }
.pricing-suggestion:hover,
.pricing-suggestion:focus-visible { background: #fff1e9; outline: none; }

.pricing-result {
  margin-top: 26px;
  padding: 28px 22px;
  text-align: center;
  border-radius: 22px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pricing-result.is-empty {
  background: #faf7f4;
  border: 2px dashed #e4cdbf;
}
.pricing-result.is-filled {
  background: linear-gradient(145deg, #fff0e4 0%, #fffaf5 100%);
  border: 2px solid #f6c5a8;
  animation: cardArrive .45s ease both;
}
.pricing-empty {
  max-width: 420px;
  font-size: 16px;
  line-height: 1.5;
  color: #7a6a60;
}
.pricing-empty i { color: #f2a16b; margin-right: 4px; }
.pricing-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border-radius: 30px;
  background: #e94c24;
}
.pricing-chip--gato { background: #7650c5; }
.pricing-chip--criollo { background: #268f56; }
.pricing-result-name {
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 700;
  color: #342820;
  margin-bottom: 6px;
}
.pricing-result-price {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(32px, 9vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: #d84315;
}
.pricing-result-note {
  margin-top: 6px;
  font-size: 14px;
  color: #7a6a60;
}
.pricing-result-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #ff7543 0%, #d84315 100%);
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(216, 67, 21, .3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pricing-result-cta:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(216, 67, 21, .42); }

/* ============ MODAL DE WHATSAPP ============ */
body.wa-modal-open { overflow: hidden; }
.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.wa-modal.is-open { display: flex; }
.wa-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 36, 43, .6);
  backdrop-filter: blur(3px);
  animation: waFade .25s ease both;
}
.wa-modal__panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 30px 24px 26px;
  text-align: center;
  background: #fff;
  border-top: 6px solid #25d366;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
  animation: waPop .3s cubic-bezier(.2, .8, .3, 1) both;
}
.wa-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  font-size: 20px;
  line-height: 1;
  color: #555;
  background: #f2f2f2;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.wa-modal__close:hover { background: #e6e6e6; }
.wa-modal__logo {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 10px;
  font-size: 30px;
  color: #fff;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(37, 211, 102, .35);
}
.wa-modal__panel h3 { font-size: 22px; color: #1f242b; margin-bottom: 6px; }
.wa-modal__panel > p { font-size: 15px; color: #666; margin-bottom: 20px; }
.wa-options { display: flex; flex-direction: column; gap: 12px; }
.wa-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  text-align: left;
  text-decoration: none;
  color: #1f242b;
  background: #f4fbf7;
  border: 2px solid #c7ecd5;
  border-radius: 18px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.wa-option:hover,
.wa-option:focus-visible {
  transform: translateY(-2px);
  border-color: #25d366;
  box-shadow: 0 8px 18px rgba(37, 211, 102, .22);
  outline: none;
}
.wa-option__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 20px;
  color: #fff;
  border-radius: 14px;
}
.wa-option--tienda .wa-option__icon { background: linear-gradient(145deg, #ff8148, #e43c1b); }
.wa-option--veterinaria .wa-option__icon { background: linear-gradient(145deg, #aa83f2, #7046c1); }
.wa-option--peluqueria .wa-option__icon { background: linear-gradient(145deg, #59c681, #19814b); }
.wa-option--llamar .wa-option__icon { background: linear-gradient(145deg, #ff8148, #d84315); }
.wa-option--llamar .wa-option__go { color: #d84315; font-size: 22px; }
.agenda-modal__seguir { display: flex; justify-content: center; width: 100%; margin-top: 20px; }
.agenda-modal__todos { display: inline-block; margin-top: 14px; padding: 6px 4px; font-size: 15px; font-weight: 700; color: #b8370f; text-decoration: underline; }
.agenda-modal__todos:hover { color: #d84315; }
.agenda-modal__todos[hidden] { display: none; }
.wa-option__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.wa-option__text strong { font-size: 16px; }
.wa-option__text small { font-size: 14px; color: #5f6b64; }
.wa-option__go { flex: 0 0 auto; font-size: 26px; color: #25d366; }
@keyframes waFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes waPop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

/* ============ TITULAR "TODO PARA TU MASCOTA" EN MÓVIL ============
   Mismo tamaño proporcional que en computador: el texto y la cinta se
   escalan con el ancho de la tarjeta y quedan dentro de ella. */
@media (max-width: 768px) {
  .hero { padding-left: 14px; padding-right: 14px; }
  .badge-pets {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 700 / 130;
    margin: 0 auto;
    --tagline-offset: 88px;
  }
  .tagline-arc { transform: none; }
  .tagline-arc text {
    font-size: 50px !important;
    stroke-width: 2.5px !important;
    letter-spacing: 0 !important;
    transform: none !important;
  }
}
@media (max-width: 420px) {
  .badge-pets { --tagline-offset: 90px; }
  .tagline-arc text { font-size: 50px !important; }
}

/* ============ RESPONSIVO DE PRECIOS ============ */
@media (max-width: 700px) {
  .pricing-section { padding: 80px 14px 60px; }
  .pricing-section h2 { font-size: 28px; }
  .pricing-card { padding: 22px 16px; border-radius: 22px; }
  .pricing-controls { grid-template-columns: 1fr; gap: 16px; }
  .pricing-result { padding: 24px 14px; }
  .pricing-result-cta { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-section, .pricing-result.is-filled, .wa-modal__backdrop, .wa-modal__panel { animation: none !important; }
  .pricing-result-cta, .wa-option { transition: none !important; }
}

/* ============ ASISTENTE DE RESERVA (3 pasos) ============ */
.asis .asis-card { text-align: center; }
.asis-num { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: #b8370f; letter-spacing: .5px; }
.asis-pregunta { margin: 0 0 22px; font-size: 26px; line-height: 1.25; color: #1f242b; outline: none; }
.asis-opciones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.asis-opciones--2 { grid-template-columns: repeat(2, 1fr); max-width: 560px; margin: 0 auto; }
.asis-op {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px;
  min-height: 150px; padding: 18px 14px; cursor: pointer; font: inherit; color: #2b2b2b;
  background: #fffaf6; border: 3px solid #f0c3ad; border-radius: 22px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.asis-op:hover { border-color: #d84315; background: #fbe9e1; transform: translateY(-2px); }
.asis-op:focus-visible, .asis-sec:focus-visible, .asis-cta:focus-visible { outline: 4px solid #1f242b; outline-offset: 3px; }
.asis-emoji { font-size: 52px; line-height: 1; min-height: 66px; display: flex; align-items: flex-end; }
.asis-emoji--s { font-size: 36px; }
.asis-emoji--m { font-size: 50px; }
.asis-emoji--l { font-size: 66px; }
.asis-op-titulo { font-size: 22px; font-weight: 800; color: #1f242b; }
.asis-op-texto { font-size: 17px; line-height: 1.35; color: #444; }
.asis-ayuda { margin: 18px auto 0; max-width: 560px; font-size: 17px; line-height: 1.5; color: #444; }
.asis-acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.asis-sec {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 20px;
  font: inherit; font-size: 17px; font-weight: 700; color: #b8370f; text-decoration: none; cursor: pointer;
  background: #fff; border: 2px solid #f0c3ad; border-radius: 50px;
}
.asis-sec:hover { border-color: #d84315; background: #fbe9e1; }
.asis-detalle { margin: 0; font-size: 19px; color: #2b2b2b; }
.asis-precio { margin: 8px 0 0; font-size: 30px; font-weight: 800; color: #d84315; }
.asis-cta { min-height: 60px; padding: 16px 36px; font-size: 20px; }
@media (max-width: 700px) {
  .asis-opciones, .asis-opciones--2 { grid-template-columns: 1fr; }
  .asis-op { min-height: 96px; flex-direction: row; justify-content: flex-start; text-align: left; flex-wrap: wrap; column-gap: 14px; }
  .asis-op-texto { flex-basis: 100%; }
  .asis-pregunta { font-size: 23px; }
  .asis-acciones { flex-direction: column; }
  .asis-sec, .asis-cta { width: 100%; }
}
.asis-nota-precio { margin: 6px 0 0; font-size: 16px; color: #555; }
.asis-raza { max-width: 460px; margin: 18px auto 4px; padding: 16px; text-align: left; background: #fffaf6; border: 2px dashed #f0c3ad; border-radius: 18px; }
.asis-raza label { display: block; margin-bottom: 8px; font-size: 17px; font-weight: 700; color: #342820; }
.asis-raza select { width: 100%; min-height: 52px; padding: 10px 14px; font-size: 17px; color: #2b2b2b; background: #fff; border: 2px solid #f0c3ad; border-radius: 14px; }
.asis-raza select:focus-visible { outline: 4px solid #1f242b; outline-offset: 2px; }
.asis-raza-precio { margin: 12px 0 0; font-size: 20px; font-weight: 800; color: #d84315; }
.asis-raza-nota { margin: 8px 0 0; font-size: 16px; line-height: 1.45; color: #342820; background: #fbe9e1; border-radius: 12px; padding: 10px 12px; }

/* ============ CARTEL "TODO PARA TU MASCOTA": MÁS ARRIBA Y MÁS GRANDE ============
   El ancho ya llena la columna, así que crece en alto (cinta) y en letra;
   --tagline-offset menor = cartel más arriba. */
.badge-pets { --tagline-offset: clamp(56px, 5.5vw, 66px); height: 152px; }
.tagline-arc { transform: scaleY(1.22); }
.tagline-arc text { font-size: 53px !important; }
@media (max-width: 768px) {
  .badge-pets { --tagline-offset: 66px; height: auto; aspect-ratio: 700 / 150; }
  .tagline-arc { transform: scaleY(1.22); }
  .tagline-arc text { font-size: 51px !important; }
}
@media (max-width: 420px) {
  .badge-pets { --tagline-offset: 66px; }
  .tagline-arc text { font-size: 51px !important; }
}
