/* V304 · Modelo 1: vino, azul y arena; acceso móvil rojo. */
#servicios.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: 30px;
}
#servicios .service {
  --service-ink: #fff;
  --service-line: rgb(255 255 255 / 38%);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 112px;
  padding: 14px 15px;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 16px;
  color: var(--service-ink);
  text-align: left;
  background: linear-gradient(145deg, #a3556b 0%, #8e4058 100%);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 22%), 0 7px 13px rgb(31 54 80 / 13%);
  transition: transform .18s ease, box-shadow .18s ease;
}
#servicios .service:nth-child(2) {
  background: linear-gradient(145deg, #8096ae 0%, #607b99 100%);
}
#servicios .service:nth-child(3) {
  --service-ink: #063b73;
  --service-line: rgb(51 89 124 / 32%);
  background: linear-gradient(145deg, #ecdbc4 0%, #e3cfb5 100%);
}
#servicios .service-icon {
  display: block;
  flex: 0 0 70px;
  width: 70px;
  height: 78px;
  color: inherit;
}
#servicios .service-icon img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 3px 2px rgb(15 36 61 / 15%));
}
#servicios .service-copy {
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 13px;
  border-left: 1px solid var(--service-line);
}
#servicios .service strong {
  display: block;
  color: inherit;
  font-size: clamp(13px, 1.2vw, 17px);
  font-weight: 700;
  line-height: 1.2;
}
#servicios .service small {
  display: block;
  color: inherit;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
  margin-top: 5px;
}
#servicios .service > b {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin-left: 0;
  border: 1px solid rgb(255 255 255 / 44%);
  border-radius: 50%;
  color: inherit;
  background: linear-gradient(145deg, rgb(255 255 255 / 34%), rgb(255 255 255 / 14%));
  box-shadow: inset 0 1px 2px rgb(255 255 255 / 50%), 0 3px 6px rgb(22 42 61 / 15%);
  font-size: 25px;
  line-height: 1;
  font-weight: 400;
}
#servicios .service:nth-child(3) > b {
  background: linear-gradient(145deg, #fff7e9, #f1e1ca);
  border-color: #fff5e3;
}
#servicios .service:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 22%), 0 10px 18px rgb(31 54 80 / 19%);
}
#servicios .service:active { transform: translateY(0); }
#servicios .service:focus-visible,
.header .mobile-login:focus-visible {
  outline: 3px solid #07509c;
  outline-offset: 4px;
}
@media (min-width: 761px) and (max-width: 1050px) {
  #servicios.services { gap: 10px; }
  #servicios .service { gap: 8px; padding: 13px 10px; }
  #servicios .service-icon { flex-basis: 51px; width: 51px; height: 64px; }
  #servicios .service-copy { padding-left: 9px; }
  #servicios .service > b { flex-basis: 27px; width: 27px; height: 27px; font-size: 21px; }
  #servicios .service small { font-size: 11px; }
}
@media (max-width: 760px) {
  #servicios.services { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 27px; }
  #servicios .service { min-height: 100px; padding: 11px 17px; gap: 15px; border-radius: 15px; }
  #servicios .service-icon { flex-basis: 70px; width: 70px; height: 74px; }
  #servicios .service-copy { padding-left: 15px; }
  #servicios .service strong { font-size: 17px; }
  #servicios .service small { font-size: 13px; }
  #servicios .service > b { flex-basis: 36px; width: 36px; height: 36px; }

  .header .nav-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 24px;
    column-gap: 10px;
    row-gap: 13px;
    align-items: center;
  }
  .header .brand { grid-column: 1; grid-row: 1; min-width: 0; margin: 0; gap: 7px; }
  .header .brand img { flex: 0 0 64px; width: 64px; height: 49px; }
  .header .brand > span { min-width: 0; padding-left: 7px; font-size: 14px; }
  .header .brand b { font-size: 21px; letter-spacing: .3px; }
  .header .brand small { font-size: 4.7px; letter-spacing: 0; max-width: 132px; }
  .header .header-tools { display: contents; }
  .header #search-form { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .header .mobile-login {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-basis: auto;
    min-width: 116px;
    min-height: 48px;
    gap: 5px;
    padding: 5px 9px 5px 5px;
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(155deg, #ff174b 0%, #e60032 52%, #b7082a 100%);
    box-shadow: inset 0 1px 1px rgb(255 255 255 / 25%), 0 5px 12px rgb(124 16 43 / 18%);
  }
  .header .mobile-login .access-icon304 {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    object-fit: contain;
  }
  .header .mobile-login > span {
    display: block;
    width: auto;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.18;
    white-space: normal;
    text-align: left;
    color: inherit;
  }
  .header .mobile-login:hover { filter: brightness(1.06); }
  .header .menu-toggle { grid-column: 3; grid-row: 1; min-width: 24px; padding: 10px 0; margin: 0; }
}
@media (max-width: 360px) {
  .header .nav-wrap { column-gap: 7px; grid-template-columns: minmax(0, 1fr) auto 22px; }
  .header .brand { gap: 5px; }
  .header .brand img { flex-basis: 51px; width: 51px; height: 42px; }
  .header .brand > span { padding-left: 5px; font-size: 12px; }
  .header .brand b { font-size: 18px; }
  .header .brand small { font-size: 4px; line-height: 1.3; }
  .header .mobile-login { min-width: 105px; gap: 4px; padding-right: 7px; }
  .header .mobile-login .access-icon304 { flex-basis: 32px; width: 32px; height: 32px; }
  .header .mobile-login > span { width: auto; font-size: 9.5px; }
  #servicios .service { padding-inline: 12px; gap: 10px; }
  #servicios .service-icon { flex-basis: 58px; width: 58px; height: 68px; }
  #servicios .service-copy { padding-left: 12px; }
  #servicios .service strong { font-size: 15px; }
  #servicios .service small { font-size: 12px; }
  #servicios .service > b { flex-basis: 30px; width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  #servicios .service { transition: none; }
  #servicios .service:hover { transform: none; }
}
