/*
Theme Name: Modern Concrete
Theme URI: https://modernok.hk
Description: Custom theme for Modern Concrete Drilling & Cutting Limited - migrated from PHPCMS.
Version: 1.0
Author: Modern Concrete
Text Domain: modernconcrete
*/

:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-soft: #edf2fb;
  --text: #152a52;
  --muted: #56657f;
  --border: rgba(36, 57, 131, 0.14);
  --accent: #f3b54a;
  --accent-strong: #df9d23;
  --accent-deep: #243983;
  --shadow-lg: 0 24px 54px rgba(22, 41, 93, 0.16);
  --shadow-md: 0 16px 32px rgba(22, 41, 93, 0.1);
  --container: min(1240px, calc(100% - 40px));
  --ease: 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-sans: "PingFang TC", "PingFang HK", "PingFang SC", "Hiragino Sans GB", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  --fs-body: 1.0625rem;
  --fs-body-lg: 1.125rem;
  --fs-body-sm: 0.9375rem;
  --fs-nav: 1rem;
  --fs-nav-mobile: 1.5rem;
  --fs-button: 1rem;
  --fs-phone: 1rem;
  --fs-kicker: 0.875rem;
  --fs-overline: 0.8125rem;
  --fs-heading-hero: clamp(2.75rem, 5vw, 4.25rem);
  --fs-heading-page: clamp(2.125rem, 3.8vw, 3.25rem);
  --fs-heading-section: clamp(1.875rem, 3vw, 2.5rem);
  --fs-heading-centered: clamp(2rem, 3vw, 2.75rem);
  --fs-heading-subsection: clamp(1.625rem, 2.4vw, 2.125rem);
  --fs-heading-card: clamp(1.25rem, 1.8vw, 1.625rem);
  --fs-heading-form: clamp(1.625rem, 2.4vw, 2rem);
  --fs-heading-footer: 1.25rem;
  --fs-statement: clamp(1.375rem, 2.5vw, 2rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .site-header {
  background: transparent !important;
  border-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease), opacity var(--ease), transform var(--ease), background-color var(--ease), border-color var(--ease), box-shadow var(--ease);
}

img {
  display: block;
  max-width: 100%;
}

iframe {
  border: 0;
}

[id] {
  scroll-margin-top: 120px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.narrow-copy {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.centered-copy {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(246, 249, 255, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: box-shadow var(--ease), border-color var(--ease), background-color var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(18, 33, 79, 0.08);
  border-color: rgba(36, 57, 131, 0.1);
}

.nav-shell {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 96px;
  padding: 10px 0 12px;
}

.brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: auto;
  padding: 4px 0;
  text-align: left;
}

.brand-mark {
  width: 56px;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: none;
  margin-top: 0;
}

.brand-name {
  display: block;
  color: #000;
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: 0.015em;
  max-width: 420px;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

.brand-tagline {
  display: none;
}

.brand-mark-fallback {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--accent-deep);
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.main-nav {
  justify-self: center;
}

.menu-list {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  position: relative;
}

.menu-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: var(--fs-nav);
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: 0.01em;
}

.menu-link-label {
  display: inline-block;
}

.menu-link-caret {
  width: 10px;
  height: 10px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.78;
  transform: rotate(45deg);
  transition: transform var(--ease), opacity var(--ease);
}

.menu-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--ease);
}

.menu-link:hover,
.menu-link.active {
  color: var(--accent);
}

.menu-item.is-active-branch > .menu-link {
  color: var(--accent);
}

.menu-link:hover::after,
.menu-link.active::after {
  transform: scaleX(1);
}

.menu-item.has-children:hover > .menu-link .menu-link-caret,
.menu-item.has-children:focus-within > .menu-link .menu-link-caret {
  opacity: 1;
  transform: translateY(2px) rotate(-135deg);
}

.sub-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  min-width: 240px;
  padding: 12px;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--ease), visibility var(--ease), transform var(--ease);
  z-index: 30;
}

.sub-menu > .menu-item {
  position: relative;
}

.sub-menu > .menu-item + .menu-item {
  margin-top: 6px;
}

.sub-menu .menu-link {
  width: 100%;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 14px;
  color: var(--muted);
  font-family: "Barlow Condensed", sans-serif;
  font-size: var(--fs-body);
}

.sub-menu .menu-link::after {
  display: none;
}

.sub-menu .menu-link-caret {
  width: 8px;
  height: 8px;
  margin-top: 0;
  transform: rotate(-45deg);
}

.sub-menu .menu-item.has-children:hover > .menu-link .menu-link-caret,
.sub-menu .menu-item.has-children:focus-within > .menu-link .menu-link-caret,
.sub-menu .menu-item.is-active-branch > .menu-link .menu-link-caret {
  transform: translateX(2px) rotate(-45deg);
}

.sub-menu .menu-link:hover,
.sub-menu .menu-link.active,
.sub-menu .menu-item.is-active-branch > .menu-link {
  background: rgba(243, 181, 74, 0.14);
  color: var(--accent-deep);
}

.menu-item:hover > .sub-menu,
.menu-item:focus-within > .sub-menu,
.menu-item.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu .sub-menu {
  top: -12px;
  left: calc(100% + 10px);
  transform: translateX(12px);
}

.submenu-toggle {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-contact-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  white-space: nowrap;
  line-height: 1.18;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-deep);
}

.lang-switch:hover {
  border-color: rgba(243, 181, 74, 0.4);
  box-shadow: 0 10px 24px rgba(22, 41, 93, 0.1);
}

.lang-flag {
  width: 24px;
  height: 16px;
  flex: 0 0 24px;
  display: inline-block;
  border-radius: 3px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 0 0 1px rgba(36, 57, 131, 0.08);
}

.lang-flag-hk {
  background-image: url("data:image/svg+xml;utf8,%3Csvg width='21' height='15' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient x1='50%25' y1='0%25' x2='50%25' y2='100%25' id='a'%3E%3Cstop stop-color='%23FFF' offset='0%25'/%3E%3Cstop stop-color='%23F0F0F0' offset='100%25'/%3E%3C/linearGradient%3E%3ClinearGradient x1='50%25' y1='0%25' x2='50%25' y2='100%25' id='b'%3E%3Cstop stop-color='%23F0371D' offset='0%25'/%3E%3Cstop stop-color='%23DE290F' offset='100%25'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath fill='url(%23a)' d='M0 0h21v15H0z'/%3E%3Cpath fill='url(%23b)' d='M0 0h21v15H0z'/%3E%3Cpath d='M12 7.19c-.798-.5-1 .409-1 0 0-.828.895-1.5 2-1.5s2 .672 2 1.5c-.949 0-1.044.5-1.5.5-.56 0-.702 0-1.5-.5zM13.25 7a.25.25 0 100-.5.25.25 0 000 .5zm-1.81 1.962c.228-.913-.698-.824-.31-.95.788-.257 1.703.387 2.045 1.438.341 1.05-.021 2.11-.809 2.366-.293-.903-.798-.838-.939-1.272-.173-.533-.217-.668.012-1.582zm.566 1.13a.25.25 0 10.476-.154.25.25 0 00-.476.154zM9.58 8.977c.94-.065.57-.919.81-.588.486.67.157 1.74-.737 2.389-.894.65-2.013.632-2.5-.038.768-.558.55-1.018.92-1.286.453-.33.568-.413 1.507-.477zm-.899.888a.25.25 0 10.294.405.25.25 0 00-.294-.405zm.312-2.652c.351.874 1.049.258.809.588-.487.67-1.606.687-2.5.038-.894-.65-1.223-1.719-.736-2.39.767.559 1.138.21 1.507.478.453.33.568.413.92 1.286zm-1.124-.58a.25.25 0 10-.293.404.25.25 0 00.293-.404zm2.619-.524c-.722.605.08 1.078-.309.951-.788-.256-1.15-1.315-.809-2.365.342-1.05 1.257-1.695 2.045-1.439-.293.903.153 1.147.012 1.581-.173.533-.217.668-.939 1.272zm.205-1.247a.25.25 0 10-.475-.155.25.25 0 00.475.155z' fill='url(%23a)'/%3E%3C/g%3E%3C/svg%3E");
}

