/* Lines International — design system matching the reference site */

:root {
  --bg: #f7f9fc;
  --fg: #1c2b45;
  --card: #ffffff;
  --muted: #66758c;
  --border: #e2e8f0;
  --primary: #1877c5;
  --primary-fg: #ffffff;
  --secondary: #eef4fb;
  --navy: #1a2f55;
  --navy-fg: #f4f8fc;
  --orange: #f58220;
  --green: #2e9e48;
  --radius: 0.5rem;
  --shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 4px 12px rgb(16 24 40 / 6%);
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-heading: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --max: 80rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon--sm {
  width: 1rem;
  height: 1rem;
}

.icon--lg {
  width: 2rem;
  height: 2rem;
}

.icon--orange {
  color: var(--orange);
}

.icon--green {
  color: var(--green);
}

.icon--primary {
  color: var(--primary);
}

.eyebrow {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow--orange {
  color: var(--orange);
}

.muted {
  color: var(--muted);
}

.tricolor {
  display: flex;
  width: 7rem;
  height: 0.375rem;
  overflow: hidden;
  border-radius: 999px;
}

.tricolor span {
  flex: 1;
}

.tricolor span:nth-child(1) {
  background: var(--orange);
}

.tricolor span:nth-child(2) {
  background: #fff;
}

.tricolor span:nth-child(3) {
  background: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: 1px solid transparent;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--primary);
  color: var(--primary-fg);
}

.btn--primary:hover {
  opacity: 0.92;
}

.btn--ghost {
  border-color: rgb(255 255 255 / 30%);
  color: #fff;
}

.btn--ghost:hover {
  background: rgb(255 255 255 / 10%);
}

.callout {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 500;
}

.callout--orange {
  border-left: 4px solid var(--orange);
  background: var(--secondary);
}

.callout--green {
  border-left: 4px solid var(--green);
  background: var(--card);
}

.section {
  padding: 5rem 1rem;
}

.section--muted {
  background: var(--secondary);
}

.section__inner,
.hero__inner,
.contact__grid,
.about,
.nrdc-hero__inner,
.content-wrap {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.section__intro {
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section__intro h2,
.about__copy h2,
.contact__info h2,
.hero h1,
.nrdc-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
}

.hero h1,
.nrdc-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(247 249 252 / 95%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 1rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-logo img,
.site-logo .custom-logo {
  height: 3rem;
  width: auto;
}

.site-logo .custom-logo-link {
  display: inline-flex;
  line-height: 0;
}

.primary-nav {
  display: none;
}

.primary-nav__list,
.mobile-nav__list {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.primary-nav__list a,
.mobile-nav__list a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(28 43 69 / 80%);
}

.primary-nav__list a:hover,
.mobile-nav__list a:hover {
  color: var(--primary);
}

.header-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
}

.header-cta:hover {
  opacity: 0.92;
}

.nav-toggle {
  display: inline-flex;
  border: 0;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--fg);
}

.nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: inline-flex;
}

.mobile-nav {
  border-top: 1px solid var(--border);
  padding: 1rem;
}

.mobile-nav__list {
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
}

.mobile-nav__list a {
  display: block;
  padding: 0.75rem 0.75rem;
  border-radius: var(--radius);
  font-weight: 500;
}

.mobile-nav__list a:hover {
  background: var(--secondary);
}

@media (min-width: 768px) {
  .primary-nav {
    display: block;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }

  .site-header__inner {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--navy-fg);
  background: var(--navy);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy), rgb(24 119 197 / 70%));
}

.hero__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background: radial-gradient(ellipse at 30% 40%, rgb(24 119 197 / 35%), transparent 60%);
  pointer-events: none;
  animation: lines-hero-glow 8s ease-in-out infinite alternate;
}

.hero__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.45;
  animation: lines-orb-float 12s ease-in-out infinite;
}

.hero__orb--1 {
  width: 14rem;
  height: 14rem;
  top: 12%;
  right: 8%;
  background: radial-gradient(circle, rgb(245 130 32 / 35%), transparent 70%);
  animation-duration: 14s;
}

