/* ============================================================
   Dr. Desktop — Page-Specific Styles
   ============================================================ */

/* ── Gallery Page ── */
.gallery-section {
  padding-top: var(--sp-6);
}

/* Homepage reference-style hero: centered, minimal, premium */
.hero--reference {
  margin-top: -86px;
  min-height: 860px;
  padding: 150px 0 70px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.13), transparent 25%),
    radial-gradient(circle at 78% 28%, rgba(37, 211, 102, 0.16), transparent 24%),
    radial-gradient(circle at 22% 72%, rgba(180, 95, 89, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(12, 14, 19, 0.86), rgba(12, 14, 19, 0.96)),
    url("https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=2200&q=85") center / cover;
}

.hero--reference::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
}

.hero--reference .hero-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1180px;
}

.hero--reference .hero__content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero--reference .hero__label {
  margin: 0 auto 34px;
  color: transparent;
  font-size: 0;
}

.hero--reference .hero__label::before {
  content: "Custom PC Builds - Hyderabad";
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.hero--reference .hero__label::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-radius: 999px;
  background: var(--redesign-green);
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.9);
}

.hero--reference .hero__title {
  max-width: 100%;
  margin: 0 auto;
  color: #f7f7f3;
  font-size: clamp(3.4rem, 7.1vw, 7rem);
  font-weight: 700;
  line-height: 0.94;
  text-align: center;
}

.hero--reference .highlight {
  color: #f0d9d5;
}

.hero__image-chip {
  display: inline-block;
  width: clamp(84px, 10vw, 150px);
  height: clamp(48px, 5.8vw, 84px);
  margin: 0 0.08em -0.08em;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.18)),
    url("https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=600&q=85") center / cover;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  transform: rotate(-4deg);
}

.hero--reference .hero__text {
  max-width: 660px;
  margin: 34px auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero--reference .hero__text {
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.hero--reference .hero__text::before {
  content: "Tell us your budget and use case. We help you choose the right parts, build clean systems, upgrade old PCs, and keep everything running locally.";
  display: block;
  max-width: 680px;
  margin: 34px auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero--reference .hero__ctas {
  justify-content: center;
  margin-top: 34px;
}

.hero--reference .hero__ctas .btn {
  min-width: 178px;
  min-height: 58px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.hero--reference .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
}

.hero--reference .hero__micro-link,
.hero--reference .hero-visual {
  display: none;
}

.hero--reference .proof-badges {
  justify-content: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero--reference .proof-badge {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.hero--reference + .trust-bar {
  margin-top: -1px;
  padding-top: 24px;
  padding-bottom: 28px;
  background: #fbfaf7;
}

@media (max-width: 1024px) {
  .hero--reference {
    min-height: 780px;
    padding-top: 132px;
  }

  .hero--reference .hero__title {
    font-size: clamp(3rem, 9vw, 5.7rem);
  }
}

@media (max-width: 768px) {
  .hero--reference {
    min-height: auto;
    padding: 118px 0 58px;
  }

  .hero--reference .hero-grid.container {
    display: flex;
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
    overflow: visible;
  }

  .hero--reference .hero__content {
    width: 100%;
    max-width: 360px;
  }

  .hero--reference .hero__label {
    margin-bottom: 26px;
  }

  .hero--reference .hero__label::before {
    font-size: 0.72rem;
  }

  .hero--reference .hero__title {
    max-width: 100%;
    font-size: clamp(2.1rem, 12vw, 3.35rem);
    line-height: 1.02;
  }

  .hero__image-chip {
    width: 84px;
    height: 48px;
    border-radius: 18px;
  }

  .hero--reference .hero__text::before {
    max-width: 330px;
    margin-top: 24px;
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .hero--reference .hero__ctas {
    width: 100%;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    gap: 12px;
  }

  .hero--reference .hero__ctas .btn {
    width: 100%;
    min-height: 52px;
  }

  .hero--reference .proof-badges {
    width: 100%;
    max-width: 330px;
  }
}

.mobile-menu-fab {
  position: fixed;
  top: 18px;
  left: min(calc(100vw - 66px), 320px);
  right: auto;
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14);
}

.mobile-menu-fab span,
.mobile-menu-fab span::before,
.mobile-menu-fab span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--redesign-ink);
}

.mobile-menu-fab span {
  position: relative;
}

.mobile-menu-fab span::before,
.mobile-menu-fab span::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-menu-fab span::before {
  top: -6px;
}

.mobile-menu-fab span::after {
  top: 6px;
}

@media (max-width: 1024px) {
  .mobile-menu-fab {
    display: flex;
  }
}

/* ── Contact Page ── */
.contact-form-wrapper {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

@media (max-width: 640px) {
  .contact-form-wrapper {
    padding: var(--sp-6);
  }
  .contact-info__card {
    padding: var(--sp-6);
  }
}

/* ============================================================
   Homepage Hero Redesign (Full-width Dark Sleek)
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  /* Deep, sleek gradient background */
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #fff;
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-10);
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

.hero__content {
  /* Removed dark card styling to let text float on the gradient */
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero__content .hero__title {
  color: #fff;
  font-size: var(--fs-hero);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.hero__content .hero__text {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-lg);
  max-width: 90%;
  margin-bottom: var(--space-8);
}

.hero__content .hero__label {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: inline-flex;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__content .hero__micro-link {
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: var(--fw-medium);
  transition: color var(--transition-fast);
}

.hero__content .hero__micro-link:hover {
  color: #fff;
}

.hero__content .proof-badge {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
  .hero {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }
  .hero__content .hero__title {
    font-size: var(--fs-3xl);
  }
}

/* ============================================================
   Trust Bar Fixes
   ============================================================ */
.trust-bar__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0.5;
  filter: grayscale(100%);
}

.trust-bar__logo {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--fs-xl);
  color: var(--color-text-muted);
  transition: opacity var(--transition-base), filter var(--transition-base);
}

.trust-bar__logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  color: var(--color-primary);
}

/* ============================================================
   2026 Redesign Layer
   Inspired by minimal Framer agency/portfolio layouts, adapted
   for a local PC workshop with stronger product imagery.
   ============================================================ */

:root {
  --redesign-ink: #151a24;
  --redesign-muted: #586272;
  --redesign-paper: #fcfbf7;
  --redesign-warm: #f8eed3;
  --redesign-line: rgba(21, 26, 36, 0.1);
  --redesign-dark: #090b11;
  --redesign-card: #ffffff;
  --redesign-coral: #dd405e;
  --redesign-green: #25d366;
  --redesign-blue: #384d80;
}

html {
  scroll-padding-top: 86px;
}

body {
  color: var(--redesign-ink);
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 39, 0.025) 1px, transparent 1px),
    var(--redesign-paper);
  background-size: 72px 72px;
}

h1,
h2,
h3,
.section-title,
.page-hero__title {
  letter-spacing: 0;
}

.container {
  max-width: min(1440px, calc(100vw - 48px));
}

.section {
  padding-top: clamp(52px, 6.5vw, 92px);
  padding-bottom: clamp(52px, 6.5vw, 92px);
}

.section--warm {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0)),
    var(--redesign-warm);
}

.nav {
  top: 14px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 38px rgba(17, 24, 39, 0.08);
}

.nav__inner {
  height: 68px;
  padding: 0 12px 0 24px;
}

.nav__logo {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.nav__logo-dr {
  color: var(--redesign-coral);
}

.nav__links {
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  background: rgba(244, 240, 230, 0.72);
}

.nav__link {
  padding: 10px 16px;
  border-radius: 999px;
  color: #5f6978;
}

.nav__link::after {
  display: none;
}

.nav__link:hover,
.nav__link--active {
  color: var(--redesign-ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.08);
}

.btn {
  min-height: 46px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0;
}

.btn--primary {
  background: var(--redesign-coral);
}

.btn--secondary {
  background: var(--redesign-dark);
}

.btn--outline {
  border: 1px solid rgba(17, 24, 39, 0.15);
  background: rgba(255, 255, 255, 0.72);
}

.btn--whatsapp {
  background: var(--redesign-green);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.28);
}

.hero {
  margin-top: -86px;
  padding-top: 132px;
  min-height: min(780px, 92vh);
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(17, 19, 26, 0.93) 0%, rgba(17, 19, 26, 0.74) 46%, rgba(17, 19, 26, 0.2) 100%),
    url("https://images.unsplash.com/photo-1591488320449-011701bb6704?auto=format&fit=crop&w=2200&q=85") center / cover;
  color: #fff;
}

.hero::before {
  inset: 0;
  width: auto;
  height: auto;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  width: 100%;
}

.hero__content .hero__label,
.page-hero .hero__label,
.section-label,
.section-header__label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
}

.section-label,
.section-header__label,
.page-hero .hero__label {
  border-color: rgba(17, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: #7b4b47;
}

.hero__content .hero__title {
  max-width: 780px;
  margin: 18px 0;
  color: #fff;
  font-size: clamp(3rem, 5.7vw, 5.25rem);
  line-height: 0.98;
}

.highlight {
  color: #f4d8d4;
}

.hero__content .hero__text {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero .btn--outline {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(10px);
}

.hero__micro-link {
  color: rgba(255, 255, 255, 0.75);
}

.proof-badges {
  gap: 10px;
}

.proof-badge {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
}

.hero-visual {
  min-height: 0;
  align-self: stretch;
}

.hero-visual img {
  width: 100% !important;
  height: 100% !important;
  min-height: 430px;
  max-height: 560px;
  border-radius: 24px !important;
  object-fit: cover;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4) !important;
}

.trust-bar {
  padding-top: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--redesign-line);
  background: rgba(255, 255, 255, 0.78);
}

.trust-bar__logos {
  gap: clamp(18px, 4vw, 48px);
  opacity: 1;
}

.trust-bar__logo {
  font-size: clamp(1.15rem, 2.4vw, 2.35rem);
  color: rgba(17, 24, 39, 0.22);
}

.section-header {
  max-width: 820px;
  margin-bottom: clamp(30px, 4.5vw, 56px);
}

.section-title,
.section-header__title,
.page-hero__title {
  margin-top: 12px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.04;
  color: var(--redesign-ink);
}

.section-subtitle,
.section-header__text,
.page-hero__text {
  max-width: 780px;
  margin: 18px auto 0;
  color: var(--redesign-muted);
  font-size: clamp(1.02rem, 1.55vw, 1.25rem);
}

.page-hero {
  position: relative;
  overflow: hidden;
  margin-top: -86px;
  padding-top: 138px;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(241, 238, 231, 0.96), rgba(255, 255, 255, 0.88)),
    url("https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.grid--4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.card,
.service-card,
.build-card,
.testimonial-card,
.contact-form-wrapper {
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(18px);
}

.card,
.service-card {
  min-height: 190px;
  padding: clamp(20px, 2.4vw, 28px);
}

.card:hover,
.service-card:hover,
.build-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(180, 95, 89, 0.28);
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.12);
}

.card__icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #f3efe8;
  color: var(--redesign-blue);
}

.card__title,
.build-card__title {
  font-size: clamp(1rem, 1.15vw, 1.14rem);
  line-height: 1.16;
}

.card__text,
.build-card__usecase,
.process-step__text {
  color: var(--redesign-muted);
  font-size: 0.88rem;
}

.service-card__bullets li {
  color: var(--redesign-muted) !important;
}

.card__cta {
  width: fit-content;
  color: var(--redesign-coral) !important;
}

.build-card {
  overflow: hidden;
}

.build-card__image,
.laptop-card__image {
  min-height: 190px;
  background-image:
    linear-gradient(135deg, rgba(17, 19, 26, 0.15), rgba(180, 95, 89, 0.12)),
    url("https://images.unsplash.com/photo-1593640408182-31c70c8268f5?auto=format&fit=crop&w=1200&q=82") !important;
  background-position: center !important;
  background-size: cover !important;
}

.build-card:nth-child(2n) .build-card__image {
  background-image:
    linear-gradient(135deg, rgba(17, 19, 26, 0.15), rgba(96, 117, 141, 0.15)),
    url("https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=1200&q=82") !important;
}

.build-card:nth-child(3n) .build-card__image {
  background-image:
    linear-gradient(135deg, rgba(17, 19, 26, 0.22), rgba(180, 95, 89, 0.18)),
    url("https://images.unsplash.com/photo-1603481546238-487240415921?auto=format&fit=crop&w=1200&q=82") !important;
}

.build-card__image > div {
  opacity: 0 !important;
}

.build-card__badge {
  top: 16px !important;
  right: 16px !important;
  left: auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.88) !important;
  color: var(--redesign-ink) !important;
  backdrop-filter: blur(10px);
}

.build-card__body {
  padding: 24px;
}

.build-card__specs {
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
}

.build-card__spec-item {
  display: block !important;
  padding: 0 0 12px !important;
}

.spec-label {
  display: block;
  margin-bottom: 4px;
  color: #8993a1 !important;
}

.spec-value {
  display: block;
  font-size: 0.98rem !important;
}

.build-card__footer {
  padding: 18px 24px;
  gap: 12px;
}

.process-steps {
  gap: 0;
}

.process-steps::before {
  top: 40px;
  left: 11%;
  right: 11%;
  background: linear-gradient(90deg, transparent, rgba(180, 95, 89, 0.65), transparent);
}

.process-step__number {
  width: 80px;
  height: 80px;
  background: var(--redesign-coral);
  box-shadow: 0 16px 34px rgba(180, 95, 89, 0.28);
}

.process-step__title {
  font-size: 1.12rem;
}

.gallery-grid,
#gallery-grid {
  align-items: stretch;
}

.gallery-card {
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 22px 58px rgba(17, 24, 39, 0.08);
}

.gallery-card:nth-child(2),
.gallery-card:nth-child(5) {
  transform: translateY(36px);
}

.gallery-card__image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background-image:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1591488320449-011701bb6704?auto=format&fit=crop&w=1300&q=82") !important;
  background-position: center !important;
  background-size: cover !important;
}

.gallery-card:nth-child(2n) .gallery-card__image {
  background-image:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=1300&q=82") !important;
}

.gallery-card:nth-child(3n) .gallery-card__image {
  background-image:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1593640408182-31c70c8268f5?auto=format&fit=crop&w=1300&q=82") !important;
}

.gallery-card__overlay {
  opacity: 1;
  transform: none;
  padding: 28px;
}

.gallery-card__tag {
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

#gallery-preview .gallery-card:nth-child(1) .gallery-card__image {
  background-image:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1591488320449-011701bb6704?auto=format&fit=crop&w=1300&q=82") !important;
}

#gallery-preview .gallery-card:nth-child(2) .gallery-card__image {
  background-image:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=1300&q=82") !important;
}

#gallery-preview .gallery-card:nth-child(3) .gallery-card__image {
  background-image:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1593640408182-31c70c8268f5?auto=format&fit=crop&w=1300&q=82") !important;
}

#gallery-preview .gallery-card:nth-child(4) .gallery-card__image {
  background-image:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1300&q=82") !important;
}

#gallery-preview .gallery-card:nth-child(5) .gallery-card__image {
  background-image:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1496181133206-80ce9b88a853?auto=format&fit=crop&w=1300&q=82") !important;
}

#gallery-preview .gallery-card:nth-child(6) .gallery-card__image {
  background-image:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=1300&q=82") !important;
}

#gallery-preview .grid + .text-center {
  margin-top: 76px !important;
}

#gallery-grid .gallery-card:nth-child(1) .gallery-card__image {
  background-image:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1591488320449-011701bb6704?auto=format&fit=crop&w=1300&q=82") !important;
}

#gallery-grid .gallery-card:nth-child(2) .gallery-card__image {
  background-image:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=1300&q=82") !important;
}

#gallery-grid .gallery-card:nth-child(3) .gallery-card__image {
  background-image:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1300&q=82") !important;
}

#gallery-grid .gallery-card:nth-child(4) .gallery-card__image {
  background-image:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=1300&q=82") !important;
}

#gallery-grid .gallery-card:nth-child(5) .gallery-card__image {
  background-image:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1496181133206-80ce9b88a853?auto=format&fit=crop&w=1300&q=82") !important;
}

#gallery-grid .gallery-card:nth-child(6) .gallery-card__image {
  background-image:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1593640408182-31c70c8268f5?auto=format&fit=crop&w=1300&q=82") !important;
}

.testimonial-card {
  padding: clamp(24px, 3vw, 38px);
}

.testimonial-card__quote {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.45;
}

.testimonials-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(183, 91, 88, 0.2), transparent 28%),
    linear-gradient(180deg, #0d0f14 0%, #08090d 100%);
  color: #fff;
}

.testimonials-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 88%, transparent 100%);
  pointer-events: none;
}

.testimonials-showcase .container {
  position: relative;
  z-index: 1;
}

.testimonials-showcase .section-label {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.74);
}

.testimonials-showcase .section-title {
  color: #fff;
}

.testimonials-showcase__stack {
  position: relative;
  display: grid;
  gap: 24px;
  max-width: 920px;
  margin: clamp(44px, 6vw, 76px) auto 0;
}

.testimonials-showcase__word {
  position: absolute;
  top: 34px;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.08);
  font-family: var(--font-heading);
  font-size: clamp(5rem, 13vw, 10.5rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.testimonials-showcase .testimonial-card {
  position: relative;
  min-height: auto;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(183, 91, 88, 0.2), rgba(255, 255, 255, 0.04)),
    rgba(8, 9, 13, 0.72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  color: #fff;
}

.testimonials-showcase .testimonial-card:nth-of-type(2),
.testimonials-showcase .testimonial-card:nth-of-type(3) {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), rgba(68, 85, 105, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(8, 9, 13, 0.64);
}

.testimonials-showcase .testimonial-card__stars {
  margin-bottom: 24px !important;
  color: #f0a050 !important;
  font-size: 0.98rem;
  letter-spacing: 0.18em;
}

.testimonials-showcase .testimonial-card__quote {
  position: relative;
  max-width: 760px;
  margin: 0;
  padding-top: 54px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.38rem);
  font-style: normal;
  line-height: 1.58;
}

.testimonials-showcase .testimonial-card__quote::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  left: -8px;
  color: rgba(240, 160, 80, 0.34);
  font-family: Georgia, serif;
  font-size: 6.5rem;
  font-style: normal;
  line-height: 1;
}

.testimonials-showcase .testimonial-card__quote::after {
  display: none;
}