.lang-flag-us {
  background-image: url("data:image/svg+xml;utf8,%3Csvg width='21' height='15' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M0 0h21v1.15H0zm0 2.3h21v1.15H0zm0 4.6h21v1.15H0zm0 6.9h21v1.2H0zm0 9.25h21v1.15H0zm0 11.55h21v1.15H0z' fill='%23fff'/%3E%3Cpath d='M0 1.15h21v1.15H0zm0 3.45h21v1.15H0zm0 3.45h21v1.15H0zm0 3.45h21v1.15H0zm0 3.45h21v1.2H0zm0 3.5h21v1.15H0z' fill='%23B22234'/%3E%3Cpath d='M0 0h8.4v7.7H0z' fill='%233C3B6E'/%3E%3C/g%3E%3C/svg%3E");
}

.lang-caret {
  font-size: var(--fs-overline);
  color: #667595;
}

.btn-primary,
.btn-outline,
.btn-dark,
.service-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: var(--fs-button);
  font-weight: 600;
  letter-spacing: 0;
}

.btn-primary {
  padding: 15px 28px;
  background: var(--accent);
  color: var(--accent-deep);
  border: 0;
  box-shadow: 0 16px 28px rgba(243, 181, 74, 0.28);
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
}

.btn-outline {
  padding: 15px 28px;
  border: 1.5px solid rgba(36, 57, 131, 0.28);
  color: var(--accent-deep);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.btn-dark,
.service-card-link {
  padding: 14px 24px;
  border: 0;
  background: var(--accent-deep);
  color: #fff;
}

.btn-dark:hover,
.service-card-link:hover {
  background: #182b66;
  transform: translateY(-2px);
}

.btn-quote {
  padding-inline: 14px;
  min-height: 38px;
  font-size: 0.875rem;
}

.nav-phone,
.nav-whatsapp,
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: var(--fs-phone);
  font-weight: 500;
  color: var(--accent-deep);
}

.nav-phone,
.phone-link-inline {
  color: #000;
}

.nav-phone:hover,
.nav-whatsapp:hover,
.phone-link:hover {
  color: var(--accent-strong);
}

.nav-phone:hover,
.phone-link-inline:hover {
  color: #000;
}

.phone-whatsapp-inline,
.phone-whatsapp-stack {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.phone-whatsapp-stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.phone-link-inline,
.phone-link-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: var(--fs-phone);
  font-weight: 500;
}

.phone-link-inline {
  color: #000;
}

.phone-link-whatsapp {
  color: #25d366;
}

.phone-link-whatsapp:hover {
  color: #128c7e;
}

.phone-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
}

.nav-whatsapp,
.nav-contact-link-whatsapp {
  color: #25d366;
}

.nav-whatsapp:hover,
.nav-contact-link-whatsapp:hover {
  color: #128c7e;
}

.whatsapp-icon {
  width: 1.08em;
  height: 1.08em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.08em;
}

.whatsapp-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.whatsapp-icon-bubble {
  fill: currentColor;
}

.whatsapp-icon-phone {
  fill: #fff;
}

.nav-overlay,
.nav-panel-head,
.nav-panel-footer,
.nav-close,
.mobile-toggle,
.mobile-quick-nav,
.mobile-lang-switch {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 104px);
  padding: 130px 0 160px;
  background-color: #20346d;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.hero-home {
  background-position: center 62%;
}

.hero-shell {
  position: relative;
  display: flex;
  align-items: center;
  min-height: max(360px, calc(100svh - 394px));
}

.hero-content {
  max-width: min(760px, 100%);
}

.hero-content h1 {
  margin: 0 0 24px;
  font-size: var(--fs-heading-hero);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow: 0 18px 38px rgba(14, 18, 21, 0.2);
  text-wrap: balance;
}

.hero-content p {
  max-width: 620px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--fs-body-lg);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions-center {
  justify-content: center;
}

.hero-badge-wrap {
  position: relative;
  margin-top: -42px;
  z-index: 2;
}

.hero-badge-bar {
  width: fit-content;
  max-width: 100%;
  min-width: min(640px, 100%);
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 30px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(135deg, #20326a, #2e4899);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: var(--fs-body);
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.hero-badge-item:hover,
.hero-badge-item:focus-visible {
  opacity: 0.86;
}

.hero-badge-item:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 4px;
  border-radius: 999px;
}

.hero-badge-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(243, 181, 74, 0.18);
}

.section {
  padding: clamp(76px, 10vw, 120px) 0;
}

.page-banner {
  padding: clamp(52px, 8vw, 88px) 0 8px;
}