.hero__orb--2 {
  width: 10rem;
  height: 10rem;
  bottom: 18%;
  left: 6%;
  background: radial-gradient(circle, rgb(46 158 72 / 28%), transparent 70%);
  animation-duration: 11s;
  animation-delay: -3s;
}

.hero__orb--3 {
  width: 7rem;
  height: 7rem;
  top: 55%;
  right: 28%;
  background: radial-gradient(circle, rgb(255 255 255 / 18%), transparent 70%);
  animation-duration: 16s;
  animation-delay: -6s;
}

@keyframes lines-hero-glow {
  from {
    opacity: 0.65;
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    opacity: 1;
    transform: translate3d(4%, 3%, 0) scale(1.08);
  }
}

@keyframes lines-orb-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(1.5rem, -1.75rem, 0);
  }
}

.hero .tricolor {
  position: relative;
  overflow: hidden;
}

.hero .tricolor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 55%), transparent);
  transform: translateX(-120%);
  animation: lines-shimmer 3.2s ease-in-out infinite;
}

@keyframes lines-shimmer {
  0%,
  40% {
    transform: translateX(-120%);
  }
  70%,
  100% {
    transform: translateX(120%);
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 5rem 1rem;
}

.hero__content {
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero__tagline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  color: rgb(244 248 252 / 90%);
}

.hero__text {
  color: rgb(244 248 252 / 75%);
}

.hero__locations {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgb(244 248 252 / 75%);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 42rem;
  border-top: 1px solid rgb(255 255 255 / 15%);
  padding-top: 2rem;
  margin: 0;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero__stats dt {
  order: 2;
  font-size: 0.875rem;
  color: rgb(244 248 252 / 70%);
}

.hero__stats dd {
  order: 1;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.hero__counter {
  display: inline-block;
  min-width: 2ch;
}

@media (min-width: 768px) {
  .hero__inner {
    padding: 7rem 1.5rem;
  }
}

/* About */
.about {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-inline: 1rem;
}

.about__media {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about__image {
  max-width: 24rem;
  width: 100%;
  margin-inline: auto;
  aspect-ratio: 473 / 675;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__media figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.about__copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about__points {
  display: grid;
  gap: 0.75rem;
}

.about__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 500;
}

@media (min-width: 640px) {
  .about__points {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .about {
    grid-template-columns: 1fr 1fr;
    padding-inline: 1.5rem;
  }
}

/* Services */
.services__grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgb(16 24 40 / 10%);
  transform: translateY(-3px);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: var(--primary);
  color: #fff;
  overflow: hidden;
}

.service-card__icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.services__banner {
  margin-top: 3rem;
  background: var(--navy);
  color: var(--navy-fg);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 500;
  text-wrap: pretty;
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }

  .section,
  .services .section__inner,
  .clients .section__inner,
  .team .section__inner {
    padding-inline: 0;
  }

  .section {
    padding-inline: 1.5rem;
  }
}

/* Service slider */
.service-slider {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-slider__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.service-slider__track {
  display: flex;
  transition: transform 0.7s ease;
}

.service-slider__slide {
  flex: 0 0 100%;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgb(26 47 85 / 80%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.service-slider__btn:hover {
  background: var(--navy);
}

.service-slider__btn--prev {
  left: 0.75rem;
}

.service-slider__btn--next {
  right: 0.75rem;
}

.service-slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.service-slider__dot {
  width: 0.625rem;
  height: 0.625rem;
  border: 0;
  border-radius: 999px;
  background: rgb(24 119 197 / 30%);
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}

.service-slider__dot.is-active {
  width: 2rem;
  background: var(--primary);
}

@media (min-width: 768px) {
  .service-slider__slide {
    aspect-ratio: 16 / 9;
  }
}

/* Clients */
.clients__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.client-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.client-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.client-card__logo {
  position: relative;
  height: 7rem;
  background: #fff;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-card__logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.client-card__meta {
  border-top: 1px solid var(--border);
  padding: 0.75rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
}

.client-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.client-card__note {
  font-size: 0.75rem;
  color: var(--muted);
}

.associations {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.associations h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.associations__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.associations__list li {
  border: 1px solid rgb(24 119 197 / 25%);
  background: rgb(24 119 197 / 5%);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

@media (min-width: 640px) {
  .clients__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .clients__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .clients__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Team */
.team__leaders {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.leader-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--navy);
  color: var(--navy-fg);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.leader-card__avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.leader-card__avatar--photo {
  background: transparent;
  padding: 0;
}

.leader-card__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.leader-card__name {
  font-size: 1.25rem;
  font-weight: 700;
}

.leader-card__role {
  color: var(--orange);
}

.team__staff {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.staff-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.staff-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.staff-card__person {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.staff-card__avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--secondary);
}

.staff-card__avatar--photo {
  border: 1px solid var(--border);
}

.staff-card__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.staff-card__name {
  font-weight: 600;
}

.staff-card__role {
  font-size: 0.875rem;
  color: var(--muted);
  text-align: right;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .team__leaders {
    grid-template-columns: 1fr 1fr;
  }

  .team__staff {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .team__staff {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Contact */
.contact__grid {
  display: grid;
  gap: 2.5rem;
  padding-inline: 1rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact__address {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-style: normal;
}

.contact__row {
  display: flex;
  gap: 1rem;
}

.contact__row .icon {
  margin-top: 0.25rem;
}

.contact__label {
  font-weight: 600;
}

.contact__link {
  display: block;
}

.contact__link:hover {
  color: var(--primary);
}

.contact__map {
  min-height: 20rem;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  border: 0;
}

@media (min-width: 768px) {
  .contact__grid {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--navy-fg);
}

.site-footer__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.site-footer__logo-wrap {
  width: fit-content;
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.site-footer__logo-wrap img {
  height: 2.5rem;
  width: auto;
}

.site-footer__brand p {
  margin-top: 1rem;
  max-width: 16rem;
  font-size: 0.875rem;
  color: rgb(244 248 252 / 75%);
}

.site-footer__heading {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.site-footer__nav,
.site-footer__useful,
.site-footer__social,
.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer__list,
.site-footer__list.primary-nav__list,
.site-footer__nav .menu,
.site-footer__social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.875rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list li,
.site-footer__nav .menu li {
  margin: 0;
  width: 100%;
}

.site-footer__list a,
.site-footer__social a,
.site-footer__useful-list a,
.site-footer__nav .menu a {
  display: inline-block;
  color: rgb(244 248 252 / 80%);
  line-height: 1.4;
  text-align: left;
}

.site-footer__list a:hover,
.site-footer__social a:hover,
.site-footer__useful-list a:hover,
.site-footer__nav .menu a:hover {
  color: #fff;
}

.site-footer__useful-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 2rem;
  font-size: 0.875rem;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: start;
}

.site-footer__copy {
  border-top: 1px solid rgb(255 255 255 / 10%);
  padding: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgb(244 248 252 / 60%);
}

@media (min-width: 768px) {
  .site-footer__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1.4fr 0.8fr;
    gap: 2rem;
    align-items: start;
    padding-inline: 1.5rem;
  }
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgb(0 0 0 / 20%);
  transition: transform 0.2s;
  animation: lines-fab-pulse 2.8s ease-in-out infinite;
}

.whatsapp-fab:hover {
  transform: scale(1.05);
  animation: none;
}

@keyframes lines-fab-pulse {
  0%,
  100% {
    box-shadow: 0 10px 25px rgb(0 0 0 / 20%), 0 0 0 0 rgb(37 211 102 / 35%);
  }
  50% {
    box-shadow: 0 10px 25px rgb(0 0 0 / 20%), 0 0 0 12px rgb(37 211 102 / 0%);
  }
}

.whatsapp-fab__icon {
  width: 2rem;
  height: 2rem;
}

@media (min-width: 768px) {
  .whatsapp-fab {
    right: 2rem;
    bottom: 2rem;
  }
}

/* Generic content pages */
.content-wrap {
  padding: 4rem 1rem;
}

.content-article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
}

.content-article h1 {
  margin-bottom: 1.5rem;
}

.entry-content > * + * {
  margin-top: 1rem;
}

/* NRDC hero */
.nrdc-page {
  background: linear-gradient(180deg, #f4f7fb 0%, #eef3f9 40%, #f7f9fc 100%);
}

.nrdc-hero {
  position: relative;
  overflow: hidden;
  background: #1a2a4d;
  color: #fff;
}

.nrdc-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgb(24 119 197 / 45%), transparent 55%);
}

.nrdc-hero__glow {
  position: absolute;
  width: 28rem;
  height: 28rem;
  right: -6rem;
  top: -4rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgb(245 130 32 / 28%), transparent 70%);
  pointer-events: none;
  animation: lines-orb-float 14s ease-in-out infinite;
}

.nrdc-hero__inner {
  position: relative;
  z-index: 1;
  padding: 5rem 1rem;
}

.nrdc-hero__manage {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 65%);
  max-width: 36rem;
}

.nrdc-hero .tricolor {
  height: 0.25rem;
  width: 7rem;
}

.nrdc-hero .eyebrow {
  margin-top: 1.5rem;
}

.nrdc-hero h1 {
  margin-top: 1rem;
  max-width: 48rem;
}

.nrdc-hero__text {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 1.125rem;
  color: rgb(255 255 255 / 80%);
}

.nrdc-hero__stats {
  margin: 3rem 0 0;
  display: grid;
  gap: 1rem;
  max-width: 48rem;
}

.nrdc-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgb(255 255 255 / 15%);
  background: rgb(255 255 255 / 5%);
  border-radius: 0.75rem;
  padding: 1rem;
}

.nrdc-stat__value {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.nrdc-stat__label {
  margin: 0;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 70%);
}

@media (min-width: 640px) {
  .nrdc-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .nrdc-hero__inner {
    padding: 6rem 1.5rem;
  }
}

/* Scroll / entrance reveals */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Flipbook */
.flipbook-section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 4rem 1rem;
}

.flipbook {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.flipbook__intro {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flipbook__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--fg);
}

.flipbook__stage {
  border-radius: 1.15rem;
  background:
    radial-gradient(ellipse at 50% 0%, #4a628f, transparent 55%),
    linear-gradient(165deg, #2a3d66 0%, #151f35 55%, #0f1729 100%);
  padding: 2.5rem 1rem;
  box-shadow: var(--shadow-lg);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  border: 1px solid rgb(255 255 255 / 8%);
}

.flipbook__desktop {
  display: none;
}

.flipbook__mobile {
  display: block;
}

.flipbook__perspective {
  position: relative;
  width: min(100%, 860px);
  margin: 0 auto;
  perspective: 3200px;
  perspective-origin: 50% 45%;
}

.flipbook__base {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -2%;
  height: 18%;
  background: radial-gradient(ellipse at center, rgb(0 0 0 / 45%), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.flipbook__spine {
  position: absolute;
  left: 50%;
  top: 2%;
  bottom: 2%;
  width: 22px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgb(0 0 0 / 35%) 35%,
    rgb(0 0 0 / 55%) 50%,
    rgb(0 0 0 / 35%) 65%,
    transparent
  );
  border-radius: 2px;
  pointer-events: none;
  z-index: 5;
  opacity: 0.7;
  box-shadow: 0 0 18px rgb(0 0 0 / 35%);
}

.flipbook__spread {
  position: relative;
  width: 100%;
  aspect-ratio: 2550 / 1650;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
  z-index: 1;
}

.flip-leaf {
  position: absolute;
  left: 50%;
  top: 0;
  width: 50%;
  height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  cursor: grab;
  transition: transform 920ms cubic-bezier(0.33, 0.1, 0.25, 1);
  --flip-progress: 0;
  --fold: 0;
}

.flip-leaf.is-dragging {
  cursor: grabbing;
  transition: none;
}

.flip-leaf.is-turning {
  filter: drop-shadow(calc(var(--fold) * -18px) 22px 32px rgb(0 0 0 / calc(0.25 + var(--fold) * 0.45)));
}

.flip-leaf__front,
.flip-leaf__back {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow:
    0 14px 36px rgb(0 0 0 / 38%),
    inset 0 0 0 1px rgb(255 255 255 / 12%);
}

.flip-leaf__front {
  border-radius: 0 0.375rem 0.375rem 0;
}

.flip-leaf__back {
  border-radius: 0.375rem 0 0 0.375rem;
  transform: rotateY(180deg);
}

.flip-face {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
}

.flip-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-face--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #1a2a4d;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
}

.flip-face--empty img {
  height: 2.5rem;
  width: auto;
  background: #fff;
  border-radius: 0.25rem;
  padding: 0.35rem;
}

.flip-face--empty p {
  font-size: 0.875rem;
  color: rgb(255 255 255 / 80%);
}

.flip-face__shade {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2.5rem;
  pointer-events: none;
}

.flip-face--right .flip-face__shade {
  background: linear-gradient(to right, rgb(0 0 0 / 25%), transparent);
}

.flip-face--left .flip-face__shade {
  left: auto;
  right: 0;
  background: linear-gradient(to left, rgb(0 0 0 / 25%), transparent);
}

.flip-face__curl {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: calc(var(--fold, 0) * 0.85);
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgb(255 255 255 / 22%) 47%,
    rgb(0 0 0 / 28%) 53%,
    transparent 62%
  );
}

.flip-face__fold {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--fold, 0);
  background:
    linear-gradient(
      to right,
      rgb(0 0 0 / 0.45) 0%,
      rgb(0 0 0 / 0.18) 4%,
      transparent 14%,
      transparent 78%,
      rgb(255 255 255 / 0.12) 88%,
      rgb(0 0 0 / 0.2) 100%
    );
  mix-blend-mode: multiply;
}

.flip-face--left .flip-face__fold {
  background:
    linear-gradient(
      to left,
      rgb(0 0 0 / 0.45) 0%,
      rgb(0 0 0 / 0.18) 4%,
      transparent 14%,
      transparent 78%,
      rgb(255 255 255 / 0.12) 88%,
      rgb(0 0 0 / 0.2) 100%
    );
}

.flip-face__gloss {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: calc(var(--fold, 0) * 0.55);
  background: radial-gradient(
    ellipse at calc(50% + var(--fold, 0) * 20%) 40%,
    rgb(255 255 255 / 0.28),
    transparent 55%
  );
}

.flip-leaf.is-dragging .flip-face__curl,
.flip-leaf.is-turning .flip-face__curl {
  opacity: calc(0.2 + var(--fold, 0) * 0.8);
}

.flipbook__mobile-frame {
  width: min(100%, 24rem);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 14px 36px rgb(0 0 0 / 38%);
  touch-action: pan-y;
}

.flipbook__mobile-track {
  display: flex;
  width: 100%;
  will-change: transform;
}

.flipbook__mobile-page {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 1275 / 1650;
  overflow: hidden;
  background: #fff;
}

.flip-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.flip-controls button {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 20%);
  background: rgb(255 255 255 / 10%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.flip-controls button:hover:not(:disabled) {
  background: rgb(255 255 255 / 20%);
}

.flip-controls button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.flip-controls button svg {
  width: 1.25rem;
  height: 1.25rem;
}

.flip-controls__label {
  min-width: 9rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(255 255 255 / 90%);
  margin: 0;
}

.flipbook__hint {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: rgb(255 255 255 / 60%);
}

.flipbook__catalog {
  margin-top: 0.5rem;
}

.flipbook__catalog-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flipbook__catalog h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
}

.flipbook__catalog .muted {
  margin-top: 0.35rem;
}

.nrdc-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.nrdc-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--card);
  text-align: left;
  box-shadow: var(--shadow);
  padding: 0;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
  color: inherit;
}

.nrdc-card:hover {
  transform: translateY(-0.3rem);
  box-shadow: var(--shadow-lg);
}

.nrdc-card.is-active {
  outline: 2px solid var(--primary);
  outline-offset: 0;
}

.nrdc-card__media {
  position: relative;
  aspect-ratio: 1275 / 1650;
  overflow: hidden;
  background: var(--secondary);
  border: 0;
  padding: 0;
  cursor: zoom-in;
  display: block;
  width: 100%;
}

.nrdc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.nrdc-card:hover .nrdc-card__media img {
  transform: scale(1.05);
}

.nrdc-card__zoom {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgb(26 47 85 / 82%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nrdc-card__zoom svg {
  width: 1rem;
  height: 1rem;
}

.nrdc-card:hover .nrdc-card__zoom {
  opacity: 1;
  transform: none;
}

.nrdc-card__year {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: rgb(255 255 255 / 92%);
  border-radius: 0.25rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.nrdc-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem;
  flex: 1;
}

.nrdc-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.nrdc-card__dev {
  font-size: 0.75rem;
  color: var(--muted);
}

.nrdc-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.nrdc-card__btn {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nrdc-card__btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.nrdc-card__btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.nrdc-card__btn--primary:hover {
  opacity: 0.92;
  color: #fff;
}

/* Lightbox */
body.lightbox-open {
  overflow: hidden;
}

.nrdc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.nrdc-lightbox[hidden] {
  display: none !important;
}

.nrdc-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(8 14 28 / 82%);
  backdrop-filter: blur(6px);
  animation: lines-nav-in 0.25s ease;
}

.nrdc-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 52rem);
  max-height: min(92dvh, 56rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: lines-lightbox-in 0.32s var(--ease-out);
}

@keyframes lines-lightbox-in {
  from {
    opacity: 0;
    transform: translateY(1rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.nrdc-lightbox__figure {
  margin: 0;
  background: #0b1220;
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgb(0 0 0 / 45%);
  border: 1px solid rgb(255 255 255 / 10%);
}

.nrdc-lightbox__figure img {
  width: 100%;
  max-height: min(72dvh, 42rem);
  object-fit: contain;
  background: #0b1220;
}

.nrdc-lightbox__figure figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  background: rgb(255 255 255 / 96%);
  color: var(--fg);
}

.nrdc-lightbox__figure figcaption span {
  font-size: 0.875rem;
  color: var(--muted);
}

.nrdc-lightbox__close,
.nrdc-lightbox__nav {
  position: absolute;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 14%);
  color: #fff;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}

.nrdc-lightbox__close:hover,
.nrdc-lightbox__nav:hover {
  background: rgb(255 255 255 / 28%);
}

.nrdc-lightbox__close {
  top: 0.5rem;
  right: 0.5rem;
}

.nrdc-lightbox__nav--prev {
  left: 0.35rem;
  top: 42%;
}

.nrdc-lightbox__nav--next {
  right: 0.35rem;
  top: 42%;
}

.nrdc-lightbox__close svg,
.nrdc-lightbox__nav svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nrdc-lightbox__bar {
  display: flex;
  justify-content: center;
}

.nrdc-lightbox__bar .btn {
  gap: 0.45rem;
}

.nrdc-lightbox__bar .btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

@media (max-width: 640px) {
  .nrdc-card__zoom {
    opacity: 1;
    transform: none;
  }

  .nrdc-lightbox__nav--prev,
  .nrdc-lightbox__nav--next {
    top: auto;
    bottom: 5.5rem;
  }

  .nrdc-hero__manage {
    font-size: 0.8rem;
  }
}

@media (min-width: 640px) {
  .nrdc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .flipbook__desktop {
    display: block;
  }

  .flipbook__mobile {
    display: none;
  }

  .flipbook__stage {
    padding: 3.5rem 2rem;
  }

  .flipbook-section {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nrdc-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .nrdc-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ========== Premium polish + mobile ========== */

:root {
  --shadow-lg: 0 18px 50px rgb(16 40 80 / 12%);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

::selection {
  background: rgb(24 119 197 / 22%);
  color: var(--navy);
}

html {
  -webkit-text-size-adjust: 100%;
}

body.nav-open {
  overflow: hidden;
}

img {
  -webkit-user-drag: none;
}

a:focus-visible,
button:focus-visible,
.nav-toggle:focus-visible,
.header-cta:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Header */
.site-header {
  transition: box-shadow 0.25s var(--ease-out), background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 8px 28px rgb(16 40 80 / 10%);
}

.primary-nav__list a {
  position: relative;
  padding: 0.35rem 0;
}

.primary-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.primary-nav__list a:hover::after,
.primary-nav__list a.is-active::after {
  transform: scaleX(1);
}

.mobile-nav {
  animation: lines-nav-in 0.28s var(--ease-out);
  max-height: calc(100dvh - 5rem);
  overflow: auto;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
}

.mobile-nav__list a {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.mobile-nav__list a.is-active {
  color: var(--primary);
  background: var(--secondary);
}

.mobile-nav__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  min-height: 2.85rem;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

@keyframes lines-nav-in {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.nav-toggle {
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
}

/* Reveal — premium */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem) scale(0.985);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Hero mobile */
.hero__bg,
.nrdc-hero__bg {
  will-change: transform;
}

.hero__actions .btn {
  min-height: 2.85rem;
  padding-inline: 1.25rem;
}

@media (max-width: 640px) {
  .section {
    padding: 3.25rem 1rem;
  }

  .hero__inner {
    padding: 3.5rem 1rem 3rem;
    gap: 2rem;
  }

  .hero h1,
  .nrdc-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }

  .hero__tagline {
    font-size: 1rem;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .hero__stat {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.65rem;
    background: rgb(255 255 255 / 6%);
    border: 1px solid rgb(255 255 255 / 10%);
  }

  .hero__stats dt {
    order: 2;
    text-align: right;
  }

  .hero__stats dd {
    order: 1;
    font-size: 1.5rem;
  }

  .hero__orb--1 {
    width: 9rem;
    height: 9rem;
  }

  .hero__orb--3 {
    display: none;
  }

  .about {
    gap: 2rem;
    padding-top: 0;
  }

  .services__grid,
  .team__leaders {
    gap: 1rem;
  }

  .service-card,
  .leader-card {
    padding: 1.15rem;
  }

  .staff-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .staff-card__role {
    text-align: left;
  }

  .clients__grid {
    gap: 0.75rem;
  }

  .client-card__logo {
    height: 5.5rem;
  }

  .contact__map,
  .contact__map iframe {
    min-height: 16rem;
  }

  .site-footer__useful-list {
    grid-template-columns: 1fr;
  }

  .nrdc-hero__inner {
    padding: 3.5rem 1rem;
  }

  .flipbook__stage {
    padding: 1.5rem 0.75rem;
    border-radius: 0.85rem;
  }

  .flip-controls button {
    width: 2.75rem;
    height: 2.75rem;
  }

  .nrdc-grid {
    gap: 0.85rem;
  }
}

/* Header CTA: icon-only on narrow tablets */
@media (min-width: 768px) and (max-width: 1023px) {
  .header-cta {
    display: inline-flex;
    padding: 0.65rem;
  }

  .header-cta__text {
    display: none;
  }
}

@media (min-width: 1024px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Cards — premium hover */
.service-card,
.client-card,
.nrdc-card,
.leader-card {
  box-shadow: var(--shadow);
}

.service-card:hover,
.client-card:hover,
.nrdc-card:hover {
  box-shadow: var(--shadow-lg);
}

.leader-card {
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.leader-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.service-card__icon {
  transition: transform 0.3s var(--ease-out);
}

.service-card:hover .service-card__icon {
  transform: scale(1.06);
}

.services__banner {
  transition: transform 0.35s var(--ease-out);
}

.services__banner.is-visible {
  animation: lines-banner-glow 4s ease-in-out infinite;
}

@keyframes lines-banner-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgb(24 119 197 / 0%);
  }
  50% {
    box-shadow: 0 10px 40px rgb(24 119 197 / 18%);
  }
}

/* Slider controls — larger tap targets on mobile */
.service-slider__btn {
  width: 2.75rem;
  height: 2.75rem;
}

@media (max-width: 767px) {
  .service-slider__btn {
    background: rgb(26 47 85 / 88%);
  }
}

/* WhatsApp safe area */
.whatsapp-fab {
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
}

@media (min-width: 768px) {
  .whatsapp-fab {
    right: max(2rem, env(safe-area-inset-right));
    bottom: max(2rem, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .services__banner.is-visible,
  .whatsapp-fab,
  .mobile-nav,
  .primary-nav__list a::after,
  .service-card,
  .client-card,
  .leader-card,
  .nrdc-card,
  .btn,
  .hero__glow,
  .hero__orb,
  .hero .tricolor::after {
    animation: none !important;
    transition: none !important;
  }

  .hero__bg,
  .nrdc-hero__bg {
    transform: none !important;
  }
}