.testimonials-showcase .testimonial-card__author {
  margin-top: 30px !important;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.testimonials-showcase .testimonial-card__author > div:first-child {
  width: 54px !important;
  height: 54px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(224, 226, 223, 0.86)) !important;
  color: var(--color-accent) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.testimonials-showcase .testimonial-card__author > div:last-child > div:first-child {
  color: #fff;
  font-size: 1rem;
}

.testimonials-showcase .testimonial-card__author > div:last-child > div:last-child {
  color: rgba(255, 255, 255, 0.52) !important;
  font-size: 0.78rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonials-showcase__note {
  color: rgba(255, 255, 255, 0.48) !important;
}

@media (max-width: 768px) {
  .testimonials-showcase__stack {
    gap: 18px;
  }

  .testimonials-showcase__word {
    top: 18px;
    font-size: clamp(3.4rem, 18vw, 5.5rem);
    white-space: normal;
    text-align: center;
  }

  .testimonials-showcase .testimonial-card {
    border-radius: 22px;
  }

  .testimonials-showcase .testimonial-card__quote {
    padding-top: 42px;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .testimonials-showcase .testimonial-card__quote::before {
    font-size: 5rem;
  }
}

.cta-band {
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(17, 19, 26, 0.96), rgba(43, 48, 62, 0.92)),
    url("https://images.unsplash.com/photo-1591488320449-011701bb6704?auto=format&fit=crop&w=1600&q=82") center / cover;
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.18);
}

.cta-band__title {
  color: #fff;
  font-size: clamp(1.45rem, 2.45vw, 2.5rem);
}

.footer {
  background: #11131a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__grid {
  gap: clamp(28px, 5vw, 80px);
}

.footer__link,
.footer__brand-description {
  color: #d4d9e2;
}

.filter-tab {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}

.filter-tab.active {
  background: var(--redesign-dark);
  border-color: var(--redesign-dark);
}

.form-input,
.form-textarea,
.form-select {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.flex {
  display: flex;
}

.flex--center {
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.flex--gap-4 {
  gap: var(--sp-4);
}

@media (max-width: 1100px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-visual img {
    min-height: 300px;
    max-height: 420px;
  }
}

@media (max-width: 1200px) and (min-width: 769px) {
  .hero {
    min-height: auto;
  }

  .hero__content .hero__title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    max-width: 700px;
  }

  .section-title,
  .section-header__title,
  .page-hero__title {
    font-size: clamp(1.65rem, 2.8vw, 2.55rem);
  }
}

@media (max-width: 768px) {
  body {
    background-size: 48px 48px;
  }

  .container {
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav {
    top: 10px;
    width: calc(100% - 20px);
    overflow: visible;
  }

  .nav__inner {
    position: relative;
    max-width: 100%;
    width: 100%;
    height: 60px;
    padding-left: 18px;
    padding-right: 10px;
  }

  .nav__logo {
    font-size: 1.12rem;
  }

  .nav__mobile-toggle {
    position: fixed;
    top: 18px;
    left: min(calc(100vw - 66px), 320px);
    right: auto;
    display: flex;
    flex: 0 0 44px;
    margin-left: auto;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.12);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
    z-index: 3000;
  }

  .nav__mobile-toggle::before {
    content: "";
    width: 18px;
    height: 12px;
    border-top: 2px solid var(--redesign-ink);
    border-bottom: 2px solid var(--redesign-ink);
    box-shadow: 0 5px 0 var(--redesign-ink);
  }

  .nav__mobile-toggle span {
    display: none;
  }

  .mobile-menu-fab {
    position: fixed;
    top: 18px;
    left: min(calc(100vw - 66px), 320px);
    right: auto;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14);
  }

  .mobile-menu-fab span,
  .mobile-menu-fab span::before,
  .mobile-menu-fab span::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--redesign-ink);
  }

  .mobile-menu-fab span {
    position: relative;
  }

  .mobile-menu-fab span::before,
  .mobile-menu-fab span::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .mobile-menu-fab span::before {
    top: -6px;
  }

  .mobile-menu-fab span::after {
    top: 6px;
  }

  .mobile-menu {
    max-width: none;
    padding: 86px 22px 28px;
  }

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

  .mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-6);
  }

  .mobile-menu__close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1eee7;
    font-size: 1.5rem;
  }

  .hero {
    min-height: auto;
    margin-top: -80px;
    padding-top: 112px;
  }

  .hero-grid.container {
    max-width: 100vw;
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
    overflow: hidden;
  }

  .hero__content {
    width: min(calc(100vw - 48px), 342px);
    max-width: min(calc(100vw - 48px), 342px);
    min-width: 0;
  }

  .page-hero {
    margin-top: -80px;
    padding-top: 112px;
  }

  .hero__content .hero__title,
  .section-title,
  .section-header__title,
  .page-hero__title {
    max-width: calc(100vw - 40px);
    font-size: clamp(1.35rem, 5.8vw, 1.7rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .hero__title .highlight {
    display: block;
  }

  .hero__content .hero__text {
    width: min(calc(100vw - 48px), 342px);
    max-width: min(calc(100vw - 48px), 342px);
    font-size: 0.95rem;
  }

  .hero__ctas,
  .proof-badges {
    width: min(calc(100vw - 48px), 342px);
    max-width: min(calc(100vw - 48px), 342px);
    align-items: stretch;
  }

  .hero__ctas .btn,
  .hero__micro-link {
    max-width: min(calc(100vw - 48px), 342px);
    width: 100%;
  }

  .sticky-cta .btn {
    min-width: 0;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
  }

  .proof-badge {
    width: 100%;
  }

  .hero-visual img {
    min-height: 240px;
    max-height: 320px;
    border-radius: 18px !important;
  }

  .grid--4,
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .card,
  .service-card,
  .build-card,
  .testimonial-card,
  .contact-form-wrapper {
    border-radius: 22px;
  }

  .build-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .build-card__footer .btn {
    width: 100%;
  }

  .process-steps {
    gap: 28px;
  }

  .process-step__number {
    width: 64px;
    height: 64px;
  }

  .gallery-card,
  .gallery-card__image {
    min-height: 260px;
  }

  .gallery-card:nth-child(2),
  .gallery-card:nth-child(5) {
    transform: none;
  }

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

/* Final homepage-only overrides so the reference hero wins the cascade. */
.hero.hero--reference {
  margin-top: -86px;
  min-height: 860px;
  padding: 150px 0 70px;
  display: flex;
  align-items: center;
}

.hero.hero--reference .hero-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1180px;
}

.hero.hero--reference .hero__content {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero.hero--reference .hero__label {
  margin: 0 auto 34px;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0;
}

.hero.hero--reference .hero__title {
  max-width: 100%;
  margin: 0 auto;
  font-size: clamp(2.55rem, 5.2vw, 5rem);
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.hero.hero--reference .hero__text::before {
  content: "Tell us your budget and use case. We help you choose the right parts, build clean systems, upgrade old PCs, and keep everything running locally.";
  display: block;
  max-width: 680px;
  margin: 34px auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  line-height: 1.58;
}

.hero.hero--reference .hero__text {
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.hero.hero--reference .hero__ctas,
.hero.hero--reference .proof-badges {
  justify-content: center;
  width: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero.hero--reference .hero__micro-link,
.hero.hero--reference .hero-visual {
  display: none;
}

#why-us {
  background:
    radial-gradient(circle at 50% 16%, rgba(210, 234, 233, 0.42), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}

#why-us .animate-on-scroll {
  opacity: 1;
  transform: none;
}

.why-reference {
  max-width: 1240px;
  margin: 0 auto clamp(48px, 6vw, 84px);
  text-align: center;
}

.why-reference__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: linear-gradient(180deg, #ffffff, #ececea);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 12px 28px rgba(17, 24, 39, 0.1);
  color: rgba(17, 24, 39, 0.68);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.why-reference__badge svg {
  color: rgba(17, 24, 39, 0.58);
}

.why-reference__quote {
  max-width: 1180px;
  margin: clamp(32px, 4vw, 54px) auto 0;
  color: #050505;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.2vw, 3.35rem);
  font-weight: 400;
  line-height: 1.36;
  letter-spacing: 0;
}

.why-reference__quote span {
  color: rgba(5, 5, 5, 0.38);
}

.why-reference__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 84px);
  margin-top: clamp(44px, 5vw, 72px);
}

.why-stat {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 86px;
  padding: 14px 34px 14px 88px;
  border-radius: 999px;
  background: rgba(245, 245, 244, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 20px 52px rgba(17, 24, 39, 0.07);
  color: rgba(17, 24, 39, 0.72);
  text-align: left;
}

.why-stat strong {
  position: absolute;
  left: 0;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  transform: translate(-4px, -50%);
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.96), rgba(188, 216, 216, 0.88) 58%, rgba(139, 169, 169, 0.9));
  border: 10px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 3px 12px rgba(255, 255, 255, 0.8),
    0 12px 30px rgba(95, 124, 124, 0.25);
  color: #fff;
  font-size: 1.36rem;
  font-weight: 700;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
}

.why-stat span {
  font-size: clamp(0.9rem, 1.15vw, 1.12rem);
  line-height: 1.25;
}

#why-us .section-header {
  margin-bottom: clamp(36px, 5vw, 72px);
}

@media (max-width: 980px) {
  .why-reference__stats {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    gap: 26px;
  }
}

@media (max-width: 640px) {
  .why-reference {
    margin-bottom: 56px;
  }

  .why-reference__badge {
    min-height: 46px;
    padding: 0 18px;
    font-size: 0.74rem;
  }

  .why-reference__quote {
    margin-top: 34px;
    font-size: clamp(1.2rem, 6.2vw, 1.65rem);
    line-height: 1.34;
  }

  .why-reference__stats {
    margin-top: 44px;
  }

  .why-stat {
    min-height: 74px;
    padding: 12px 20px 12px 76px;
  }

  .why-stat strong {
    width: 78px;
    height: 78px;
    border-width: 8px;
    font-size: 1.05rem;
  }

  .why-stat span {
    font-size: 0.98rem;
  }
}

@media (max-width: 1024px) {
  .hero.hero--reference {
    min-height: 780px;
    padding-top: 132px;
  }

  .hero.hero--reference .hero__title {
    font-size: clamp(2.2rem, 7vw, 4.2rem);
  }
}

@media (max-width: 768px) {
  .hero.hero--reference {
    min-height: auto;
    padding: 118px 0 58px;
  }

  .hero.hero--reference .hero-grid.container {
    display: flex;
    max-width: 100%;
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
    overflow: visible;
  }

  .hero.hero--reference .hero__content {
    width: 100%;
    max-width: 300px;
  }

  .hero.hero--reference .hero__title {
    max-width: 300px;
    font-size: clamp(1.35rem, 6.1vw, 1.55rem);
    line-height: 1.06;
    overflow-wrap: normal;
  }

  .hero.hero--reference .hero__text {
    width: 100%;
    max-width: 100%;
  }

  .hero.hero--reference .hero__text::before {
    max-width: 300px;
    margin-top: 24px;
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .hero.hero--reference .hero__ctas,
  .hero.hero--reference .proof-badges {
    width: 100%;
    max-width: 280px;
  }

  .hero.hero--reference .hero__ctas .btn {
    min-height: 46px;
    padding: 10px 16px;
    font-size: 0.82rem;
  }

  .hero.hero--reference .hero__image-chip {
    display: block;
    width: 78px;
    height: 44px;
    margin: 8px auto 6px;
    border-radius: 16px;
    transform: rotate(-3deg);
  }
}

@media (max-width: 430px) {
  .hero.hero--reference .hero__title {
    max-width: 292px;
    font-size: clamp(1.3rem, 5.8vw, 1.5rem);
  }

  .hero__image-chip {
    display: block;
    width: 78px;
    height: 44px;
    margin: 8px auto 6px;
    border-radius: 16px;
    transform: rotate(-3deg);
  }
}

@media (max-width: 768px) {
  .cta-band {
    margin: 0;
    padding: 30px 20px;
    border: 1px solid rgba(27, 36, 48, 0.1);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 245, 238, 0.96)),
      radial-gradient(circle at 50% 0%, rgba(108, 129, 183, 0.12), transparent 42%);
    color: var(--color-text);
    box-shadow: 0 16px 42px rgba(27, 36, 48, 0.08);
  }

  .cta-band__title {
    max-width: 300px;
    margin: 0 auto 12px;
    color: var(--color-text);
    font-size: clamp(1.2rem, 5.6vw, 1.5rem);
    line-height: 1.14;
  }

  .cta-band__text {
    max-width: 300px;
    margin-bottom: 22px;
    color: var(--color-text-muted);
    font-size: 0.84rem;
    line-height: 1.48;
    opacity: 1;
  }

  .cta-band__buttons {
    gap: 12px;
  }

  .cta-band__buttons .btn {
    width: 100%;
    max-width: 280px;
    min-height: 50px;
    padding: 12px 18px;
    font-size: 0.86rem;
  }

  .cta-band .btn--outline,
  .cta-band__buttons .btn--outline {
    border-color: rgba(27, 36, 48, 0.16) !important;
    background: #fff;
    color: var(--color-text) !important;
  }

  .sticky-cta {
    padding: 10px 14px;
    gap: 10px;
    background: rgba(255, 255, 255, 0.96);
  }

  .sticky-cta .btn {
    min-height: 46px;
    border-radius: 999px;
    font-size: 0.82rem;
  }
}

/* Rebranded workshop-style intro for the Why section */
#why-us {
  background:
    linear-gradient(180deg, #fbfaf7 0%, #f2efe8 100%);
}

.why-reference--workshop {
  max-width: 1120px;
  margin-bottom: clamp(42px, 5vw, 68px);
}

.why-reference--workshop .why-reference__badge {
  min-height: 42px;
  padding: 0 18px;
  background: #ffffff;
  border: 1px solid rgba(27, 36, 48, 0.1);
  box-shadow: 0 8px 22px rgba(27, 36, 48, 0.06);
  color: var(--color-accent);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.why-reference--workshop .why-reference__quote {
  max-width: 920px;
  margin-top: 28px;
  color: var(--color-text);
  font-size: clamp(1.65rem, 3.25vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
}

.why-reference--workshop .why-reference__quote span {
  color: var(--color-accent);
}

.why-reference--workshop .why-reference__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.why-reference--workshop .why-stat {
  min-height: 124px;
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(27, 36, 48, 0.98), rgba(68, 85, 105, 0.94)),
    radial-gradient(circle at 90% 0%, rgba(183, 91, 88, 0.22), transparent 36%);
  box-shadow: 0 18px 42px rgba(27, 36, 48, 0.12);
  color: #fff;
}

.why-reference--workshop .why-stat::after {
  content: "";
  width: 44px;
  height: 3px;
  position: absolute;
  left: 24px;
  bottom: 18px;
  border-radius: 999px;
  background: var(--color-accent);
}

.why-reference--workshop .why-stat strong {
  position: static;
  width: 72px;
  height: 72px;
  transform: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(183, 91, 88, 0.95), rgba(201, 117, 114, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 26px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 1.15rem;
  text-shadow: none;
}

.why-reference--workshop .why-stat span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .why-reference--workshop .why-reference__stats {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .why-reference--workshop .why-reference__quote {
    font-size: clamp(1.35rem, 7vw, 1.9rem);
    line-height: 1.16;
  }

  .why-reference--workshop .why-stat {
    min-height: 104px;
    padding: 18px;
    border-radius: 18px;
    gap: 14px;
  }

  .why-reference--workshop .why-stat strong {
    width: 58px;
    height: 58px;
    font-size: 0.98rem;
  }

  .why-reference--workshop .why-stat span {
    font-size: 0.88rem;
  }
}

/* Keep the hero accent image in a deliberate, sorted position. */
.hero.hero--reference .hero__title-line {
  display: block;
}

.hero.hero--reference .hero__title-line--with-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 0.9vw, 14px);
  width: auto;
}

.hero.hero--reference .hero__title-line--with-chip .hero__image-chip {
  flex: 0 0 auto;
  position: relative;
  top: 0.02em;
  margin: 0;
}

@media (max-width: 768px) {
  .hero.hero--reference .hero__title-line--with-chip {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hero.hero--reference .hero__title-line--with-chip .hero__image-chip {
    margin: 0 auto;
  }
}

/* Brand polish from the Dr. Desktop logo */
.nav__logo {
  gap: 10px;
  min-width: max-content;
  color: var(--color-primary);
}

.nav__logo-img {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(56, 77, 128, 0.12);
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: clamp(1.02rem, 1.3vw, 1.22rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.nav__logo-text-dr {
  color: var(--color-accent);
}

.nav__logo--footer {
  margin-bottom: 18px;
  color: #fff;
}

.nav__logo--footer .nav__logo-img {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.nav__logo--footer .nav__logo-text {
  color: #fff;
}

.nav__logo--footer .nav__logo-text-dr {
  color: var(--color-accent-light);
}

.nav__link::after,
.nav__link--active::after {
  background-color: var(--color-accent);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-primary);
}

.hero--reference .highlight {
  color: #f8dce2;
}

.hero--reference .hero__label::before {
  color: rgba(248, 238, 211, 0.92);
}

.section-label {
  color: var(--color-accent);
}

.btn--primary,
.build-card .btn,
.gallery-card__tag {
  background-color: var(--color-accent);
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(221, 64, 94, 0.16), transparent 28%),
    linear-gradient(180deg, #090b11 0%, #05060a 100%);
}

@media (max-width: 768px) {
  .nav__logo-img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .nav__logo-text {
    font-size: 1.05rem;
  }
}

/* Reference-style animated FAQ */
#faq {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(221, 64, 94, 0.12), transparent 30%),
    linear-gradient(180deg, #07080c 0%, #0b0d12 100%);
  color: #fff;
}

#faq::before {
  content: "FAQ";
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--font-heading);
  font-size: clamp(9rem, 24vw, 22rem);
  font-weight: 900;
  line-height: 0.75;
  letter-spacing: 0.04em;
  pointer-events: none;
}

#faq::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 92%, transparent 100%);
  pointer-events: none;
}

#faq .container {
  position: relative;
  z-index: 1;
  max-width: 1180px !important;
}

#faq .section-label {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--color-accent-light);
}

#faq .section-title {
  color: #fff;
}

#faq .faq-accordion {
  display: grid;
  gap: 22px;
  margin-top: clamp(38px, 5vw, 64px) !important;
}

#faq .faq-item {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease;
}

#faq .faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#faq .faq-item:hover,
#faq .faq-item.active {
  transform: translateY(-3px);
  border-color: rgba(221, 64, 94, 0.3);
  background: rgba(255, 255, 255, 0.105);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

#faq .faq-item__question {
  min-height: 78px;
  padding: 20px 24px 20px 34px;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  font-weight: 600;
  text-align: left;
}

#faq .faq-item__question:hover,
#faq .faq-item.active .faq-item__question {
  color: #fff;
}

#faq .faq-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(221, 64, 94, 0.24);
  transition:
    transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1),
    background 240ms ease,
    box-shadow 240ms ease;
}

#faq .faq-item.active .faq-item__icon {
  transform: rotate(180deg) scale(1.04);
  background: var(--color-accent-light);
}

#faq .faq-item__answer {
  padding: 0 34px;
  transition:
    max-height 460ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

#faq .faq-item.active .faq-item__answer {
  padding-bottom: 26px;
}

#faq .faq-item__answer p {
  max-width: 840px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64) !important;
  font-size: 0.96rem;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 260ms ease 120ms,
    transform 260ms ease 120ms;
}

#faq .faq-item.active .faq-item__answer p {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  #faq .faq-accordion {
    gap: 14px;
  }

  #faq .faq-item {
    border-radius: 22px;
  }

  #faq .faq-item__question {
    min-height: 66px;
    padding: 16px 16px 16px 20px;
    font-size: 0.95rem;
  }

  #faq .faq-item__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  #faq .faq-item__answer {
    padding-left: 20px;
    padding-right: 20px;
  }

  #faq .faq-item__answer p {
    font-size: 0.88rem;
    line-height: 1.65;
  }
}

/* Reference-style brands/components showcase */
.trust-bar {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 128px) 0 clamp(58px, 7vw, 88px) !important;
  border-bottom: 1px solid rgba(21, 26, 36, 0.08);
  background:
    radial-gradient(circle at 50% 34%, rgba(56, 77, 128, 0.11), transparent 32%),
    radial-gradient(circle at 78% 24%, rgba(221, 64, 94, 0.08), transparent 22%),
    linear-gradient(180deg, #f7f7f5 0%, #efefef 100%) !important;
}

.trust-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(21, 26, 36, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 26, 36, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
  pointer-events: none;
}

.trust-bar .container {
  position: relative;
  z-index: 1;
}

.trust-bar__showcase {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.trust-bar__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(21, 26, 36, 0.08);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 24px rgba(21, 26, 36, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-bar__label span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-accent);
}

.trust-bar__title {
  max-width: 720px;
  margin: 34px auto 0;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4.35rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.trust-bar__text {
  max-width: 620px;
  margin: 28px auto 0;
  color: rgba(21, 26, 36, 0.68);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.7;
}

.trust-bar__tool {
  position: absolute;
  width: clamp(82px, 7.5vw, 118px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 50px rgba(21, 26, 36, 0.13);
  transform: rotate(var(--rotate, 0deg));
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.trust-bar__tool span {
  color: var(--tool-color, var(--color-primary));
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 1.05vw, 0.95rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.trust-bar__tool:hover {
  transform: translateY(-8px) rotate(var(--rotate, 0deg));
  box-shadow: 0 34px 70px rgba(21, 26, 36, 0.18);
}

.trust-bar__tool--intel {
  --rotate: -14deg;
  --tool-color: #384d80;
  top: 20%;
  left: 10%;
}

.trust-bar__tool--amd {
  --rotate: 12deg;
  --tool-color: #dd405e;
  top: 48%;
  left: 2%;
}

.trust-bar__tool--nvidia {
  --rotate: -11deg;
  --tool-color: #2f9f55;
  bottom: 2%;
  left: 18%;
}

.trust-bar__tool--asus {
  --rotate: 11deg;
  --tool-color: #384d80;
  top: 18%;
  right: 10%;
}

.trust-bar__tool--corsair {
  --rotate: -15deg;
  --tool-color: #dd405e;
  top: 50%;
  right: 3%;
}

.trust-bar__tool--msi {
  --rotate: 15deg;
  --tool-color: #384d80;
  bottom: 0;
  right: 18%;
}

.trust-bar__logos {
  max-width: 1040px;
  margin: 28px auto 0 !important;
  gap: clamp(16px, 3vw, 38px) !important;
}

.trust-bar__logo {
  color: rgba(21, 26, 36, 0.24) !important;
  font-size: clamp(0.9rem, 1.6vw, 1.35rem) !important;
  font-weight: 800 !important;
}

.trust-bar__logo:hover {
  color: var(--color-primary) !important;
}

@media (max-width: 900px) {
  .trust-bar__showcase {
    min-height: 520px;
  }

  .trust-bar__tool--intel {
    left: 4%;
  }

  .trust-bar__tool--asus {
    right: 4%;
  }

  .trust-bar__tool--amd,
  .trust-bar__tool--corsair {
    top: 58%;
  }
}

@media (max-width: 640px) {
  .trust-bar {
    padding-top: 64px !important;
  }

  .trust-bar__showcase {
    min-height: auto;
    padding-bottom: 170px;
  }

  .trust-bar__title {
    max-width: 320px;
    margin-top: 26px;
    font-size: clamp(1.65rem, 9vw, 2.35rem);
  }

  .trust-bar__text {
    max-width: 320px;
    margin-top: 18px;
    font-size: 0.86rem;
  }

  .trust-bar__tool {
    width: 70px;
    border-radius: 18px;
  }

  .trust-bar__tool--intel {
    top: auto;
    bottom: 74px;
    left: 8%;
  }

  .trust-bar__tool--amd {
    top: auto;
    bottom: 18px;
    left: 31%;
  }

  .trust-bar__tool--nvidia {
    bottom: 88px;
    left: auto;
    right: 12%;
  }

  .trust-bar__tool--asus,
  .trust-bar__tool--corsair,
  .trust-bar__tool--msi {
    display: none;
  }
}

/* Services page pricing/reference block */
.service-plans {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 34%, rgba(221, 64, 94, 0.14), transparent 20%),
    linear-gradient(180deg, #eeeeee 0%, #f8f7f3 100%);
}

.service-plans__intro {
  position: relative;
  max-width: 980px;
}

.service-plans__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid rgba(21, 26, 36, 0.08);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 9px 18px rgba(21, 26, 36, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-plans__label span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-accent);
}

.service-plans__title {
  max-width: 1060px;
  margin-top: 36px;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 5vw, 4.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.service-plans__toggle {
  width: clamp(96px, 12vw, 150px);
  height: clamp(48px, 6vw, 74px);
  margin-top: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  padding: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent), #c93651);
  box-shadow: 0 24px 54px rgba(221, 64, 94, 0.34);
}

.service-plans__toggle span {
  width: clamp(36px, 4.8vw, 58px);
  height: clamp(36px, 4.8vw, 58px);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(21, 26, 36, 0.18);
}

.service-plans__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
  margin-top: clamp(46px, 6vw, 74px);
}

.service-plan-card {
  min-height: 430px;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 28px;
  padding: clamp(28px, 3.8vw, 46px);
  border: 1px solid rgba(21, 26, 36, 0.08);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 244, 240, 0.96));
  box-shadow: 0 22px 58px rgba(21, 26, 36, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.service-plan-card--dark {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 88% 10%, rgba(221, 64, 94, 0.14), transparent 28%),
    linear-gradient(180deg, #14161c 0%, #0c0e13 100%);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
}

.service-plan-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 800;
}

.service-plan-card__meta span + span {
  padding-left: 14px;
  border-left: 1px solid rgba(21, 26, 36, 0.16);
  color: var(--color-text-muted);
  font-weight: 600;
}

.service-plan-card--dark .service-plan-card__meta {
  color: #fff;
}

.service-plan-card--dark .service-plan-card__meta span + span {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.56);
}

