/* Global variables — refined, gradient-free palette */
:root {
  --font-sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --color-bg: #0c0c0c;
  --color-bg-elevated: #141414;
  --color-text: #e8e8e8;
  --color-text-muted: #9a9a9a;
  --color-border-subtle: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.14);
  --color-card-bg: rgba(255, 255, 255, 0.03);
  --color-chip-bg: rgba(255, 255, 255, 0.04);
  --color-accent: #c9a962;
  --color-accent-hover: #d4b872;
  --color-success: #4ade80;
  --color-success-soft: rgba(74, 222, 128, 0.12);
  --color-error: rgba(239, 68, 68, 0.8);
  --color-error-soft: rgba(239, 68, 68, 0.12);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-strong: 0 8px 40px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
}

html {
  max-width: 100%;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  max-width: 100%;
}

/* Horizontal overflow is clipped here only — not on html/body, which breaks position:sticky on the header. */
.page-below-header {
  overflow-x: hidden;
  max-width: 100%;
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
  padding-inline: env(safe-area-inset-left, 0) env(safe-area-inset-right, 0);
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-subtle);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 16px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  min-width: 0;
  flex-shrink: 1;
}

.brand > div:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logo {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.links {
  display: flex;
  gap: 24px;
  align-items: center;
  opacity: 0.95;
  flex-wrap: wrap;
  justify-content: center;
}

.links .nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  color: var(--color-text-muted);
  padding: 8px 4px;
  margin: -8px -4px;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}

.links .nav-link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}

.links .nav-link:focus-visible {
  outline: 2px solid rgba(201, 169, 98, 0.55);
  outline-offset: 2px;
}

.links .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.22s ease;
}

.links .nav-link:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--color-border-strong);
  background: rgba(20, 20, 20, 0.95);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.menu-toggle:hover {
  border-color: rgba(201, 169, 98, 0.45);
  background: rgba(201, 169, 98, 0.08);
}

.menu-toggle:focus-visible {
  outline: 2px solid rgba(201, 169, 98, 0.55);
  outline-offset: 2px;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  position: relative;
  transition: background 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease,
    top 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

.menu-toggle.open span {
  background: transparent;
}

.menu-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  visibility: hidden;
  transition:
    max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.32s ease,
    visibility 0s linear 0.38s;
}

.mobile-nav.is-open {
  max-height: min(70vh, 22rem);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  padding: 4px 0 16px;
  transition:
    max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease 0.04s,
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0.04s,
    padding 0.32s ease,
    visibility 0s linear 0s;
}

.mobile-nav .mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-subtle);
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.22s ease;
}

.mobile-nav .mobile-nav-link + .mobile-nav-link {
  margin-top: 8px;
}

.mobile-nav.is-open .mobile-nav-link {
  animation: mobileNavLinkIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.mobile-nav.is-open .mobile-nav-link:nth-child(1) {
  animation-delay: 0.05s;
}

.mobile-nav.is-open .mobile-nav-link:nth-child(2) {
  animation-delay: 0.1s;
}

.mobile-nav.is-open .mobile-nav-link:nth-child(3) {
  animation-delay: 0.14s;
}

.mobile-nav.is-open .mobile-nav-link:nth-child(4) {
  animation-delay: 0.18s;
}

.mobile-nav .mobile-nav-link:hover {
  background: rgba(201, 169, 98, 0.1);
  border-color: rgba(201, 169, 98, 0.35);
  color: var(--color-text);
}

.mobile-nav .mobile-nav-link:active {
  transform: scale(0.98);
}

.mobile-nav .mobile-nav-link:focus-visible {
  outline: 2px solid rgba(201, 169, 98, 0.55);
  outline-offset: 2px;
}

@keyframes mobileNavLinkIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  flex-shrink: 0;
}

.btn {
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-strong);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.btn.primary {
  border: none;
  background: var(--color-accent);
  color: #0c0c0c;
}

.btn.primary:hover {
  background: var(--color-accent-hover);
}

.hero {
  padding: 80px 0 50px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero p {
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 52ch;
  font-size: 15px;
}

.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0 24px;
}

.badge {
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--color-border-subtle);
  background: var(--color-chip-bg);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  aspect-ratio: 16/10;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Marquee section */
