/* ==========================================================================
   NOVUS VÍAS — Hoja de estilos principal
   Paleta: negro predominante + azules de marca (#3ebbeb / #3c5ca9)
   ========================================================================== */

:root {
  --black: #050505;
  --black-soft: #0b0c0f;
  --black-elevated: #101216;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --blue-light: #3ebbeb;
  --blue-dark: #3c5ca9;
  --gradient: linear-gradient(135deg, var(--blue-light), var(--blue-dark));

  --text: #f5f6f8;
  --text-muted: #9aa0ac;
  --text-dim: #5c6270;

  --font-display: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-fluid: cubic-bezier(0.76, 0, 0.24, 1);
  --container: 1180px;
}

/* ---------- Reset básico ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.5;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

::selection { background: var(--blue-dark); color: #fff; }

/* Textura de ruido sutil sobre todo el fondo negro para look premium */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Utilidades tipográficas ---------- */
.eyebrow {
  display: inline-block;
  font-family: 'Poppins';
  font-size: 12px;
  letter-spacing: 0.7em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 720px;
  margin-bottom: 20px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 17px;
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
  font-family: 'Inter';
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  /* color: transparent; */
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.preloader__mark {
  display: inline-block;
  width: 34px;
  animation: pulse 1.1s ease-in-out infinite;
}
.preloader__mark svg { width: 100%; height: 100%; }
.preloader.is-hidden { opacity: 0; visibility: hidden; }

@keyframes pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  padding: 14px 0;
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo__mark svg { width: 26px; height: 26px; }
.logo__text {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.logo__text em {
  font-style: normal;
  color: var(--blue-light);
  font-weight: 400;
}

.nav__list {
  display: flex;
  gap: 38px;
}
.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: #f5f6f8;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gradient);
  transition: width 0.35s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 9px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: #3ebbeb;
  color: #fff;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(62, 187, 235, 0.55);
}
.btn--outline {
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.btn--outline:hover {
  border-color: var(--blue-light);
  background: rgba(62, 187, 235, 0.08);
  transform: translateY(-2px);
}
.btn--ghost {
  border: 1px solid var(--line-strong);
  font-size: 13px;
  padding: 10px 22px;
}
.btn--ghost:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
}
.header__cta { margin-left: auto; }

/* Botón hamburguesa (mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  z-index: 600;
}
.menu-toggle span {
  height: 1.5px;
  width: 100%;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 450;
  background: rgba(5, 6, 8, 0.98);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 26px; text-align: center; }
.mobile-nav__link { font-family: var(--font-display); font-weight: 500; font-size: 28px; }
.mobile-nav__link:hover { color: var(--blue-light); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.blob--1 {
  width: 520px; height: 520px;
  top: -140px; right: -120px;
  background: radial-gradient(circle at 30% 30%, var(--blue-light), transparent 70%);
  animation: float1 16s ease-in-out infinite;
}
.blob--2 {
  width: 420px; height: 420px;
  bottom: -160px; left: -100px;
  background: radial-gradient(circle at 60% 40%, var(--blue-dark), transparent 70%);
  animation: float2 20s ease-in-out infinite;
}
.blob--3 {
  width: 460px; height: 460px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--blue-dark), transparent 70%);
  opacity: 0.35;
  animation: float1 18s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 50px) scale(1.08); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -30px) scale(1.1); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 80%);
  opacity: 0.5;
}

.hero__ring {
  position: absolute;
  top: 50%; right: 6%;
  width: 560px; height: 560px;
  transform: translateY(-50%);
  opacity: 0.5;
  animation: spin 60s linear infinite;
}
@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

.beam {
  position: absolute;
  top: -10%;
  left: 42%;
  width: 1px;
  height: 120%;
  background: linear-gradient(to bottom, transparent, rgba(62, 187, 235, 0.35), transparent);
  animation: beamMove 9s ease-in-out infinite;
}
@keyframes beamMove {
  0%, 100% { transform: translateX(0) scaleY(1); opacity: 0.5; }
  50% { transform: translateX(120px) scaleY(1.3); opacity: 1; }
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 6vw;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-bottom: 26px;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-indicator span {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--blue-light), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--blue-light);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}
.scroll-indicator p {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  writing-mode: vertical-rl;
}

/* ---------- Animación genérica de entrada al hacer scroll ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
/* Desfase escalonado dentro de un mismo contenedor */
.hero__inner [data-animate]:nth-child(1) { transition-delay: 0.05s; }
.hero__inner [data-animate]:nth-child(2) { transition-delay: 0.15s; }
.hero__inner [data-animate]:nth-child(3) { transition-delay: 0.25s; }
.hero__inner [data-animate]:nth-child(4) { transition-delay: 0.35s; }

/* ==========================================================================
   ALIANZA
   ========================================================================== */
.alianza {
  position: relative;
  padding: 140px 0;
  border-top: 1px solid var(--line);
}

.alianza__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--blue-light);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }

.alianza__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.alianza__mark {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-soft);
  overflow: hidden;
}
.alianza__mark svg { width: 80%; animation: spin 40s linear infinite; }
.alianza__badge {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(0,0,0,0.4);
  white-space: nowrap;
}

/* ==========================================================================
   SERVICIOS — tarjetas verticales animadas (inspirado en Accenture)
   ========================================================================== */
.servicios {
  padding: 140px 0 160px;
  border-top: 1px solid var(--line);
}
.servicios > .container { margin-bottom: 60px; }

.servicios__cards {
  display: flex;
  gap: 4px;
  height: 560px;
  max-width: var(--container);
}

.service-card {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--line);
  transition: flex 0.85s var(--ease-fluid), border-color 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
  outline: none;
}

/* Al pasar el mouse por el grupo, las tarjetas no activas se atenúan
   para dirigir toda la atención a la que está en foco. */
.servicios__cards:hover .service-card:not(:hover),
.servicios__cards.has-active .service-card:not(.is-active) {
  opacity: 0.45;
  filter: saturate(0.5);
}

.service-card__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--black-elevated), var(--black-soft) 70%);
  transition: transform 0.9s var(--ease-fluid);
}
.service-card__bg::before {
  /* Textura lineal abstracta, sutil y siempre presente */
  content: '';
  position: absolute;
  inset: -20%;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 46px);
  opacity: 0.5;
}
.service-card__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(62,187,235,0.24), rgba(60,92,169,0.3) 55%, transparent 85%);
  opacity: 0;
  transition: opacity 0.7s var(--ease-fluid);
}

/* Halo que sigue al cursor dentro de la tarjeta activa */
.service-card__spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(62, 187, 235, 0.22), transparent 70%);
}
.service-card:hover .service-card__spotlight {
  opacity: 1;
}

.service-card__top {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.service-card__num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.5s ease;
  display: none;
}
.service-card__icon {
  width: 28px; height: 28px;
  color: var(--blue-light);
  opacity: 0.8;
  transition: transform 0.6s var(--ease-fluid), opacity 0.5s ease;
}
.service-card__icon svg { width: 100%; height: 100%; }

/* Bloque inferior: título siempre horizontal + descripción que se revela */
.service-card__bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px 56px 24px 24px;
}
.service-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.005em;
  transition: font-size 0.7s var(--ease-fluid);
}
.service-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 320px;
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  transform: translateY(8px);
  overflow: hidden;
  transition: max-height 0.7s var(--ease-fluid), opacity 0.4s ease, transform 0.4s var(--ease-fluid), margin-top 0.7s var(--ease-fluid);
}
.service-card__arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  opacity: 0;
  transform: translate(-6px, 6px) rotate(-45deg);
  transition: opacity 0.5s var(--ease-fluid), transform 0.5s var(--ease-fluid), border-color 0.5s ease, color 0.5s ease;
}
.service-card__arrow svg { width: 15px; height: 15px; }