.service-plan-card__price {
  color: #050505;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.service-plan-card__price span {
  display: block;
  margin-bottom: 8px;
  color: var(--color-text-muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
}

.service-plan-card--dark .service-plan-card__price {
  color: #fff;
}

.service-plan-card--dark .service-plan-card__price span {
  color: rgba(255, 255, 255, 0.58);
}

.service-plan-card__cta {
  width: fit-content;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #303236, #15171b);
  box-shadow: 0 14px 30px rgba(21, 26, 36, 0.25);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.service-plan-card--dark .service-plan-card__cta {
  background: linear-gradient(180deg, var(--color-accent-light), var(--color-accent));
  box-shadow: 0 14px 34px rgba(221, 64, 94, 0.26);
}

.service-plan-card__body {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(21, 26, 36, 0.1);
}

.service-plan-card--dark .service-plan-card__body {
  border-color: rgba(255, 255, 255, 0.12);
}

.service-plan-card__body h3 {
  margin-bottom: 10px;
  color: inherit;
  font-size: 1rem;
}

.service-plan-card__body p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.service-plan-card--dark .service-plan-card__body p {
  color: rgba(255, 255, 255, 0.58);
}

.service-plan-card__body ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-plan-card__body li {
  position: relative;
  padding-left: 30px;
  color: var(--color-text);
  font-weight: 600;
}

.service-plan-card__body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(21, 26, 36, 0.08);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 900;
}

.service-plan-card--dark .service-plan-card__body li {
  color: rgba(255, 255, 255, 0.86);
}

.service-plan-card--dark .service-plan-card__body li::before {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (max-width: 980px) {
  .service-plans__grid {
    grid-template-columns: 1fr;
  }

  .service-plan-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .service-plans__title {
    margin-top: 26px;
    font-size: clamp(1.7rem, 9vw, 2.45rem);
  }

  .service-plans__toggle {
    margin-top: 18px;
  }

  .service-plan-card {
    padding: 24px;
    border-radius: 24px;
  }

  .service-plan-card__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .service-plan-card__meta span + span {
    padding-left: 0;
    border-left: 0;
  }

  .service-plan-card__body {
    grid-template-columns: 1fr;
  }
}

/* Global typography density pass inspired by the Framer agency references */
:root {
  --fs-hero: clamp(2.45rem, 5.6vw, 5.2rem);
}

.section {
  padding-top: clamp(44px, 5.4vw, 76px);
  padding-bottom: clamp(44px, 5.4vw, 76px);
}

.section-title,
.section-header__title,
.page-hero__title {
  font-size: clamp(1.65rem, 2.55vw, 2.55rem);
  line-height: 1.12;
}

.section-subtitle,
.section-header__text,
.page-hero__text {
  font-size: clamp(0.9rem, 1.15vw, 1.05rem);
  line-height: 1.65;
}

.hero__content .hero__title,
.hero.hero--reference .hero__title {
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
  line-height: 1.03;
}

.hero__content .hero__text,
.hero.hero--reference .hero__text::before {
  font-size: clamp(0.86rem, 1vw, 0.98rem);
}

.page-hero {
  min-height: 520px;
  padding-top: 126px;
  padding-bottom: 58px;
}

.service-plans {
  padding-top: clamp(48px, 6vw, 78px);
}

.service-plans__title {
  max-width: 900px;
  margin-top: 28px;
  font-size: clamp(2rem, 3.65vw, 3.55rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.service-plans__toggle {
  width: clamp(76px, 8vw, 112px);
  height: clamp(40px, 4.6vw, 56px);
  margin-top: 14px;
}

.service-plans__toggle span {
  width: clamp(30px, 3.5vw, 42px);
  height: clamp(30px, 3.5vw, 42px);
}

.service-plans__grid {
  margin-top: clamp(34px, 4vw, 52px);
}

.service-plan-card {
  min-height: 340px;
  gap: 22px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 28px;
}

.service-plan-card__meta {
  font-size: 0.9rem;
}

.service-plan-card__price {
  font-size: clamp(2.2rem, 4vw, 3.45rem);
  letter-spacing: -0.045em;
}

.service-plan-card__cta {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.88rem;
}

.service-plan-card__body {
  gap: 22px;
  padding-top: 22px;
}

.service-plan-card__body p,
.service-plan-card__body li {
  font-size: 0.86rem;
}

.card,
.service-card,
.build-card,
.testimonial-card {
  padding: clamp(20px, 2.5vw, 30px);
}

.card__title,
.service-card .card__title,
.build-card__title {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.card__text,
.service-card__bullets li,
.build-card__spec-item,
.process-step__text {
  font-size: 0.86rem !important;
}

.why-reference--workshop .why-reference__quote {
  font-size: clamp(1.45rem, 2.65vw, 2.65rem);
}

.trust-bar__title {
  font-size: clamp(1.75rem, 3.6vw, 3.35rem);
}

.trust-bar__showcase {
  min-height: 380px;
}

.trust-bar__tool {
  width: clamp(70px, 6.4vw, 96px);
  border-radius: 18px;
}

.gallery-card {
  min-height: 280px;
  border-radius: 24px;
}

.gallery-card__image {
  min-height: 280px;
}

.gallery-card__title {
  font-size: clamp(1rem, 1.35vw, 1.22rem) !important;
}

.testimonials-showcase .testimonial-card__quote {
  font-size: clamp(0.94rem, 1.35vw, 1.12rem);
}

#faq .faq-item__question {
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
}

@media (max-width: 768px) {
  .section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .page-hero {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 48px;
  }

  .hero__content .hero__title,
  .hero.hero--reference .hero__title,
  .page-hero__title {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .service-plans__title {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .service-plan-card {
    padding: 22px;
    border-radius: 22px;
  }

  .service-plan-card__price {
    font-size: clamp(2rem, 12vw, 2.65rem);
  }
}

/* Branded animated Hyderabad location card */
.location-globe-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 8%, rgba(221, 64, 94, 0.2), transparent 28%),
    radial-gradient(circle at 16% 18%, rgba(56, 77, 128, 0.55), transparent 34%),
    linear-gradient(145deg, #12141b 0%, #080a0f 72%);
  box-shadow: 0 28px 70px rgba(9, 11, 17, 0.2);
  isolation: isolate;
}

.location-globe-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 82%);
  pointer-events: none;
}

.location-globe-card__content {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 46px 28px 18px;
  text-align: center;
}

.location-globe-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 7px 16px;
  border: 1px solid rgba(248, 238, 211, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
}

.location-globe-card__eyebrow span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 22px rgba(221, 64, 94, 0.78);
}

.location-globe-card h3 {
  max-width: 620px;
  margin: 22px auto 0;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.7vw, 2.35rem);
  line-height: 1.12;
}

.location-globe-card h3 strong {
  color: var(--color-accent);
  font-weight: inherit;
}

.location-globe-card p {
  max-width: 560px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
  line-height: 1.6;
}

.location-globe-card__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.location-globe-card .btn {
  min-height: 44px;
  padding: 0 22px;
  font-size: 0.88rem;
}

.location-globe-card .btn--dark {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 34px rgba(0, 0, 0, 0.24);
}

.location-globe-card__visual {
  position: absolute;
  inset: auto 0 -46% 0;
  z-index: 1;
  height: 74%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
}

.location-globe-card__sphere {
  position: relative;
  width: min(720px, 96%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.2), transparent 25%),
    radial-gradient(circle at 50% 10%, rgba(248, 238, 211, 0.95) 1.6px, transparent 2.6px) 0 0 / 16px 16px,
    radial-gradient(circle at 46% 45%, #151820 0%, #07080b 70%);
  box-shadow:
    inset 0 34px 50px rgba(255, 255, 255, 0.16),
    inset 0 -60px 90px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(255, 255, 255, 0.12),
    0 -10px 46px rgba(56, 77, 128, 0.42);
  animation: locationGlobeFloat 7s ease-in-out infinite;
}

.location-globe-card__sphere::before,
.location-globe-card__sphere::after {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  opacity: 0.42;
  background:
    radial-gradient(ellipse at 42% 38%, transparent 0 12%, rgba(255, 255, 255, 0.72) 13% 14%, transparent 15%),
    radial-gradient(ellipse at 57% 45%, transparent 0 8%, rgba(255, 255, 255, 0.6) 9% 10%, transparent 11%),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 255, 255, 0.16) 23px 24px);
  mix-blend-mode: screen;
  animation: locationGridDrift 18s linear infinite;
}

.location-globe-card__sphere::after {
  inset: 14%;
  opacity: 0.3;
  transform: rotate(28deg);
  animation-duration: 24s;
  animation-direction: reverse;
}

.location-globe-card__orbit {
  position: absolute;
  width: min(760px, 98%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateY(8%) rotate(-10deg);
  animation: locationOrbitPulse 4.8s ease-in-out infinite;
}

.location-globe-card__pin {
  position: absolute;
  top: 26%;
  left: 55%;
  width: 18px;
  height: 18px;
  border: 4px solid var(--color-accent);
  border-radius: 50% 50% 50% 0;
  background: #ffffff;
  box-shadow: 0 0 0 10px rgba(221, 64, 94, 0.16), 0 0 34px rgba(221, 64, 94, 0.8);
  transform: rotate(-45deg);
  animation: locationPinPulse 1.9s ease-in-out infinite;
}

.location-globe-card__city {
  position: absolute;
  top: calc(26% + 24px);
  left: calc(55% - 52px);
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 10, 15, 0.72);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: var(--fw-semibold);
  backdrop-filter: blur(12px);
}

.location-globe-card--compact {
  min-height: 320px;
  height: 100%;
  border-radius: 24px;
}

.location-globe-card--compact .location-globe-card__content {
  min-height: 216px;
  padding-top: 34px;
}

.location-globe-card--compact h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.location-globe-card--compact .location-globe-card__visual {
  bottom: -58%;
}

@keyframes locationGlobeFloat {
  0%, 100% {
    transform: translateY(0) rotate(0.001deg);
  }
  50% {
    transform: translateY(-12px) rotate(0.001deg);
  }
}

@keyframes locationGridDrift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 80px 0, -90px 0, 160px 0;
  }
}

@keyframes locationOrbitPulse {
  0%, 100% {
    opacity: 0.34;
    transform: translateY(8%) scale(1) rotate(-10deg);
  }
  50% {
    opacity: 0.58;
    transform: translateY(7%) scale(1.025) rotate(-10deg);
  }
}

@keyframes locationPinPulse {
  0%, 100% {
    box-shadow: 0 0 0 9px rgba(221, 64, 94, 0.15), 0 0 34px rgba(221, 64, 94, 0.8);
  }
  50% {
    box-shadow: 0 0 0 17px rgba(221, 64, 94, 0.04), 0 0 44px rgba(221, 64, 94, 0.98);
  }
}

@media (max-width: 768px) {
  .location-globe-card {
    min-height: 390px;
    border-radius: 24px;
  }

  .location-globe-card__content {
    min-height: 244px;
    padding: 30px 20px 10px;
  }

  .location-globe-card__actions {
    width: 100%;
  }

  .location-globe-card .btn {
    flex: 1 1 150px;
  }

  .location-globe-card__visual {
    bottom: -42%;
  }

  .location-globe-card__pin {
    top: 23%;
    left: 57%;
  }

  .location-globe-card__city {
    top: calc(23% + 24px);
    left: calc(57% - 54px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .location-globe-card__sphere,
  .location-globe-card__sphere::before,
  .location-globe-card__sphere::after,
  .location-globe-card__orbit,
  .location-globe-card__pin {
    animation: none;
  }
}

/* Compact featured build configurations */
.featured-builds-redesign {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(56, 77, 128, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 77, 128, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 82% 12%, rgba(221, 64, 94, 0.1), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #f8f5ed 100%);
  background-size: 76px 76px, 76px 76px, auto, auto;
}

.featured-builds-redesign__header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.52fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(26px, 4vw, 46px);
}

.featured-builds-redesign__header .section-title {
  max-width: 720px;
  margin-top: 12px;
  text-align: left;
  font-size: clamp(1.75rem, 3vw, 3rem);
}

.featured-builds-redesign__header p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.7;
}

.featured-builds-redesign__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.config-card,
.config-strip {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(56, 77, 128, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 48px rgba(21, 26, 36, 0.07);
  backdrop-filter: blur(18px);
}

.config-card {
  min-height: 340px;
}

.config-card--intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(circle at 22% 22%, rgba(221, 64, 94, 0.16), transparent 26%),
    linear-gradient(145deg, var(--color-dark-section) 0%, #151a24 100%);
  color: #ffffff;
}

.config-card--intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(248, 238, 211, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 238, 211, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
}

.config-card--intro h3,
.config-card--intro p,
.config-card--intro .btn,
.config-card--intro .config-card__index {
  position: relative;
  z-index: 1;
}

.config-card--intro h3 {
  max-width: 260px;
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

.config-card--intro p {
  max-width: 290px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.65;
}

.config-card--intro .btn {
  width: fit-content;
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.86rem;
}

.config-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: auto;
  border-radius: 50%;
  background: rgba(248, 238, 211, 0.1);
  color: var(--color-accent-light);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: var(--fw-bold);
}

.config-card--feature {
  display: grid;
  grid-template-rows: minmax(180px, 0.9fr) auto;
}

.config-card__media {
  position: relative;
  min-height: 210px;
  background:
    linear-gradient(180deg, rgba(9, 11, 17, 0.04), rgba(9, 11, 17, 0.34)),
    url("https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=1200&q=82") center / cover;
}

.config-card--workstation .config-card__media {
  background:
    linear-gradient(180deg, rgba(9, 11, 17, 0.02), rgba(9, 11, 17, 0.35)),
    url("https://images.unsplash.com/photo-1593640408182-31c70c8268f5?auto=format&fit=crop&w=1200&q=82") center / cover;
}

.config-card__media::after {
  content: "";
  position: absolute;
  inset: auto 18px -20px auto;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), transparent 18%),
    linear-gradient(145deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 18px 42px rgba(56, 77, 128, 0.22);
  transform: rotate(-8deg);
}

.config-card__body {
  position: relative;
  padding: 26px;
  background: rgba(255, 255, 255, 0.88);
}

.config-card__body .config-card__index {
  position: absolute;
  top: -52px;
  left: 22px;
  margin: 0;
  background: rgba(9, 11, 17, 0.72);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.config-card__tag {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid rgba(56, 77, 128, 0.12);
  border-radius: 999px;
  background: var(--color-ivory);
  color: var(--color-primary);
  font-size: 0.74rem;
  font-weight: var(--fw-bold);
}

.config-card__body h3 {
  margin: 16px 0 8px;
  color: var(--color-text);
  font-size: clamp(1.12rem, 1.5vw, 1.35rem);
  line-height: 1.14;
}

.config-card__body p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.config-card__body a {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--color-accent);
  font-size: 0.86rem;
  font-weight: var(--fw-bold);
  text-decoration: none;
}

.config-card__body a::after {
  content: "->";
  margin-left: 8px;
}

.config-strip {
  grid-column: span 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 104px;
  padding: 18px 20px;
}

.config-strip span {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: var(--fw-bold);
}

.config-strip h3 {
  margin: 0 0 4px;
  color: var(--color-text);
  font-size: 1rem;
}

.config-strip p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.config-strip strong {
  max-width: 150px;
  color: var(--color-primary);
  font-size: 0.86rem;
  line-height: 1.35;
  text-align: right;
}

@media (min-width: 1024px) {
  .config-card--intro {
    grid-row: span 2;
  }

  .config-strip {
    grid-column: span 2;
  }
}

@media (max-width: 1023px) {
  .featured-builds-redesign__header,
  .featured-builds-redesign__grid {
    grid-template-columns: 1fr;
  }

  .featured-builds-redesign__header .section-title,
  .featured-builds-redesign__header p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .config-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .featured-builds-redesign {
    background-size: 46px 46px, 46px 46px, auto, auto;
  }

  .featured-builds-redesign__header {
    margin-bottom: 22px;
  }

  .config-card--feature {
    grid-template-rows: 170px auto;
  }

  .config-card__media {
    min-height: 170px;
  }

  .config-card__body {
    padding: 20px;
  }

  .config-strip {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 16px;
  }

  .config-strip strong {
    grid-column: 2;
    max-width: none;
    text-align: left;
  }
}

/* Reference-style custom build quote section */
.quote-collab {
  overflow: hidden;
  padding-top: clamp(34px, 4vw, 58px);
  padding-bottom: clamp(34px, 4vw, 58px);
  background: #f7f3e7;
}

.quote-collab__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.76fr);
  gap: clamp(28px, 4vw, 58px);
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(248, 238, 211, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(56, 77, 128, 0.3), transparent 34%),
    linear-gradient(145deg, #07080b 0%, #10131a 72%);
  background-size: 78px 78px, 78px 78px, auto, auto;
  box-shadow: 0 28px 80px rgba(9, 11, 17, 0.22);
  padding: clamp(20px, 2.8vw, 36px);
}

.quote-collab__panel::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 50%;
  width: clamp(84px, 10vw, 140px);
  aspect-ratio: 1;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(221, 64, 94, 0.92), rgba(56, 77, 128, 0.8)),
    url("../assets/dr-desktop-mark.png") center / 64% no-repeat;
  box-shadow: 0 34px 80px rgba(221, 64, 94, 0.2);
  opacity: 0.88;
  transform: translateX(-50%) rotate(-10deg);
}

.quote-collab__copy,
.quote-collab__form-card {
  position: relative;
  z-index: 1;
}

.quote-collab__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
}

.quote-collab__eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 7px 15px;
  border: 1px solid rgba(248, 238, 211, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quote-collab__eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 24px rgba(221, 64, 94, 0.82);
}

.quote-collab__copy h2 {
  max-width: 520px;
  margin: 18px 0 0;
  color: #f5f5f2;
  font-size: clamp(1.85rem, 3.4vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
}

.quote-collab__copy p {
  max-width: 460px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
  line-height: 1.55;
}

.quote-collab__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.quote-collab__actions .btn {
  min-height: 44px;
  border-radius: 0;
  background: var(--color-accent);
  box-shadow: none;
}

.quote-collab__call {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #ffffff;
  color: #0c0e13;
  font-weight: var(--fw-bold);
  text-decoration: none;
}

.quote-collab__form-card {
  align-self: end;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.quote-form {
  gap: 12px;
}

.quote-form .form-row {
  gap: 14px;
}

.quote-form .form-label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
}

.quote-form .form-input,
.quote-form .form-select,
.quote-form .form-textarea {
  min-height: 42px;
  border-color: rgba(255, 255, 255, 0.15);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.84rem;
}

.quote-form .form-select option {
  color: #151a24;
}

.quote-form .form-input::placeholder,
.quote-form .form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.quote-form .form-input:focus,
.quote-form .form-select:focus,
.quote-form .form-textarea:focus {
  border-color: rgba(221, 64, 94, 0.8);
  box-shadow: 0 0 0 4px rgba(221, 64, 94, 0.12);
}

.quote-form .form-textarea {
  min-height: 92px;
}

.quote-form #contact-submit {
  width: 100%;
  margin-top: 4px;
  border-radius: 0;
  background: var(--color-accent);
}

.quote-form .text-center {
  display: none;
}

.quote-collab__form-card .form-success {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
}

@media (max-width: 980px) {
  .quote-collab__panel {
    grid-template-columns: 1fr;
  }

  .quote-collab__panel::before {
    top: 22px;
    right: 24px;
    left: auto;
    width: 112px;
    transform: rotate(-10deg);
  }

  .quote-collab__copy {
    min-height: 220px;
    justify-content: flex-end;
  }

  .quote-collab__form-card {
    align-self: stretch;
  }
}

@media (max-width: 640px) {
  .quote-collab__panel {
    min-height: auto;
    padding: 24px;
    border-radius: 24px;
    background-size: 48px 48px, 48px 48px, auto, auto;
  }

  .quote-collab__copy {
    min-height: 190px;
  }

  .quote-collab__copy h2 {
    margin-top: 48px;
    font-size: clamp(1.75rem, 8vw, 2.45rem);
    line-height: 1.12;
  }

  .quote-collab__actions .btn,
  .quote-collab__call {
    width: 100%;
    justify-content: center;
  }
}

/* Dark reference-inspired build lab section */
.build-lab {
  overflow: hidden;
  background: #f7f3e7;
  padding-top: clamp(38px, 5vw, 76px);
  padding-bottom: clamp(38px, 5vw, 76px);
}

.build-lab__panel {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.065) 1px, transparent 1px),
    radial-gradient(circle at 72% 0%, rgba(221, 64, 94, 0.16), transparent 30%),
    linear-gradient(145deg, #07080b 0%, #10131a 100%);
  background-size: 74px 74px, 74px 74px, auto, auto;
  color: #ffffff;
  padding: clamp(28px, 5vw, 62px);
  box-shadow: 0 28px 80px rgba(9, 11, 17, 0.2);
}

.build-lab__panel::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 50%;
  width: clamp(86px, 10vw, 140px);
  aspect-ratio: 1;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(221, 64, 94, 0.95), rgba(56, 77, 128, 0.92)),
    url("../assets/dr-desktop-mark.png") center / 64% no-repeat;
  box-shadow: 0 22px 54px rgba(221, 64, 94, 0.25);
  opacity: 0.9;
  transform: translateX(-50%) rotate(-8deg);
}

.build-lab__hero {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding-top: clamp(64px, 7vw, 104px);
  text-align: center;
}

.build-lab__kicker {
  color: var(--color-accent-light);
  font-size: 0.88rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.build-lab__hero h2 {
  max-width: 780px;
  margin: 18px auto 0;
  color: #f5f5f2;
  font-size: clamp(2.15rem, 5.2vw, 4.85rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.build-lab__hero p {
  max-width: 620px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(0.82rem, 0.98vw, 0.94rem);
  line-height: 1.6;
}

.build-lab__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.build-lab__actions .btn {
  min-height: 52px;
  border-radius: 0;
  background: var(--color-accent);
  box-shadow: none;
}

.build-lab__link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #ffffff;
  color: #090b11;
  font-weight: var(--fw-bold);
  text-decoration: none;
}

.build-lab__marquee {
  position: relative;
  z-index: 3;
  display: flex;
  width: calc(100% + 160px);
  justify-content: space-around;
  gap: 0;
  margin: clamp(24px, 4vw, 48px) -80px clamp(24px, 3vw, 36px);
  padding: 13px 44px;
  background: var(--color-accent);
  color: #ffffff;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-2deg);
}

.build-lab__marquee span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 0 18px;
  font-size: clamp(0.78rem, 1.12vw, 0.96rem);
}

.build-lab__marquee span::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
}

.build-lab__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.build-lab-card {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(22px, 2.8vw, 34px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: #0c0e13;
}

.build-lab-card:last-child {
  border-right: 0;
}

.build-lab-card--light {
  background:
    repeating-linear-gradient(-45deg, rgba(56, 77, 128, 0.08) 0 2px, transparent 2px 8px),
    #f8f4ea;
  color: #11151e;
}

.build-lab-card--dark {
  background:
    radial-gradient(circle at 82% 18%, rgba(221, 64, 94, 0.22), transparent 32%),
    #08090d;
}

.build-lab-card--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 11, 17, 0.12), rgba(9, 11, 17, 0.84)),
    url("https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=1100&q=82") center / cover;
  transition: transform 420ms ease;
}

.build-lab-card--entry::before {
  background:
    linear-gradient(180deg, rgba(9, 11, 17, 0.12), rgba(9, 11, 17, 0.86)),
    url("https://images.unsplash.com/photo-1593640495253-23196b27a87f?auto=format&fit=crop&w=1100&q=82") center / cover;
}

.build-lab-card--studio::before {
  background:
    linear-gradient(180deg, rgba(9, 11, 17, 0.1), rgba(9, 11, 17, 0.86)),
    url("https://images.unsplash.com/photo-1593640408182-31c70c8268f5?auto=format&fit=crop&w=1100&q=82") center / cover;
}

.build-lab-card:hover::before {
  transform: scale(1.05);
}

.build-lab-card__num,
.build-lab-card__type,
.build-lab-card h3,
.build-lab-card p,
.build-lab-card a {
  position: relative;
  z-index: 1;
}

.build-lab-card__num {
  position: absolute;
  top: 22px;
  left: 22px;
  color: var(--color-accent-light);
  font-size: 0.86rem;
  font-weight: var(--fw-bold);
}

.build-lab-card__type {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  font-weight: var(--fw-bold);
}

.build-lab-card--light .build-lab-card__type {
  border-color: rgba(56, 77, 128, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-primary);
}

.build-lab-card h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  line-height: 1.02;
}

.build-lab-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.6;
}

.build-lab-card--light p {
  color: var(--color-text-muted);
}

.build-lab-card a {
  width: fit-content;
  margin-top: 22px;
  color: var(--color-accent-light);
  font-size: 0.86rem;
  font-weight: var(--fw-bold);
  text-decoration: none;
}