.page-banner .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-banner-with-emblem .container {
  flex-direction: row;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.page-banner-emblem {
  width: min(168px, 34vw);
  height: auto;
  display: block;
  margin: 0;
}

.page-banner h1 {
  margin: 0;
  color: var(--accent-deep);
  font-size: var(--fs-heading-page);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.page-banner + .section {
  padding-top: clamp(28px, 5vw, 44px);
}

.section-soft {
  background: var(--surface-soft);
}

/* Remove background from process cards section only */
.services-insight-section.section-soft {
  background: transparent;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 68px;
  align-items: center;
}

.split-section-intro {
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
}

.section-copy h1,
.section-copy h2,
.section-title h2,
.page-head h1,
.centered-copy h2,
.project-list-copy h2,
.service-feature-copy h2 {
  margin: 0 0 24px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--text);
}

.section-copy h1,
.section-copy h2,
.page-head h1 {
  font-size: var(--fs-heading-page);
}

.section-title h2 {
  font-size: var(--fs-heading-section);
}

.centered-copy h2 {
  font-size: var(--fs-heading-centered);
}

.service-feature-copy h2,
.project-list-copy h2 {
  font-size: var(--fs-heading-subsection);
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--accent-deep);
  font-family: "Barlow Condensed", sans-serif;
  font-size: var(--fs-kicker);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.section-title-center {
  text-align: center;
}

.body-copy {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.78;
}

.feature-list {
  margin: 26px 0 0;
  padding-left: 28px;
  color: var(--text);
}

.feature-list li {
  margin: 0 0 12px;
  font-size: var(--fs-body);
}

.inline-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.rounded-media,
.page-media-frame,
.service-card,
.value-card,
.service-feature,
.contact-form-card {
  box-shadow: var(--shadow-lg);
}

.rounded-media,
.page-media-frame,
.image-placeholder,
.card-placeholder {
  overflow: hidden;
  background: var(--surface);
}

.rounded-media {
  border-radius: 34px;
}

.rounded-media-large {
  min-height: 420px;
}

.rounded-media-side {
  min-height: 420px;
  max-width: 480px;
  justify-self: end;
}

.rounded-media img,
.page-media-frame img,
.service-card-media img,
.service-feature-media img,
.project-list-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.statement-band {
  padding: clamp(102px, 12vw, 164px) 0;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
}

.statement-band p {
  margin: 0 0 28px;
  font-size: var(--fs-statement);
  line-height: 1.55;
  font-weight: 700;
  text-shadow: 0 16px 26px rgba(21, 21, 21, 0.14);
}

.section-title {
  margin-bottom: 34px;
}

.services-preview .service-slider {
  position: relative;
}

.service-slider-viewport {
  overflow: hidden;
  background: transparent;
  border-radius: 28px;
}

.service-slider-track {
  display: flex;
  align-items: stretch;
  gap: 28px;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.service-slide {
  flex: 0 0 calc((100% - 56px) / 3);
}

.service-card {
  min-height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(36, 57, 131, 0.08);
}

.services-preview .service-card {
  box-shadow: none;
}

.child-page-card {
  display: flex;
  min-height: 100%;
}

.child-page-card-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 30px 28px;
}

.child-page-card p {
  margin: 14px 0 24px;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.78;
}

.child-page-card .service-card-link {
  margin-top: auto;
  align-self: flex-start;
}

.service-card-visual {
  display: flex;
  flex-direction: column;
}

.service-card-media {
  height: clamp(260px, 32vw, 360px);
  background: #e5ecfa;
}

.service-card-body {
  padding: 28px 28px 32px;
}

.service-card-index {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: "Barlow Condensed", sans-serif;
  font-size: var(--fs-overline);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: var(--fs-heading-card);
  line-height: 1.16;
  font-weight: 900;
}

.service-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.72;
}

.slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 30px;
}

.slider-btn {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent-deep);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.slider-btn:hover {
  border-color: rgba(243, 181, 74, 0.35);
  color: var(--accent-strong);
}

.slider-btn:disabled {
  opacity: 0.38;
  cursor: default;
  box-shadow: none;
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c9d5ef;
  cursor: pointer;
}

.slider-dots button.active {
  width: 44px;
  background: var(--accent);
}

.cta-center {
  padding-top: 28px;
  padding-bottom: clamp(84px, 10vw, 120px);
}

.centered-copy p {
  max-width: 720px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: var(--fs-body-lg);
  line-height: 1.82;
}

.page-media-hero {
  padding: 48px 0 0;
}

.page-media-hero-services {
  padding-bottom: 24px;
}

.page-media-frame {
  min-height: 360px;
  border-radius: 36px;
  background: var(--surface);
}

.page-head {
  width: min(860px, 100%);
  margin-top: 46px;
}

.page-head.compact {
  width: 100%;
  margin-top: 0;
}

.page-lead {
  margin-top: 16px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 18px;
}

.value-card {
  min-height: 100%;
  padding: 32px 28px;
  background: var(--surface);
  border-radius: 28px;
}

.value-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 22px;
}

.value-card p {
  margin: 0;
  color: var(--text);
  font-size: var(--fs-body);
  line-height: 1.82;
}

.anchor-nav-section {
  padding-top: 20px;
  padding-bottom: 26px;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.anchor-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent-deep);
  font-family: "Barlow Condensed", sans-serif;
  font-size: var(--fs-body);
  box-shadow: var(--shadow-md);
}

.anchor-nav a:hover {
  border-color: rgba(243, 181, 74, 0.4);
  color: var(--accent-deep);
}

.service-feature-stack {
  display: grid;
  gap: 36px;
}

.service-feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
  padding: 28px;
  background: var(--surface);
  border-radius: 34px;
}

.service-feature.reverse .service-feature-media {
  order: 2;
}

.service-feature.reverse .service-feature-copy {
  order: 1;
}

.service-feature-media {
  min-height: 380px;
  overflow: hidden;
  border-radius: 26px;
  background: #e9effb;
}

.service-feature-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.85;
}

.services-page-hero {
  padding-top: 42px;
  padding-bottom: 46px;
}

.services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: clamp(22px, 3.5vw, 44px);
  align-items: stretch;
}

.services-hero-copy {
  align-self: start;
  max-width: 680px;
  display: flex;
  flex-direction: column;
}

.services-hero-lead {
  margin-top: 18px;
}

.services-hero-copy .body-copy:last-child {
  margin-bottom: 0;
}

.services-overview-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  align-items: stretch;
  flex: 1 1 auto;
}

.services-overview-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 255, 1) 100%);
  border: 1px solid rgba(36, 57, 131, 0.1);
  box-shadow: 0 14px 26px rgba(22, 41, 93, 0.08);
  color: inherit;
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.services-overview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 181, 74, 0.3);
  box-shadow: 0 20px 34px rgba(22, 41, 93, 0.12);
}

.services-overview-card-media {
  aspect-ratio: 1 / 1;
  width: 100%;
  min-height: 88px;
  overflow: hidden;
  background: #e5ecfa;
}

.services-overview-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-overview-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 14px 16px 0;
}

.services-overview-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.services-hero-foot-image {
  margin-top: 14px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(36, 57, 131, 0.1);
  box-shadow: 0 14px 26px rgba(22, 41, 93, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

.services-hero-foot-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 720px) {
  .services-overview-cards {
    grid-template-columns: 1fr;
  }

  .services-overview-card {
    grid-template-columns: 1fr;
  }

  .services-overview-card-media {
    aspect-ratio: 4 / 3;
    min-height: auto;
  }

  .services-overview-card-body {
    padding: 0 16px 16px;
  }

  .services-hero-foot-image {
    margin-top: 12px;
  }
}

.services-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.services-hero-media {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  min-height: 100%;
}

.services-hero-frame {
  min-height: 0;
  border-radius: 40px;
  flex: 1 1 auto;
}

.services-hero-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.services-hero-track {
  gap: 0;
  align-items: stretch;
}

.services-hero-slide {
  position: relative;
  flex: 0 0 100%;
  overflow: hidden;
  border-radius: 40px;
  min-height: 0;
  height: 100%;
  padding: 14px;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(244, 247, 252, 0.96) 0%, rgba(233, 238, 247, 0.96) 100%);
  border: 0;
  cursor: zoom-in;
}

.services-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
}

