:root {
  --bg: #F0F0F0;
  --ink: #151515;
  --muted: #686868;
  --line: #dedede;
  --white: #ffffff;
  --accent: #154D88;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

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

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

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 20;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
  transition: background 180ms ease;
}

.hamburger:hover span {
  background: var(--white);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #0f0f0f;
  transform: translateX(-100%);
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 0;
  padding: 0;
  background: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mobile-menu-nav a {
  color: var(--white);
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
  transition: opacity 200ms ease;
  opacity: 0.8;
}

.mobile-menu-nav a:hover {
  opacity: 1;
}

.site-shell {
  width: min(1920px, calc(100% - 4px));
  margin: 0 auto;
  padding: 2px 0 32px;
}

.hero {
  position: relative;
  min-height: 700px;
  height: 95vh;
  overflow: hidden;
  border-radius: 32px;
  background: #0f0f0f;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  transform: translateZ(0);
}

.page-hero {
  height: 100vh;
  min-height: 640px;
  border-radius: 0;
  box-shadow: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.78));
}

.nav {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 38px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--white);
}

.brand-mark {
  width: 320px;
  height: 82px;
  border-radius: 0;
  border: 0;
  background: transparent;
  object-fit: contain;
  padding: 0;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28));
}

.brand-name {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.nav-links a {
  border-radius: 999px;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.nav-cta,
.pill-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  border: 0;
  border-radius: 999px;
  padding: 7px 7px 7px 22px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-cta:hover,
.pill-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.pill-button.blue {
  background: var(--accent);
  color: var(--white);
}

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}

.pill-button.blue .button-icon {
  background: var(--white);
  color: var(--accent);
}

.hero-content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 28px 56px;
  text-align: center;
  color: var(--white);
}

.hero-inner {
  width: min(850px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: 0;
}

.page-hero .nav {
  position: fixed;
  color: var(--white);
  mix-blend-mode: normal;
}

.page-hero .hero-media {
  object-position: center center;
  transform: translate3d(0, 0, 0) scale(1.04);
}

.page-hero::after {
  background: rgba(0, 0, 0, 0.35);
}

.page-hero .hero-content {
  color: var(--white);
  mix-blend-mode: difference;
}

.page-hero .hero-inner {
  width: min(1380px, calc(100% - 40px));
}

.page-hero h1 {
  overflow: hidden;
  font-size: clamp(60px, 11vw, 178px);
  line-height: 0.86;
  font-weight: 800;
  text-transform: uppercase;
}

.page-hero h1 > span {
  display: inline-block;
  transform: translateY(115%);
  animation: pageHeroText 1.45s cubic-bezier(0.16, 1, 0.3, 1) 180ms forwards;
}

.page-hero-subtitle {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  opacity: 0;
  animation: pageHeroFade 900ms ease 900ms forwards;
}

.home-hero .hero-content {
  padding-top: 150px;
}

.home-hero .hero-inner > * {
  opacity: 0;
  animation: heroFadeIn 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.home-hero .hero-inner > .eyebrow { animation-delay: 100ms; }
.home-hero .hero-inner > h1 { animation-delay: 250ms; }
.home-hero .hero-inner > .hero-copy { animation-delay: 400ms; }
.home-hero .hero-inner > .pill-button { animation-delay: 550ms; }

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-hero h1 {
  font-size: clamp(18px, 4vw, 88px);
  line-height: 1.05;
}

.home-hero .hero-inner {
  width: min(1180px, 100%);
}

.hero-copy {
  width: min(700px, 100%);
  margin: 24px auto 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.section {
  padding: 96px 24px 0;
}

.section-narrow {
  width: min(1480px, 100%);
  margin: 0 auto;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  align-items: center;
  gap: 64px;
  margin-bottom: 96px;
}

.split-section.reverse .split-copy {
  order: 2;
}

.split-copy .section-label,
.section-label {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.split-copy h2,
.section-heading {
  margin: 0 0 22px;
  font-size: clamp(36px, 4vw, 62px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: 0;
}

.split-copy p,
.section-copy {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.image-frame {
  position: relative;
  height: 540px;
  overflow: hidden;
  border-radius: 32px;
  background: #d8d8d8;
}

.image-frame img,
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Us page: larger, uncropped images */
.about-split .image-frame {
  height: auto;
}

.about-split .image-frame img {
  height: auto;
  object-fit: contain;
}

/* Subtle image zoom on hover (About Us + Careers) */
.zoom-image img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.zoom-image:hover img {
  transform: scale(1.06);
}

.projects-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.projects-grid.home-projects {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.projects-grid.home-projects .project-card {
  grid-column: span 2;
}

.projects-grid.home-projects .project-card:nth-last-child(2) {
  grid-column: 2 / span 2;
}

.projects-grid.home-projects .project-card:last-child {
  grid-column: 4 / span 2;
}

.projects-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: 24px;
  background: #222;
  color: var(--white);
  isolation: isolate;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.58));
}

.project-card img {
  position: absolute;
  inset: 0;
  transition: transform 700ms ease;
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-card-content {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
}

.project-card h3 {
  margin: 0 0 7px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 600;
}

.home-projects .project-card h3 {
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.05;
}

.project-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

.contact-map {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 32px;
  background: #cfd6dc;
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.25) contrast(1.02);
}

.contact-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.16);
}

.find-card {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(430px, calc(100% - 34px));
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 28px;
  padding: 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.round-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-bottom: 16px;
  background: var(--accent);
  color: var(--white);
}

.find-card h3 {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 500;
}

.find-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
  align-items: center;
  gap: 72px;
  margin-top: 96px;
  padding: clamp(32px, 6vw, 76px);
  border: 1px solid #e8e8e8;
  border-radius: 40px;
  background: var(--white);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.08);
}

