/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  border: 1px solid transparent;
  font-size: var(--fs-btn);
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.btn__icon {
  transition: transform var(--t-fast) var(--ease);
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

.btn--dark {
  background: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-nav);
  font-size: 1.125rem; /* 18px */
  font-weight: 500;
  line-height: 27px;
  width: 120px;
  min-height: 44px;
  padding: 0;
}

.btn--dark:hover {
  background: var(--color-orange);
  transform: translateY(-1px);
}

/* Hero buttons: 207 x 62, Poppins 400 */
.btn--outline,
.btn--light {
  width: 207px;
  min-height: 62px;
  padding: 7px 0;
  gap: 10px;
  font-family: var(--font-nav);
  font-weight: 400;
}

.btn--outline {
  border-color: var(--color-white);
  color: var(--color-white);
  font-size: 1.25rem; /* 20px */
  line-height: 30px;
}

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn--light {
  background: var(--color-white);
  color: #000;
  font-size: 1.375rem; /* 22px */
  line-height: 33px;
}

.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

/* Navigation links */
.nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 7px 12px;
  border: 2.5px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-nav);
  font-size: var(--fs-nav);
  font-weight: 500;
  line-height: 1;
  color: var(--color-ink);
  transition: color var(--t-fast) var(--ease);
}

.nav__link:hover {
  color: var(--color-orange);
}

/* Active pill: 3-stop gradient border */
.nav__link.is-active {
  min-width: 120px;
  font-size: 1rem; /* 16px */
  font-weight: 600;
  background:
    linear-gradient(var(--color-white), var(--color-white)) padding-box,
    var(--gradient-border) border-box;
}

.nav__link.is-active:hover {
  color: var(--color-ink);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle__bar {
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Trust row */
.trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: var(--space-4);
}

.trust__avatars {
  flex-shrink: 0;
  width: 176px;
  height: auto;
}

.trust__text {
  font-family: var(--font-nav);
  font-size: clamp(1rem, 0.8rem + 0.7vw, 1.25rem); /* 20px */
  font-weight: 300;
  line-height: 2; /* 40 / 20 */
  color: var(--color-white);
}

.trust__text strong {
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--color-accent-light);
}

/* Scroll / load reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}

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

/* Services heading */
.section-label {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 0.9rem + 0.6vw, 1.5rem); /* 24px */
  line-height: 1.2;
  color: var(--color-label);
}

.section-title {
  position: relative;
  display: inline-block;
  margin-top: 8px;
  padding-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 1rem + 2vw, 2.5rem); /* 40px */
  line-height: 1.4;
  letter-spacing: -0.05em;
  color: var(--color-heading);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(220px, 100%);
  height: 5px;
  border-radius: 24px;
  background: var(--color-navy);
}

/* Service cards */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 16px;
  background: var(--color-navy);
  color: var(--color-white);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(3, 31, 72, 0.28);
}

.service-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1rem + 0.65vw, 1.5rem); /* 24px */
  line-height: 1.25;
}

.service-card__title img {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.service-card__text {
  max-width: 360px;
  margin-bottom: 12px;
  font-size: clamp(0.9375rem, 0.85rem + 0.25vw, 1rem); /* 16px */
  line-height: 1.5; /* 24 / 16 */
}

.service-card__link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--color-white);
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
  line-height: 1.5; /* 27 / 18 */
}

.service-card__link:hover .btn__icon {
  transform: translateX(4px);
}

/* Brand band marquee */
.brand-band__track {
  display: flex;
  align-items: center;
  gap: 54px;
  width: max-content;
  padding-right: 54px;
  animation: marquee 50s linear infinite;
  will-change: transform;
}

.brand-band__track img {
  width: 150px;
  height: auto;
  max-width: none;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Featured project */
.projects .section-title {
  letter-spacing: -0.02em;
}

.project__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); /* 36px */
  line-height: 1.11; /* 40 / 36 */
  color: var(--color-ink);
}

.project__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(10, 114, 159, 0.1);
}

.project__icon img {
  filter: brightness(0) opacity(0.85); /* white icon -> dark */
}