.build-lab-card a::after {
  content: " ->";
}

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

  .build-lab-card:nth-child(2) {
    border-right: 0;
  }

  .build-lab-card:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 640px) {
  .build-lab__panel {
    border-radius: 24px;
    padding: 22px;
    background-size: 46px 46px, 46px 46px, auto, auto;
  }

  .build-lab__panel::before {
    left: auto;
    right: 22px;
    width: 84px;
    transform: rotate(-8deg);
  }

  .build-lab__hero {
    padding-top: 104px;
    text-align: left;
  }

  .build-lab__hero h2 {
    font-size: clamp(2.45rem, 15vw, 4rem);
  }

  .build-lab__actions {
    justify-content: flex-start;
  }

  .build-lab__actions .btn,
  .build-lab__link {
    width: 100%;
  }

  .build-lab__marquee {
    margin-left: -30px;
    margin-right: -30px;
  }

  .build-lab__grid {
    grid-template-columns: 1fr;
  }

  .build-lab-card {
    min-height: 290px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .build-lab-card:last-child {
    border-bottom: 0;
  }
}

/* Final quote-section scale override: keep this compact and readable */
.quote-collab .quote-collab__copy h2 {
  max-width: 520px;
  font-size: clamp(1.85rem, 3.2vw, 3.35rem);
  line-height: 1.1;
  text-transform: none;
}

.quote-collab .quote-collab__copy {
  min-height: 250px;
}

.quote-collab .quote-collab__panel {
  min-height: 360px;
}

@media (max-width: 640px) {
  .quote-collab .quote-collab__copy h2 {
    font-size: clamp(1.7rem, 7.5vw, 2.35rem);
  }

  .quote-collab .quote-collab__copy {
    min-height: 180px;
  }
}

/* Compact reference-style custom build purpose section */
.build-purpose {
  overflow: hidden;
  background:
    linear-gradient(rgba(56, 77, 128, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 77, 128, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 14% 82%, rgba(248, 238, 211, 0.9), transparent 36%),
    #fffdf8;
  background-size: 56px 56px, 56px 56px, auto, auto;
  padding-block: clamp(56px, 7vw, 90px);
}

.build-purpose__header {
  max-width: 680px;
  margin: 0 auto clamp(28px, 4vw, 46px);
  text-align: center;
}

.build-purpose__header h2 {
  margin: 12px 0 0;
  color: var(--color-text);
  font-size: clamp(1.75rem, 2.8vw, 2.7rem);
  line-height: 1.08;
}

.build-purpose__header p {
  max-width: 560px;
  margin: 14px auto 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.build-purpose__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.purpose-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(56, 77, 128, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 251, 243, 0.78));
  box-shadow: 0 22px 54px rgba(56, 77, 128, 0.08);
}

.purpose-card--feature {
  min-height: 444px;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(9, 11, 17, 0.08), rgba(9, 11, 17, 0.92)),
    url("https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=1100&q=82") center / cover;
  box-shadow: 0 28px 70px rgba(9, 11, 17, 0.22);
}

.purpose-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 18%, rgba(221, 64, 94, 0.11), transparent 28%);
  pointer-events: none;
}

.purpose-card__num {
  position: absolute;
  right: 22px;
  bottom: -18px;
  color: rgba(56, 77, 128, 0.07);
  font-size: clamp(4rem, 8vw, 7.2rem);
  font-weight: 800;
  line-height: 0.9;
}

.purpose-card--feature .purpose-card__num {
  top: 24px;
  bottom: auto;
  left: 24px;
  right: auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
}

.purpose-card__tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(56, 77, 128, 0.14);
  border-radius: 999px;
  background: rgba(248, 238, 211, 0.72);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
}

.purpose-card--feature .purpose-card__tag {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.purpose-card h3,
.purpose-card p,
.purpose-card a {
  position: relative;
  z-index: 1;
}

.purpose-card h3 {
  max-width: 360px;
  margin: 0;
  color: inherit;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.2;
}

.purpose-card--feature h3 {
  max-width: 390px;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.04;
}

.purpose-card p {
  max-width: 420px;
  margin: 12px 0 0;
  color: var(--color-text-muted);
  font-size: 0.84rem;
  line-height: 1.62;
}

.purpose-card--feature p {
  color: rgba(255, 255, 255, 0.74);
}

.purpose-card a {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  color: var(--color-accent-light);
  font-size: 0.82rem;
  font-weight: var(--fw-bold);
  text-decoration: none;
}

.purpose-card a::after {
  content: " ->";
}

/* Final build lab scale and strip fix */
.build-lab__hero {
  padding-top: clamp(54px, 6vw, 84px);
}

.build-lab__hero h2 {
  max-width: 680px;
  font-size: clamp(1.9rem, 3.8vw, 3.6rem);
  line-height: 1.07;
  text-transform: none;
}

.build-lab__hero p {
  max-width: 560px;
  font-size: clamp(0.82rem, 0.95vw, 0.92rem);
}

.build-lab__marquee {
  width: calc(100% + 240px);
  margin-right: -120px;
  margin-left: -120px;
  padding-right: 90px;
  padding-left: 90px;
  justify-content: space-evenly;
  gap: clamp(18px, 3vw, 44px);
  overflow: hidden;
}

.build-lab__marquee span {
  min-width: max-content;
  flex: 1 0 auto;
  justify-content: center;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
}

.build-lab-card h3 {
  font-size: clamp(1.1rem, 1.65vw, 1.55rem);
  line-height: 1.12;
}

@media (max-width: 980px) {
  .build-purpose__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .purpose-card--feature {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .build-purpose {
    padding-block: 44px;
    background-size: 42px 42px, 42px 42px, auto, auto;
  }

  .build-purpose__header {
    text-align: left;
  }

  .build-purpose__header h2 {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }

  .build-purpose__grid {
    grid-template-columns: 1fr;
  }

  .purpose-card,
  .purpose-card--feature {
    min-height: 230px;
    border-radius: 22px;
  }

  .purpose-card--feature h3 {
    font-size: clamp(1.3rem, 8vw, 1.8rem);
  }

  .build-lab__hero {
    padding-top: 72px;
  }

  .build-lab__hero h2 {
    font-size: clamp(1.8rem, 10vw, 2.7rem);
  }

  .build-lab__marquee {
    width: calc(100% + 72px);
    margin-right: -36px;
    margin-left: -36px;
    padding-right: 28px;
    padding-left: 28px;
  }
}

/* Dark compact advantages section inspired by reference cards */
.custom-advantages {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 10% 12%, rgba(221, 64, 94, 0.14), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(56, 77, 128, 0.18), transparent 34%),
    #111216;
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
  color: #fff;
  padding-block: clamp(58px, 7vw, 92px);
}

.custom-advantages::before,
.custom-advantages::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(221, 64, 94, 0.75), transparent);
  pointer-events: none;
}

.custom-advantages::before {
  top: 86px;
  left: 0;
}

.custom-advantages::after {
  top: 86px;
  right: 0;
}

.custom-advantages__header {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto clamp(30px, 5vw, 58px);
  text-align: center;
}

.custom-advantages__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
}

.custom-advantages__pill svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent-light);
}

.custom-advantages__header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.custom-advantages__header p {
  max-width: 500px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.62;
}

.custom-advantages__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  max-width: 1120px;
  margin: 0 auto;
}

.custom-advantages__grid .card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 18%, rgba(221, 64, 94, 0.12), transparent 24%),
    rgba(255, 255, 255, 0.025);
  box-shadow: none;
}

.custom-advantages__grid .card::before {
  content: "";
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: clamp(42px, 5vw, 68px);
  border: 2px solid var(--color-accent-light);
  border-radius: 12px;
  background:
    linear-gradient(var(--color-accent-light), var(--color-accent-light)) center / 18px 2px no-repeat,
    linear-gradient(90deg, var(--color-accent-light), var(--color-accent-light)) center / 2px 18px no-repeat;
  opacity: 0.95;
}

.custom-advantages__grid .card:nth-child(2)::before {
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 42%, var(--color-accent-light) 44% 52%, transparent 54%),
    conic-gradient(from 60deg, var(--color-accent-light), transparent 32%, var(--color-accent-light));
}

.custom-advantages__grid .card:nth-child(3)::before {
  border-radius: 10px;
  background:
    linear-gradient(var(--color-accent-light), var(--color-accent-light)) 50% 30% / 24px 2px no-repeat,
    linear-gradient(var(--color-accent-light), var(--color-accent-light)) 50% 50% / 24px 2px no-repeat,
    linear-gradient(var(--color-accent-light), var(--color-accent-light)) 50% 70% / 24px 2px no-repeat;
}

.custom-advantages__grid .card:nth-child(4)::before {
  border-radius: 50% 50% 44% 44%;
}

.custom-advantages__grid .card:nth-child(5)::before {
  border-radius: 8px;
  background:
    linear-gradient(var(--color-accent-light), var(--color-accent-light)) 50% 62% / 24px 2px no-repeat,
    linear-gradient(90deg, var(--color-accent-light), var(--color-accent-light)) 50% 42% / 2px 20px no-repeat;
}

.custom-advantages__grid .card:nth-child(6)::before {
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, var(--color-accent-light) 0 4px, transparent 5px),
    linear-gradient(var(--color-accent-light), var(--color-accent-light)) 50% 68% / 22px 2px no-repeat;
}

.custom-advantages__grid .card__title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1rem, 1.35vw, 1.16rem) !important;
  line-height: 1.18;
}

.custom-advantages__grid .card__text {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
  line-height: 1.58;
}

@media (max-width: 980px) {
  .custom-advantages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .custom-advantages {
    padding-block: 44px;
    background-size: 48px 48px, 48px 48px, auto, auto, auto;
  }

  .custom-advantages::before,
  .custom-advantages::after {
    width: 86px;
  }

  .custom-advantages__header {
    text-align: left;
  }

  .custom-advantages__header h2 {
    font-size: clamp(1.5rem, 8vw, 2.1rem);
  }

  .custom-advantages__header p {
    margin-left: 0;
  }

  .custom-advantages__grid {
    grid-template-columns: 1fr;
  }

  .custom-advantages__grid .card {
    min-height: 190px;
    border-radius: 16px;
  }

  .custom-advantages__grid .card::before {
    margin-bottom: 34px;
  }
}

/* Compact component guide panel */
.component-panel-section {
  background:
    linear-gradient(rgba(56, 77, 128, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 77, 128, 0.04) 1px, transparent 1px),
    #fffdf8;
  background-size: 56px 56px, 56px 56px, auto;
  padding-block: clamp(54px, 7vw, 88px);
}

.component-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1fr);
  gap: clamp(26px, 5vw, 74px);
  align-items: start;
  overflow: hidden;
  padding: clamp(30px, 4.5vw, 56px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.28), transparent 20%),
    radial-gradient(circle at 80% 78%, rgba(56, 77, 128, 0.18), transparent 32%),
    linear-gradient(135deg, #dd405e, #ef6a3a);
  box-shadow: 0 26px 74px rgba(221, 64, 94, 0.18);
  color: #fff;
}

.component-panel__intro {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(30px, 7vw, 120px);
}

.component-panel__eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
}

.component-panel__intro h2 {
  max-width: 460px;
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(1.85rem, 3.6vw, 3.35rem);
  line-height: 1.08;
}

.component-panel__intro p {
  max-width: 420px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.65;
}

.component-panel__button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 14px;
  background: #fff;
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: var(--fw-bold);
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(9, 11, 17, 0.14);
}

.component-panel__button::after {
  content: " ->";
  margin-left: 8px;
}

.component-panel__cards {
  display: grid;
  gap: 12px;
}

.component-mini-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 6px;
  align-items: start;
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid rgba(56, 77, 128, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-text);
  box-shadow: 0 18px 42px rgba(9, 11, 17, 0.08);
}

.component-mini-card__mark {
  grid-row: span 2;
  display: inline-flex;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(221, 64, 94, 0.1);
  color: var(--color-accent-light);
  font-size: 0.72rem;
  font-weight: 800;
}

.component-mini-card h3 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.18;
}

.component-mini-card p {
  max-width: 420px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.58;
}

@media (max-width: 980px) {
  .component-panel {
    grid-template-columns: 1fr;
  }

  .component-panel__intro {
    gap: 26px;
  }

  .component-panel__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .component-panel-section {
    padding-block: 42px;
    background-size: 42px 42px, 42px 42px, auto;
  }

  .component-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .component-panel__intro h2 {
    font-size: clamp(1.55rem, 8vw, 2.25rem);
  }

  .component-panel__button {
    width: 100%;
  }

  .component-panel__cards {
    grid-template-columns: 1fr;
  }
}

/* Compact build tiers redesign */
.build-tier-showcase {
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(221, 64, 94, 0.12), transparent 30%),
    #34363b;
  background-size: 64px 64px, 64px 64px, auto, auto;
  color: #fff;
  padding-block: clamp(58px, 7vw, 92px);
}

.build-tier-showcase__header {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.build-tier-showcase__header .section-eyebrow {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.build-tier-showcase__header .section-title {
  max-width: 620px;
  margin: 12px auto 0;
  color: #fff;
  font-size: clamp(1.85rem, 3.2vw, 3.1rem);
  line-height: 1.08;
}

.build-tier-showcase__header .section-subtitle {
  max-width: 500px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  line-height: 1.62;
}

.build-tier-showcase__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(16px, 2vw, 24px) !important;
  align-items: start;
}

.build-tier-showcase .build-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 250, 0.94));
  box-shadow: 0 22px 60px rgba(9, 11, 17, 0.16);
}

.build-tier-showcase .build-card:nth-child(2),
.build-tier-showcase .build-card:nth-child(4) {
  transform: translateY(28px);
}

.build-tier-showcase .build-card__image {
  height: clamp(180px, 18vw, 250px);
  margin: clamp(16px, 1.8vw, 22px);
  overflow: hidden;
  border-radius: 18px;
  background: #151820;
}

.build-tier-showcase .build-card__badge {
  top: 14px !important;
  right: 14px !important;
  padding: 7px 12px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--color-text) !important;
  font-size: 0.72rem !important;
}

.build-tier-showcase .build-card__body {
  padding: 0 clamp(20px, 2vw, 28px) clamp(18px, 2vw, 24px);
}

.build-tier-showcase .build-card__title {
  max-width: 300px;
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  line-height: 1.15;
}

.build-tier-showcase .build-card__usecase {
  margin-bottom: 16px !important;
  font-size: 0.82rem !important;
}

.build-tier-showcase .build-card__specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px !important;
  margin-bottom: 12px !important;
}

.build-tier-showcase .build-card__spec-item {
  display: block !important;
  padding-bottom: 10px !important;
}

.build-tier-showcase .spec-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(56, 77, 128, 0.58);
  font-size: 0.72rem !important;
}

.build-tier-showcase .spec-value {
  display: block;
  color: var(--color-text);
  font-size: 0.82rem !important;
  line-height: 1.35;
}

.build-tier-showcase .build-card__body > p:last-child {
  color: var(--color-text-muted) !important;
  font-size: 0.76rem !important;
  line-height: 1.45;
}

.build-tier-showcase .build-card__footer {
  padding: 16px clamp(20px, 2vw, 28px) clamp(20px, 2vw, 28px);
  border-top: 1px solid rgba(56, 77, 128, 0.08);
}

.build-tier-showcase .build-card__footer span {
  font-size: 0.84rem;
}

.build-tier-showcase .build-card__footer .btn {
  padding: 9px 13px;
  font-size: 0.76rem;
}

@media (max-width: 1120px) {
  .build-tier-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .build-tier-showcase .build-card:nth-child(2),
  .build-tier-showcase .build-card:nth-child(4) {
    transform: none;
  }
}

@media (max-width: 640px) {
  .build-tier-showcase {
    padding-block: 44px;
    background-size: 46px 46px, 46px 46px, auto, auto;
  }

  .build-tier-showcase__header {
    text-align: left;
  }

  .build-tier-showcase__header .section-title {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .build-tier-showcase__header .section-subtitle {
    margin-left: 0;
  }

  .build-tier-showcase__grid {
    grid-template-columns: 1fr !important;
  }

  .build-tier-showcase .build-card {
    border-radius: 22px;
  }

  .build-tier-showcase .build-card__image {
    height: 190px;
    margin: 14px;
    border-radius: 16px;
  }

  .build-tier-showcase .build-card__footer {
    align-items: stretch;
  }
}

/* Custom build tiles: compact mobile cards */
@media (max-width: 640px) {
  .build-tier-showcase {
    padding-block: 34px 82px !important;
  }

  .build-tier-showcase .container {
    width: min(100% - 28px, 430px) !important;
  }

  .build-tier-showcase__grid {
    gap: 16px !important;
    margin-top: 22px !important;
  }

  .build-tier-showcase .build-card {
    width: 100%;
    max-width: 380px;
    margin-inline: auto;
    border-radius: 22px !important;
    box-shadow: 0 16px 34px rgba(9, 11, 17, 0.13) !important;
  }

  .build-tier-showcase .build-card__image {
    height: 158px !important;
    margin: 12px !important;
    border-radius: 16px !important;
  }

  .build-tier-showcase .build-card__badge {
    top: 10px !important;
    right: 10px !important;
    padding: 6px 10px !important;
    font-size: 0.66rem !important;
  }

  .build-tier-showcase .build-card__body {
    padding: 0 18px 14px !important;
  }

  .build-tier-showcase .build-card__title {
    max-width: none !important;
    font-size: 1.02rem !important;
    line-height: 1.18 !important;
  }

  .build-tier-showcase .build-card__usecase {
    margin-bottom: 12px !important;
    font-size: 0.76rem !important;
    line-height: 1.3 !important;
  }

  .build-tier-showcase .build-card__specs {
    gap: 8px 12px !important;
    margin-bottom: 9px !important;
  }

  .build-tier-showcase .build-card__spec-item {
    padding-bottom: 7px !important;
  }

  .build-tier-showcase .spec-label {
    margin-bottom: 4px !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.12em !important;
  }

  .build-tier-showcase .spec-value {
    font-size: 0.74rem !important;
    line-height: 1.28 !important;
  }

  .build-tier-showcase .build-card__body > p:last-child {
    font-size: 0.68rem !important;
    line-height: 1.35 !important;
  }

  .build-tier-showcase .build-card__footer {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    padding: 12px 18px 16px !important;
  }

  .build-tier-showcase .build-card__footer span {
    font-size: 0.74rem !important;
  }

  .build-tier-showcase .build-card__footer .btn {
    min-height: 38px !important;
    padding: 9px 12px !important;
    font-size: 0.72rem !important;
  }
}

@media (max-width: 380px) {
  .build-tier-showcase .container {
    width: min(100% - 22px, 360px) !important;
  }

  .build-tier-showcase .build-card {
    max-width: 326px;
  }

  .build-tier-showcase .build-card__image {
    height: 132px !important;
    margin: 10px !important;
  }

  .build-tier-showcase .build-card__body {
    padding-inline: 14px !important;
  }

  .build-tier-showcase .build-card__specs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Services page image-led service cards */
.services-showcase {
  background:
    linear-gradient(rgba(56, 77, 128, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 77, 128, 0.035) 1px, transparent 1px),
    #f8f5ee;
  background-size: 58px 58px, 58px 58px, auto;
  padding-block: clamp(58px, 7vw, 92px);
}

.services-showcase__header {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 0.75fr);
  gap: clamp(24px, 7vw, 120px);
  align-items: end;
  max-width: 1180px;
  margin-inline: auto;
  text-align: left;
}

.services-showcase__header .section-title {
  max-width: 460px;
  margin-top: 12px;
  color: var(--color-text);
  font-size: clamp(1.75rem, 3.2vw, 3.2rem);
  line-height: 1.04;
}

.services-showcase__intro {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.services-showcase__intro p {
  max-width: 470px;
  margin: 0;
  color: var(--color-text);
  font-size: 0.88rem;
  line-height: 1.55;
}

.services-showcase__intro a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--color-accent-light);
  color: #fff;
  font-size: 0.84rem;
  font-weight: var(--fw-bold);
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(221, 64, 94, 0.18);
}

.services-showcase__intro a::after {
  content: "->";
}

.services-showcase__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(16px, 2.2vw, 24px) !important;
  max-width: 1180px;
  margin-inline: auto;
}

.services-showcase .service-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 0 !important;
  border: 1px solid rgba(56, 77, 128, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(56, 77, 128, 0.08);
}

.services-showcase .service-card::before {
  content: "";
  display: block;
  height: clamp(180px, 18vw, 250px);
  background:
    linear-gradient(180deg, rgba(9, 11, 17, 0.04), rgba(9, 11, 17, 0.16)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=900&q=82") center / cover;
}

.services-showcase .service-card:nth-child(2)::before {
  background:
    linear-gradient(180deg, rgba(9, 11, 17, 0.04), rgba(9, 11, 17, 0.16)),
    url("https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?auto=format&fit=crop&w=900&q=82") center / cover;
}

.services-showcase .service-card:nth-child(3)::before {
  background:
    linear-gradient(180deg, rgba(9, 11, 17, 0.04), rgba(9, 11, 17, 0.16)),
    url("https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=900&q=82") center / cover;
}

.services-showcase .service-card:nth-child(4)::before {
  background:
    linear-gradient(180deg, rgba(9, 11, 17, 0.04), rgba(9, 11, 17, 0.16)),
    url("https://images.unsplash.com/photo-1593640408182-31c70c8268f5?auto=format&fit=crop&w=900&q=82") center / cover;
}

.services-showcase .service-card:nth-child(5)::before {
  background:
    linear-gradient(180deg, rgba(9, 11, 17, 0.04), rgba(9, 11, 17, 0.16)),
    url("https://images.unsplash.com/photo-1527443224154-c4a3942d3acf?auto=format&fit=crop&w=900&q=82") center / cover;
}

.services-showcase .service-card:nth-child(6)::before {
  background:
    linear-gradient(180deg, rgba(9, 11, 17, 0.04), rgba(9, 11, 17, 0.16)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=82") center / cover;
}

.services-showcase .card__icon,
.services-showcase .service-card__bullets {
  display: none !important;
}

.services-showcase .service-card .card__title,
.services-showcase .service-card .card__text,
.services-showcase .service-card .card__cta {
  margin-right: clamp(18px, 2vw, 28px);
  margin-left: clamp(18px, 2vw, 28px);
}

.services-showcase .service-card .card__title {
  margin-top: clamp(22px, 2.8vw, 34px);
  margin-bottom: 12px;
  color: var(--color-text);
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  line-height: 1.12;
}

.services-showcase .service-card .card__title::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin-bottom: 22px;
  background: rgba(9, 11, 17, 0.38);
}

.services-showcase .service-card .card__text {
  margin-bottom: clamp(44px, 5vw, 78px) !important;
  color: var(--color-text-muted);
  font-size: 0.84rem;
  line-height: 1.56;
}

.services-showcase .service-card .card__cta {
  margin-bottom: 26px;
  color: var(--color-text) !important;
  font-size: 0.84rem;
}

.services-showcase .service-card .card__cta::before {
  content: "->";
  margin-right: 10px;
  color: var(--color-text);
  font-size: 1.2rem;
  line-height: 1;
}

.services-showcase .service-card .card__cta svg {
  display: none;
}

@media (max-width: 1020px) {
  .services-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .services-showcase__header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .services-showcase__grid {
    grid-template-columns: 1fr !important;
  }

  .services-showcase .service-card::before {
    height: 190px;
  }
}

@media (max-width: 640px) {
  .services-showcase {
    padding-block: 42px;
    background-size: 42px 42px, 42px 42px, auto;
  }

  .services-showcase__header .section-title {
    font-size: clamp(1.55rem, 8vw, 2.25rem);
  }

  .services-showcase__intro a {
    width: 100%;
  }
}

/* Services hero - split editorial layout */
.services-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(54px, 8vw, 98px);
  background:
    radial-gradient(circle at 82% 16%, rgba(221, 64, 94, 0.12), transparent 28%),
    linear-gradient(rgba(56, 77, 128, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 77, 128, 0.035) 1px, transparent 1px),
    #fffdf8;
  background-size: auto, 58px 58px, 58px 58px, auto;
}