.contact-panel h2 {
  margin: 0 0 22px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.02;
  font-weight: 500;
}

.contact-panel p {
  margin: 0 0 46px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.contact-list {
  display: grid;
  gap: 26px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-item .round-icon {
  flex: 0 0 auto;
  margin: 0;
  background: #f5f5f5;
  color: var(--ink);
}

.contact-kicker {
  margin-bottom: 4px;
  color: #999;
  font-size: 14px;
}

.contact-value {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.form-wrap {
  padding: 30px;
  border: 1px solid #f0f0f0;
  border-radius: 28px;
  background: #fafafa;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field label {
  display: block;
  margin-bottom: 9px;
  color: #777;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid #dfdfdf;
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(21, 77, 136, 0.12);
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 450ms ease, visibility 450ms ease;
}
#preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.preloader-brand {
  color: #fff;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,0.4) 50%, #fff 70%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: preloaderShimmer 2s ease infinite;
}
.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.preloader-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 2px;
  animation: preloaderFill 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes preloaderFill {
  from { width: 0%; }
  to { width: 100%; }
}
@keyframes preloaderShimmer {
  to { background-position: 250% center; }
}

.form-notification {
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto 20px;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
}
.form-notification.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.form-notification.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: var(--white);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  margin-top: 56px;
  padding: 38px 8px 28px;
  border-top: 1px solid #d8d8d8;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 0;
}

.footer-logo {
  width: 320px;
  height: 82px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  padding: 0;
}

.footer p,
.copyright {
  color: var(--muted);
  line-height: 1.55;
}

.footer-links {
  display: flex;
  gap: 54px;
}

.footer-links h4 {
  margin: 0 0 12px;
  font-size: 17px;
}

.footer-links a {
  display: block;
  margin: 9px 0;
  color: var(--muted);
}

.copyright {
  padding-top: 22px;
  border-top: 1px solid #e3e3e3;
  text-align: center;
  font-size: 14px;
}

.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px 0 34px;
}