.services-hero-slide:focus-visible {
  outline: 3px solid rgba(243, 181, 74, 0.55);
  outline-offset: 3px;
}

.services-hero-slide-count {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 52px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent-deep);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(22, 41, 93, 0.14);
}

.services-hero-controls {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}

.services-hero-controls .slider-btn {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  box-shadow: 0 14px 30px rgba(22, 41, 93, 0.16);
}

.services-hero-carousel .slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  justify-content: center;
  z-index: 3;
}

.services-hero-carousel .slider-dots button {
  background: rgba(255, 255, 255, 0.5);
}

.services-hero-carousel .slider-dots button.active {
  background: var(--accent);
}

.services-metric-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: -76px 24px 0;
}

.services-metric-card {
  min-height: 100%;
  padding: 24px 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(36, 57, 131, 0.1);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

.services-metric-value {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
}

.services-metric-label {
  display: block;
  color: var(--muted);
  font-size: var(--fs-body-sm);
  line-height: 1.7;
}

.services-overview-section {
  padding-top: 14px;
}

.services-overview-slab {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  padding: clamp(32px, 4.8vw, 48px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.99) 0%, rgba(242, 246, 255, 0.98) 52%, rgba(232, 239, 252, 0.98) 100%);
  border: 1px solid rgba(36, 57, 131, 0.12);
  border-radius: 38px;
  box-shadow: 0 30px 64px rgba(22, 41, 93, 0.12);
}

.services-overview-slab::before,
.services-overview-slab::after,
.services-tab-shell::before,
.services-tab-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.services-overview-slab::before {
  top: -112px;
  right: -54px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(36, 57, 131, 0.18) 0%, rgba(36, 57, 131, 0.04) 48%, rgba(36, 57, 131, 0) 74%);
}

.services-overview-slab::after {
  left: 48%;
  bottom: -144px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(243, 181, 74, 0.22) 0%, rgba(243, 181, 74, 0.08) 44%, rgba(243, 181, 74, 0) 74%);
}

.services-overview-copy,
.services-anchor-nav,
.services-overview-side,
.services-overview-gallery,
.services-tab-head,
.services-tab-panel {
  position: relative;
  z-index: 1;
}

.services-overview-copy {
  max-width: 470px;
}

.services-overview-copy .section-kicker,
.services-tab-shell .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(36, 57, 131, 0.08);
  box-shadow: inset 0 0 0 1px rgba(36, 57, 131, 0.06);
}

.services-overview-copy .section-kicker::before,
.services-tab-shell .section-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 0 0 6px rgba(243, 181, 74, 0.14);
}

.services-overview-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: var(--fs-heading-subsection);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.16;
  text-wrap: balance;
}

.services-overview-copy p:last-child {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.85;
  max-width: 34ch;
}

.services-anchor-nav {
  align-content: start;
  gap: 16px;
  padding: 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
}

.services-overview-side {
  display: grid;
  gap: 18px;
}

.services-anchor-nav a {
  position: relative;
  min-height: 58px;
  padding: 14px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 255, 0.98) 100%);
  border: 1px solid rgba(36, 57, 131, 0.1);
  box-shadow: 0 14px 30px rgba(22, 41, 93, 0.08);
  overflow: hidden;
}

.services-anchor-nav a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(243, 181, 74, 0.95) 0%, rgba(36, 57, 131, 0.9) 100%);
  opacity: 0;
  transform: scaleX(0.45);
  transform-origin: center;
  transition: transform var(--ease), opacity var(--ease);
}

.services-anchor-nav a:hover,
.services-anchor-nav a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(243, 181, 74, 0.34);
  box-shadow: 0 18px 34px rgba(22, 41, 93, 0.12);
}

.services-anchor-nav a:hover::after,
.services-anchor-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.services-overview-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
}

.services-overview-gallery-slider {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
}

.services-overview-gallery-viewport {
  overflow: hidden;
}

.services-overview-gallery-track {
  display: flex;
  gap: 14px;
  transition: transform 260ms ease;
  will-change: transform;
}

.overview-gallery-slide {
  flex: 0 0 calc(50% - 7px);
}

.services-overview-gallery-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.services-overview-gallery-card {
  position: relative;
  display: block;
  min-height: 132px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(36, 57, 131, 0.08);
  box-shadow: 0 16px 28px rgba(22, 41, 93, 0.1);
  cursor: zoom-in;
}

.services-overview-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.services-overview-gallery-card:hover img,
.services-overview-gallery-card:focus-visible img {
  transform: scale(1.04);
  opacity: 0.95;
}

.services-overview-gallery-card:focus-visible {
  outline: 2px solid rgba(36, 57, 131, 0.24);
  outline-offset: 3px;
}

.services-insight-section {
  padding-top: 24px;
}

.services-tab-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(32px, 4.8vw, 46px);
  border: 1px solid rgba(36, 57, 131, 0.12);
  border-radius: 40px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.99) 0%, rgba(243, 247, 255, 0.98) 52%, rgba(232, 240, 253, 0.98) 100%);
  box-shadow: 0 30px 68px rgba(22, 41, 93, 0.14);
}

.services-tab-shell::before {
  top: -154px;
  right: -32px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(36, 57, 131, 0.18) 0%, rgba(36, 57, 131, 0.05) 48%, rgba(36, 57, 131, 0) 74%);
}

.services-tab-shell::after {
  left: -46px;
  bottom: -170px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(243, 181, 74, 0.2) 0%, rgba(243, 181, 74, 0.07) 44%, rgba(243, 181, 74, 0) 72%);
}

.services-tab-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.services-tab-head .section-copy {
  max-width: 760px;
}

.services-tab-head .section-copy h2 {
  text-wrap: balance;
}

.services-tab-head .body-copy {
  max-width: 48ch;
  margin-bottom: 0;
}

.services-tab-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(36, 57, 131, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 16px 32px rgba(22, 41, 93, 0.08);
  backdrop-filter: blur(14px);
}

.services-tab-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--accent-deep);
  font-size: var(--fs-body);
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
  transition: background-color var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.services-tab-trigger:hover {
  transform: translateY(-2px);
  background: rgba(36, 57, 131, 0.06);
  border-color: rgba(36, 57, 131, 0.08);
}

.services-tab-trigger.is-active {
  background: linear-gradient(135deg, #243983 0%, #314aa0 100%);
  border-color: rgba(36, 57, 131, 0.4);
  color: #fff;
  box-shadow: 0 18px 34px rgba(36, 57, 131, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.services-tab-panel {
  margin-top: 34px;
}

.services-tab-grid {
  margin-top: 0;
}

.services-process-followup {
  margin-top: 36px;
}

.services-project-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding: 22px 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(36, 57, 131, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.services-project-panel-head p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.82;
}

.services-project-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.services-project-grid-compact .project-list-card {
  opacity: 1;
  transform: none;
}

.services-project-grid-compact .project-list-copy {
  padding: 22px 22px 24px;
}

.service-proof-section,
.services-project-section {
  background: linear-gradient(180deg, rgba(237, 242, 251, 0.72) 0%, rgba(237, 242, 251, 1) 100%);
}

.service-feature-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

.service-proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-proof-grid .value-card {
  position: relative;
  overflow: hidden;
  padding: 32px 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 250, 255, 1) 100%);
  border: 1px solid rgba(36, 57, 131, 0.1);
  box-shadow: 0 18px 34px rgba(22, 41, 93, 0.1);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.service-proof-card h3,
.services-process-card h3 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: var(--fs-heading-card);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.16;
}

.service-proof-card p,
.services-process-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.72;
}