.services-hero__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(340px, 1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
}

.services-hero__copy {
  max-width: 560px;
}

.services-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid rgba(56, 77, 128, 0.14);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(56, 77, 128, 0.08);
}

.services-hero__label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-accent-light);
}

.services-hero__copy h1 {
  margin: 22px 0 0;
  color: var(--color-text);
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.05;
}

.services-hero__text {
  margin: 20px 0 0;
  max-width: 500px;
  color: var(--color-text-muted);
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
  line-height: 1.65;
}

.services-hero .page-hero__text {
  display: none;
}

.services-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.services-hero__actions .btn,
.services-hero__call {
  min-height: 48px;
  padding: 13px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
}

.services-hero__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(56, 77, 128, 0.16);
  background: #fff;
  color: var(--color-text);
  font-weight: var(--fw-bold);
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(56, 77, 128, 0.08);
}

.services-hero__media {
  min-height: clamp(320px, 38vw, 530px);
  border-radius: 34px;
  border: 1px solid rgba(56, 77, 128, 0.11);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.24)),
    linear-gradient(180deg, rgba(9, 11, 17, 0.08), rgba(9, 11, 17, 0.16)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1400&q=82") center / cover;
  box-shadow: 0 30px 70px rgba(56, 77, 128, 0.16);
}

.services-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(34px, 5vw, 66px);
}

.services-hero__stats div {
  padding: 22px 18px;
  border: 1px solid rgba(56, 77, 128, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
  box-shadow: 0 18px 40px rgba(56, 77, 128, 0.08);
}

.services-hero__stats strong {
  display: block;
  color: var(--color-primary);
  font-size: clamp(1.45rem, 2.6vw, 2.7rem);
  line-height: 1;
}

.services-hero__stats span {
  display: block;
  margin-top: 8px;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

@media (max-width: 940px) {
  .services-hero__layout {
    grid-template-columns: 1fr;
  }

  .services-hero__copy {
    max-width: 680px;
  }

  .services-hero__media {
    min-height: 340px;
  }
}

@media (max-width: 680px) {
  .services-hero {
    padding-block: 38px 48px;
    background-size: auto, 42px 42px, 42px 42px, auto;
  }

  .services-hero__copy h1 {
    font-size: clamp(1.8rem, 10vw, 2.55rem);
  }

  .services-hero__actions {
    flex-direction: column;
  }

  .services-hero__actions .btn,
  .services-hero__call {
    width: 100%;
  }

  .services-hero__media {
    min-height: 260px;
    border-radius: 24px;
  }

  .services-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .services-hero__stats div {
    padding: 18px 12px;
    border-radius: 18px;
  }
}

/* Gallery page compact editorial hero */
.gallery-hero {
  position: relative;
  min-height: auto;
  margin-top: clamp(14px, 2vw, 26px);
  padding-block: clamp(76px, 8vw, 118px) clamp(46px, 6vw, 76px);
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 20%, rgba(221, 64, 94, 0.13), transparent 26%),
    linear-gradient(rgba(56, 77, 128, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 77, 128, 0.04) 1px, transparent 1px),
    #fbfaf7;
  background-size: auto, 58px 58px, 58px 58px, auto;
}

.gallery-hero::before {
  content: "";
  position: absolute;
  inset: auto -6% -48% 42%;
  height: 80%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(56, 77, 128, 0.12), transparent 62%);
}

.gallery-hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(300px, 0.72fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}

.gallery-hero__copy {
  max-width: 620px;
  text-align: left;
}

.gallery-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid rgba(56, 77, 128, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 32px rgba(56, 77, 128, 0.08);
}

.gallery-hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-accent);
}

.gallery-hero .page-hero__title {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--color-text);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.06;
  text-align: left;
}

.gallery-hero .page-hero__text {
  max-width: 540px;
  margin: 18px 0 0;
  color: var(--color-text-muted);
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 1.68;
  text-align: left;
}

.gallery-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.gallery-hero__actions .btn {
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
}

.gallery-hero__link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(56, 77, 128, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: var(--fw-bold);
  text-decoration: none;
}

.gallery-hero__link::after {
  content: "->";
  margin-left: 9px;
  color: var(--color-accent);
}

.gallery-hero__feature {
  position: relative;
  overflow: hidden;
  min-height: clamp(300px, 34vw, 440px);
  border: 1px solid rgba(21, 26, 36, 0.12);
  border-radius: 34px;
  background: #11141c;
  box-shadow: 0 28px 70px rgba(21, 26, 36, 0.18);
}

.gallery-hero__feature-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 11, 17, 0.02) 28%, rgba(9, 11, 17, 0.82) 100%),
    url("https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=1200&q=84") center / cover;
  transition: transform var(--transition-smooth);
}

.gallery-hero__feature:hover .gallery-hero__feature-image {
  transform: scale(1.04);
}

.gallery-hero__feature-content {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
}

.gallery-hero__feature-content span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.74rem;
  font-weight: var(--fw-semibold);
  backdrop-filter: blur(10px);
}

.gallery-hero__feature-content strong {
  max-width: 230px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  line-height: 1.12;
  text-align: right;
}

.gallery-hero__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
}

.gallery-hero__stats span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 16px;
  border: 1px solid rgba(56, 77, 128, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-text-muted);
  font-size: 0.82rem;
  box-shadow: 0 12px 28px rgba(56, 77, 128, 0.06);
}

.gallery-hero__stats strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(221, 64, 94, 0.1);
  color: var(--color-accent);
  font-size: 0.84rem;
}

.gallery-page-section {
  padding-top: clamp(34px, 4vw, 54px);
}

.gallery-page-section .filter-tabs {
  justify-content: flex-start;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto clamp(22px, 3vw, 34px);
  padding: 6px;
  border: 1px solid rgba(56, 77, 128, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(56, 77, 128, 0.06);
}

.gallery-page-section .filter-tab {
  min-height: 36px;
  padding: 8px 16px;
  border: 0;
  font-size: 0.82rem;
}

.gallery-page-section .filter-tab.active {
  background: var(--color-text);
  color: #fff;
}

.gallery-page-section #gallery-grid {
  margin-top: 0 !important;
}

@media (max-width: 900px) {
  .gallery-hero__layout {
    grid-template-columns: 1fr;
  }

  .gallery-hero__copy,
  .gallery-hero .page-hero__title,
  .gallery-hero .page-hero__text {
    max-width: 680px;
  }

  .gallery-hero__feature {
    min-height: 330px;
  }

  .gallery-hero__stats {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .gallery-hero {
    margin-top: 0;
    padding-block: 96px 40px;
    background-size: auto, 42px 42px, 42px 42px, auto;
  }

  .gallery-hero .page-hero__title {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }

  .gallery-hero__actions,
  .gallery-hero__actions .btn,
  .gallery-hero__link {
    width: 100%;
  }

  .gallery-hero__feature {
    min-height: 260px;
    border-radius: 24px;
  }

  .gallery-hero__feature-content {
    display: grid;
    justify-items: start;
  }

  .gallery-hero__feature-content strong {
    text-align: left;
  }

  .gallery-hero__stats {
    grid-template-columns: 1fr;
  }

  .gallery-page-section .filter-tabs {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .gallery-page-section .filter-tab {
    flex: 0 0 auto;
  }
}

/* Contact page compact smooth layout */
.contact-hero {
  min-height: clamp(330px, 38vw, 430px);
  margin-top: clamp(14px, 2vw, 24px);
  padding-top: clamp(108px, 10vw, 138px);
  padding-bottom: clamp(58px, 7vw, 92px);
}

.contact-hero .container {
  max-width: 880px;
  text-align: center;
}

.contact-hero .page-hero__title {
  font-size: clamp(1.9rem, 3.25vw, 2.9rem);
  line-height: 1.08;
}

.contact-hero .page-hero__text {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 1.6;
}

.contact-page-section {
  margin-top: -34px !important;
  padding-top: 0 !important;
  padding-bottom: clamp(42px, 5vw, 70px);
}

.contact-layout {
  display: grid !important;
  grid-template-columns: minmax(280px, 0.84fr) minmax(360px, 1fr) !important;
  gap: clamp(18px, 2.2vw, 30px) !important;
  align-items: start;
}

.contact-stack {
  gap: clamp(14px, 1.7vw, 20px) !important;
}

.contact-card {
  padding: clamp(18px, 2vw, 26px) !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 42px rgba(56, 77, 128, 0.08) !important;
}

.contact-card .card__icon {
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border-radius: 17px;
}

.contact-card .card__icon svg {
  width: 21px;
  height: 21px;
}

.contact-card .card__title {
  margin-bottom: 8px;
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.18;
}

.contact-card .card__text,
.contact-card p {
  font-size: 0.86rem !important;
  line-height: 1.55;
}

.contact-card .btn {
  min-height: 42px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
}

.contact-form-card > .card__title {
  margin-bottom: 16px !important;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
}

.contact-form {
  gap: 14px;
}

.contact-form .form-row {
  gap: 14px;
}

.contact-form .form-label {
  margin-bottom: 7px;
  font-size: 0.78rem;
}

.contact-form .form-input,
.contact-form .form-select,
.contact-form .form-textarea {
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 0.9rem;
}

.contact-form .form-textarea {
  min-height: 92px;
}

.contact-form button[type="submit"] {
  min-height: 44px;
  margin-top: 2px !important;
  font-size: 0.86rem;
}

.contact-page-section .location-globe-card--compact {
  min-height: 260px;
  border-radius: 24px;
}

.contact-page-section .location-globe-card--compact .location-globe-card__content {
  min-height: 176px;
  padding: 26px 22px 12px;
}

.contact-page-section .location-globe-card__eyebrow {
  padding: 7px 12px;
  font-size: 0.72rem;
}

.contact-page-section .location-globe-card--compact h3 {
  margin-top: 16px;
  font-size: clamp(1.28rem, 2vw, 1.7rem);
}

.contact-page-section .location-globe-card p {
  max-width: 600px;
  font-size: 0.84rem;
  line-height: 1.55;
}

.contact-page-section .location-globe-card__actions {
  gap: 10px;
  margin-top: 18px;
}

.contact-page-section .location-globe-card .btn {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.82rem;
}

.contact-page-section .location-globe-card--compact .location-globe-card__visual {
  bottom: -72%;
  opacity: 0.78;
}

@media (max-width: 960px) {
  .contact-page-section {
    margin-top: -24px !important;
  }

  .contact-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    min-height: auto;
    margin-top: 0;
    padding-top: 96px;
    padding-bottom: 36px;
  }

  .contact-hero .page-hero__title {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }

  .contact-page-section {
    margin-top: 0 !important;
    padding-top: 22px !important;
  }

  .contact-card {
    padding: 18px !important;
    border-radius: 20px !important;
  }

  .contact-card .btn {
    width: 100%;
  }

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

  .contact-page-section .location-globe-card--compact {
    min-height: 240px;
  }

  .contact-page-section .location-globe-card__actions {
    flex-direction: column;
  }

  .contact-page-section .location-globe-card .btn {
    width: 100%;
  }
}

/* Contact page alternate compact dark intro */
.contact-hero {
  display: flex;
  align-items: center;
  min-height: clamp(420px, 48vw, 560px);
  margin: clamp(18px, 2vw, 28px) clamp(12px, 2vw, 28px) 0;
  padding: clamp(108px, 10vw, 132px) 0 clamp(54px, 6vw, 74px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(26px, 3vw, 42px);
  background:
    linear-gradient(90deg, rgba(11, 13, 20, 0.96) 0%, rgba(14, 17, 27, 0.9) 48%, rgba(31, 38, 58, 0.72) 100%),
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    url("https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=1800&q=82") center / cover;
  background-size: auto, 72px 72px, 72px 72px, cover;
  box-shadow: 0 24px 70px rgba(21, 26, 36, 0.22);
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -24% auto;
  width: min(520px, 42vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 64, 94, 0.26), transparent 68%);
  pointer-events: none;
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  gap: clamp(24px, 5vw, 74px);
  align-items: end;
  text-align: left;
}

.contact-hero__copy {
  max-width: 720px;
}

.contact-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.contact-hero__badge span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 18px rgba(221, 64, 94, 0.6);
}

.contact-hero .page-hero__title {
  max-width: 760px;
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(2.15rem, 5.2vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-align: left;
}

.contact-hero .page-hero__text {
  max-width: 610px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.9rem, 1.12vw, 1.03rem);
  line-height: 1.6;
  text-align: left;
}

.contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-hero__actions .btn {
  min-height: 44px;
  padding: 12px 20px;
  font-size: 0.86rem;
}

.contact-hero__panel {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.contact-hero__panel span {
  display: block;
  margin-bottom: 12px;
  color: var(--color-accent-light);
  font-size: 0.76rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-hero__panel strong {
  display: block;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  line-height: 1.14;
}

.contact-hero__panel p {
  margin-top: 12px;
  font-size: 0.84rem;
  line-height: 1.55;
}

.contact-page-section {
  margin-top: clamp(22px, 3vw, 36px) !important;
}

.contact-layout {
  grid-template-columns: minmax(300px, 0.9fr) minmax(380px, 1fr) !important;
}

.contact-card {
  border-color: rgba(56, 77, 128, 0.1) !important;
  background: rgba(255, 255, 255, 0.86) !important;
}

.contact-card:hover {
  transform: translateY(-3px);
}

@media (max-width: 960px) {
  .contact-hero__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-hero__panel {
    max-width: 520px;
  }

  .contact-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    min-height: auto;
    margin: 0;
    padding: 104px 0 42px;
    border-radius: 0 0 28px 28px;
    background-size: auto, 46px 46px, 46px 46px, cover;
  }

  .contact-hero .page-hero__title {
    font-size: clamp(1.95rem, 10vw, 2.65rem);
  }

  .contact-hero__actions .btn,
  .contact-hero__panel {
    width: 100%;
  }

  .contact-page-section {
    margin-top: 20px !important;
  }
}

/* Contact hero responsive refinement */
.contact-hero {
  min-height: clamp(390px, 42vw, 500px);
  padding-top: clamp(130px, 11vw, 158px);
  padding-bottom: clamp(44px, 5vw, 64px);
}

.contact-hero__inner {
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.65fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
}

.contact-hero__copy {
  max-width: 820px;
}

.contact-hero .page-hero__title {
  max-width: 820px;
  font-size: clamp(2.05rem, 4vw, 3.45rem);
  line-height: 1.04;
  text-wrap: balance;
}

.contact-hero .page-hero__text {
  max-width: 600px;
  font-size: clamp(0.88rem, 1vw, 0.98rem);
}

.contact-hero__panel {
  align-self: end;
  max-width: 330px;
  padding: 20px;
}

@media (max-width: 1180px) {
  .contact-hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-hero__copy {
    max-width: 760px;
  }

  .contact-hero .page-hero__title {
    max-width: 760px;
    font-size: clamp(2rem, 5vw, 3.15rem);
  }

  .contact-hero__panel {
    max-width: 560px;
    align-self: start;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    padding-top: 104px;
    padding-bottom: 34px;
  }

  .contact-hero .page-hero__title {
    font-size: clamp(1.78rem, 8.6vw, 2.35rem);
    line-height: 1.08;
  }

  .contact-hero .page-hero__text {
    font-size: 0.88rem;
  }

  .contact-hero__panel {
    display: none;
  }
}

/* Contact hero soft branded redesign */
.contact-hero {
  min-height: clamp(340px, 36vw, 460px);
  margin: 0;
  padding-top: clamp(128px, 10vw, 150px);
  padding-bottom: clamp(42px, 5vw, 60px);
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.84) 46%, rgba(244, 247, 252, 0.72) 100%),
    radial-gradient(circle at 82% 20%, rgba(102, 204, 112, 0.18), transparent 32%),
    radial-gradient(circle at 12% 72%, rgba(221, 64, 94, 0.12), transparent 34%),
    linear-gradient(rgba(56, 77, 128, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 77, 128, 0.055) 1px, transparent 1px),
    url("https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=1800&q=82") center / cover;
  background-size: auto, auto, auto, 62px 62px, 62px 62px, cover;
  box-shadow: none;
}

.contact-hero::before {
  display: none;
}

.contact-hero__inner {
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 380px);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.contact-hero__badge {
  border-color: rgba(56, 77, 128, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-primary);
  box-shadow: 0 12px 30px rgba(56, 77, 128, 0.08);
}

.contact-hero .page-hero__title {
  max-width: 720px;
  color: var(--color-text);
  font-size: clamp(2rem, 3.75vw, 3.35rem);
  line-height: 1.04;
}

.contact-hero .page-hero__text {
  color: var(--color-text-muted);
}

.contact-hero__actions .btn--dark {
  border: 1px solid rgba(56, 77, 128, 0.14);
  background: rgba(255, 255, 255, 0.74);
  color: var(--color-text);
  box-shadow: 0 12px 28px rgba(56, 77, 128, 0.08);
}

.contact-hero__panel {
  max-width: 360px;
  border-color: rgba(56, 77, 128, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-text-muted);
  box-shadow: 0 22px 54px rgba(56, 77, 128, 0.12);
}

.contact-hero__panel span {
  color: var(--color-accent);
}

.contact-hero__panel strong {
  color: var(--color-text);
}

@media (max-width: 960px) {
  .contact-hero {
    padding-top: 112px;
    padding-bottom: 38px;
  }

  .contact-hero__inner {
    grid-template-columns: 1fr;
  }

  .contact-hero__panel {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    padding-top: 96px;
    padding-bottom: 32px;
    background-size: auto, auto, auto, 42px 42px, 42px 42px, cover;
  }

  .contact-hero .page-hero__title {
    font-size: clamp(1.68rem, 8vw, 2.2rem);
  }

  .contact-hero__actions {
    display: grid;
  }

  .contact-hero__actions .btn {
    width: 100%;
  }
}

/* Contact hero final calm composition */
.contact-hero {
  position: relative;
  min-height: clamp(390px, 38vw, 500px);
  padding-top: clamp(122px, 9vw, 146px);
  padding-bottom: clamp(46px, 5vw, 66px);
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(102, 204, 112, 0.16), transparent 30%),
    radial-gradient(circle at 14% 78%, rgba(221, 64, 94, 0.09), transparent 32%),
    linear-gradient(rgba(56, 77, 128, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 77, 128, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #fbfaf6 0%, #f4f3ee 100%);
  background-size: auto, auto, 58px 58px, 58px 58px, auto;
}

.contact-hero::before {
  display: block;
  content: "";
  position: absolute;
  right: clamp(24px, 7vw, 120px);
  bottom: clamp(30px, 5vw, 70px);
  width: min(430px, 34vw);
  height: clamp(210px, 24vw, 300px);
  border: 1px solid rgba(56, 77, 128, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(10, 12, 18, 0.04) 0%, rgba(10, 12, 18, 0.42) 100%),
    url("https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=1000&q=82") center / cover;
  box-shadow: 0 24px 64px rgba(56, 77, 128, 0.16);
  opacity: 0.92;
}

.contact-hero::after {
  content: "";
  position: absolute;
  right: clamp(10px, 4vw, 72px);
  top: 118px;
  width: min(220px, 18vw);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 18%, rgba(102, 204, 112, 0.18) 19% 44%, transparent 68%);
  filter: blur(2px);
  opacity: 0.85;
  pointer-events: none;
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 560px) minmax(260px, 360px);
  gap: clamp(26px, 6vw, 96px);
  align-items: end;
}

.contact-hero__badge {
  min-height: 34px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.86);
}

.contact-hero .page-hero__title {
  max-width: 560px;
  margin-top: 22px;
  font-size: clamp(2rem, 3.15vw, 3rem);
  line-height: 1.08;
}

.contact-hero .page-hero__text {
  max-width: 500px;
  margin-top: 16px;
  font-size: clamp(0.88rem, 0.95vw, 0.96rem);
}

.contact-hero__actions {
  margin-top: 24px;
}

.contact-hero__actions .btn {
  min-height: 42px;
  padding: 11px 18px;
  font-size: 0.84rem;
}

.contact-hero__panel {
  position: relative;
  z-index: 2;
  max-width: 340px;
  margin-bottom: -18px;
  padding: 22px 24px;
  border-color: rgba(56, 77, 128, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
  box-shadow: 0 18px 46px rgba(56, 77, 128, 0.14);
}

.contact-hero__panel span {
  margin-bottom: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
}

.contact-hero__panel strong {
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
}

.contact-hero__panel p {
  margin-top: 10px;
  font-size: 0.8rem;
}

@media (max-width: 980px) {
  .contact-hero::before,
  .contact-hero::after {
    display: none;
  }

  .contact-hero__inner {
    grid-template-columns: 1fr;
  }

  .contact-hero__panel {
    max-width: 520px;
    margin-bottom: 0;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    padding-top: 96px;
    padding-bottom: 30px;
    background-size: auto, auto, 42px 42px, 42px 42px, auto;
  }

  .contact-hero .page-hero__title {
    font-size: clamp(1.65rem, 7.8vw, 2.15rem);
  }

  .contact-hero__panel {
    display: block;
    width: 100%;
    padding: 18px;
  }
}

/* Hero inline image chip proximity */
.hero.hero--reference .hero__title-line--with-chip {
  gap: clamp(2px, 0.35vw, 7px);
}

.hero.hero--reference .hero__title-line--with-chip .hero__image-chip {
  width: clamp(78px, 8vw, 116px);
  height: clamp(44px, 4.6vw, 64px);
  margin-right: clamp(-8px, -0.45vw, -3px);
  transform: translateY(0.04em) rotate(-3deg);
}

@media (max-width: 768px) {
  .hero.hero--reference .hero__title-line--with-chip {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    width: auto;
  }

  .hero.hero--reference .hero__title-line--with-chip .hero__image-chip {
    width: 64px;
    height: 38px;
    margin: 0 -2px 0 0;
  }
}

@media (max-width: 430px) {
  .hero.hero--reference .hero__title-line--with-chip {
    justify-content: center;
  }

  .hero.hero--reference .hero__title-line--with-chip .hero__image-chip {
    width: 56px;
    height: 34px;
  }
}

/* Remove the awkward inline image and turn it into a tidy hero badge */
.hero.hero--reference .hero__title-line--with-chip {
  display: block;
}

.hero.hero--reference .hero__title-line--with-chip .hero__image-chip {
  display: none;
}

.hero.hero--reference .hero__title::after {
  content: "";
  display: block;
  width: clamp(86px, 8vw, 118px);
  height: clamp(48px, 4.8vw, 66px);
  margin: clamp(18px, 2vw, 24px) auto 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2)),
    url("https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=520&q=84") center / cover;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  transform: rotate(-2deg);
}

