.ftdplm-elementor-main {
  min-height: 40vh;
}

.ftdplm-elementor-content {
  width: 100%;
}

/* Inner page styles for FTD WordPress theme */
.hx-header--inner,
.hx-header.is-solid {
  position: sticky;
  top: 0;
  background: rgba(34, 82, 102, 0.98);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-banner) 0%, #1a3d4d 100%);
  color: var(--color-white);
  padding: calc(var(--header-h) + 3.25rem) 0 3.4rem;
  overflow: hidden;
  isolation: isolate;
}

.page-hero--photo {
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3.6rem;
}

.page-hero-media,
.page-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
}

.page-hero-shade {
  background:
    linear-gradient(105deg, rgba(20, 48, 60, 0.92) 0%, rgba(34, 82, 102, 0.72) 48%, rgba(14, 24, 30, 0.55) 100%),
    linear-gradient(to top, rgba(8, 16, 22, 0.55), transparent 55%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-breadcrumb a:hover {
  color: var(--color-primary, #E8722A);
}

.page-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.4);
}

.page-breadcrumb-current {
  color: #fff;
  font-weight: 600;
}

.page-hero .hx-label,
.page-hero .hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  max-width: 18ch;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
  margin: 0;
}

.content-area {
  max-width: 800px;
}

.content-area p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--color-body);
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}

.vm-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-primary);
  padding: 1.85rem 1.75rem 1.9rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 10px 28px rgba(34, 82, 102, 0.06);
}

.vm-card h3 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 0.85rem;
  font-weight: 700;
}

.vm-card p {
  margin: 0;
  color: var(--color-body);
  line-height: 1.75;
  font-size: 0.98rem;
}

.vm-card-index {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(34, 82, 102, 0.45);
  margin-bottom: 0.65rem;
}

/* About — Engineering Brilliance (PDF page 2 inspired) */
.hx-brilliance {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(232, 114, 42, 0.08), transparent 42%),
    linear-gradient(180deg, #f7f9fb 0%, #ffffff 55%);
}

.hx-brilliance-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hx-brilliance-title {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--color-dark, #0a0a0a);
  margin: 0.35rem 0 1.1rem;
  font-weight: 700;
  max-width: 14ch;
}