.marquee-section {
  padding: 24px 0;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 48px;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Stats section */
.stats-section {
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 400;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

/* Clients section */
.clients-section {
  padding: 40px 0;
  border-top: 1px solid var(--color-border-subtle);
}

.clients-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  text-align: center;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.client-logo {
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.client-logo:hover {
  opacity: 0.8;
  filter: grayscale(0.5);
}

.client-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.client-logo-loading {
  position: relative;
  overflow: hidden;
}

.client-logo-loading::before {
  content: "";
  position: absolute;
  top: 0px;
  bottom: 4px;
  left: 0;
  right: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 40%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.06) 60%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: client-shimmer 1.4s linear infinite;
  z-index: 2;
  pointer-events: none;
}

.client-logo-loading img {
  position: relative;
  z-index: 1;
}

@keyframes client-shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.card {
  border: 1px solid var(--color-border-subtle);
  background: var(--color-card-bg);
  border-radius: var(--radius-xl);
  padding: 20px;
}

.hero-card {
  border: 1px solid var(--color-border-subtle);
}

.hero-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.hero-card li {
  display: flex;
  gap: 10px;
  align-items: center;
  opacity: 0.95;
  line-height: 1.4;
  font-size: 14px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex: 0 0 6px;
}

section {
  padding: 48px 0;
}

section h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.service-num {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

section p.sub {
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  font-size: 15px;
  max-width: 56ch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.feature p {
  color: var(--color-text-muted);
  line-height: 1.6;
  font-size: 14px;
}

.pricing {
  display: block;
}

.pricing-carousel-wrap {
  position: relative;
  max-width: 100%;
}

.pricing-carousel-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 0;
  align-items: stretch;
}

.pricing-col {
  padding: 22px 20px 20px;
  text-align: left;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

@supports (grid-template-rows: subgrid) {
  .pricing-carousel-track {
    grid-template-rows: auto minmax(16rem, 1fr) auto auto;
  }

  .pricing-col {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: 1 / -1;
    min-width: 0;
  }
}

@supports not (grid-template-rows: subgrid) {
  .pricing-col {
    display: flex;
    flex-direction: column;
  }

  .pricing-features {
    margin-top: 16px;
    flex: 1 1 auto;
    min-height: clamp(18rem, 32dvh, 30rem);
  }
}

.pricing-columns.reveal.visible .pricing-col:nth-child(1) {
  transition-delay: 0.06s;
}

.pricing-columns.reveal.visible .pricing-col:nth-child(2) {
  transition-delay: 0.14s;
}

.pricing-columns.reveal.visible .pricing-col:nth-child(3) {
  transition-delay: 0.22s;
}

.pricing-columns.reveal.visible .pricing-col {
  opacity: 1;
  transform: translateY(0);
}

.pricing-col:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-soft);
}

.pricing-col-business {
  position: relative;
  border-color: rgba(201, 169, 98, 0.32);
  box-shadow: 0 0 0 1px rgba(201, 169, 98, 0.12);
}

.pricing-col-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}

.pricing-col-head {
  min-width: 0;
}

.pricing-col-head h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pricing-col-business .pricing-col-head h3 {
  padding-right: 108px;
}

.pricing-col-head .muted + .muted {
  margin-top: 8px;
}

.pricing-features {
  margin-top: 0;
  min-height: 0;
  width: 100%;
  align-self: stretch;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.pricing-feature,
.pricing-feature-slot {
  min-height: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
}

.pricing-feature-slot {
  flex-shrink: 0;
}

.pricing-col-after {
  flex-shrink: 0;
  margin-top: 12px;
  min-height: 3.75rem;
  padding-top: 12px;
  border-top: 1px solid transparent;
}

.pricing-col-after:not(:empty) {
  border-top-color: var(--color-border-subtle);
}

.pricing-addon {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.pricing-addon strong {
  color: var(--color-accent);
  font-weight: 600;
}

.pricing-tick {
  flex-shrink: 0;
  width: 12px;
  height: 14px;
  margin-top: 4px;
  position: relative;
  background: none;
  border: none;
  box-shadow: none;
}

.pricing-tick::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 0;
  width: 5px;
  height: 10px;
  border: solid var(--color-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  border-radius: 0 0 1px 0;
}

.pricing-col-cta {
  margin-top: 14px;
}

.pricing-col-cta .btn {
  width: 100%;
}

/* Shine sweep — Business plan CTA only (same motion as .client-logo-loading) */
.pricing-col-business .pricing-quote-btn {
  position: relative;
  overflow: hidden;
}

.pricing-col-business .pricing-quote-btn::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 40%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.06) 60%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: client-shimmer 1.4s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.pricing-col-business .pricing-quote-btn:hover::after {
  animation: none;
  opacity: 0;
}

.pricing-carousel-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  background: rgba(12, 12, 12, 0.92);
  color: var(--color-accent);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pricing-carousel-arrow:hover {
  background: rgba(201, 169, 98, 0.12);
  border-color: rgba(201, 169, 98, 0.45);
}

.pricing-carousel-arrow:focus-visible {
  outline: 2px solid rgba(201, 169, 98, 0.55);
  outline-offset: 2px;
}

.pricing-carousel-prev {
  left: 4px;
}

.pricing-carousel-next {
  right: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-col {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mobile-nav,
  .mobile-nav.is-open {
    transition: none;
  }

  .mobile-nav.is-open .mobile-nav-link {
    animation: none;
  }

  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    transition-duration: 0.01ms;
  }

  .pricing-col-business .pricing-quote-btn::after {
    animation: none;
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .pricing-carousel-wrap {
    overflow-x: clip;
    overflow-y: visible;
    width: 100%;
  }

  .pricing-carousel-arrow {
    display: flex;
  }

  .pricing-carousel-track {
    display: flex;
    grid-template-columns: unset;
    grid-template-rows: unset;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: calc(12px + 36px);
    padding: 8px calc(44px + 12px) 20px;
    margin-inline: 0;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 169, 98, 0.35) transparent;
  }

  .pricing-col {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    grid-template-rows: none;
    flex: 0 0 min(88vw, 360px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .pricing-features {
    margin-top: 16px;
    height: auto;
    align-self: stretch;
    min-height: clamp(15rem, 48dvh, 26rem);
  }

  /* Stretch-equal-height slides leave slack under shorter plans; pin addon + CTA to card bottom */
  .pricing-col-after {
    margin-top: auto;
  }

  .pricing-carousel-track::-webkit-scrollbar {
    height: 6px;
  }

  .pricing-carousel-track::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 98, 0.35);
    border-radius: 99px;
  }
}

.inquire-sidebar-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.price-tag {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  margin: 10px 0 4px;
  color: var(--color-text);
}

.muted {
  color: var(--color-text-muted);
  font-size: 13px;
}

.muted-tight {
  margin-bottom: 16px;
}

.list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.list div {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: var(--color-text);
}

.check {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(201, 169, 98, 0.2);
  border: 1px solid rgba(201, 169, 98, 0.4);
  flex-shrink: 0;
}

/* Testimonial section */
.testimonial-section {
  padding: 56px 0;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.testimonial-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 40px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  background: var(--color-card-bg);
}

.testimonial-card blockquote {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-text);
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-border-subtle);
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.testimonial-author .muted-small {
  font-size: 12px;
  color: var(--color-text-muted);
}

.inquire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.form {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.field {
  display: grid;
  gap: 6px;
}

label {
  font-size: 13px;
  opacity: 0.9;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-bg-elevated);
  color: var(--color-text);
  outline: none;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(201, 169, 98, 0.5);
  background: rgba(255, 255, 255, 0.03);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239a9a9a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

select option {
  background: #1a1a1a;
  color: #e8e8e8;
  padding: 10px 14px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.notice {
  padding: 10px 12px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-chip-bg);
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.5;
}

footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--color-border-subtle);
}