.services-process-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 4vw, 52px);
  align-items: start;
}

.services-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.services-process-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(245, 248, 255, 1) 100%);
  border: 1px solid rgba(36, 57, 131, 0.12);
  border-radius: 30px;
  box-shadow: 0 18px 34px rgba(22, 41, 93, 0.1);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.service-proof-card::before,
.services-process-card::before,
.services-project-grid-compact .project-list-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(243, 181, 74, 0.95) 0%, rgba(36, 57, 131, 0.88) 100%);
}

.services-tab-shell .services-process-card::before {
  height: 1px;
  background: rgba(36, 57, 131, 0.18);
}

.services-tab-head .section-copy h2,
.services-process-followup .section-copy h2 {
  font-size: clamp(1.8rem, 2.1vw, 2.3rem);
  line-height: 1.12;
}

.service-proof-grid .value-card:hover,
.services-process-card:hover,
.services-project-grid-compact .project-list-card:hover {
  transform: translateY(-6px);
  border-color: rgba(243, 181, 74, 0.26);
  box-shadow: 0 24px 42px rgba(31, 46, 92, 0.14);
}

.services-process-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 7px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(243, 181, 74, 0.18) 0%, rgba(36, 57, 131, 0.08) 100%);
  color: var(--accent-deep);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.services-detail-section {
  padding-top: 76px;
}

.service-accordion {
  display: grid;
  gap: 18px;
}

.service-accordion-item {
  border: 1px solid rgba(36, 57, 131, 0.1);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 247, 255, 0.96) 100%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.service-accordion-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px 28px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.service-accordion-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: rgba(36, 57, 131, 0.08);
  color: var(--accent-deep);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.service-accordion-main {
  min-width: 0;
}

.service-accordion-title {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

.service-accordion-summary {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service-accordion-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.service-accordion-icon::before,
.service-accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-deep);
  transform: translate(-50%, -50%);
  transition: transform var(--ease), opacity var(--ease);
}

.service-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.service-accordion-item.is-open .service-accordion-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(180deg);
}

.service-accordion-panel {
  border-top: 1px solid rgba(36, 57, 131, 0.08);
}

.service-accordion-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  padding: 0 28px 28px;
  align-items: start;
}

.service-accordion-media {
  min-height: 260px;
  overflow: hidden;
  border-radius: 24px;
  background: #e9effb;
}

.service-accordion-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-accordion-body {
  padding-top: 22px;
}

.service-accordion-copy {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.85;
}

.service-gallery-block {
  margin: 10px 0 28px;
  padding: 18px;
  border: 1px solid rgba(36, 57, 131, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.service-gallery-masonry {
  column-count: 3;
  column-gap: 14px;
}

.service-gallery-card {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(36, 57, 131, 0.06);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  break-inside: avoid;
}

.service-gallery-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 200ms ease, opacity 200ms ease;
}

.service-gallery-card:hover img,
.service-gallery-card:focus-visible img {
  transform: scale(1.03);
  opacity: 0.94;
}

.service-gallery-card:focus-visible {
  outline: 2px solid rgba(36, 57, 131, 0.24);
  outline-offset: 3px;
}

.service-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.service-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 18, 48, 0.82);
}

.service-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(92vw, 1200px);
  height: min(88vh, 900px);
  margin: 6vh auto;
  padding: 24px;
}

.service-lightbox-figure {
  max-width: 100%;
  max-height: 100%;
}

.service-lightbox-dialog img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.service-lightbox-caption {
  margin-top: 14px;
  color: #fff;
}

.service-lightbox-caption strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.service-lightbox-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.service-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-deep);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.service-lightbox-nav.prev {
  left: 8px;
}

.service-lightbox-nav.next {
  right: 8px;
}

.service-lightbox-close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-deep);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

.service-feature-rich {
  padding: 34px;
  border: 1px solid rgba(36, 57, 131, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 245, 255, 0.94) 100%);
}

.service-feature-topline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.service-feature-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(36, 57, 131, 0.08);
  color: var(--accent-deep);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.service-feature-rich .service-card-index {
  margin: 0;
}

.service-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.service-feature-tags span {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(36, 57, 131, 0.12);
  color: var(--accent-deep);
  font-size: var(--fs-body-sm);
  line-height: 1.4;
  box-shadow: 0 12px 22px rgba(22, 41, 93, 0.08);
}

.service-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.services-project-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}

.services-project-grid {
  margin-top: 0;
}

.services-project-grid .project-list-card {
  opacity: 1;
  transform: none;
}

.project-showcase {
  padding-top: 56px;
  padding-bottom: 120px;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 44px;
  align-items: stretch;
}

.project-list[data-animated="true"] .project-list-card {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.98);
}

.project-list-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(36, 57, 131, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 254, 0.98) 100%);
  box-shadow: var(--shadow-md);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
  will-change: transform, opacity;
}

.project-list[data-animated="true"] .project-list-card.is-visible,
.project-list-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: var(--project-delay, 0ms);
}

.project-list-card:hover {
  transform: translate3d(0, -10px, 0);
  border-color: rgba(243, 181, 74, 0.32);
  box-shadow: 0 26px 52px rgba(31, 46, 92, 0.16);
}

.project-list-card.is-visible:hover {
  transform: translate3d(0, -10px, 0);
}

.project-list-media {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  background: #fff;
}

.project-list-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 44%;
  background: linear-gradient(180deg, rgba(9, 18, 46, 0) 0%, rgba(9, 18, 46, 0.18) 100%);
  pointer-events: none;
}

.project-list-media img {
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.45s var(--ease);
}

.project-list-card:hover .project-list-media img {
  transform: scale(1.06);
  filter: saturate(1.04);
}

.project-list-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 14px;
  max-width: none;
  padding: 24px 24px 26px;
}

.project-list-copy h2 {
  margin: 0;
}

.project-list-copy h2 a {
  color: inherit;
  text-decoration: none;
}

.project-list-copy p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-card-link {
  margin-top: auto;
  padding-top: 8px;
}

.project-date {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(36, 57, 131, 0.06);
  color: var(--accent-deep);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.pagination button {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(36, 57, 131, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #6b7fb2;
  font-family: "Barlow Condensed", sans-serif;
  font-size: var(--fs-body-lg);
  cursor: pointer;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}

.pagination button:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 181, 74, 0.28);
  color: var(--accent-strong);
  box-shadow: 0 14px 28px rgba(31, 46, 92, 0.12);
}