.hx-brilliance-title em {
  font-style: normal;
  color: var(--color-primary, #E8722A);
}

.hx-brilliance-beyond {
  display: inline;
  color: var(--color-primary, #E8722A);
  position: relative;
}

.hx-brilliance-beyond::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.12em;
  background: rgba(232, 114, 42, 0.35);
  z-index: -1;
}

.hx-brilliance-lead {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--color-banner, #225266);
  font-weight: 600;
  max-width: 38ch;
  margin: 0 0 1.25rem;
}

.hx-brilliance-body p {
  margin: 0 0 1rem;
  line-height: 1.8;
  color: var(--color-body);
  max-width: 58ch;
}

.hx-brilliance-body p:last-child {
  margin-bottom: 0;
}

.hx-brilliance-media {
  position: relative;
}

.hx-brilliance-frame {
  border: 2px solid var(--color-primary, #E8722A);
  box-shadow: 14px 18px 40px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #d8dde2;
}

.hx-brilliance-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(0.15);
}

.hx-brilliance-stat {
  position: absolute;
  left: -1rem;
  bottom: 1.5rem;
  background: var(--color-banner, #225266);
  color: #fff;
  padding: 1rem 1.15rem;
  min-width: 7.5rem;
  box-shadow: 0 12px 28px rgba(34, 82, 102, 0.28);
}

.hx-brilliance-stat strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hx-brilliance-stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hx-vm {
  padding: 3.5rem 0 4rem;
  background: linear-gradient(180deg, #eef3f6 0%, #e8eef2 100%);
}

.hx-vm-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.hx-vm-head .hx-title {
  margin: 0.25rem 0 0;
}

.vm-card--vision {
  border-left-color: var(--color-banner, #225266);
}

.vm-card--mission {
  border-left-color: var(--color-primary, #E8722A);
}

@media (max-width: 900px) {
  .hx-brilliance-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hx-brilliance-title {
    max-width: none;
  }

  .hx-brilliance-frame {
    aspect-ratio: 16 / 11;
    max-width: 560px;
  }

  .hx-brilliance-stat {
    left: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 700px) {
  .vm-grid {
    grid-template-columns: 1fr;
  }
}

/* Elementor About — keep Vision/Mission paired */
.ftd-about-vm .ftd-vm-card,
.ftd-about-vm .e-con.e-child {
  min-height: 220px;
}

.ftd-about-brilliance .elementor-widget-heading .elementor-heading-title {
  letter-spacing: -0.02em;
}

.value-grid,
.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.value-item,
.office-card,
.case-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  padding: 1.35rem;
}

/* Team — screenshot layout: 5-up, orange frames, grayscale photos */
.hx-team-section {
  padding-top: 0.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.75rem 1.35rem;
  margin-top: 1.5rem;
  align-items: start;
}

.team-card {
  background: transparent;
  border: 0;
  padding: 0;
  text-align: center;
}

.team-photo {
  position: relative;
  border: 2px solid var(--color-primary, #E8722A);
  box-shadow: 4px 6px 18px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 1 / 1;
  width: 100%;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(1);
  transition: filter 0.35s ease, transform 0.45s ease;
}

.team-card:hover .team-photo img {
  filter: grayscale(0.15);
  transform: scale(1.03);
}

.team-photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 0.7rem 0.75rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  text-align: left;
}

.team-photo-caption h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.team-photo-caption p {
  margin: 0.2rem 0 0;
  color: var(--color-primary, #E8722A);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.team-meta {
  margin-top: 0.7rem;
  text-align: center;
}

.team-meta h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark, #1a1a1a);
  line-height: 1.25;
}

.team-meta p,
.team-role-extra {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary, #E8722A);
  line-height: 1.35;
}

.team-avatar {
  width: 100%;
  height: 100%;
  min-height: 140px;
  border-radius: 0;
  background: var(--color-banner);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
}

.value-item h4,
.office-card h3,
.case-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--color-dark);
}

.value-item p,
.office-card p,
.case-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 0.9rem;
  }
}

/* Elementor Team page — force equal square photos */
.ftd-team-grid.e-con,
.ftd-team-grid {
  align-items: stretch !important;
}

.ftd-team-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.ftd-team-card .elementor-widget-image,
.ftd-team-photo {
  width: 100% !important;
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
}

.ftd-team-card .elementor-widget-image img,
.ftd-team-photo img,
body.page-id-10 .elementor-widget-image img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.service-detail {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-line);
}

.service-detail h2 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  color: var(--color-dark);
}

.service-detail ul {
  list-style: none;
}

.service-detail li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1rem;
  color: var(--color-body);
}

.service-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ——— Services page — skillset + design studio ——— */
.page-services .svc-skillset {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}

.svc-skillset-head,
.svc-studio-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.svc-skillset-intro,
.svc-studio-intro {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-body);
}

.svc-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.svc-offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 2rem 1.75rem 1.75rem;
  background: #fff;
  border: 1px solid rgba(34, 82, 102, 0.1);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(20, 48, 60, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.svc-offer-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-primary, #E8722A), #225266);
  opacity: 0.85;
}

.svc-offer-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 114, 42, 0.35);
  box-shadow: 0 18px 44px rgba(20, 48, 60, 0.12);
}

.svc-offer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.svc-offer-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-primary, #E8722A);
}

.svc-offer-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 82, 102, 0.08);
  color: #225266;
}

.svc-offer-icon svg {
  width: 24px;
  height: 24px;
}

.svc-offer-card h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  line-height: 1.25;
}

.svc-offer-card > p {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-body);
}

.svc-offer-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.svc-offer-list li {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #225266;
  background: rgba(34, 82, 102, 0.07);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.svc-more-btn {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 8px;
  border: 1.5px solid #225266;
  color: #225266;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.svc-more-btn:hover {
  background: var(--color-primary, #E8722A);
  border-color: var(--color-primary, #E8722A);
  color: #fff;
  gap: 0.6rem;
}

.svc-studio {
  position: relative;
  padding: 4.5rem 0 4rem;
  background:
    linear-gradient(180deg, rgba(246, 248, 250, 0.96) 0%, rgba(236, 241, 244, 0.98) 100%),
    url("../images/hero/slide-designers.jpg") center / cover no-repeat;
  overflow: hidden;
}

.svc-studio::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(232, 114, 42, 0.08), transparent 45%),
    radial-gradient(ellipse at 90% 80%, rgba(34, 82, 102, 0.1), transparent 50%);
  pointer-events: none;
}

.svc-studio .wrap {
  position: relative;
  z-index: 1;
}

.svc-studio .hx-title em {
  font-style: normal;
  color: var(--color-primary, #E8722A);
}

.svc-studio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.svc-studio-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 1.5rem 1.25rem 1.35rem;
  box-shadow: 0 12px 32px rgba(20, 48, 60, 0.08);
  backdrop-filter: blur(4px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.svc-studio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 48, 60, 0.12);
}

.svc-studio-card h3 {
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(232, 114, 42, 0.35);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #225266;
  line-height: 1.3;
}

.svc-studio-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.svc-studio-card li {
  position: relative;
  padding: 0.38rem 0 0.38rem 0.95rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--color-body);
}