.project__text {
  margin-top: 24px;
  font-size: clamp(0.9375rem, 0.85rem + 0.25vw, 1rem); /* 16px */
  line-height: 1.5; /* 24 / 16 */
  color: var(--color-ink);
}

.btn--ghost {
  width: 202px;
  min-height: 56px;
  margin-top: 28px;
  padding: 0;
  gap: 10px;
  border-color: #000;
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: 1.25rem; /* 20px */
  line-height: 30px;
  color: #000;
}

.btn--ghost:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

.project__media {
  position: relative;
  aspect-ratio: 622 / 397;
  border-radius: 12px;
  background: linear-gradient(135deg, #0a729f 0%, #d6f2fe 100%);
  overflow: hidden;
}

.project__media-title {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-body); /* design uses Satoshi 700 */
  font-weight: 700;
  font-size: clamp(1.1rem, 0.8rem + 1.2vw, 1.75rem); /* 28px */
  line-height: 1;
  color: var(--color-white);
}

.project__badge {
  position: absolute;
  top: 16px;
  right: 28px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.project__badge:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.7);
}

.project__phones {
  position: absolute;
  left: 50%;
  bottom: 4.5%;
  width: 78.6%; /* 489 / 622 */
  height: auto;
  transform: translateX(-50%);
}

/* Projects: compact sizing */


.project__title {
  font-size: clamp(1.2rem, 1rem + 0.65vw, 1.5rem); /* 24px */
  line-height: 1.25;
}

.project__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.project__icon img {
  width: 20px;
  height: 20px;
}

/* Why Choose Us cards */
.why .section-title {
  letter-spacing: -0.03em;
}

.why-card {
  display: flex;
  flex-direction: column;
  background: var(--color-orange);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(212, 106, 31, 0.28);
}

.why-card__media {
  display: grid;
  place-items: center;
  height: 120px;
  padding: 8px;
  overflow: hidden;
  background: var(--color-white);
}

.why-card__media img {
  width: auto;
  max-width: 100%;
  height: 104px;
  object-fit: contain;
}

.why-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 22px 18px;
  color: var(--color-white);
}

.why-card__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.2rem, 1rem + 0.65vw, 1.5rem); /* 24px */
  line-height: 1;
  text-align: center;
}

.why-card__text {
  font-size: clamp(0.875rem, 0.8rem + 0.2vw, 0.9375rem); /* 15px */
  line-height: 1.47; /* 22 / 15 */
  text-align: justify;
}

/* Testimonials */
.testimonials .section-title {
  letter-spacing: -0.03em;
}

.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 352px;
  padding: 64px 40px 32px;
  border-radius: 6px;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-fast) var(--ease);
}

.testimonial:hover {
  transform: translateY(-4px);
}

.testimonial__avatar {
  position: absolute;
  top: -34px;
  left: 50%;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  transform: translateX(-50%);
  background: var(--color-surface);
}

.stars {
  display: flex;
  gap: 6px;
  color: var(--color-star);
}

.star {
  fill: currentColor;
}

.star--off {
  color: var(--color-star-off);
}

.testimonial__quote {
  margin: 22px 0 0;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.64;
  color: #000;
}

.testimonial__author {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  color: #000;
}

/* Footer columns */
.footer-brand__logo {
  width: 250px;
  height: auto;
}

.footer-brand__text {
  max-width: 440px;
  margin-top: 16px;
  font-weight: 500;
  font-size: 0.875rem; /* 14px */
  line-height: 24px;
  color: var(--color-ink);
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social a {
  display: block;
  transition: transform var(--t-fast) var(--ease);
}

.social a:hover {
  transform: translateY(-3px);
}

.footer-col__title {
  font-size: 1.125rem; /* 18px */
  font-weight: 700;
  line-height: 1;
  color: var(--color-ink);
}

.footer-col__list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.footer-col__list a,
.footer-contact a {
  font-size: 1rem; /* 16px */
  line-height: 1;
  color: var(--color-ink);
  transition: color var(--t-fast) var(--ease);
}

.footer-col__list a:hover,
.footer-contact a:hover {
  color: var(--color-orange);
}

.footer-contact {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-ink);
}

.footer-contact strong {
  font-weight: 700;
}

.brand-band.is-paused .brand-band__track {
  animation-play-state: paused;
}