.pagination button.active {
  color: var(--accent-strong);
  background: linear-gradient(135deg, rgba(243, 181, 74, 0.18) 0%, rgba(255, 255, 255, 0.98) 100%);
  border-color: rgba(243, 181, 74, 0.4);
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(243, 181, 74, 0.16);
}

.contact-showcase {
  padding-top: 84px;
}

.contact-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 72px;
  align-items: start;
}

.contact-showcase-grid--form-only .contact-form-card {
  grid-column: 2;
}

.contact-detail-item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.contact-detail-icon {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--accent-deep);
  color: #fff;
  font-size: 1.85rem;
}

.contact-detail-item h3 {
  margin: 8px 0 8px;
  color: var(--accent-deep);
  font-family: "Barlow Condensed", sans-serif;
  font-size: var(--fs-heading-footer);
  font-weight: 600;
}

.contact-detail-item p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.72;
}

.contact-detail-value {
  margin-top: 2px;
}

.contact-form-card {
  padding: 30px;
  background: #edf3fd;
  border-radius: 28px;
  border: 2px solid rgba(36, 57, 131, 0.2);
  align-self: start;
}

.quote-form {
  display: grid;
  gap: 14px;
}

.quote-form h3 {
  margin: 0 0 10px;
  color: var(--accent-deep);
  font-family: "Barlow Condensed", sans-serif;
  font-size: var(--fs-heading-form);
  font-weight: 600;
}

.quote-form label {
  display: block;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(36, 57, 131, 0.28);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 15px 16px;
}

.quote-form textarea {
  min-height: 148px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(243, 181, 74, 0.18);
}

.map-section {
  padding: 0 0 120px;
}

.map-embed {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 28px;
  background: #e6eefb;
  box-shadow: var(--shadow-lg);
}

.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 420px;
}

.map-embed-fallback {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 32px rgba(18, 33, 79, 0.12);
  backdrop-filter: blur(12px);
}

.map-embed-kicker {
  margin: 0 0 8px;
  color: var(--accent-deep);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.map-embed-address {
  margin: 0;
  color: var(--text);
  font-size: var(--fs-body);
  line-height: 1.7;
}

.map-embed-link {
  margin-top: 18px;
}

.page-contact-intro {
  padding-bottom: clamp(36px, 5vw, 64px);
}

.page-contact-intro .page-head {
  width: 100%;
}

.contact-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 72px;
  align-items: start;
}

.contact-intro-copy .page-head {
  margin-top: 0;
}

.contact-intro-lead {
  margin-top: 30px;
}

.contact-intro-lead .body-copy {
  margin: 0 0 18px;
}

.contact-intro-lead .body-copy + .body-copy {
  margin-top: 48px;
}

.contact-intro-form {
  display: flex;
  justify-content: flex-end;
}

.contact-intro-form .contact-form-card {
  width: 100%;
}

.page-contact-intro .page-lead {
  display: block;
  margin-top: 32px;
}

.page-contact-intro .page-lead .body-copy {
  margin: 0;
}

.page-contact-intro .contact-intro-lead .body-copy + .body-copy {
  margin-top: 48px;
}

.site-footer {
  margin-top: 0;
  padding-top: 56px;
  background: linear-gradient(180deg, #20346f 0%, #182755 100%);
  color: #edf2ff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.78fr 0.92fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  width: 140px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: block;
  margin-inline: auto;
}

.footer-brand-copy {
  max-width: 340px;
  margin: 18px 0 0;
  color: rgba(237, 242, 255, 0.9);
  font-size: var(--fs-body);
  line-height: 1.82;
}

.site-footer h4 {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: "Barlow Condensed", sans-serif;
  font-size: var(--fs-heading-footer);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links-column {
  flex-direction: column;
  align-items: flex-start;
}

.footer-links a {
  position: relative;
  padding-left: 14px;
  color: rgba(255, 255, 255, 0.96);
}

.footer-links a::before {
  content: "›";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--accent);
}

.footer-contact p {
  margin: 0 0 14px;
  line-height: 1.78;
}

.footer-contact-phone {
  margin-bottom: 14px;
}

.footer-contact .phone-link-inline,
.footer-contact .phone-link-inline:hover {
  color: #fff !important;
}

.footer-contact .phone-link-inline .phone-link-icon {
  color: inherit;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 18px 0 24px;
}

.copyright p {
  margin: 0;
  text-align: center;
  color: rgba(237, 242, 255, 0.84);
}

.image-placeholder,
.card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 24px;
  color: #60729d;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(36, 57, 131, 0.08), rgba(243, 181, 74, 0.04)),
    repeating-linear-gradient(135deg, rgba(36, 57, 131, 0.06) 0 14px, rgba(243, 181, 74, 0.03) 14px 28px);
}

.extra-section {
  padding: 84px 0;
}

.section-hero {
  min-height: 72svh;
  display: flex;
  align-items: center;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.section-hero-content {
  max-width: 760px;
}

.section-hero h2 {
  margin: 0 0 18px;
  font-size: var(--fs-heading-page);
  line-height: 1.05;
}

.section-hero p,
.section-text .section-content,
.section-image-text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fs-body);
  line-height: 1.72;
}

.section-text .section-content,
.section-image-text p {
  color: var(--muted);
}

.section-image-text .two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.hr-page-section {
  padding-top: 22px;
}

.hr-page-layout {
  display: block;
  align-items: start;
}

.hr-page-copy {
  position: relative;
  max-width: 1000px;
  padding-left: 34px;
}

.hr-page-copy::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 18px;
  bottom: 14px;
  width: 2px;
  background: rgba(215, 126, 136, 0.72);
}

.hr-intro-block,
.hr-role-step {
  position: relative;
}

.hr-intro-block {
  margin-bottom: 18px;
}

.hr-intro-title,
.hr-role-copy h3 {
  margin: 0;
  color: rgba(36, 57, 131, 0.88);
  font-size: clamp(1.12rem, 1.1vw, 1.36rem);
  font-weight: 700;
  line-height: 1.32;
}

.hr-intro-subtitle {
  margin: 10px 0 0;
  color: rgba(36, 57, 131, 0.76);
  font-size: clamp(0.98rem, 0.96vw, 1.06rem);
  line-height: 1.72;
}

.hr-role-timeline {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.hr-role-step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.hr-role-marker {
  position: relative;
  left: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: rgba(36, 57, 131, 0.72);
  border: 2px solid rgba(215, 126, 136, 0.54);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 20px rgba(22, 41, 93, 0.08);
}

.hr-role-copy {
  padding-top: 4px;
}

.hr-role-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(1.14rem, 1.08vw, 1.36rem);
}

.hr-role-item {
  margin: 0 0 12px;
  color: rgba(36, 57, 131, 0.82);
  font-size: clamp(0.96rem, 0.93vw, 1rem);
  line-height: 1.72;
}

.hr-contact-line {
  margin-top: 30px;
  color: rgba(36, 57, 131, 0.82);
  font-size: var(--fs-body);
  line-height: 1.72;
}