.svc-studio-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary, #E8722A);
}

@media (max-width: 1100px) {
  .svc-studio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .svc-offer-grid,
  .svc-studio-grid {
    grid-template-columns: 1fr;
  }

  .svc-offer-card {
    padding: 1.6rem 1.35rem 1.4rem;
  }
}

.partner-badge {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--color-primary);
  background: var(--color-light);
}

/* Clients page — PDF page 7 groupings + color logos */
.hx-clients-page {
  padding-top: 2.5rem;
}

.client-group {
  margin-bottom: 2.75rem;
}

.client-group:last-child {
  margin-bottom: 0;
}

.client-group-title {
  margin: 0 0 1.15rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary, #E8722A);
  padding-bottom: 0.55rem;
  border-bottom: 2px solid rgba(232, 114, 42, 0.28);
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.client-logo-card {
  background: #fff;
  border: 1px solid rgba(34, 82, 102, 0.1);
  box-shadow: 0 8px 22px rgba(34, 82, 102, 0.05);
  padding: 1rem 0.7rem 0.85rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.client-logo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 114, 42, 0.45);
  box-shadow: 0 14px 28px rgba(34, 82, 102, 0.1);
}

.client-logo-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f9fb;
  border-radius: 12px;
  overflow: hidden;
}

.client-logo-mark img {
  max-width: 70%;
  max-height: 70%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  /* Keep brand colors — do not grayscale */
  filter: none;
}

.client-logo-fallback {
  font-weight: 700;
  color: var(--color-banner, #225266);
  letter-spacing: 0.04em;
}

.client-logo-name {
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--color-dark, #1a1a1a);
}

@media (max-width: 1100px) {
  .client-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .client-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-info-section {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}

.contact-info-head {
  margin-bottom: 1.5rem;
}

.contact-info-head .hx-title {
  margin: 0.2rem 0 0;
}

.contact-info-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-info-chip {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.15rem;
  background: #fff;
  border: 1px solid rgba(34, 82, 102, 0.12);
  box-shadow: 0 10px 28px rgba(34, 82, 102, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

a.contact-info-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 114, 42, 0.45);
  box-shadow: 0 14px 30px rgba(34, 82, 102, 0.1);
}

.contact-info-ico {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 114, 42, 0.1);
  border: 1px solid rgba(232, 114, 42, 0.25);
  color: var(--color-primary, #E8722A);
}

.contact-info-ico svg {
  width: 18px;
  height: 18px;
}

.contact-info-meta {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.contact-info-meta strong {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-banner, #225266);
}

.contact-info-meta > span {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-dark, #1a1a1a);
  word-break: break-word;
}

.contact-info-chip--social {
  align-items: flex-start;
}

.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.15rem;
}

.contact-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 82, 102, 0.08);
  border: 1px solid rgba(34, 82, 102, 0.12);
  color: var(--color-banner, #225266);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact-social-btn svg {
  width: 15px;
  height: 15px;
}

.contact-social-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.contact-social-btn--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.contact-social-btn--linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
}

.contact-offices-section .office-grid {
  margin-top: 0.5rem;
}

.office-card {
  position: relative;
}

.office-card--featured {
  border-color: rgba(232, 114, 42, 0.45);
  box-shadow: 0 12px 30px rgba(232, 114, 42, 0.1);
}

.office-card-badge {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-primary, #E8722A);
}

.contact-form-section {
  background: #fff;
}

.contact-form-wrap {
  max-width: 860px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--color-line);
  font-family: var(--font);
  font-size: 0.95rem;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-notice {
  background: rgba(232, 114, 42, 0.1);
  border-left: 3px solid var(--color-primary);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.form-success {
  background: rgba(34, 82, 102, 0.08);
  border: 1px solid var(--color-banner);
  padding: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--color-banner);
}

@media (max-width: 900px) {
  .contact-info-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .vm-grid,
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

