/* ==========================================================
   Aurex service pages (Branding, Creative, Web, Organic, Performance)
   Reusable: swap --svc-brand per page if a service needs its own accent.
   ========================================================== */
:root {
  --svc-brand: #ff3b4f;
  --svc-brand-dark: #e0283c;
  --svc-brand-soft: #ffeef0;
  --svc-ink: #17263b;
  --svc-text: #5b6577;
  --svc-line: #ebe8ef;
  --svc-bg: #f7f7fa;
  --svc-navy: #0f1a2a;
}

/* ---------- Shared ---------- */
.svc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--svc-brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.svc-eyebrow span {
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--svc-brand);
}
.svc-heading {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}
.svc-heading h2 {
  margin: 0;
  color: var(--svc-ink);
  font-size: clamp(30px, 3.6vw, 43px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.svc-heading em,
.svc-hero h1 em {
  color: var(--svc-brand);
  font-style: normal;
}
.svc-heading--light h2 {
  color: #fff;
}

.svc-btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}
.svc-btn span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  transition: transform 250ms ease;
}
.svc-btn:hover {
  transform: translateY(-2px);
}
.svc-btn:hover span {
  transform: translateX(3px);
}
.svc-btn:focus-visible {
  outline: 2px solid var(--svc-brand);
  outline-offset: 3px;
}
.svc-btn--primary {
  padding: 0 8px 0 26px;
  background: var(--svc-brand);
  color: #fff;
  box-shadow: 0 14px 30px rgba(255, 59, 79, 0.3);
}
.svc-btn--primary span {
  background: #fff;
  color: var(--svc-brand);
}
.svc-btn--primary:hover,
.svc-btn--primary:focus-visible {
  background: var(--svc-brand-dark);
  color: #fff;
}
.svc-btn--ghost {
  padding: 0 26px;
  border: 1.5px solid #dfe3ea;
  background: #fff;
  color: var(--svc-ink);
}
.svc-btn--ghost:hover,
.svc-btn--ghost:focus-visible {
  border-color: var(--svc-brand);
  color: var(--svc-brand);
}
.svc-btn--light {
  flex-shrink: 0;
  padding: 0 8px 0 26px;
  background: #fff;
  color: var(--svc-ink);
}
.svc-btn--light span {
  background: var(--svc-brand);
  color: #fff;
}
.svc-btn--light:hover,
.svc-btn--light:focus-visible {
  color: var(--svc-brand);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

/* ---------- Hero ---------- */
.svc-hero {
  position: relative;
  overflow: hidden;
 padding: clamp(120px, 10vw, 100px) 0 clamp(70px, 8vw, 80px);
  background:
    radial-gradient(ellipse at 88% 15%, rgba(255, 59, 79, 0.12), transparent 35%),
    radial-gradient(ellipse at 0% 100%, rgba(67, 116, 182, 0.08), transparent 35%),
    linear-gradient(135deg, #fbf8f9 0%, #fff 55%, #f6f8fc 100%);
}
.svc-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 38, 59, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 38, 59, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
  content: "";
  pointer-events: none;
}
.svc-hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}
.svc-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
}
.svc-breadcrumb li {
  color: var(--svc-text);
}
.svc-breadcrumb li + li::before {
  margin-right: 8px;
  color: #b7bcc6;
  content: "/";
}
.svc-breadcrumb a {
  color: var(--svc-text);
  text-decoration: none;
}
.svc-breadcrumb a:hover {
  color: var(--svc-brand);
}
.svc-breadcrumb [aria-current] {
  color: var(--svc-brand);
}
.svc-hero h1 {
  margin: 0;
  color: var(--svc-ink);
  font-size: clamp(42px, 5.4vw, 72px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.02;
}
.svc-hero__lead {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--svc-text);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.8;
}
.svc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  margin-top: 34px;
}
.svc-hero__visual {
  position: relative;
}
.svc-hero__visual video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.4;
  border: 8px solid #fff;
  border-radius: 200px 200px 24px 24px;
  object-fit: cover;
  background: #e9ecf2;
  box-shadow: 0 30px 70px rgba(25, 45, 70, 0.18);
}
.svc-hero__visual::before {
  position: absolute;
  z-index: -1;
  inset: 6% -4% -4% 8%;
  border: 1px solid rgba(255, 59, 79, 0.3);
  border-radius: 200px 200px 24px 24px;
  content: "";
}
.svc-hero__chip {
  position: absolute;
  bottom: 9%;
  left: -6%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(26, 48, 73, 0.15);
  animation: svc-float 5s ease-in-out infinite;
}
.svc-hero__chip-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--svc-brand-soft);
  color: var(--svc-brand);
}
.svc-hero__chip small {
  display: block;
  color: #8a93a3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.svc-hero__chip strong {
  display: block;
  color: var(--svc-ink);
  font-size: 16px;
  font-weight: 800;
}
@keyframes svc-float {
  50% {
    transform: translateY(-8px);
  }
}

