/* Vet Servicios — estilos del bloque. Todo va bajo .v para no chocar con el tema. */
/* ==================================================================
   0. BASE, VARIABLES Y ACCESIBILIDAD (PALETA CLÍNICA PÚRPURA / LAVANDA)
   ================================================================== */
.v {
  --v-main: #5b21b6;
  --v-dark: #4C1D95;
  --v-primary-deep: #420093;
  --v-light-purple: #6D28D9;
  --v-soft: #f0f3ff;
  --v-lavender: #F5F3FF;
  --v-surface: #f9f9ff;
  --v-card-bg: #ffffff;
  --v-acc: #EA580C;
  --v-wa: #25D366;
  --v-emerald-bg: #ecfdf5;
  --v-emerald-txt: #065f46;
  --v-txt: #111c2d;
  --v-muted: #64748B;
  --v-border: #e2e8f0;
  --v-hero: linear-gradient(135deg, #5b21b6, #4C1D95);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--v-surface);
  color: var(--v-txt);
  line-height: 1.65;
  padding: 0 16px;
  overflow-x: hidden;
}

.v * {
  box-sizing: border-box;
}

.v a {
  text-decoration: none;
  color: inherit;
}

.v ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.v h1, .v h2, .v h3, .v h4, .v p {
  margin: 0;
}

.v a:focus-visible,
.v button:focus-visible {
  outline: 3px solid var(--v-light-purple);
  outline-offset: 2px;
}

/* ==================================================================
   2. LISTA DE SERVICIOS (FILAS CON ESTILO CLÍNICO PÚRPURA)
   ================================================================== */
.v-svc {
  max-width: 1200px;
  margin: auto;
  padding: 24px 0 64px;
}

.v-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 36px;
  margin-bottom: 24px;
  background: var(--v-card-bg);
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -2px rgba(17, 28, 45, 0.04);
  align-items: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.v-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(91, 33, 182, 0.08), 0 8px 10px -6px rgba(17, 28, 45, 0.04);
}

.v-js .v-row {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s, transform .7s, box-shadow .3s;
}

.v-js .v-row.in {
  opacity: 1;
  transform: none;
}

.v-info {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.v-ic {
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: var(--v-lavender);
  display: grid;
  place-items: center;
  transition: background .3s, transform .4s, box-shadow .3s;
}

.v-row:hover .v-ic {
  background: var(--v-main);
  transform: rotate(-6deg) scale(1.05);
  box-shadow: 0 10px 20px -5px rgba(91, 33, 182, 0.35);
}

.v-ic svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--v-main);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .3s;
}

.v-row:hover .v-ic svg {
  stroke: #ffffff;
}

.v-info h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--v-txt);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.v-info p {
  font-size: 0.96rem;
  color: var(--v-muted);
  line-height: 1.6;
}

/* ==================================================================
   3. BOTÓN "CONSULTAR" (PÚRPURA CLÍNICO A WHATSAPP)
   ================================================================== */
.v-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 24px;
  border-radius: 14px;
  background: var(--v-main);
  color: #fff !important;
  font-weight: 600;
  font-size: .92rem;
  transition: background .25s, transform .25s, box-shadow .25s;
}

.v-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.v-btn:hover {
  background: var(--v-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(91, 33, 182, 0.4);
}

/* ==================================================================
   4. PESTAÑA INTERIOR "MÁS INFORMACIÓN"
   ================================================================== */
.v-tab {
  background: var(--v-soft);
  border-radius: 18px;
  overflow: hidden;
  align-self: start;
  border: 1px solid rgba(91, 33, 182, 0.08);
}

.v-tab > button {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  cursor: pointer;
  padding: 20px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--v-main);
  transition: background .2s;
}

.v-tab > button:hover {
  background: var(--v-lavender);
}

.v-tab > button::after {
  content: "+";
  font-size: 1.6rem;
  line-height: 1;
  color: var(--v-light-purple);
  transition: transform .35s;
}

.v-tab.open > button::after {
  transform: rotate(45deg);
}

.v-tab > div {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease;
}

.v-tab > div > div {
  padding: 4px 26px 24px;
}

.v-tab h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--v-txt);
  margin-bottom: 10px;
}

.v-tab p {
  font-size: .93rem;
  color: var(--v-muted);
  margin-bottom: 10px;
}

.v-tab p b {
  color: var(--v-main);
}

.v-tab ul {
  margin-top: 12px;
}

.v-tab li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: .91rem;
  color: #4a4453;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .4s, transform .4s;
}

.v-tab.open li {
  opacity: 1;
  transform: none;
}

.v-tab li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--v-main);
  border-bottom: 2.5px solid var(--v-main);
  transform: rotate(-45deg);
}

.v-tab.open li:nth-child(1) { transition-delay: 0.14s; }
.v-tab.open li:nth-child(2) { transition-delay: 0.18s; }
.v-tab.open li:nth-child(3) { transition-delay: 0.22s; }
.v-tab.open li:nth-child(4) { transition-delay: 0.26s; }
.v-tab.open li:nth-child(5) { transition-delay: 0.30s; }
.v-tab.open li:nth-child(6) { transition-delay: 0.34s; }
.v-tab.open li:nth-child(7) { transition-delay: 0.38s; }
.v-tab.open li:nth-child(8) { transition-delay: 0.42s; }
.v-tab.open li:nth-child(9) { transition-delay: 0.46s; }
.v-tab.open li:nth-child(10) { transition-delay: 0.50s; }
.v-tab.open li:nth-child(11) { transition-delay: 0.54s; }
/* ==================================================================
   6. BOTÓN FLOTANTE DE WHATSAPP (OPCIONAL)
   ================================================================== */
.v-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  background: var(--v-wa);
  color: #ffffff !important;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .35);
  animation: vp 2.4s infinite;
}

.v-wa:hover {
  transform: translateY(-3px);
}

@keyframes vp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==================================================================
   7. RESPONSIVE Y MOVIMIENTO REDUCIDO
   ================================================================== */
@media (max-width: 900px) {
  .v-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .v-info { flex-direction: column; }
  .v-wa { padding: 14px 18px; font-size: .85rem; }
  .v-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .v *, .v-wa { animation: none !important; transition: none !important; }
  .v-js .v-row { opacity: 1; transform: none; }
}
