/* Inicio: type, cards, and icon colors from the supplied references. */
@media (min-width: 901px) {
  #inicio h1 {
    max-width: 100%;
    font-size: 50px;
    line-height: 1.15;
    letter-spacing: .14em;
    white-space: nowrap;
    margin-bottom: 12px;
  }
  #inicio .intro-copy {
    max-width: 900px;
    font-size: 18px;
    line-height: 1.12;
    letter-spacing: .005em;
  }
  #inicio .intro-copy strong { font-weight: 700; }
  #inicio .actions { margin-top: 40px; gap: 34px; }
  #inicio .actions .button {
    min-height: 52px;
    padding: 9px 22px;
    font-size: clamp(16px, 1.45vw, 20px);
    border-radius: 7px;
  }
  #inicio .actions .button.primary { min-width: 294px; font-size: 17px }
  #inicio .actions .button.secondary { min-width: 238px;font-size: 17px }
}
#inicio .photo-card {
  width: 100%;
  border-color: #484b50;
  border-radius: 9px;
}
@media (min-width: 761px) {
  #inicio .home-grid { width: calc(100% + 84px); margin-left: -42px; }
}
#inicio .photo-card::after {
  background: linear-gradient(0deg, #000c 0, #0007 34%, #0003 100%);
}
#inicio .home-grid .photo-card .crop img {
  filter: grayscale(1) brightness(.55);
}
#inicio .photo-label {
  color: #d3d3d5;
  font-weight: 400;
  letter-spacing: .16em;
  opacity: .69;
}
#inicio .photo-label svg {
  color: var(--card-accent);
  stroke-width: 1.75;
  opacity: .86;
  filter: brightness(0) saturate(100%) invert(49%) sepia(91%) saturate(2340%) hue-rotate(191deg) brightness(101%) contrast(104%);
}
#inicio .photo-card:is(:hover, :focus-visible, .is-preview, .mouse-preview) .photo-label {
  opacity: 1;
}
#inicio .photo-card:is(:hover, :focus-visible, .is-preview, .mouse-preview) .photo-label svg {
  color: var(--card-accent);
  opacity: 1;
  filter: none;
}
@media (min-width: 761px) {
  #inicio .photo-label {
    font-size: clamp(11px, 1vw, 15px);
    gap: 11px;
  }
  #inicio .photo-label svg {
    width: clamp(30px, 2.8vw, 37px);
    height: clamp(30px, 2.8vw, 37px);
    min-width: clamp(30px, 2.8vw, 37px);
  }
}
@media (max-width: 900px) {
  #inicio .home-copy-break { display: none; }
  #inicio h1 { font-size: clamp(27px, 5.5vw, 50px); }
  #inicio .intro-copy { font-size: clamp(14px, 2vw, 18px); }
}
@media (max-width: 760px) {
  #inicio .photo-label { letter-spacing: .045em; opacity: .9; }
  #inicio .home-grid .photo-card .crop img { filter: grayscale(1) brightness(.6); }
}

/* Servicios: a compact blue light behind “MÁS IMPORTA”. */
#servicios .intro { position: relative; isolation: isolate; }
#servicios .intro::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -22px;
  width: min(440px, 75vw);
  height: 170px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, #b3deff 0, #4d9cf4 10%, #1767d1 23%, #064080 43%, transparent 72%);
  filter: blur(13px);
  opacity: .95;
  pointer-events: none;
}
@media (max-width: 760px) {
  #servicios .intro::before { top: -10px; width: 85vw; height: 155px; opacity: .72; }
}

/* Five services in one level row, as in the supplied reference. */
@media (min-width: 901px) {
  #servicios .ref-service-row {
    position: relative;
    width: 100%;
    max-width: 910px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 72px auto 0;
  }
  #servicios .ref-service-row::before { display: none; }
  #servicios .ref-service-choice { align-self: start; }
  #servicios .ref-service-choice:nth-child(even) { transform: none; }
  #servicios .ref-service-choice .hex-icon {
    position: relative;
    isolation: isolate;
    width: 90px;
    height: 104px;
    margin-bottom: 13px;
    color: #96989b;
    background: #30363b;
    border: 0;
    filter: none;
  }
  #servicios .ref-service-choice .hex-icon::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 2px;
    background: linear-gradient(155deg, #292b2e, #020304 80%);
    clip-path: polygon(50% 0, 98% 25%, 98% 75%, 50% 100%, 2% 75%, 2% 25%);
  }
  #servicios .ref-service-choice .hex-icon svg { width: 45px; height: 45px; stroke-width: 2; }
  #servicios .ref-service-choice > span:last-child {
    max-width: 135px;
    color: #e8ebf0;
    font: 500 11px/1.3 Quedora, Arial, sans-serif;
    letter-spacing: .07em;
  }
  #servicios .wedge { display: block; }
}