/* ---------- Solutions ---------- */
.svc-solutions {
  padding: clamp(72px, 9vw, 110px) 0;
  background: #fff;
}
/* Capsule cards: round photo on top, hexagon icon overlapping it,
   hexagon arrow button sitting on the bottom of the gradient outline. */
.svc-solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 80px clamp(22px, 3vw, 40px);
  margin: 0;
  padding: 0 0 34px;
  list-style: none;
}
.svc-solution {
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px clamp(22px, 2.6vw, 36px) 74px;
  border: 4px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, var(--svc-brand) 0%, #ff8a96 55%, rgba(255, 138, 150, 0.35) 100%) border-box;
  text-align: center;
  transition: transform 350ms ease, box-shadow 350ms ease;
}
.svc-solution:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(255, 59, 79, 0.14);
}
.svc-solution__media {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: #f1f2f6;
}
.svc-solution__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}
.svc-solution:hover .svc-solution__media img {
  transform: scale(1.08);
}
.svc-solution__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 26, 42, 0.35));
  content: "";
}
.svc-solution__num {
  position: absolute;
  z-index: 1;
  top: 16%;
  left: 12%;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.svc-solution__icon {
  position: relative;
  z-index: 1;
  margin-top: -54px;
  filter: drop-shadow(0 10px 18px rgba(26, 48, 73, 0.16));
}
.svc-solution__icon > span {
  display: grid;
  width: 96px;
  height: 108px;
  place-items: center;
  background: #fff;
  color: var(--svc-brand);
  clip-path: var(--hex);
  transition: background-color 350ms ease, color 350ms ease;
}
.svc-solution:hover .svc-solution__icon > span {
  background: var(--svc-brand);
  color: #fff;
}
.svc-solution h3 {
  margin: 22px 0 12px;
  color: var(--svc-ink);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.svc-solution p {
  max-width: 290px;
  margin: 0;
  color: var(--svc-text);
  font-size: 15.5px;
  line-height: 1.75;
}
.svc-solution__arrow {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 10px 20px rgba(255, 59, 79, 0.2));
  text-decoration: none;
}
.svc-solution__arrow > span {
  display: grid;
  width: 66px;
  height: 74px;
  place-items: center;
  background: #fff;
  color: var(--svc-brand);
  clip-path: var(--hex);
  transition: background-color 300ms ease, color 300ms ease;
}
.svc-solution__arrow svg {
  transition: transform 300ms ease;
}
.svc-solution__arrow:hover > span,
.svc-solution__arrow:focus-visible > span,
.svc-solution:hover .svc-solution__arrow > span {
  background: var(--svc-brand);
  color: #fff;
}
.svc-solution__arrow:hover svg,
.svc-solution__arrow:focus-visible svg {
  transform: rotate(45deg);
}
.svc-solution__arrow:focus-visible {
  outline: none;
}
.svc-solution__arrow:focus-visible > span {
  box-shadow: inset 0 0 0 3px #fff;
}

/* ---------- Deliverables ---------- */
.svc-deliver {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 110px) 0;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(255, 59, 79, 0.18), transparent 40%),
    radial-gradient(ellipse at 90% 100%, rgba(67, 116, 182, 0.16), transparent 40%),
    var(--svc-navy);
}
.svc-deliver__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  list-style: none;
}
.svc-deliver__item {
  padding: 36px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 300ms ease;
}
.svc-deliver__item:hover {
  background: rgba(255, 255, 255, 0.04);
}
.svc-deliver__icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 59, 79, 0.14);
  color: #ff6b7a;
  transition: background-color 300ms ease, color 300ms ease, transform 300ms ease;
}
.svc-deliver__item:hover .svc-deliver__icon {
  background: var(--svc-brand);
  color: #fff;
  transform: rotate(-6deg);
}
.svc-deliver__item h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}
.svc-deliver__item p {
  margin: 0;
  color: #9fb0c4;
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Flow ---------- */
/* Zigzag: odd steps = circle on top, text below; even steps = text on top, circle below.
   Circle centres sit at y=62 (odd) and y=206 (even), matching the polyline in the SVG. */
.svc-flow {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 110px) 0 clamp(80px, 10vw, 120px);
  background:
    radial-gradient(circle at 38% 38%, rgba(255, 59, 79, 0.1), transparent 28%),
    linear-gradient(180deg, #fbf8fa, #f6f7fb);
}
.svc-flow::before {
  position: absolute;
  bottom: -160px;
  left: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 59, 79, 0.05);
  content: "";
}
.svc-flow__track {
  position: relative;
}
.svc-flow__line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 268px;
  overflow: visible;
  pointer-events: none;
}
.svc-flow__line polyline {
  fill: none;
  stroke: var(--svc-brand);
  stroke-width: 2;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
  opacity: 0.55;
  vector-effect: non-scaling-stroke;
}
.svc-flow__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.svc-flow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.svc-flow__step:nth-child(even) {
  flex-direction: column-reverse;
  justify-content: flex-end;
}
.svc-flow__step:nth-child(even) .svc-flow__text {
  display: flex;
  height: 144px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 22px;
}
.svc-flow__circle {
  position: relative;
  display: grid;
  width: 124px;
  height: 124px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 18px 40px rgba(26, 48, 73, 0.1);
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.svc-flow__circle::after {
  position: absolute;
  inset: -8px;
  border: 1px dashed rgba(255, 59, 79, 0.35);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 300ms ease;
  content: "";
}
.svc-flow__step:hover .svc-flow__circle {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(255, 59, 79, 0.18);
}
.svc-flow__step:hover .svc-flow__circle::after {
  opacity: 1;
  animation: svc-spin 12s linear infinite;
}
.svc-flow__icon {
  display: grid;
  place-items: center;
  color: var(--svc-brand);
  transition: transform 300ms ease;
}
.svc-flow__step:hover .svc-flow__icon {
  transform: scale(1.08);
}
.svc-flow__badge {
  position: absolute;
  top: 0;
  left: -4px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--svc-brand);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(255, 59, 79, 0.35);
}
.svc-flow__text {
  max-width: 290px;
}
.svc-flow__step:nth-child(odd) .svc-flow__text {
  padding-top: 26px;
}
.svc-flow__step h3 {
  margin: 0 0 10px;
  color: var(--svc-ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.svc-flow__step p {
  margin: 0;
  color: var(--svc-text);
  font-size: 15.5px;
  line-height: 1.75;
}
@keyframes svc-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 991px) {
  .svc-flow__line {
    display: none;
  }
  .svc-flow__steps {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 560px;
    margin: 0 auto;
  }
  .svc-flow__step,
  .svc-flow__step:nth-child(even) {
    position: relative;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 22px;
    padding-bottom: 34px;
    text-align: left;
  }
  .svc-flow__step:not(:last-child)::before {
    position: absolute;
    top: 96px;
    bottom: 6px;
    left: 44px;
    border-left: 2px dotted rgba(255, 59, 79, 0.45);
    content: "";
  }
  .svc-flow__circle {
    width: 88px;
    height: 88px;
  }
  .svc-flow__icon svg {
    width: 32px;
    height: 32px;
  }
  .svc-flow__badge {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .svc-flow__step:nth-child(odd) .svc-flow__text,
  .svc-flow__step:nth-child(even) .svc-flow__text {
    display: block;
    height: auto;
    padding: 12px 0 0;
  }
  .svc-flow__step h3 {
    font-size: 21px;
  }
}

/* ---------- CTA band ---------- */
.svc-cta {
  padding: clamp(56px, 7vw, 80px) 0 0;
  background: var(--svc-bg);
}
.svc-cta__card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  padding: clamp(32px, 5vw, 56px) clamp(26px, 5vw, 64px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.22), transparent 40%),
    linear-gradient(135deg, var(--svc-brand), var(--svc-brand-dark));
  box-shadow: 0 24px 50px rgba(255, 59, 79, 0.28);
}
.svc-cta__card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.svc-cta__card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .svc-hero__layout {
    grid-template-columns: 1fr;
  }
  .svc-hero__visual {
    width: min(100%, 520px);
    margin: 0 auto;
  }
  .svc-solutions__grid,
  .svc-deliver__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .svc-heading {
    margin-bottom: 36px;
  }
  .svc-solutions__grid,
  .svc-deliver__grid {
    grid-template-columns: 1fr;
  }
  .svc-solutions__grid {
    max-width: 380px;
    margin: 0 auto;
    row-gap: 70px;
  }
  .svc-solution {
    padding: 28px 24px 70px;
  }
  .svc-deliver__item {
    padding: 28px 24px;
  }
  .svc-hero__chip {
    left: 0;
    bottom: 6%;
  }
  .svc-cta__card {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 575px) {
  .svc-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .svc-btn--primary,
  .svc-btn--light {
    justify-content: space-between;
  }
  .svc-btn--ghost {
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .svc-hero__chip,
  .svc-flow__step:hover .svc-flow__circle::after {
    animation: none;
  }
  .svc-btn,
  .svc-btn span,
  .svc-solution,
  .svc-solution__media img,
  .svc-solution__icon > span,
  .svc-solution__arrow svg,
  .svc-deliver__icon {
    transition: none;
  }
}

/* ==========================================================
   Animations
   Reveal uses the individual `translate` / `scale` properties so it never
   fights the hover `transform` effects on cards.
   ========================================================== */
/* Hero entrance on page load */
.svc-hero__content > * {
  animation: svc-rise 900ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
.svc-hero__content > :nth-child(1) { animation-delay: 80ms; }
.svc-hero__content > :nth-child(2) { animation-delay: 180ms; }
.svc-hero__content > :nth-child(3) { animation-delay: 280ms; }
.svc-hero__content > :nth-child(4) { animation-delay: 400ms; }
.svc-hero__content > :nth-child(5) { animation-delay: 520ms; }
.svc-hero__visual {
  animation: svc-pop 1100ms 250ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
.svc-hero__visual::before {
  animation: svc-ring-in 1400ms 700ms ease both;
}
.svc-hero h1 em {
  display: inline-block;
  background: linear-gradient(90deg, var(--svc-brand), #ff8a96, var(--svc-brand));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: svc-shine 4s 1.2s ease-in-out infinite;
}
.svc-eyebrow span {
  transform-origin: left;
  animation: svc-line-grow 900ms 300ms ease both;
}

/* Scroll reveal */
.js-reveal [data-reveal]:not(.is-revealed) {
  opacity: 0;
}
.js-reveal [data-reveal].is-revealed {
  animation: svc-reveal-up 850ms var(--reveal-delay, 0ms) cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
.js-reveal [data-reveal="zoom"].is-revealed {
  animation-name: svc-reveal-zoom;
}
.js-reveal [data-reveal="draw"].is-revealed {
  animation: svc-draw 1600ms 300ms ease-in-out both;
}
/* Flow: circles pop after their step appears */
.js-reveal .svc-flow__step.is-revealed .svc-flow__circle {
  animation: svc-pop 700ms calc(var(--reveal-delay, 0ms) + 200ms) cubic-bezier(0.3, 1.4, 0.5, 1) both;
}
.js-reveal .svc-flow__step.is-revealed .svc-flow__badge {
  animation: svc-pop 600ms calc(var(--reveal-delay, 0ms) + 450ms) cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
/* Capsule cards: icon and arrow pop in after the card */
.js-reveal .svc-solution.is-revealed .svc-solution__icon,
.js-reveal .svc-solution.is-revealed .svc-solution__arrow {
  animation: svc-pop-scale 650ms calc(var(--reveal-delay, 0ms) + 350ms) cubic-bezier(0.3, 1.5, 0.5, 1) both;
}
/* Deliverables: icons pop */
.js-reveal .svc-deliver__item.is-revealed .svc-deliver__icon {
  animation: svc-pop-scale 650ms calc(var(--reveal-delay, 0ms) + 250ms) cubic-bezier(0.3, 1.5, 0.5, 1) both;
}

@keyframes svc-rise {
  from { opacity: 0; translate: 0 28px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes svc-reveal-up {
  from { opacity: 0; translate: 0 48px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes svc-reveal-zoom {
  from { opacity: 0; scale: 0.92; }
  to { opacity: 1; scale: 1; }
}
@keyframes svc-pop {
  from { opacity: 0; scale: 0.6; }
  to { opacity: 1; scale: 1; }
}
@keyframes svc-pop-scale {
  from { opacity: 0; scale: 0.4; }
  to { opacity: 1; scale: 1; }
}
@keyframes svc-ring-in {
  from { opacity: 0; scale: 0.9; }
  to { opacity: 1; scale: 1; }
}
@keyframes svc-draw {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes svc-shine {
  0%, 60%, 100% { background-position: 100% 0; }
  30% { background-position: 0 0; }
}
@keyframes svc-line-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .svc-hero__content > *,
  .svc-hero__visual,
  .svc-hero__visual::before,
  .svc-hero h1 em,
  .svc-eyebrow span,
  .js-reveal [data-reveal].is-revealed,
  .js-reveal [data-reveal].is-revealed * {
    animation: none !important;
  }
  .js-reveal [data-reveal]:not(.is-revealed) {
    opacity: 1;
  }
}

/* Replay-on-scroll tuning */
html {
  scroll-behavior: smooth;
}
.js-reveal [data-reveal] {
  will-change: opacity, translate;
}
/* Scrolling back up: elements drop in from above instead of rising from below */
.js-reveal [data-reveal].is-revealed.from-top {
  animation-name: svc-reveal-down;
  animation-delay: 0ms;
}
.js-reveal [data-reveal="zoom"].is-revealed.from-top {
  animation-name: svc-reveal-zoom;
}
@keyframes svc-reveal-down {
  from { opacity: 0; translate: 0 -48px; }
  to { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.js-reveal [data-reveal="draw"].is-revealed.from-top {
  animation-name: svc-draw;
}

/* Hero video: box follows the videos' own 16:9 shape so nothing in the frame is cropped */
.svc-hero__visual video {
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  object-fit: contain;
  background: #000;
}
.svc-hero__visual::before {
  border-radius: 28px;
}

/* Bigger hero video: give the video column more width (height follows the 16:9 shape) */
@media (min-width: 992px) {
  .svc-hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: clamp(32px, 4vw, 56px);
  }
}
@media (max-width: 991px) {
  .svc-hero__visual {
    width: min(100%, 680px);
  }
}
/* Chip sits lower, overlapping the bottom edge of the video */
.svc-hero__chip {
  bottom: -28px;
}
@media (max-width: 767px) {
  .svc-hero__chip {
    bottom: -22px;
  }
  .svc-hero__visual {
    margin-bottom: 22px;
  }
}

/* Hero video sound toggle */
.svc-hero__sound {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}
.svc-hero__sound:hover {
  background: var(--svc-brand, #ff3b4f);
  transform: scale(1.04);
}
.svc-hero__sound:focus-visible {
  outline: 2px solid var(--svc-brand, #ff3b4f);
  outline-offset: 3px;
}
.svc-hero__sound .svc-hero__sound-on,
.svc-hero__sound.is-unmuted .svc-hero__sound-off {
  display: none;
}
.svc-hero__sound.is-unmuted .svc-hero__sound-on {
  display: block;
}
@media (max-width: 575px) {
  .svc-hero__sound {
    top: 14px;
    right: 14px;
    padding: 8px 12px 8px 9px;
    font-size: 12px;
  }
}

/* Chip moved to the top edge of the video */
.svc-hero__chip {
  top: -28px;
  bottom: auto;
}
@media (max-width: 767px) {
  .svc-hero__chip {
    top: -22px;
    bottom: auto;
  }
  .svc-hero__visual {
    margin-top: 22px;
    margin-bottom: 0;
  }
}