.section-cards .service-grid,
.service-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.sitemap-wrap h1 {
  margin: 0 0 24px;
  font-size: var(--fs-heading-section);
  line-height: 1.12;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sitemap-grid section {
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

@media (max-width: 1180px) {
  .nav-shell {
    grid-template-columns: 124px minmax(0, 1fr) auto;
    gap: 16px;
    min-height: 90px;
    padding: 8px 0 10px;
  }

  .brand {
    width: 124px;
    padding: 3px 0;
  }

  .brand-copy {
    max-width: 124px;
  }

  .brand-name {
    font-size: 0.8125rem;
  }

  .services-hero-grid,
  .services-overview-slab,
  .services-process-shell {
    grid-template-columns: 1fr;
  }

  .services-hero-copy {
    max-width: none;
  }

  .services-hero-media {
    width: 100%;
  }

  .services-metric-grid {
    margin: 24px 0 0;
  }

  .services-tab-head,
  .services-project-panel-head,
  .service-accordion-layout {
    grid-template-columns: 1fr;
  }

  .service-gallery-masonry {
    column-count: 2;
  }

  .menu-list {
    gap: 24px;
  }

  .nav-actions {
    gap: 10px;
  }

  .contact-showcase-grid {
    gap: 48px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  }

  .contact-intro-grid {
    gap: 48px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  }

  .contact-showcase-grid--form-only .contact-form-card {
    grid-column: 2;
  }

  .project-list {
    gap: 26px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-feature-header,
  .services-project-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .services-tab-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  body.menu-open .site-header {
    background: transparent !important;
    border-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .nav-shell {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 14px;
    min-height: auto;
    padding: 14px 0 16px;
  }

  .nav-actions {
    display: none;
  }

  .brand {
    grid-column: 2;
    width: 64px;
    padding: 2px 0 4px;
  }

  .brand-mark {
    width: 52px;
  }

  .nav-shell > .brand > .brand-copy {
    display: none;
  }

  .brand-name {
    font-size: 0.75rem;
    line-height: 1.1;
  }

  .mobile-toggle {
    display: inline-flex;
    grid-column: 1;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
  }

  .mobile-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent-deep);
  }

  .mobile-lang-switch {
    display: inline-flex;
    grid-column: 4;
    justify-self: end;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--accent-deep);
    line-height: 1;
    white-space: nowrap;
    box-shadow: none;
  }

  .mobile-lang-switch .lang-flag {
    width: 20px;
    height: 14px;
    flex: 0 0 20px;
    box-shadow: none;
    border-radius: 2px;
  }

  .mobile-quick-nav {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: stretch;
    align-self: center;
    align-items: center;
    gap: 0;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mobile-quick-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-quick-link {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    border: 0;
  }

  .mobile-quick-link.active {
    color: var(--accent-deep);
  }

  .mobile-quick-link.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: none;
    pointer-events: none;
    z-index: 1000;
  }

  .main-nav.open {
    display: block;
    pointer-events: auto;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(16, 27, 63, 0.38);
    opacity: 0;
    transition: opacity var(--ease);
  }

  .nav-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: min(380px, 86vw);
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    padding: 18px 22px calc(28px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.985);
    transform: translateX(-100%);
    transition: transform var(--ease);
    box-shadow: 18px 0 40px rgba(16, 31, 77, 0.16);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 1;
  }

  .main-nav.open .nav-overlay {
    opacity: 1;
  }

  .main-nav.open .nav-panel {
    transform: translateX(0);
  }

  .nav-panel-head,
  .nav-panel-footer,
  .nav-close {
    display: flex;
  }

  .nav-panel-head {
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(36, 57, 131, 0.08);
  }

  .brand-panel {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: calc(100% - 60px);
    align-items: flex-start;
    text-align: left;
    color: #000;
  }

  .brand-panel .brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: none;
  }

  .brand-panel .brand-name {
    display: block;
    color: #000;
    font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.32;
    letter-spacing: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .brand-panel .brand-tagline {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .nav-close {
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(36, 57, 131, 0.08);
    color: var(--accent-deep);
    font-size: 1.8rem;
    cursor: pointer;
  }

  .menu-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
  }

  .menu-item {
    padding: 0;
    border-bottom: 1px solid rgba(36, 57, 131, 0.08);
  }

  .menu-item.has-children {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
  }

  .menu-link {
    width: 100%;
    justify-content: space-between;
    min-height: 62px;
    padding: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text);
  }

  .menu-item.has-children > .menu-link {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    min-width: 0;
  }

  .menu-link-caret {
    display: none;
  }

  .menu-link::after {
    display: none;
  }

  .submenu-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 62px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .submenu-toggle span,
  .submenu-toggle::before,
  .submenu-toggle::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent-deep);
    border-bottom: 2px solid var(--accent-deep);
    transform: rotate(45deg);
    transition: transform var(--ease);
  }

  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: 0;
    margin-top: 0;
    padding: 0 0 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .menu-item.has-children > .sub-menu {
    grid-column: 1 / -1;
  }

  .menu-item.is-open > .sub-menu {
    display: block;
  }

  .menu-item.is-open .submenu-toggle span,
  .menu-item.is-open .submenu-toggle::before,
  .menu-item.is-open .submenu-toggle::after {
    transform: rotate(-135deg);
  }

  .sub-menu .menu-link {
    min-height: 46px;
    padding-left: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
    border-radius: 0;
  }

  .sub-menu .menu-item {
    padding: 0;
  }

  .sub-menu .menu-item:last-child {
    border-bottom: 0;
  }

  .sub-menu .sub-menu {
    top: auto;
    left: auto;
    margin-top: 0;
    padding-left: 16px;
    transform: none;
  }

  .nav-panel-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 4px;
    padding-top: 20px;
    border-top: 1px solid rgba(36, 57, 131, 0.08);
  }

  .nav-panel-footer .lang-switch {
    justify-content: flex-start;
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(36, 57, 131, 0.04);
  }

  .btn-quote-nav {
    width: 100%;
  }

  .nav-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-deep);
    font-size: var(--fs-body);
    font-weight: 600;
  }

  .split-section,
  .split-section-intro,
  .service-feature,
  .contact-intro-grid,
  .contact-showcase-grid,
  .section-image-text .two-col {
    grid-template-columns: 1fr;
  }

  .contact-showcase-grid--form-only .contact-form-card {
    grid-column: auto;
  }

  .service-feature.reverse .service-feature-media,
  .service-feature.reverse .service-feature-copy {
    order: initial;
  }

  .rounded-media-side {
    max-width: none;
    justify-self: stretch;
  }

  .service-slide {
    flex-basis: calc((100% - 28px) / 2);
  }

  .project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .value-grid,
  .service-grid,
  .project-grid,
  .sitemap-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-process-grid,
  .services-project-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100%, calc(100% - 40px));
  }

  .nav-shell {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    min-height: auto;
    gap: 12px 12px;
    padding: 12px 0 14px;
  }

  .brand-mark {
    width: 50px;
  }

  .brand {
    width: 58px;
    padding: 2px 0 4px;
  }

  .brand-name {
    font-size: 0.6875rem;
  }

  .mobile-lang-switch {
    width: 24px;
    height: 24px;
  }

  .mobile-lang-switch .lang-flag {
    width: 18px;
    height: 12px;
    flex-basis: 18px;
  }

  .mobile-quick-nav {
    gap: 2px;
  }

  .mobile-quick-link {
    min-height: 36px;
    padding: 0 7px;
    font-size: 0.72rem;
  }

  .hero {
    min-height: clamp(580px, calc(100svh - 94px), 760px);
    padding: 44px 0 76px;
    background-position: 64% center;
  }

  .hero-shell {
    min-height: clamp(280px, calc(100svh - 520px), 360px);
    align-items: flex-end;
  }

  .hero-content {
    max-width: 360px;
  }

  .hero-content h1 {
    font-size: clamp(2.35rem, 10vw, 3.25rem);
    margin-bottom: 18px;
  }

  .hero-content p {
    font-size: var(--fs-body-sm);
    line-height: 1.7;
    margin-bottom: 22px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-badge-wrap {
    margin-top: 24px;
  }

  .hero-badge-bar {
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px 18px;
    padding: 18px 20px;
    border-radius: 24px;
  }

  .hero-badge-item {
    font-size: var(--fs-body);
  }

  .section {
    padding: 68px 0;
  }

  .rounded-media-large,
  .rounded-media-side,
  .page-media-frame,
  .service-card-media,
  .service-feature-media,
  .project-list-media,
  .map-embed,
  .map-embed iframe {
    min-height: 260px;
  }

  .statement-band {
    padding: 78px 0;
    background-attachment: scroll;
  }

  .statement-band p {
    font-size: clamp(1.25rem, 5.4vw, 1.875rem);
    margin-bottom: 22px;
  }

  .service-slide {
    flex-basis: 100%;
  }

  .slider-controls {
    justify-content: center;
  }

  .slider-btn {
    width: 52px;
    height: 52px;
  }

  .value-grid,
  .service-grid,
  .project-grid,
  .sitemap-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-detail-icon {
    width: 64px;
    height: 64px;
    font-size: 1.6rem;
  }

  .contact-form-card {
    padding: 24px;
  }

  .contact-showcase-grid--form-only .contact-form-card {
    grid-column: auto;
  }

  .project-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-page-hero {
    padding-top: 20px;
    padding-bottom: 26px;
  }

  .services-hero-grid,
  .services-hero-copy,
  .services-hero-media,
  .services-overview-cards {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .services-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    width: var(--container);
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
  }

  .services-hero-copy h1 {
    overflow-wrap: anywhere;
  }

  .services-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .services-hero-actions .btn-primary,
  .services-hero-actions .btn-dark {
    width: 100%;
  }

  .services-hero-frame {
    min-height: 0;
    border-radius: 30px;
  }

  .services-hero-controls {
    left: 12px;
    right: 12px;
  }

  .services-metric-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .services-metric-card,
  .services-overview-slab,
  .services-tab-shell,
  .service-proof-grid .value-card,
  .services-process-card,
  .service-accordion-trigger,
  .service-accordion-layout {
    padding: 24px;
  }

  .services-anchor-nav {
    gap: 12px;
    padding: 14px;
  }

  .services-anchor-nav a {
    width: 100%;
    justify-content: flex-start;
  }

  .services-overview-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-detail-section {
    padding-top: 68px;
  }

  .service-feature-topline,
  .services-project-panel-head {
    flex-wrap: wrap;
  }

  .services-project-head .btn-dark,
  .services-project-panel-head .btn-dark,
  .services-tab-trigger {
    width: 100%;
  }

  .services-tab-nav {
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px;
    border-radius: 28px;
  }

  .service-proof-grid,
  .services-process-grid,
  .services-project-grid-compact {
    grid-template-columns: 1fr;
  }

  .service-accordion-trigger {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }

  .service-accordion-index {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .service-accordion-title {
    font-size: 1.35rem;
  }

  .service-accordion-body {
    padding-top: 0;
  }

  .service-gallery-masonry {
    column-count: 1;
  }

  .service-lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }

  .project-list-copy {
    gap: 12px;
    padding: 20px 20px 22px;
  }

  .project-list-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .pagination {
    gap: 10px;
    margin-top: 28px;
  }

  .footer-grid {
    gap: 28px;
  }
}