/* Estado expandido: hover en desktop o clase .is-active vía JS (touch) */
.service-card:hover,
.service-card.is-active {
  flex: 3.4;
  border-color: rgba(62, 187, 235, 0.4);
  opacity: 1 !important;
  filter: none !important;
}
.service-card:hover .service-card__bg,
.service-card.is-active .service-card__bg {
  transform: scale(1.06);
}
.service-card:hover .service-card__bg::after,
.service-card.is-active .service-card__bg::after {
  opacity: 1;
}
.service-card:hover .service-card__num,
.service-card.is-active .service-card__num {
  color: var(--blue-light);
}
.service-card:hover .service-card__icon,
.service-card.is-active .service-card__icon {
  opacity: 0.5;
  transform: scale(0.85);
}
.service-card:hover .service-card__title,
.service-card.is-active .service-card__title {
  font-size: 19px;
}
.service-card:hover .service-card__desc,
.service-card.is-active .service-card__desc {
  max-height: 160px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 12px;
  /* El fade arranca cuando la tarjeta ya terminó de expandirse (delay 0.7s),
     para que el texto no se reacomode (reflow) mientras se hace visible. */
  transition: max-height 0.7s var(--ease-fluid), opacity 0.6s ease-out 0.7s, transform 0.6s var(--ease-fluid) 0.7s, margin-top 0.7s var(--ease-fluid);
}
.service-card:hover .service-card__arrow,
.service-card.is-active .service-card__arrow {
  opacity: 1;
  transform: translate(0, 0) rotate(0deg);
  border-color: var(--blue-light);
  color: var(--blue-light);
}

/* ==========================================================================
   ENFOQUE
   ========================================================================== */
.enfoque {
  padding: 140px 0;
  border-top: 1px solid var(--line);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 60px;
}

.pillar {
  background: var(--black);
  padding: 40px 28px;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.pillar:hover {
  background: var(--black-elevated);
  transform: translateY(-4px);
}
.pillar__index {
  display: block;
  font-family: var(--font-display);
  color: var(--blue-light);
  font-size: 13px;
  margin-bottom: 22px;
  opacity: 0.8;
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 12px;
}
.pillar p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contacto {
  position: relative;
  padding: 150px 0 130px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.contacto__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contacto__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.form { display: flex; flex-direction: column; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.form__field { position: relative; }
.form__field input,
.form__field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  padding: 12px 2px 10px;
  transition: border-color 0.35s var(--ease);
  resize: none;
}
.form__field input:focus,
.form__field textarea:focus { outline: none; border-color: var(--blue-light); }

.form__field label {
  position: absolute;
  left: 2px;
  top: 12px;
  color: var(--text-dim);
  font-size: 16px;
  pointer-events: none;
  transition: top 0.3s var(--ease), font-size 0.3s var(--ease), color 0.3s var(--ease);
}
.form__field input:focus + label,
.form__field input:not(:placeholder-shown) + label,
.form__field input.has-value + label,
.form__field textarea:focus + label,
.form__field textarea.has-value + label {
  top: -12px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.form__error {
  display: block;
  font-size: 12px;
  color: #ef6a6a;
  margin-top: 6px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.form__field.is-invalid input,
.form__field.is-invalid textarea { border-color: #ef6a6a; }
.form__field.is-invalid .form__error { height: auto; opacity: 1; }

.form__submit {
  align-self: flex-start;
  margin-top: 10px;
  position: relative;
}

.form__success {
  font-size: 14px;
  color: var(--blue-light);
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.5s var(--ease);
}
.form.is-sent .form__success { opacity: 1; height: auto; margin-top: 8px; }
.form.is-sent .form__submit { opacity: 0.5; pointer-events: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__links {
  display: flex;
  gap: 30px;
}
.footer__links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}
.footer__links a:hover { color: var(--blue-light); }
.footer__copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .nav, .header__cta { display: none; }
  .menu-toggle { display: flex; }

  .alianza__grid,
  .contacto__grid { grid-template-columns: 1fr; }
  .alianza__visual { order: -1; }

  .pillars { grid-template-columns: repeat(2, 1fr); }

  /* Las tarjetas de servicios pasan a acordeón vertical apilado */
  .servicios__cards {
    flex-direction: column;
    height: auto;
  }
  .service-card {
    height: 92px;
    flex: none;
    transition: height 0.75s var(--ease-fluid), border-color 0.5s ease, opacity 0.6s ease, filter 0.6s ease;
  }
  .service-card:hover,
  .service-card.is-active {
    flex: none;
    height: 280px;
  }
  .service-card__bottom { padding: 20px 46px 20px 20px; }
  .service-card__arrow { top: 20px; right: 20px; }
  .service-card:hover .service-card__title,
  .service-card.is-active .service-card__title {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .form__row { grid-template-columns: 1fr; }
  .hero__ring { opacity: 0.25; width: 420px; height: 420px; }
  .pillars { grid-template-columns: 1fr; }
  .scroll-indicator { display: none; }
}