footer .muted {
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  font-size: 14px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.portfolio-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-border-strong);
}

.portfolio-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 4px;
}

.thumb {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--color-bg-elevated);
}

.thumb img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--color-chip-bg);
  border: 1px solid var(--color-border-subtle);
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.step {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-card-bg);
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.step-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-bottom: 4px;
}

.faq {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-bg-elevated);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--color-border-strong);
}

.faq-item.open {
  border-color: rgba(201, 169, 98, 0.3);
}

.faq-header {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  border: none;
  color: var(--color-text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  transition: background 0.2s ease;
}

.faq-header:hover {
  background: rgba(255, 255, 255, 0.04);
}

.faq-question {
  flex: 1;
}

.faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(201, 169, 98, 0.15);
  border: 1px solid rgba(201, 169, 98, 0.3);
  color: var(--color-accent);
  transition: transform 0.25s ease, background 0.2s ease;
}

.faq-toggle::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.faq-item.open .faq-toggle {
  transform: rotate(180deg);
  background: rgba(201, 169, 98, 0.25);
}

.faq-body {
  padding: 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
}

.faq-item.open .faq-body {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
  padding: 14px 20px 18px;
  border-top: 1px solid var(--color-border-subtle);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(201, 169, 98, 0.5);
  background: rgba(201, 169, 98, 0.08);
  color: var(--color-accent);
}

.muted-small {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 200;
}

.modal {
  width: min(680px, 96%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-subtle);
  background: rgba(20, 20, 20, 0.98);
  backdrop-filter: blur(12px);
  padding: 24px;
  box-shadow: 0 25px 90px rgba(0, 0, 0, 0.6);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.close-btn {
  border: 1px solid var(--color-border-subtle);
  background: var(--color-chip-bg);
  color: var(--color-text);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 800;
}

.error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px var(--color-error-soft);
}

.success {
  border: 1px solid rgba(74, 222, 128, 0.3);
  background: var(--color-success-soft);
  padding: 12px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text);
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-visual {
    order: -1;
  }
  .hero-image-wrap {
    max-height: 280px;
    aspect-ratio: 16/9;
  }
  .stats-grid {
    gap: 24px;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    padding: 24px 24px;
  }
}

@media (max-width: 850px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .inquire-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .client-logos {
    gap: 24px;
  }
  .links {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: flex;
    width: 100%;
  }

  #viewWorkTop {
    display: none;
  }

  .nav .actions {
    gap: 8px;
  }

  .nav .actions .btn.primary {
    padding-inline: 14px;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 56px;
  }

  .hero h1 {
    overflow-wrap: anywhere;
  }

  section h2 {
    overflow-wrap: anywhere;
  }

  .actions {
    justify-content: flex-end;
  }

  .hero .actions .btn,
  .nav .actions .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .marquee span {
    font-size: 11px;
  }

  .testimonial-card blockquote {
    overflow-wrap: anywhere;
  }
}