.brand-mark-fallback,
.menu-link,
.sub-menu .menu-link,
.lang-switch,
.btn-primary,
.btn-outline,
.btn-dark,
.service-card-link,
.nav-phone,
.nav-whatsapp,
.phone-link,
.hero-badge-item,
.section-kicker,
.service-card-index,
.anchor-nav a,
.project-date,
.pagination button,
.contact-detail-item h3,
.quote-form h3,
.site-footer h4,
  .nav-contact-link {
    font-family: var(--font-sans);
  }

.footer-contact .phone-whatsapp-inline,
.footer-contact .phone-whatsapp-stack {
  margin-top: 2px;
  font-size: 0.96875rem;
}

.footer-contact .phone-link-whatsapp {
  display: flex;
}

@media (prefers-reduced-motion: reduce) {
  .project-list[data-animated="true"] .project-list-card,
  .project-list-card,
  .project-list-card.is-visible,
  .project-list-card:hover,
  .project-list-card.is-visible:hover {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .project-list-media img,
  .pagination button {
    transition: none;
  }
}

/* Elementor: fix service card image height and unify card heights */
.service-card-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.service-card-visual {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.service-card-body p {
  flex: 1 1 auto;
}
.service-card-link {
  margin-top: auto;
  align-self: flex-start;
}

/* Remove white background and border/shadow from image containers */
.rounded-media, .page-media-frame {
  background: transparent !important;
  box-shadow: none !important;
}

/* Elementor: Service Card inside Container → 單欄滿版 (避免第三張被擠窄、不同步) */
.services-overview-cards.e-con,
.services-overview-cards .e-con-inner {
  display: grid !important;
  grid-template-columns: 1fr !important;   /* 永遠單欄 */
  gap: 16px !important;
  align-content: start !important;
}
.services-overview-cards .elementor-widget-mc_service_card {
  width: 100% !important;                 /* 強制子元素填滿 grid 儲存格 */
  max-width: 100% !important;
  flex: initial !important;
}
.elementor-widget-mc_service_card .services-overview-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  height: 120px;
  min-height: 120px;
  gap: 0;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  color: inherit;
}
.elementor-widget-mc_service_card .services-overview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24, 43, 102, 0.10);
}
.elementor-widget-mc_service_card .services-overview-card-media {
  width: 100%;
  height: 120px;
  min-height: 120px;
  overflow: hidden;
}
.elementor-widget-mc_service_card .services-overview-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.elementor-widget-mc_service_card .services-overview-card-body {
  padding: 12px 16px;
  min-height: 0;
}
.elementor-widget-mc_service_card .services-overview-card-body h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #243983;
}

/* ============================================================
   Keep Elementor wrapper spacing adjustable via editor
   Do NOT use !important here — let users control padding in Elementor
   ============================================================ */
