:root{
  --ull-navy:#202E52;
  --ull-blue:#005598;
  --ull-red:#C5234A;

  --ull-bg:#F8F8FA;
  --ull-card:#ffffff;
  --ull-border:rgba(32,46,82,.18);
  --ull-shadow:0 18px 45px rgba(15,20,40,.10);
}

.services-section{
  position: relative;
  background: var(--ull-bg);
  padding: clamp(2.6rem, 5vw, 4.6rem) 0;
  overflow: hidden;
}

/* fondo “arc” suave como el ejemplo */
.services-section::before{
  content:"";
  position:absolute;
  inset:-35% -20% auto -20%;
  height: 120%;
  background:
    radial-gradient(closest-side at 50% 10%,
      rgba(32,46,82,.06),
      rgba(32,46,82,0) 70%);
  pointer-events:none;
}

.services-shell{
  position: relative;
  width: min(1200px, calc(100% - 12vw));
  margin: 0 auto;
}

.services-head{
  text-align: center;
  margin-bottom: clamp(1.25rem, 3vw, 2.25rem);
}

.services-brand{
  width: 100%;
  max-width: none;
  margin: 0 0 .65rem;
  text-align: center;
  font-size: .95rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ull-red);
  font-weight: 700;
}

.services-title{
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 1.06;
  color: var(--ull-blue);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.services-subtitle{
  margin: 0 auto;
  max-width: 88ch;
  font-size: clamp(1.15rem, 2.1vw, 2rem);
  line-height: 1.55;
  color: rgba(32,46,82,.62);
}

/* GRID */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.6rem);
}

@media (max-width: 980px){
  .services-grid{ grid-template-columns: 1fr; }
  .services-shell{ width: min(900px, calc(100% - 10vw)); }
}

/* CARD */
.svc-card{
  display: block;
  background: var(--ull-card);
  border: 1px solid var(--ull-border);
  box-shadow: var(--ull-shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transform: translateY(0);
  transition: transform .25s ease, box-shadow .25s ease;
}

.svc-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(15,20,40,.14);
}

.svc-media{
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9edf3;
}

.svc-media img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .55s ease;
}

.svc-card:hover .svc-media img{
  transform: scale(1.08);
}

.svc-body{
  padding: clamp(1.15rem, 2vw, 1.6rem);
  text-align: center;
}

.svc-kicker{
  margin: .15rem 0 .55rem 0;
  font-size: .82rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(32,46,82,.85);
}

.svc-title{
  margin: 0;
  font-size: clamp(1.7rem, 2.2vw, 2.2rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ull-navy);
  font-weight: 600;
}

.svc-rule{
  display: block;
  width: 56px;
  height: 2px;
  margin: .9rem auto 1rem auto;
  background: rgba(0,85,152,.45);
}

.svc-text{
  margin: 0 auto 1.15rem auto;
  max-width: 46ch;
  line-height: 1.65;
  color: rgba(32,46,82,.84);
  font-size: 1.02rem;
}

.svc-link{
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(32,46,82,.90);
  padding: .35rem .25rem;
  position: relative;
}

/* Match the shared dark-navy action buttons used throughout the site. */
.svc-link.ullman-button--navy{
  gap: .55rem;
  min-height: 2.75rem;
  padding: .78rem 1.25rem !important;
  border-radius: 2px;
  color: #ffffff !important;
  font-size: .82rem !important;
  font-weight: 600 !important;
  letter-spacing: .07em;
  line-height: 1.2;
}

.svc-link::after{
  content:"";
  position:absolute;
  left: 50%;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: rgba(0,85,152,.55);
  transform: translateX(-50%);
  transition: width .25s ease;
}

.svc-link.ullman-button--navy::after{
  content: none;
}

.svc-card:is(:hover, :focus-visible) .svc-link.ullman-button--navy{
  --ullman-button-bg: #111c42;
  --ullman-button-bg-hover: #111c42;
  transform: translateY(-2px);
}

.svc-card:hover .svc-link::after{
  width: 86%;
}

.svc-bottomline{
  display:block;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, rgba(32,46,82,.85), rgba(0,85,152,.55));
}

/* Reveal only (robusto: si JS no corre, NO se oculta nada) */
html.sr-ready [data-sr-item]{
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity .75s ease, transform .75s ease;
  transition-delay: var(--sr-delay, 0ms);
  will-change: transform, opacity;
}

html.sr-ready [data-sr-item].is-revealed{
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce){
  .svc-card,
  .svc-media img{
    transition: none !important;
    transform: none !important;
  }
}