@media (max-width: 640px) {
  .hero.hero--reference .hero__title::after {
    width: 72px;
    height: 42px;
    margin-top: 14px;
    border-radius: 14px;
  }
}

/* Featured builds mobile cleanup */
.build-lab__kicker {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.build-lab__kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--color-accent-light);
}

@media (max-width: 640px) {
  .build-lab {
    padding-block: 34px;
  }

  .build-lab__panel {
    padding: 26px 22px 30px;
    border-radius: 22px;
  }

  .build-lab__panel::before {
    width: 74px;
    top: 18px;
    right: 18px;
    opacity: 0.5;
  }

  .build-lab__hero {
    padding-top: 46px;
  }

  .build-lab__kicker {
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #f18aa0;
    font-size: clamp(0.62rem, 2.8vw, 0.7rem);
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .build-lab__hero h2 {
    max-width: 360px;
    margin-top: 18px;
    font-size: clamp(1.75rem, 8.2vw, 2.35rem);
    line-height: 1.1;
  }

  .build-lab__hero p {
    max-width: 360px;
    margin-top: 16px;
    font-size: 0.86rem;
    line-height: 1.58;
  }

  .build-lab__actions {
    display: grid;
    gap: 12px;
    margin-top: 22px;
  }

  .build-lab__actions .btn,
  .build-lab__link {
    min-height: 46px;
    padding: 0 16px;
    border-radius: 0;
    font-size: 0.9rem;
  }

  .build-lab__marquee {
    width: 100%;
    margin: 30px 0 18px;
    padding: 10px 12px;
    border-radius: 999px;
    transform: none;
    overflow-x: auto;
  }

  .build-lab__marquee span {
    flex: 0 0 auto;
    gap: 12px;
    padding: 0 10px;
    font-size: 0.72rem;
  }
}

@media (max-width: 390px) {
  .build-lab__kicker {
    font-size: 0.58rem;
    letter-spacing: 0.055em;
  }

  .build-lab__hero h2 {
    font-size: clamp(1.58rem, 8vw, 2rem);
  }
}

/* Homepage location section compact responsive pass */
#location {
  padding-block: clamp(42px, 5vw, 68px);
}

#location .section-header {
  margin-bottom: clamp(24px, 4vw, 42px);
}

#location .section-label {
  min-height: 34px;
  padding: 8px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

#location .section-title {
  margin-top: 14px;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.08;
}

#location .grid--2 {
  gap: clamp(18px, 3vw, 32px);
  align-items: stretch !important;
}

#location .card {
  padding: clamp(22px, 3vw, 34px) !important;
  border-radius: 22px;
}

#location .card > div[style*="display: flex"] {
  gap: 14px !important;
  margin-bottom: 22px !important;
  align-items: flex-start;
}

#location .card > div[style*="display: flex"] > div:first-child {
  width: 34px;
  height: 34px;
  display: inline-flex;
  flex: 0 0 34px !important;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(56, 77, 128, 0.08);
}

#location .card svg {
  width: 19px;
  height: 19px;
}

#location .card h3 {
  font-size: 1rem !important;
  line-height: 1.2;
}

#location .card p,
#location .card a {
  font-size: 0.88rem;
  line-height: 1.5;
}

#location .card p[style*="font-size: var(--fs-xs)"] {
  font-size: 0.76rem !important;
}

#location .card .btn {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.84rem;
}

#location .card > p:last-child {
  margin-top: 20px !important;
  padding-top: 16px !important;
  font-size: 0.8rem !important;
}

@media (max-width: 640px) {
  #location {
    padding-block: 34px 42px;
  }

  #location .section-header {
    margin-bottom: 20px;
  }

  #location .section-label {
    min-height: 30px;
    padding: 7px 13px;
    font-size: 0.66rem;
  }

  #location .section-title {
    max-width: 280px;
    margin-inline: auto;
    font-size: clamp(1.45rem, 7.2vw, 2rem);
  }

  #location .grid--2 {
    gap: 16px;
  }

  #location .card {
    padding: 20px !important;
    border-radius: 20px;
  }

  #location .card > div[style*="display: flex"] {
    gap: 12px !important;
    margin-bottom: 18px !important;
  }

  #location .card > div[style*="display: flex"] > div:first-child {
    width: 30px;
    height: 30px;
    flex-basis: 30px !important;
    border-radius: 10px;
  }

  #location .card svg {
    width: 17px;
    height: 17px;
  }

  #location .card h3 {
    font-size: 0.94rem !important;
  }

  #location .card p,
  #location .card a {
    font-size: 0.8rem;
    line-height: 1.48;
  }

  #location .card p[style*="font-size: var(--fs-xs)"] {
    font-size: 0.72rem !important;
  }

  #location .card > div[style*="flex-wrap"] {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px !important;
  }

  #location .card .btn {
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    font-size: 0.78rem;
  }
}

@media (max-width: 380px) {
  #location .card > div[style*="flex-wrap"] {
    grid-template-columns: 1fr;
  }
}

/* Custom builds hero split redesign */
.custom-build-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(118px, 9vw, 148px) clamp(42px, 6vw, 72px);
  background:
    linear-gradient(rgba(56, 77, 128, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 77, 128, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 84% 16%, rgba(105, 204, 112, 0.14), transparent 28%),
    #f8f5ee;
  background-size: 58px 58px, 58px 58px, auto, auto;
}

.custom-build-hero__shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.78fr);
  gap: clamp(22px, 4vw, 48px);
  min-height: clamp(400px, 41vw, 540px);
  padding: clamp(24px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 82% 28%, rgba(221, 64, 94, 0.22), transparent 34%),
    linear-gradient(135deg, #090c13 0%, #111724 58%, #151017 100%);
  background-size: 54px 54px, 54px 54px, auto, auto;
  box-shadow: 0 28px 70px rgba(18, 24, 36, 0.16);
}

.custom-build-hero__copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 610px;
}

.custom-build-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  color: #f4ebd4;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.custom-build-hero__eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 18px rgba(221, 64, 94, 0.65);
}

.custom-build-hero h1 {
  max-width: 660px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.05rem, 4vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.custom-build-hero__copy > p:not(.page-hero__text) {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.88rem, 1.35vw, 1rem);
  line-height: 1.62;
}

.custom-build-hero .page-hero__text {
  display: none;
}

.custom-build-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.custom-build-hero__actions .btn,
.custom-build-hero__link {
  min-height: 46px;
  padding: 13px 22px;
  font-size: 0.86rem;
  border-radius: var(--radius-full);
}

.custom-build-hero__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  font-weight: var(--fw-bold);
}

.custom-build-hero__visual {
  position: relative;
  align-self: stretch;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(9, 12, 19, 0.02), rgba(9, 12, 19, 0.82)),
    url("https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=1200&q=82") center / cover;
}

.custom-build-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 18%, rgba(105, 204, 112, 0.26), transparent 28%);
}

.custom-build-hero__specs {
  position: absolute;
  inset-inline: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.custom-build-hero__spec {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.custom-build-hero__spec span {
  display: block;
  color: var(--color-muted);
  font-size: 0.66rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.custom-build-hero__spec strong {
  display: block;
  margin-top: 4px;
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.25;
}

.custom-build-hero + .build-purpose {
  padding-top: clamp(42px, 5vw, 70px);
}

@media (max-width: 980px) {
  .custom-build-hero__shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .custom-build-hero__visual {
    min-height: 285px;
  }
}

@media (max-width: 640px) {
  .custom-build-hero {
    padding-block: 96px 34px;
  }

  .custom-build-hero__shell {
    gap: 20px;
    padding: 20px;
    border-radius: 22px;
  }

  .custom-build-hero__eyebrow {
    margin-bottom: 15px;
    padding: 7px 12px;
    font-size: 0.62rem;
    letter-spacing: 0.09em;
  }

  .custom-build-hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
    line-height: 1.05;
  }

  .custom-build-hero__copy > p:not(.page-hero__text) {
    margin-top: 14px;
    font-size: 0.82rem;
    line-height: 1.56;
  }

  .custom-build-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .custom-build-hero__actions .btn,
  .custom-build-hero__link {
    width: 100%;
    min-height: 42px;
    padding: 11px 16px;
    font-size: 0.78rem;
  }

  .custom-build-hero__visual {
    min-height: 230px;
    border-radius: 18px;
  }

  .custom-build-hero__specs {
    inset-inline: 12px;
    bottom: 12px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .custom-build-hero__spec {
    padding: 10px;
    border-radius: 12px;
  }

  .custom-build-hero__spec span {
    font-size: 0.58rem;
  }

  .custom-build-hero__spec strong {
    font-size: 0.76rem;
  }
}

@media (max-width: 380px) {
  .custom-build-hero__specs {
    grid-template-columns: 1fr;
  }
}

/* Custom builds mobile header clearance and compact hero */
@media (max-width: 640px) {
  .custom-build-hero {
    padding-block: 132px 30px !important;
  }

  .custom-build-hero .container {
    width: min(100% - 24px, 520px) !important;
  }

  .custom-build-hero__shell {
    gap: 16px !important;
    min-height: 0 !important;
    padding: 22px 16px 18px !important;
    border-radius: 24px !important;
  }

  .custom-build-hero__copy {
    max-width: none !important;
  }

  .custom-build-hero__eyebrow {
    max-width: 100% !important;
    margin-bottom: 14px !important;
    padding: 8px 13px !important;
    font-size: 0.64rem !important;
    line-height: 1.25 !important;
    letter-spacing: 0.12em !important;
    white-space: normal !important;
  }

  .custom-build-hero h1 {
    max-width: 430px !important;
    font-size: clamp(2rem, 10.5vw, 2.85rem) !important;
    line-height: 1.02 !important;
  }

  .custom-build-hero__copy > p:not(.page-hero__text) {
    max-width: 430px !important;
    margin-top: 16px !important;
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }

  .custom-build-hero__actions {
    gap: 10px !important;
    margin-top: 22px !important;
  }

  .custom-build-hero__actions .btn,
  .custom-build-hero__link {
    min-height: 46px !important;
    height: 46px !important;
    padding: 11px 15px !important;
    font-size: 0.82rem !important;
  }

  .custom-build-hero__visual {
    min-height: 255px !important;
    border-radius: 20px !important;
  }

  .custom-build-hero__spec {
    padding: 9px 10px !important;
  }

  .custom-build-hero__spec strong {
    font-size: 0.78rem !important;
  }
}

@media (max-width: 380px) {
  .custom-build-hero {
    padding-block: 122px 26px !important;
  }

  .custom-build-hero__shell {
    padding: 20px 14px 16px !important;
  }

  .custom-build-hero h1 {
    font-size: clamp(1.82rem, 10vw, 2.35rem) !important;
  }

  .custom-build-hero__copy > p:not(.page-hero__text) {
    font-size: 0.82rem !important;
  }

  .custom-build-hero__actions .btn,
  .custom-build-hero__link {
    min-height: 44px !important;
    height: 44px !important;
  }
}

/* Homepage mobile professional polish */
@media (max-width: 640px) {
  .hero.hero--reference {
    min-height: auto;
    padding: 118px 0 118px;
    overflow: hidden;
    background-size: 42px 42px, 42px 42px, cover !important;
  }

  .hero.hero--reference::before {
    background:
      linear-gradient(180deg, rgba(8, 10, 16, 0.6), rgba(8, 10, 16, 0.76)),
      radial-gradient(circle at 50% 20%, rgba(221, 64, 94, 0.16), transparent 38%);
  }

  .hero.hero--reference .hero-grid.container {
    width: min(100% - 34px, 430px);
    min-height: 0;
    padding: 0;
  }

  .hero.hero--reference .hero__content {
    max-width: 100%;
    gap: 0;
    padding: 0;
    text-align: center;
  }

  .hero.hero--reference .hero__label {
    max-width: calc(100vw - 50px);
    min-height: 36px;
    margin-inline: auto;
    margin-bottom: 34px;
    padding: 9px 14px;
    gap: 8px;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero.hero--reference .hero__label::before {
    display: none;
  }

  .hero.hero--reference .hero__label::after {
    width: 8px;
    height: 8px;
    margin-left: 2px;
    flex: 0 0 auto;
  }

  .hero.hero--reference .hero__title {
    max-width: 360px;
    margin-inline: auto;
    font-size: clamp(2rem, 11vw, 3.15rem) !important;
    line-height: 1.03;
    letter-spacing: 0;
    text-wrap: balance;
  }

  .hero.hero--reference .hero__title::after {
    display: none;
  }

  .hero.hero--reference .hero__text {
    max-width: 340px;
    margin: 24px auto 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
    line-height: 1.62;
    text-align: center;
  }

  .hero.hero--reference .hero__text::before {
    content: "Tell us your budget and use case. We choose the right parts, build clean systems, and support upgrades locally.";
  }

  .hero.hero--reference .hero__ctas {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 330px;
    margin: 28px auto 0;
    gap: 12px;
  }

  .hero.hero--reference .hero__ctas .btn,
  .hero.hero--reference .hero__micro-link {
    width: 100%;
    min-height: 50px;
    padding: 13px 18px;
    border-radius: 18px;
    font-size: 0.88rem;
    line-height: 1;
  }

  .hero.hero--reference .hero__ctas .btn svg,
  .hero.hero--reference .hero__micro-link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }

  .hero.hero--reference .hero__micro-link {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }

  .hero.hero--reference .proof-badges {
    display: none;
  }
}

@media (max-width: 390px) {
  .hero.hero--reference {
    padding-top: 108px;
  }

  .hero.hero--reference .hero-grid.container {
    width: min(100% - 28px, 390px);
  }

  .hero.hero--reference .hero__label {
    max-width: calc(100vw - 38px);
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .hero.hero--reference .hero__title {
    max-width: 320px;
    font-size: clamp(1.86rem, 10.5vw, 2.75rem) !important;
  }

  .hero.hero--reference .hero__text {
    max-width: 306px;
    font-size: 0.84rem;
  }

  .hero.hero--reference .hero__ctas {
    max-width: 300px;
  }
}

/* Homepage mobile hero: final editorial treatment */
@media (max-width: 640px) {
  .hero.hero--reference {
    min-height: auto;
    padding: 132px 0 108px;
    background:
      linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
      radial-gradient(circle at 78% 16%, rgba(105, 204, 112, 0.2), transparent 24%),
      radial-gradient(circle at 12% 78%, rgba(221, 64, 94, 0.18), transparent 30%),
      linear-gradient(160deg, rgba(8, 10, 16, 0.94), rgba(16, 20, 30, 0.94)),
      url("https://images.unsplash.com/photo-1591488320449-011701bb6704?auto=format&fit=crop&w=900&q=78") center / cover !important;
    background-size: 52px 52px, 52px 52px, auto, auto, auto, cover !important;
  }

  .hero.hero--reference::before {
    background:
      linear-gradient(180deg, rgba(7, 10, 16, 0.42), rgba(7, 10, 16, 0.78)),
      linear-gradient(90deg, rgba(7, 10, 16, 0.08), rgba(7, 10, 16, 0.62));
  }

  .hero.hero--reference .hero-grid.container {
    width: min(100% - 32px, 420px);
  }

  .hero.hero--reference .hero__content {
    align-items: flex-start;
    text-align: left;
  }

  .hero.hero--reference .hero__label {
    max-width: 100%;
    min-height: 34px;
    margin: 0 0 24px;
    padding: 8px 13px;
    color: #f6ead0;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 36px rgba(0, 0, 0, 0.22);
    font-size: 0;
    overflow: visible;
  }

  .hero.hero--reference .hero__label::before {
    content: "HYDERABAD PC BUILDS";
    display: inline;
    color: #f6ead0;
    font-size: 0.64rem;
    font-weight: var(--fw-bold);
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  .hero.hero--reference .hero__label::after {
    width: 7px;
    height: 7px;
    margin-left: 8px;
    background: #69cc70;
  }

  .hero.hero--reference .hero__title {
    max-width: 332px;
    margin: 0;
    font-size: clamp(2.05rem, 10vw, 2.8rem) !important;
    line-height: 1.04;
    text-align: left;
    text-wrap: balance;
  }

  .hero.hero--reference .highlight {
    color: #f4dbe0;
  }

  .hero.hero--reference .hero__text {
    max-width: 315px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    line-height: 1.58;
    text-align: left;
  }

  .hero.hero--reference .hero__text::before {
    content: "Share your budget and use case. We choose compatible parts, build cleanly, and support upgrades locally.";
  }

  .hero.hero--reference .hero__ctas {
    width: 100%;
    max-width: 100%;
    margin: 24px 0 0;
    gap: 10px;
  }

  .hero.hero--reference .hero__ctas .btn,
  .hero.hero--reference .hero__micro-link {
    min-height: 48px;
    border-radius: 16px;
    font-size: 0.82rem;
  }

  .hero.hero--reference .hero__ctas .btn {
    box-shadow: 0 16px 36px rgba(105, 204, 112, 0.24);
  }

  .hero.hero--reference .hero__micro-link {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
  }

  .hero.hero--reference .hero__content::after {
    content: "Local service  |  Clean cable management  |  Upgrade ready";
    display: block;
    max-width: 100%;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.075);
    font-size: 0.68rem;
    font-weight: var(--fw-semibold);
    line-height: 1.45;
    backdrop-filter: blur(14px);
  }
}

@media (max-width: 390px) {
  .hero.hero--reference {
    padding-top: 122px;
    padding-bottom: 98px;
  }

  .hero.hero--reference .hero-grid.container {
    width: min(100% - 26px, 380px);
  }

  .hero.hero--reference .hero__label::before {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .hero.hero--reference .hero__title {
    max-width: 300px;
    font-size: clamp(1.9rem, 9.6vw, 2.45rem) !important;
  }

  .hero.hero--reference .hero__text {
    max-width: 292px;
    font-size: 0.78rem;
  }
}

/* Homepage cards: compact mobile layout */
@media (max-width: 640px) {
  #why-us,
  #services {
    padding-block: 42px;
  }

  #why-us .section-header,
  #services .section-header {
    margin-bottom: 22px;
  }

  #why-us .section-label,
  #services .section-label {
    min-height: 30px;
    padding: 7px 13px;
    font-size: 0.62rem;
    letter-spacing: 0.11em;
  }

  #why-us .section-title,
  #services .section-title {
    max-width: 330px;
    margin-inline: auto;
    font-size: clamp(1.5rem, 6.8vw, 2rem) !important;
    line-height: 1.08;
  }

  #why-us .section-subtitle,
  #services .section-subtitle {
    max-width: 320px;
    font-size: 0.84rem;
    line-height: 1.55;
  }

  #why-us .grid,
  #services .grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  #why-us .card,
  #services .service-card {
    min-height: 0 !important;
    padding: 18px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 34px rgba(17, 24, 39, 0.07);
  }

  #why-us .card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 13px;
    row-gap: 4px;
  }

  #services .service-card {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 13px;
    row-gap: 7px;
    align-items: start;
  }

  #why-us .card .card__icon,
  #services .service-card .card__icon {
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    border-radius: 14px !important;
  }

  #why-us .card .card__icon svg,
  #services .service-card .card__icon svg {
    width: 20px !important;
    height: 20px !important;
  }

  #why-us .card .card__title,
  #services .service-card .card__title {
    margin: 2px 0 4px !important;
    font-size: 1rem !important;
    line-height: 1.18 !important;
  }

  #why-us .card .card__text,
  #services .service-card .card__text {
    grid-column: 2;
    margin: 0 !important;
    font-size: 0.8rem !important;
    line-height: 1.48 !important;
  }

  #services .service-card__bullets {
    grid-column: 1 / -1;
    display: grid !important;
    gap: 7px !important;
    margin: 8px 0 0 !important;
    padding: 10px 0 0 !important;
    border-top: 1px solid rgba(56, 77, 128, 0.1);
  }

  #services .service-card__bullets li {
    display: grid !important;
    grid-template-columns: 16px minmax(0, 1fr);
    align-items: start !important;
    gap: 8px !important;
    margin: 0 !important;
    color: var(--redesign-muted) !important;
    font-size: 0.76rem !important;
    line-height: 1.42 !important;
  }

  #services .service-card__bullets li::before {
    display: none !important;
  }

  #services .service-card__bullets li svg {
    width: 15px !important;
    height: 15px !important;
    margin-top: 2px;
  }

  #services .service-card .card__cta {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 10px !important;
    padding-top: 0 !important;
    font-size: 0.78rem !important;
  }
}

@media (max-width: 380px) {
  #why-us .card,
  #services .service-card {
    padding: 16px !important;
    grid-template-columns: 40px minmax(0, 1fr);
  }

  #why-us .card .card__icon,
  #services .service-card .card__icon {
    width: 40px !important;
    height: 40px !important;
  }

  #why-us .card .card__title,
  #services .service-card .card__title {
    font-size: 0.94rem !important;
  }

  #why-us .card .card__text,
  #services .service-card .card__text {
    font-size: 0.76rem !important;
  }
}

/* How it works: compact mobile process cards */
@media (max-width: 640px) {
  #how-it-works {
    padding-block: 42px 118px;
  }

  #how-it-works .section-header {
    margin-bottom: 18px;
  }

  #how-it-works .section-label {
    min-height: 30px;
    padding: 7px 13px;
    font-size: 0.62rem;
    letter-spacing: 0.11em;
  }

  #how-it-works .section-title {
    max-width: 300px;
    margin-inline: auto;
    font-size: clamp(1.65rem, 7vw, 2.15rem) !important;
    line-height: 1.06;
  }

  #how-it-works .process-steps {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 24px !important;
  }

  #how-it-works .process-steps::before {
    display: none !important;
  }

  #how-it-works .process-step {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 3px;
    align-items: start;
    text-align: left;
    padding: 16px;
    border: 1px solid rgba(56, 77, 128, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
  }

  #how-it-works .process-step__number {
    grid-row: 1 / span 2;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    border-radius: 14px !important;
    background: var(--redesign-coral);
    box-shadow: 0 10px 22px rgba(200, 77, 99, 0.2);
    font-size: 0.9rem !important;
  }

  #how-it-works .process-step__title {
    margin: 1px 0 2px !important;
    font-size: 0.98rem !important;
    line-height: 1.18 !important;
  }

  #how-it-works .process-step__text {
    max-width: none !important;
    margin: 0 !important;
    font-size: 0.78rem !important;
    line-height: 1.48 !important;
  }
}

@media (max-width: 380px) {
  #how-it-works .process-step {
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 12px;
    padding: 14px;
  }

  #how-it-works .process-step__number {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.84rem !important;
  }

  #how-it-works .process-step__title {
    font-size: 0.92rem !important;
  }

  #how-it-works .process-step__text {
    font-size: 0.74rem !important;
  }
}