.tab-button {
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  padding: 12px 20px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.tab-button.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.feature-grid {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature-grid.active {
  display: grid;
  animation: fadeLift 420ms ease both;
}

.feature-card {
  min-height: 215px;
  padding: 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 16px 38px rgba(0, 0, 0, 0.04);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 46px;
  color: var(--accent);
}

.feature-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 2.8;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: clamp(25px, 2.1vw, 32px);
  line-height: 1;
  font-weight: 500;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.project-detail {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.slider {
  position: relative;
  height: 560px;
  overflow: hidden;
  border-radius: 32px;
  background: #dadada;
}

.slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  filter: blur(8px);
  transition: opacity 900ms ease, transform 1200ms ease, filter 900ms ease;
}

.slider img.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.spec-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.spec-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid #dcdcdc;
}

.spec-row strong {
  color: #777;
  font-size: 13px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.spec-row span {
  color: var(--ink);
  line-height: 1.5;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  filter: blur(8px);
  transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1), transform 760ms cubic-bezier(0.22, 1, 0.36, 1), filter 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.reveal-on-scroll.is-revealed .section-label,
.reveal-on-scroll.is-revealed h2,
.reveal-on-scroll.is-revealed h3,
.reveal-on-scroll.is-revealed p {
  animation: fadeStagger 400ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.reveal-on-scroll.is-revealed .section-label { animation-delay: 0ms; }
.reveal-on-scroll.is-revealed h2 { animation-delay: 80ms; }
.reveal-on-scroll.is-revealed h3 { animation-delay: 80ms; }
.reveal-on-scroll.is-revealed p { animation-delay: 140ms; }

@keyframes fadeStagger {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

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

@keyframes fadeLift {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageHeroText {
  to {
    transform: translateY(0);
  }
}

@keyframes pageHeroFade {
  to {
    opacity: 1;
  }
}

.testimonials-section {
  padding-top: 120px;
  overflow: hidden;
}

.testimonials-head {
  margin-bottom: 48px;
}

.testimonials-track-wrap {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: aura-marquee 34s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

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

.testimonial-card {
  width: 380px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.testimonial-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  font-weight: 400;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.testimonial-author span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.faq-section {
  padding-top: 120px;
}

.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 64px;
  align-items: start;
}

.faq-intro p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.faq-item:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}

.faq-question span {
  flex: 1;
}

.faq-icon-plus,
.faq-icon-minus {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--muted);
}

.faq-item.open .faq-icon-plus { display: none; }
.faq-item:not(.open) .faq-icon-minus { display: none; }

.faq-answer {
  padding: 0 24px 20px;
}

.faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 1120px) {
  .projects-grid,
  .projects-grid.four,
  .projects-grid.home-projects,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonial-card {
    width: 320px;
    padding: 24px;
  }
  .testimonials-section {
    padding-top: 80px;
  }

  .projects-grid.home-projects .project-card,
  .projects-grid.home-projects .project-card:nth-last-child(2),
  .projects-grid.home-projects .project-card:last-child {
    grid-column: auto;
  }

  .contact-panel,
  .project-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-shell {
    width: min(100% - 18px, 1600px);
  }

  .hero {
    min-height: 760px;
    border-radius: 24px;
  }

  .page-hero {
    min-height: 560px;
    height: 82vh;
    border-radius: 0;
  }

  .page-hero .hero-inner {
    width: min(100% - 28px, 1380px);
  }

  .home-hero h1 {
    font-size: 42px;
  }

  .home-hero .hero-content {
    padding-bottom: 120px;
  }

  .page-hero h1 {
    font-size: clamp(52px, 18vw, 96px);
    line-height: 0.92;
  }

  .nav {
    align-items: flex-start;
    gap: 10px;
    padding: 18px;
  }

  .brand-name {
    display: none;
  }

  .brand-mark,
  .footer-logo {
    width: 178px;
    height: 58px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 68px;
  }

  .split-section.reverse .split-copy {
    order: 0;
  }

  .section {
    padding: 72px 14px 0;
  }

  .image-frame,
  .slider {
    height: min(72vw, 430px);
    border-radius: 24px;
  }

  .projects-head {
    display: block;
  }

  .projects-grid,
  .projects-grid.four,
  .projects-grid.home-projects,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid.home-projects .project-card,
  .projects-grid.home-projects .project-card:nth-last-child(2),
  .projects-grid.home-projects .project-card:last-child {
    grid-column: auto;
  }

  .project-card {
    min-height: 260px;
  }

  .contact-panel {
    gap: 36px;
    border-radius: 28px;
    padding: 26px;
  }

  .form-wrap {
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer,
  .footer-links {
    flex-direction: column;
  }

  .footer-links {
    gap: 18px;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .testimonial-card {
    width: 280px;
    padding: 20px;
  }
  .testimonial-card blockquote {
    font-size: 15px;
  }

  .faq-section {
    padding-top: 72px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 18px 16px;
  }
}

/* Logo marquee */
.logo-marquee-section {
  padding: 72px 0;
  text-align: center;
  overflow: hidden;
}

.logo-marquee-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-marquee-container .section-label {
  margin-bottom: 48px;
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  animation: logo-marquee 40s linear infinite;
}

.logo-marquee-track:hover {
  animation-play-state: paused;
}

.logo-marquee-group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  flex-shrink: 0;
}

.logo-item {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

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