/* Homepage mobile spacing cleanup */
@media (max-width: 640px) {
  #trust-bar,
  #why-us,
  #how-it-works,
  #gallery-preview,
  #testimonials {
    padding-block: 36px !important;
  }

  #trust-bar .container,
  #why-us .container,
  #how-it-works .container,
  #gallery-preview .container,
  #testimonials .container {
    width: min(100% - 32px, 420px);
  }

  #trust-bar {
    padding-block: 32px 40px !important;
  }

  .trust-bar__showcase {
    min-height: 0 !important;
    padding-bottom: 16px !important;
  }

  .trust-bar__label,
  .why-reference--workshop .why-reference__badge {
    min-height: 30px;
    padding: 0 13px;
    border-radius: 999px;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .trust-bar__label span {
    width: 7px;
    height: 7px;
  }

  .trust-bar__title {
    max-width: 330px;
    margin-top: 22px;
    font-size: clamp(1.55rem, 7.6vw, 2.05rem) !important;
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  .trust-bar__text {
    max-width: 315px;
    margin-top: 14px;
    font-size: 0.78rem !important;
    line-height: 1.56;
  }

  .trust-bar__tool {
    position: static !important;
    display: inline-grid !important;
    width: auto !important;
    min-width: 62px;
    height: 44px;
    aspect-ratio: auto;
    margin: 18px 5px 0;
    padding: 0 12px;
    border-radius: 14px;
    transform: none !important;
    box-shadow: 0 12px 26px rgba(21, 26, 36, 0.08);
  }

  .trust-bar__tool span {
    font-size: 0.68rem;
  }

  .trust-bar__logos {
    justify-content: center;
    gap: 10px 16px !important;
    margin-top: 12px !important;
  }

  .trust-bar__logo {
    font-size: 0.78rem !important;
  }

  #trust-bar .text-center {
    margin-top: 12px !important;
    font-size: 0.68rem !important;
    line-height: 1.4;
  }

  .why-reference--workshop {
    margin-bottom: 26px !important;
  }

  .why-reference--workshop .why-reference__badge svg {
    width: 14px;
    height: 14px;
  }

  .why-reference--workshop .why-reference__quote {
    max-width: 335px;
    margin-top: 18px;
    font-size: clamp(1.25rem, 6.5vw, 1.7rem) !important;
    line-height: 1.16;
  }

  .why-reference--workshop .why-reference__stats {
    max-width: 340px;
    gap: 10px;
    margin-top: 20px;
  }

  .why-reference--workshop .why-stat {
    min-height: 0 !important;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 14px !important;
    border-radius: 16px;
  }

  .why-reference--workshop .why-stat::after {
    left: 14px;
    bottom: 10px;
    width: 38px;
    height: 3px;
  }

  .why-reference--workshop .why-stat strong {
    width: 46px !important;
    height: 46px !important;
    font-size: 0.82rem !important;
  }

  .why-reference--workshop .why-stat span {
    font-size: 0.74rem !important;
    line-height: 1.25;
  }

  #how-it-works {
    padding-block: 34px 28px !important;
  }

  #how-it-works .process-steps {
    gap: 10px !important;
    margin-top: 18px !important;
  }

  #gallery-preview {
    padding-block: 34px 44px !important;
  }

  #gallery-preview .section-header,
  .testimonials-showcase .section-header {
    margin-bottom: 20px;
  }

  #gallery-preview .section-title,
  .testimonials-showcase .section-title {
    max-width: 330px;
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
    line-height: 1.08;
  }

  #gallery-preview .grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  #gallery-preview .gallery-card,
  #gallery-preview .gallery-card__image {
    min-height: 190px !important;
  }

  #gallery-preview .gallery-card {
    border-radius: 20px;
    transform: none !important;
  }

  #gallery-preview .gallery-card__overlay {
    padding: 16px;
  }

  #gallery-preview .gallery-card__tag {
    padding: 6px 10px;
    font-size: 0.68rem;
  }

  #gallery-preview .gallery-card__title {
    font-size: 1rem !important;
    line-height: 1.15;
  }

  #gallery-preview .text-center {
    margin-top: 16px !important;
  }

  #gallery-preview .btn {
    min-height: 42px;
    padding: 10px 16px;
    font-size: 0.78rem;
  }

  .testimonials-showcase {
    padding-block: 40px 116px !important;
  }

  .testimonials-showcase__stack {
    gap: 12px !important;
    margin-top: 22px !important;
  }

  .testimonials-showcase__word {
    display: none;
  }

  .testimonials-showcase .testimonial-card {
    padding: 18px !important;
    border-radius: 20px !important;
  }

  .testimonials-showcase .testimonial-card__stars {
    margin-bottom: 12px !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.12em;
  }

  .testimonials-showcase .testimonial-card__quote {
    padding-top: 24px !important;
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }

  .testimonials-showcase .testimonial-card__quote::before {
    top: -8px;
    left: -2px;
    font-size: 3.2rem !important;
  }

  .testimonials-showcase .testimonial-card__author {
    margin-top: 16px !important;
    padding-top: 14px;
  }

  .testimonials-showcase .testimonial-card__author > div:first-child {
    width: 38px !important;
    height: 38px !important;
  }

  .testimonials-showcase__note {
    margin-top: 14px !important;
    font-size: 0.68rem !important;
    line-height: 1.45;
  }
}

@media (max-width: 380px) {
  #gallery-preview .gallery-card,
  #gallery-preview .gallery-card__image {
    min-height: 172px !important;
  }

  .testimonials-showcase .testimonial-card {
    padding: 16px !important;
  }

  .testimonials-showcase .testimonial-card__quote {
    font-size: 0.78rem !important;
  }
}

/* Trust bar: compact mobile brand chip layout */
@media (max-width: 640px) {
  #trust-bar {
    padding-block: 30px 34px !important;
  }

  .trust-bar__showcase {
    display: block !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
    text-align: center;
  }

  .trust-bar__title {
    max-width: 310px;
    margin-top: 16px !important;
    font-size: clamp(1.35rem, 6.4vw, 1.75rem) !important;
    line-height: 1.1 !important;
  }

  .trust-bar__text {
    max-width: 300px;
    margin-top: 12px !important;
    font-size: 0.76rem !important;
    line-height: 1.5 !important;
  }

  .trust-bar__tool {
    display: none !important;
  }

  .trust-bar__logos {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 300px;
    gap: 8px !important;
    margin-top: 20px !important;
  }

  .trust-bar__logo {
    display: grid;
    min-height: 38px;
    place-items: center;
    border: 1px solid rgba(56, 77, 128, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 24px rgba(21, 26, 36, 0.05);
    color: rgba(56, 77, 128, 0.72) !important;
    font-size: 0.72rem !important;
    font-weight: 850 !important;
  }

  .trust-bar__logo:nth-child(2n) {
    color: rgba(200, 77, 99, 0.76) !important;
  }

  .trust-bar__logo:nth-child(1) {
    background: linear-gradient(135deg, rgba(56, 77, 128, 0.14), rgba(56, 77, 128, 0.04));
    border-color: rgba(56, 77, 128, 0.22);
    color: #384d80 !important;
  }

  .trust-bar__logo:nth-child(2) {
    background: linear-gradient(135deg, rgba(200, 77, 99, 0.16), rgba(200, 77, 99, 0.04));
    border-color: rgba(200, 77, 99, 0.22);
    color: #c84d63 !important;
  }

  .trust-bar__logo:nth-child(3) {
    background: linear-gradient(135deg, rgba(105, 204, 112, 0.18), rgba(105, 204, 112, 0.05));
    border-color: rgba(105, 204, 112, 0.24);
    color: #319d45 !important;
  }

  .trust-bar__logo:nth-child(4) {
    background: linear-gradient(135deg, rgba(65, 86, 142, 0.14), rgba(65, 86, 142, 0.04));
    border-color: rgba(65, 86, 142, 0.22);
    color: #41568e !important;
  }

  .trust-bar__logo:nth-child(5) {
    background: linear-gradient(135deg, rgba(221, 64, 94, 0.15), rgba(221, 64, 94, 0.04));
    border-color: rgba(221, 64, 94, 0.22);
    color: #dd405e !important;
  }

  .trust-bar__logo:nth-child(6) {
    background: linear-gradient(135deg, rgba(245, 214, 132, 0.28), rgba(245, 214, 132, 0.07));
    border-color: rgba(210, 170, 70, 0.22);
    color: #8a6b20 !important;
  }

  .trust-bar__logo:nth-child(7) {
    background: linear-gradient(135deg, rgba(28, 34, 48, 0.1), rgba(28, 34, 48, 0.03));
    border-color: rgba(28, 34, 48, 0.18);
    color: #30394d !important;
  }

  .trust-bar__logo:nth-child(8) {
    background: linear-gradient(135deg, rgba(200, 77, 99, 0.13), rgba(56, 77, 128, 0.04));
    border-color: rgba(200, 77, 99, 0.2);
    color: #b74d61 !important;
  }

  .trust-bar__logo:nth-child(9) {
    background: linear-gradient(135deg, rgba(105, 204, 112, 0.15), rgba(56, 77, 128, 0.04));
    border-color: rgba(105, 204, 112, 0.22);
    color: #3c8f58 !important;
  }

  .trust-bar__logo:nth-child(10) {
    background: linear-gradient(135deg, rgba(56, 77, 128, 0.16), rgba(200, 77, 99, 0.04));
    border-color: rgba(56, 77, 128, 0.22);
    color: #384d80 !important;
  }
}

/* Brand chips: force visible color on mobile */
@media (max-width: 640px) {
  .trust-bar__logos,
  .trust-bar__logo {
    opacity: 1 !important;
    filter: none !important;
  }

  .trust-bar__logo {
    border-width: 1.5px !important;
    box-shadow: 0 12px 26px rgba(21, 26, 36, 0.08) !important;
  }

  .trust-bar__logo:nth-child(1) {
    background: #e7ecff !important;
    border-color: #9dadde !important;
    color: #30477d !important;
  }

  .trust-bar__logo:nth-child(2) {
    background: #ffe8ee !important;
    border-color: #e690a0 !important;
    color: #bd4058 !important;
  }

  .trust-bar__logo:nth-child(3) {
    background: #e7f9e9 !important;
    border-color: #8bd992 !important;
    color: #26823a !important;
  }

  .trust-bar__logo:nth-child(4) {
    background: #edf0ff !important;
    border-color: #a9b5e4 !important;
    color: #384d80 !important;
  }

  .trust-bar__logo:nth-child(5) {
    background: #fff0f3 !important;
    border-color: #e8a0ad !important;
    color: #c84d63 !important;
  }

  .trust-bar__logo:nth-child(6) {
    background: #fff5d8 !important;
    border-color: #dfc36f !important;
    color: #765817 !important;
  }

  .trust-bar__logo:nth-child(7) {
    background: #edf4ff !important;
    border-color: #a7badb !important;
    color: #33425f !important;
  }

  .trust-bar__logo:nth-child(8) {
    background: #fbe7ec !important;
    border-color: #dc8a9a !important;
    color: #a93d51 !important;
  }

  .trust-bar__logo:nth-child(9) {
    background: #e9f8ef !important;
    border-color: #91d7a8 !important;
    color: #347b4a !important;
  }

  .trust-bar__logo:nth-child(10) {
    background: #e8edff !important;
    border-color: #9dafdf !important;
    color: #384d80 !important;
  }
}

/* Services: cleaner mobile module cards */
@media (max-width: 640px) {
  #services {
    padding-block: 34px 40px !important;
  }

  #services .section-title {
    max-width: 310px;
    font-size: clamp(1.45rem, 6.2vw, 1.85rem) !important;
  }

  #services .grid {
    gap: 12px !important;
  }

  #services .service-card {
    position: relative;
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px 12px;
    overflow: hidden;
    padding: 14px !important;
    border: 1px solid rgba(56, 77, 128, 0.12) !important;
    border-left: 4px solid var(--redesign-coral) !important;
    border-radius: 18px !important;
    background:
      linear-gradient(135deg, rgba(56, 77, 128, 0.06), transparent 42%),
      rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06) !important;
  }

  #services .service-card:nth-child(even) {
    border-left-color: var(--color-primary) !important;
  }

  #services .service-card::after {
    content: "";
    position: absolute;
    right: -34px;
    top: -34px;
    width: 86px;
    height: 86px;
    border-radius: 999px;
    background: rgba(200, 77, 99, 0.08);
    pointer-events: none;
  }

  #services .service-card:nth-child(even)::after {
    background: rgba(56, 77, 128, 0.08);
  }

  #services .service-card .card__icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    background: rgba(56, 77, 128, 0.08) !important;
  }

  #services .service-card .card__icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  #services .service-card .card__title {
    align-self: center;
    margin: 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.16 !important;
  }

  #services .service-card .card__text {
    grid-column: 1 / -1;
    margin: 2px 0 0 !important;
    color: rgba(21, 26, 36, 0.64) !important;
    font-size: 0.76rem !important;
    line-height: 1.48 !important;
  }

  #services .service-card__bullets {
    grid-column: 1 / -1;
    display: flex !important;
    flex-direction: column;
    gap: 6px !important;
    margin: 6px 0 0 !important;
    padding: 8px 0 0 !important;
    border-top: 1px solid rgba(56, 77, 128, 0.09);
  }

  #services .service-card__bullets li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 7px !important;
    min-height: 0;
    color: rgba(21, 26, 36, 0.66) !important;
    font-size: 0.72rem !important;
    line-height: 1.34 !important;
  }

  #services .service-card__bullets li svg {
    flex: 0 0 auto;
    width: 13px !important;
    height: 13px !important;
    margin-top: 2px;
    color: var(--color-primary) !important;
  }

  #services .service-card .card__cta {
    grid-column: 1 / -1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    margin-top: 6px !important;
    padding: 0 12px !important;
    border-radius: 999px;
    background: rgba(200, 77, 99, 0.1);
    color: var(--redesign-coral) !important;
    font-size: 0.72rem !important;
    font-weight: 850;
  }
}

/* FAQ: compact, thumb-friendly mobile accordion */
@media (max-width: 640px) {
  #faq {
    padding-block: 38px 88px !important;
  }

  #faq::before {
    top: 92px !important;
    font-size: clamp(5.25rem, 32vw, 8rem) !important;
    line-height: 0.8 !important;
    letter-spacing: 0.02em !important;
  }

  #faq::after {
    background-size: 48px 48px !important;
  }

  #faq .container {
    max-width: none !important;
    padding-inline: 18px !important;
  }

  #faq .section-header {
    margin-bottom: 0 !important;
  }

  #faq .section-label {
    min-height: 34px !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    font-size: 0.66rem !important;
    letter-spacing: 0.12em !important;
  }

  #faq .section-title {
    max-width: 300px !important;
    margin-inline: auto !important;
    font-size: clamp(1.5rem, 7.4vw, 1.9rem) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
  }

  #faq .faq-accordion {
    gap: 10px !important;
    margin-top: 22px !important;
  }

  #faq .faq-item {
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.065) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18) !important;
  }

  #faq .faq-item:hover,
  #faq .faq-item.active {
    transform: none !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22) !important;
  }

  #faq .faq-item__question {
    min-height: 54px !important;
    gap: 12px !important;
    padding: 13px 14px 13px 16px !important;
    font-size: 0.84rem !important;
    line-height: 1.28 !important;
  }

  #faq .faq-item__icon {
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 11px !important;
  }

  #faq .faq-item__answer {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #faq .faq-item.active .faq-item__answer {
    padding-bottom: 14px !important;
  }

  #faq .faq-item__answer p {
    font-size: 0.78rem !important;
    line-height: 1.55 !important;
  }

  .sticky-cta {
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 16px !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(14px);
  }

  .sticky-cta .btn {
    flex: 1 1 0 !important;
    min-height: 52px !important;
    height: 52px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    gap: 8px !important;
    font-size: 0.86rem !important;
    white-space: nowrap !important;
  }

  .sticky-cta .btn svg {
    width: 18px !important;
    height: 18px !important;
  }

  body {
    padding-bottom: 76px !important;
  }
}

@media (max-width: 380px) {
  #faq .container {
    padding-inline: 14px !important;
  }

  #faq .section-title {
    font-size: clamp(1.42rem, 7vw, 1.72rem) !important;
  }

  #faq .faq-item__question {
    min-height: 50px !important;
    padding: 12px 12px 12px 14px !important;
    font-size: 0.8rem !important;
  }

  #faq .faq-item__icon {
    flex-basis: 32px !important;
    width: 32px !important;
    height: 32px !important;
  }

  .sticky-cta {
    gap: 8px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .sticky-cta .btn {
    min-height: 48px !important;
    height: 48px !important;
    font-size: 0.8rem !important;
  }
}

/* Global mobile header: compact and responsive */
@media (max-width: 640px) {
  .nav {
    top: 10px !important;
    width: calc(100% - 24px) !important;
    max-width: 560px !important;
    border-radius: 28px !important;
    overflow: visible !important;
  }

  .nav__inner {
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 7px 8px 7px 12px !important;
    gap: 10px !important;
  }

  .nav__logo {
    min-width: 0 !important;
    gap: 8px !important;
    overflow: hidden !important;
  }

  .nav__logo-img {
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 14px rgba(56, 77, 128, 0.12) !important;
  }

  .nav__logo-text {
    min-width: 0 !important;
    max-width: calc(100vw - 172px) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 0.98rem !important;
    line-height: 1 !important;
    letter-spacing: -0.01em !important;
  }

  .nav__mobile-toggle {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    margin-left: auto !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(56, 77, 128, 0.16) !important;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.12) !important;
    z-index: 3 !important;
  }

  .nav__mobile-toggle::before {
    width: 17px !important;
    height: 11px !important;
    border-top-width: 2px !important;
    border-bottom-width: 2px !important;
    box-shadow: 0 4.5px 0 var(--redesign-ink) !important;
  }

  .mobile-menu-fab {
    top: 17px !important;
    right: 20px !important;
    left: auto !important;
    width: 42px !important;
    height: 42px !important;
  }
}

@media (max-width: 380px) {
  .nav {
    width: calc(100% - 18px) !important;
    border-radius: 26px !important;
  }

  .nav__inner {
    height: 52px !important;
    min-height: 52px !important;
    padding-left: 10px !important;
    padding-right: 7px !important;
  }

  .nav__logo {
    gap: 7px !important;
  }

  .nav__logo-img {
    flex-basis: 34px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
  }

  .nav__logo-text {
    max-width: calc(100vw - 152px) !important;
    font-size: 0.88rem !important;
  }

  .nav__mobile-toggle,
  .mobile-menu-fab {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
  }
}

/* Mobile hero: dark PC image background */
@media (max-width: 640px) {
  .hero.hero--reference {
    padding: 124px 0 96px !important;
    background:
      linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
      radial-gradient(circle at 14% 22%, rgba(200, 77, 99, 0.22), transparent 30%),
      radial-gradient(circle at 84% 16%, rgba(105, 204, 112, 0.22), transparent 26%),
      radial-gradient(circle at 50% 92%, rgba(56, 77, 128, 0.3), transparent 42%),
      linear-gradient(180deg, rgba(8, 10, 16, 0.78), rgba(8, 10, 16, 0.94)),
      url("https://images.unsplash.com/photo-1587202372634-32705e3bf49c?auto=format&fit=crop&w=900&q=82") center / cover !important;
    background-size: 54px 54px, 54px 54px, auto, auto, auto, auto, cover !important;
    color: #ffffff !important;
  }

  .hero.hero--reference::before {
    background:
      linear-gradient(180deg, rgba(6, 8, 13, 0.38), rgba(6, 8, 13, 0.7)),
      linear-gradient(90deg, rgba(6, 8, 13, 0.26), rgba(6, 8, 13, 0.7)) !important;
  }

  .hero.hero--reference .hero__label {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: rgba(255, 244, 215, 0.96) !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  }

  .hero.hero--reference .hero__title {
    color: #ffffff !important;
    text-shadow: 0 16px 42px rgba(0, 0, 0, 0.46) !important;
  }

  .hero.hero--reference .highlight {
    color: #f4dfe2 !important;
  }

  .hero.hero--reference .hero__text,
  .hero.hero--reference .hero__text::before {
    color: rgba(255, 255, 255, 0.76) !important;
  }

  .hero.hero--reference .hero__micro-link,
  .hero.hero--reference .hero__content::after {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: rgba(255, 255, 255, 0.84) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  }
}

/* Mobile spacing cleanup between homepage sections */
@media (max-width: 640px) {
  #hero.hero.hero--reference {
    min-height: auto !important;
    padding-top: 122px !important;
    padding-bottom: 42px !important;
  }

  #hero.hero.hero--reference .proof-badges {
    margin-top: 16px !important;
    margin-bottom: 0 !important;
  }

  #hero.hero.hero--reference .hero__micro-link,
  #hero.hero.hero--reference .hero__content::after {
    margin-top: 14px !important;
  }

  #trust-bar {
    margin-top: 0 !important;
    padding-top: 34px !important;
  }

  #gallery-preview {
    padding-top: 30px !important;
    padding-bottom: 28px !important;
  }

  #gallery-preview .grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 0 !important;
  }

  #gallery-preview .gallery-card {
    min-height: 184px !important;
    margin: 0 !important;
    transform: none !important;
  }

  #gallery-preview .gallery-card__image {
    min-height: 184px !important;
  }

  #gallery-preview .grid + .text-center,
  #gallery-preview .text-center {
    margin-top: 14px !important;
    padding-top: 0 !important;
  }

  .testimonials-showcase {
    margin-top: 0 !important;
    padding-top: 36px !important;
  }
}

/* Mobile spacing cleanup: FAQ into closing CTA */
@media (max-width: 640px) {
  #faq {
    padding-top: 34px !important;
    padding-bottom: 26px !important;
  }

  #faq .faq-accordion {
    margin-bottom: 0 !important;
  }

  #faq + .section {
    padding-top: 22px !important;
    padding-bottom: 74px !important;
  }

  #final-cta.cta-band {
    padding: 24px 18px !important;
    border-radius: 24px !important;
  }

  #final-cta .cta-band__title {
    max-width: 300px !important;
    margin: 0 auto !important;
    font-size: clamp(1.24rem, 5.8vw, 1.62rem) !important;
    line-height: 1.12 !important;
  }

  #final-cta .cta-band__text {
    max-width: 290px !important;
    margin: 12px auto 0 !important;
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }

  #final-cta .cta-band__buttons {
    gap: 10px !important;
    margin-top: 16px !important;
  }

  #final-cta .cta-band__buttons .btn {
    min-height: 44px !important;
    padding: 11px 14px !important;
    border-radius: 999px !important;
    font-size: 0.82rem !important;
  }
}

@media (max-width: 380px) {
  #faq {
    padding-bottom: 20px !important;
  }

  #faq + .section {
    padding-top: 16px !important;
  }

  #final-cta.cta-band {
    padding: 22px 14px !important;
    border-radius: 22px !important;
  }
}

/* Mobile CTA icon sizing */
@media (max-width: 640px) {
  .hero.hero--reference .hero__ctas .btn,
  #final-cta .cta-band__buttons .btn {
    gap: 7px !important;
  }

  .sticky-cta .btn {
    gap: 6px !important;
  }

  .hero.hero--reference .hero__ctas .btn svg,
  .hero.hero--reference .hero__micro-link svg,
  #final-cta .cta-band__buttons .btn svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    flex-basis: 16px !important;
    stroke-width: 2.2 !important;
  }

  #sticky-cta.sticky-cta .btn > svg,
  .sticky-cta .btn > svg {
    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    max-width: 13px !important;
    flex: 0 0 13px !important;
    stroke-width: 2 !important;
  }
}

@media (max-width: 380px) {
  .hero.hero--reference .hero__ctas .btn svg,
  .hero.hero--reference .hero__micro-link svg,
  #final-cta .cta-band__buttons .btn svg {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    flex-basis: 15px !important;
  }

  #sticky-cta.sticky-cta .btn > svg,
  .sticky-cta .btn > svg {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    max-width: 12px !important;
    flex-basis: 12px !important;
  }
}

/* Custom builds mobile spacing: keep the quote panel compact and clear of sticky CTA */
@media (max-width: 768px) {
  .custom-build-hero {
    padding-top: 86px !important;
    padding-bottom: 104px !important;
  }

  .custom-build-hero .container {
    width: min(100% - 18px, 620px) !important;
  }

  .custom-build-hero__shell {
    gap: 14px !important;
    min-height: 0 !important;
    padding: 18px 12px 20px !important;
    border-radius: 22px !important;
  }

  .custom-build-hero__copy {
    min-width: 0 !important;
  }

  .custom-build-hero__eyebrow {
    width: fit-content !important;
    max-width: 100% !important;
    margin-bottom: 14px !important;
    padding: 7px 12px !important;
    border-radius: 999px !important;
    font-size: 0.6rem !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  .custom-build-hero h1 {
    max-width: 8.8em !important;
    font-size: clamp(1.9rem, 9.4vw, 2.45rem) !important;
    line-height: 1.03 !important;
  }

  .custom-build-hero__copy > p:not(.page-hero__text) {
    max-width: 31ch !important;
    margin-top: 13px !important;
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
  }

  .custom-build-hero__actions {
    margin-top: 18px !important;
    gap: 10px !important;
  }

  .custom-build-hero__actions .btn,
  .custom-build-hero__link {
    min-height: 42px !important;
    height: 42px !important;
    padding: 10px 14px !important;
    border-radius: 999px !important;
    font-size: 0.76rem !important;
  }

  .custom-build-hero__visual {
    min-height: 218px !important;
    margin-top: 4px !important;
    border-radius: 20px !important;
  }

  .custom-build-hero__specs {
    gap: 8px !important;
    padding: 10px !important;
  }

  .custom-build-hero__spec {
    padding: 9px 10px !important;
    border-radius: 14px !important;
  }

  .custom-build-hero__spec span {
    font-size: 0.56rem !important;
  }

  .custom-build-hero__spec strong {
    font-size: 0.84rem !important;
  }
}

@media (max-width: 430px) {
  .custom-build-hero {
    padding-top: 52px !important;
    padding-bottom: 84px !important;
  }

  .custom-build-hero .container {
    width: 100% !important;
    padding-inline: 6px !important;
  }

  .custom-build-hero__shell {
    width: 100% !important;
    padding: 14px 8px 16px !important;
    border-radius: 18px !important;
  }

  .custom-build-hero__eyebrow {
    margin-bottom: 12px !important;
    padding: 7px 11px !important;
    font-size: 0.56rem !important;
  }

  .custom-build-hero h1 {
    max-width: 8.4em !important;
    font-size: clamp(1.64rem, 8.8vw, 2.08rem) !important;
  }

  .custom-build-hero__copy > p:not(.page-hero__text) {
    max-width: 30ch !important;
    font-size: 0.74rem !important;
  }

  .custom-build-hero__actions .btn,
  .custom-build-hero__link {
    min-height: 40px !important;
    height: 40px !important;
    font-size: 0.72rem !important;
  }

  .custom-build-hero__visual {
    min-height: 202px !important;
  }
}

@media (max-width: 360px) {
  .custom-build-hero {
    padding-top: 44px !important;
    padding-bottom: 78px !important;
  }

  .custom-build-hero .container {
    padding-inline: 4px !important;
  }

  .custom-build-hero__shell {
    padding-inline: 7px !important;
    border-radius: 16px !important;
  }
}

/* Build tier cards: reduce mobile gutters and card bulk */
@media (max-width: 768px) {
  .build-tier-showcase {
    padding-block: 22px 86px !important;
  }

  .build-tier-showcase .container {
    width: 100% !important;
    padding-inline: 10px !important;
  }

  .build-tier-showcase__grid {
    gap: 14px !important;
    margin-top: 18px !important;
  }

  .build-tier-showcase .build-card,
  .build-tier-showcase .build-card:nth-child(2),
  .build-tier-showcase .build-card:nth-child(4) {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    transform: none !important;
    border-radius: 20px !important;
  }

  .build-tier-showcase .build-card__image {
    height: 150px !important;
    margin: 10px !important;
    border-radius: 15px !important;
  }

  .build-tier-showcase .build-card__badge {
    top: 10px !important;
    right: 10px !important;
    padding: 6px 10px !important;
    font-size: 0.66rem !important;
  }

  .build-tier-showcase .build-card__body {
    padding: 0 14px 12px !important;
  }

  .build-tier-showcase .build-card__title {
    font-size: 1rem !important;
    line-height: 1.18 !important;
  }

  .build-tier-showcase .build-card__usecase {
    margin-bottom: 10px !important;
    font-size: 0.74rem !important;
    line-height: 1.3 !important;
  }

  .build-tier-showcase .build-card__specs {
    gap: 8px 12px !important;
    margin-bottom: 8px !important;
  }

  .build-tier-showcase .build-card__spec-item {
    padding-bottom: 7px !important;
  }

  .build-tier-showcase .spec-label {
    margin-bottom: 4px !important;
    font-size: 0.6rem !important;
  }

  .build-tier-showcase .spec-value {
    font-size: 0.73rem !important;
    line-height: 1.25 !important;
  }

  .build-tier-showcase .build-card__body > p:last-child {
    font-size: 0.67rem !important;
    line-height: 1.35 !important;
  }

  .build-tier-showcase .build-card__footer {
    padding: 10px 14px 14px !important;
  }
}

@media (max-width: 430px) {
  .build-tier-showcase .container {
    padding-inline: 6px !important;
  }

  .build-tier-showcase .build-card {
    border-radius: 18px !important;
  }

  .build-tier-showcase .build-card__image {
    height: 132px !important;
    margin: 8px !important;
    border-radius: 14px !important;
  }

  .build-tier-showcase .build-card__body,
  .build-tier-showcase .build-card__footer {
    padding-inline: 12px !important;
  }
}

/* Services page cards: compact mobile flow */
@media (max-width: 760px) {
  .services-showcase {
    padding-block: 28px 86px !important;
  }

  .services-showcase .container {
    width: 100% !important;
    padding-inline: 8px !important;
  }

  .services-showcase__grid {
    gap: 14px !important;
    margin-top: 18px !important;
  }

  .services-showcase .service-card {
    display: block !important;
    width: 100% !important;
    border-radius: 18px !important;
  }

  .services-showcase .service-card::before {
    height: 152px !important;
  }

  .services-showcase .service-card .card__title,
  .services-showcase .service-card .card__text,
  .services-showcase .service-card .card__cta {
    margin-left: 18px !important;
    margin-right: 18px !important;
  }

  .services-showcase .service-card .card__title {
    margin-top: 16px !important;
    margin-bottom: 8px !important;
    font-size: 1rem !important;
    line-height: 1.15 !important;
  }

  .services-showcase .service-card .card__title::before {
    width: 18px !important;
    margin-bottom: 14px !important;
  }

  .services-showcase .service-card .card__text {
    margin-bottom: 18px !important;
    font-size: 0.74rem !important;
    line-height: 1.45 !important;
  }

  .services-showcase .service-card .card__cta {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    padding-top: 0 !important;
    font-size: 0.76rem !important;
  }
}

@media (max-width: 430px) {
  .services-showcase .container {
    padding-inline: 6px !important;
  }

  .services-showcase .service-card::before {
    height: 142px !important;
  }

  .services-showcase .service-card .card__title,
  .services-showcase .service-card .card__text,
  .services-showcase .service-card .card__cta {
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  .services-showcase .service-card .card__title {
    font-size: 0.96rem !important;
  }
}

/* Process section: compact and readable on mobile/tablet phones */
@media (max-width: 820px) {
  #how-it-works,
  #process {
    padding-block: 30px 82px !important;
  }

  #how-it-works .container,
  #process .container {
    width: min(100% - 24px, 520px) !important;
  }

  #how-it-works .section-header,
  #process .section-header {
    margin-bottom: 14px !important;
  }

  #how-it-works .section-label,
  #process .section-label {
    min-height: 30px !important;
    padding: 7px 14px !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.12em !important;
  }

  #how-it-works .section-title,
  #process .section-title {
    font-size: clamp(1.45rem, 7vw, 1.9rem) !important;
    line-height: 1.08 !important;
  }

  #how-it-works .process-steps,
  #process .process-steps {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 18px !important;
  }

  #how-it-works .process-steps::before,
  #process .process-steps::before {
    display: none !important;
  }

  #how-it-works .process-step,
  #process .process-step {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    gap: 3px 12px !important;
    align-items: start !important;
    min-height: 0 !important;
    padding: 14px !important;
    text-align: left !important;
    border: 1px solid rgba(56, 77, 128, 0.1) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06) !important;
  }

  #how-it-works .process-step__number,
  #process .process-step__number {
    grid-row: 1 / span 2 !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    border-radius: 14px !important;
    font-size: 0.86rem !important;
    box-shadow: 0 10px 22px rgba(200, 77, 99, 0.2) !important;
  }

  #how-it-works .process-step__title,
  #process .process-step__title {
    margin: 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.16 !important;
  }

  #how-it-works .process-step__text,
  #process .process-step__text {
    max-width: none !important;
    margin: 0 !important;
    font-size: 0.72rem !important;
    line-height: 1.42 !important;
  }
}

@media (max-width: 390px) {
  #how-it-works .container,
  #process .container {
    width: min(100% - 18px, 420px) !important;
  }

  #how-it-works .process-step,
  #process .process-step {
    grid-template-columns: 36px minmax(0, 1fr) !important;
    padding: 12px !important;
    border-radius: 16px !important;
  }

  #how-it-works .process-step__number,
  #process .process-step__number {
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
    font-size: 0.78rem !important;
  }
}

/* Services mobile: remove the broad gap between process steps and CTA */
@media (max-width: 820px) {
  #process {
    padding-bottom: 14px !important;
  }

  #process + .section {
    padding-top: 0 !important;
    padding-bottom: 74px !important;
  }

  #process + .section .container {
    width: min(100% - 24px, 520px) !important;
  }

  #process + .section #final-cta.cta-band {
    margin-top: 0 !important;
    padding: 20px 16px !important;
    border-radius: 20px !important;
  }

  #process + .section #final-cta .cta-band__title {
    font-size: clamp(1.18rem, 5.4vw, 1.48rem) !important;
    line-height: 1.12 !important;
  }

  #process + .section #final-cta .cta-band__text {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }
}

@media (max-width: 390px) {
  #process {
    padding-bottom: 10px !important;
  }

  #process + .section .container {
    width: min(100% - 18px, 420px) !important;
  }
}

/* Gallery Instagram CTA: compact mobile pill */
.gallery-instagram-cta {
  display: flex;
  justify-content: center;
}

.gallery-instagram-cta__button {
  width: auto;
  max-width: 100%;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .gallery-instagram-cta {
    margin-top: 18px !important;
    padding-inline: 16px;
  }

  .gallery-instagram-cta__button {
    width: min(100%, 330px) !important;
    min-height: 42px !important;
    padding: 10px 16px !important;
    border-radius: 999px !important;
    gap: 8px !important;
    font-size: 0.84rem !important;
    line-height: 1.1 !important;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.06) !important;
  }

  .gallery-instagram-cta__button svg {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
  }
}

@media (max-width: 390px) {
  .gallery-instagram-cta {
    padding-inline: 12px;
  }

  .gallery-instagram-cta__button {
    width: min(100%, 300px) !important;
    min-height: 38px !important;
    padding: 9px 14px !important;
    font-size: 0.76rem !important;
  }
}

/* Contact location card: compact mobile layout */
@media (max-width: 640px) {
  .contact-page-section .location-globe-card--compact {
    width: calc(100% - 24px) !important;
    min-height: 0 !important;
    margin: 14px auto 0 !important;
    padding: 18px 16px 0 !important;
    border-radius: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  .contact-page-section .location-globe-card--compact .location-globe-card__content {
    min-height: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    text-align: center !important;
  }

  .contact-page-section .location-globe-card__eyebrow {
    min-height: 32px !important;
    padding: 7px 12px !important;
    gap: 7px !important;
    font-size: 0.72rem !important;
  }

  .contact-page-section .location-globe-card__eyebrow span {
    width: 8px !important;
    height: 8px !important;
  }

  .contact-page-section .location-globe-card--compact h3 {
    margin: 2px 0 0 !important;
    font-size: clamp(1.32rem, 6vw, 1.7rem) !important;
    line-height: 1.12 !important;
  }

  .contact-page-section .location-globe-card p {
    max-width: 295px !important;
    margin: 0 auto !important;
    font-size: 0.82rem !important;
    line-height: 1.48 !important;
  }

  .contact-page-section .location-globe-card__actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-top: 8px !important;
  }

  .contact-page-section .location-globe-card .btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    height: auto !important;
    padding: 10px 12px !important;
    border-radius: 999px !important;
    font-size: 0.78rem !important;
    line-height: 1 !important;
    box-shadow: none !important;
  }

  .contact-page-section .location-globe-card__visual {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 82px !important;
    min-height: 82px !important;
    margin: 10px auto -34px !important;
    opacity: 0.82 !important;
    overflow: hidden !important;
  }

  .contact-page-section .location-globe-card__orbit {
    display: none !important;
  }

  .contact-page-section .location-globe-card__sphere {
    width: min(280px, 84vw) !important;
    height: auto !important;
    margin: 0 auto !important;
    transform: translateY(18px) !important;
  }

  .contact-page-section .location-globe-card__pin,
  .contact-page-section .location-globe-card__city {
    display: none !important;
  }
}

@media (max-width: 390px) {
  .contact-page-section .location-globe-card--compact {
    width: calc(100% - 18px) !important;
    padding: 16px 14px 0 !important;
    border-radius: 22px !important;
  }

  .contact-page-section .location-globe-card__actions {
    gap: 8px !important;
  }

  .contact-page-section .location-globe-card .btn {
    min-height: 38px !important;
    padding: 9px 10px !important;
    font-size: 0.72rem !important;
  }

  .contact-page-section .location-globe-card__visual {
    height: 68px !important;
    min-height: 68px !important;
    margin-bottom: -28px !important;
  }
}

/* Contact page: tighter mobile rhythm for hero, cards, and request form */
@media (max-width: 640px) {
  .contact-hero {
    min-height: auto !important;
    margin: 0 !important;
    padding: 96px 0 22px !important;
    border-radius: 0 0 22px 22px !important;
  }

  .contact-hero__inner {
    width: min(100% - 26px, 420px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    text-align: left !important;
  }

  .contact-hero__copy {
    max-width: none !important;
  }

  .contact-hero__badge {
    align-self: flex-start !important;
    min-height: 30px !important;
    padding: 6px 12px !important;
    gap: 8px !important;
    font-size: 0.66rem !important;
  }

  .contact-hero .page-hero__title {
    max-width: 360px !important;
    margin: 16px 0 0 !important;
    font-size: clamp(1.75rem, 8vw, 2.25rem) !important;
    line-height: 1.04 !important;
    letter-spacing: 0 !important;
  }

  .contact-hero .page-hero__text {
    max-width: 350px !important;
    margin: 12px 0 0 !important;
    font-size: 0.88rem !important;
    line-height: 1.48 !important;
  }

  .contact-hero__actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 16px !important;
  }

  .contact-hero__actions .btn {
    width: 100% !important;
    min-height: 42px !important;
    padding: 9px 14px !important;
    border-radius: 999px !important;
    font-size: 0.82rem !important;
  }

  .contact-hero__panel {
    width: 100% !important;
    min-height: 0 !important;
    margin: 2px 0 0 !important;
    padding: 15px !important;
    border-radius: 18px !important;
    text-align: left !important;
  }

  .contact-hero__panel span {
    font-size: 0.64rem !important;
  }

  .contact-hero__panel strong {
    margin-top: 6px !important;
    font-size: 1rem !important;
    line-height: 1.18 !important;
  }

  .contact-hero__panel p {
    margin-top: 6px !important;
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
  }

  .contact-page-section {
    margin-top: 0 !important;
    padding-top: 14px !important;
    padding-bottom: 88px !important;
  }

  .contact-page-section > .container {
    width: min(100% - 24px, 430px) !important;
  }

  .contact-layout,
  .contact-stack {
    gap: 14px !important;
  }

  .contact-card {
    padding: 16px !important;
    border-radius: 20px !important;
  }

  .contact-card .card__icon {
    width: 42px !important;
    height: 42px !important;
    margin-bottom: 12px !important;
    border-radius: 14px !important;
  }

  .contact-card .card__icon svg {
    width: 20px !important;
    height: 20px !important;
  }

  .contact-card .card__title,
  .contact-form-card > .card__title {
    margin-bottom: 10px !important;
    font-size: 1rem !important;
    line-height: 1.18 !important;
  }

  .contact-card .card__text,
  .contact-card p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }

  .contact-card .btn {
    min-height: 40px !important;
    padding: 9px 14px !important;
    font-size: 0.8rem !important;
  }

  .contact-form {
    gap: 12px !important;
  }

  .contact-form .form-row {
    gap: 12px !important;
  }

  .contact-form .form-group {
    gap: 7px !important;
  }

  .contact-form .form-label {
    font-size: 0.78rem !important;
  }

  .contact-form .form-input,
  .contact-form .form-select,
  .contact-form .form-textarea {
    min-height: 42px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    font-size: 0.82rem !important;
  }

  .contact-form .form-textarea {
    min-height: 88px !important;
  }

  .contact-form button[type="submit"] {
    min-height: 42px !important;
    margin-top: 0 !important;
    font-size: 0.82rem !important;
  }
}

@media (max-width: 390px) {
  .contact-hero {
    padding-top: 90px !important;
    padding-bottom: 18px !important;
  }

  .contact-hero__inner,
  .contact-page-section > .container {
    width: min(100% - 18px, 390px) !important;
  }

  .contact-hero .page-hero__title {
    font-size: clamp(1.58rem, 7.8vw, 2rem) !important;
  }

  .contact-hero .page-hero__text {
    font-size: 0.84rem !important;
  }

  .contact-card {
    padding: 14px !important;
    border-radius: 18px !important;
  }
}

/* Contact page: keep mobile card gutters equal on both sides */
@media (max-width: 640px) {
  .contact-page-section {
    overflow-x: clip !important;
  }

  .contact-page-section > .container {
    width: calc(100% - 28px) !important;
    max-width: 430px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    box-sizing: border-box !important;
  }

  .contact-layout,
  .contact-stack {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
    box-sizing: border-box !important;
  }

  .contact-layout {
    grid-template-columns: 1fr !important;
  }

  .contact-card,
  .contact-form-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .contact-card .btn,
  .contact-form .form-input,
  .contact-form .form-select,
  .contact-form .form-textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 390px) {
  .contact-page-section > .container {
    width: calc(100% - 20px) !important;
    max-width: 390px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }
}

/* Contact page: reduce the mobile gap below the header */
@media (max-width: 640px) {
  .contact-hero {
    padding-top: 64px !important;
    padding-bottom: 16px !important;
  }

  .contact-hero__inner {
    gap: 11px !important;
  }

  .contact-hero__badge {
    margin-top: 0 !important;
  }
}

@media (max-width: 390px) {
  .contact-hero {
    padding-top: 54px !important;
    padding-bottom: 14px !important;
  }
}

/* Mobile menu: compact, full-screen drawer */
@media (max-width: 640px) {
  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .mobile-menu-fab,
  body.menu-open .nav__mobile-toggle {
    display: none !important;
  }

  .mobile-menu {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    padding: max(14px, env(safe-area-inset-top)) 20px calc(16px + env(safe-area-inset-bottom)) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    overflow-y: auto !important;
    background:
      radial-gradient(circle at 84% 8%, rgba(199, 73, 95, 0.1), transparent 26%),
      radial-gradient(circle at 12% 88%, rgba(105, 204, 112, 0.1), transparent 30%),
      linear-gradient(180deg, #ffffff 0%, #fbfaf6 100%) !important;
    z-index: 100000 !important;
  }

  .mobile-menu:not(.is-open):not(.active) {
    pointer-events: none !important;
  }

  .mobile-menu.is-open,
  .mobile-menu.active {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .mobile-menu__header {
    min-height: 48px !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .mobile-menu__header .nav__logo {
    min-width: 0 !important;
    gap: 8px !important;
  }

  .mobile-menu__header .nav__logo-img {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    border-radius: 9px !important;
  }

  .mobile-menu__header .nav__logo-text {
    max-width: calc(100vw - 132px) !important;
    overflow: hidden !important;
    font-size: 0.98rem !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .mobile-menu__close {
    position: static !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: #f1eee8 !important;
    color: var(--color-ink) !important;
    font-size: 1.35rem !important;
    line-height: 1 !important;
    box-shadow: 0 10px 24px rgba(27, 36, 48, 0.12) !important;
  }

  .mobile-menu__links {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
  }

  .mobile-menu__links li {
    border-bottom: 1px solid rgba(27, 36, 48, 0.1) !important;
  }

  .mobile-menu__links a {
    height: auto !important;
    min-height: 48px !important;
    padding: 10px 0 !important;
    color: var(--color-ink) !important;
    font-size: clamp(1.08rem, 5.2vw, 1.38rem) !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
    line-height: 1.15 !important;
  }

  .mobile-menu__cta {
    margin-top: auto !important;
    padding-top: 12px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .mobile-menu__cta .btn {
    width: 100% !important;
    min-height: 44px !important;
    height: auto !important;
    padding: 11px 16px !important;
    justify-content: center !important;
    border-radius: 999px !important;
    font-size: 0.88rem !important;
    line-height: 1 !important;
  }

  .mobile-menu__cta .btn svg {
    width: 17px !important;
    height: 17px !important;
  }
}

@media (max-width: 380px) {
  .mobile-menu {
    padding-right: 16px !important;
    padding-left: 16px !important;
    gap: 12px !important;
  }

  .mobile-menu__header .nav__logo-img {
    width: 32px !important;
    height: 32px !important;
    flex-basis: 32px !important;
  }

  .mobile-menu__header .nav__logo-text {
    max-width: calc(100vw - 120px) !important;
    font-size: 0.9rem !important;
  }

  .mobile-menu__close {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
    font-size: 1.25rem !important;
  }

  .mobile-menu__links a {
    min-height: 44px !important;
    padding: 9px 0 !important;
    font-size: 1.06rem !important;
  }

  .mobile-menu__cta .btn {
    min-height: 42px !important;
    font-size: 0.84rem !important;
  }
}
