:root {
  --navy: #0b2038;
  --navy-light: #123152;
  --teal: #117c8c;
  --orange: #e8622c;
  --orange-dark: #c94f1f;
  --ink: #16202a;
  --muted: #5b6b7a;
  --border: #e3e7eb;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --font-body: "Noto Sans TC", "Segoe UI", Arial, sans-serif;
  --radius-sm: 4px;
  --radius-md: 10px;
  --shadow-card: 0 12px 28px rgba(11, 32, 56, 0.08);
  --space-section: clamp(3rem, 7vw, 5rem);
  font-size: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Noto Sans TC", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 48px; height: 48px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  border: 0;
  border-radius: 0;
  overflow: visible;
  flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; max-width: none; object-fit: contain; }
.logo-text { font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
.logo-text small { font-weight: 400; color: var(--muted); font-size: 0.8rem; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
}
.main-nav a.active, .main-nav a:hover { border-color: var(--ink); }
.main-nav a.btn-nav {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.main-nav a.btn-nav:hover { background: var(--orange); border-color: var(--orange); }
.language-switcher { position: relative; }
.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 10px 14px;
  background: #fff;
  color: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.language-toggle:hover, .language-toggle[aria-expanded="true"] {
  border-color: var(--navy-light);
  box-shadow: 0 4px 12px rgba(17, 124, 140, 0.16);
}
.language-globe { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 120;
  width: 100%;
  min-width: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid #dfe6eb;
  border-radius: 6px;
  box-shadow: 0 12px 26px rgba(22, 32, 42, 0.16);
}
.language-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  transform: rotate(45deg);
}
.language-menu::after {
  content: "";
  position: absolute;
  top: -13px;
  right: 0;
  left: 0;
  height: 13px;
}
.language-option {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 3px;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
}
.language-option:hover, .language-option[aria-current="true"] { background: #e6f2f5; color: var(--teal); }
[data-lang-content] { display: none; }
html[data-language="zh"] [data-lang-content="zh"],
html[data-language="en"] [data-lang-content="en"] { display: revert; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  font-size: 1.2rem;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

/* Flash message */
.flash { padding: 12px 0; font-weight: 600; }
.flash-success { background: #e6f4ea; color: #1e7a34; }
.flash-error { background: #fdeaea; color: #b3261e; }

/* Hero */
.hero {
  padding: 64px 0 40px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0 0 16px;
  font-weight: 800;
}
.hero-supporting-copy {
  max-width: 900px;
}
.hero-supporting-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}
.hero-subtitle {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(1.05rem, 2.1vw, 1.45rem);
  line-height: 1.35;
  font-weight: 600;
}
.hero-media {
  position: relative;
  isolation: isolate;
  background: var(--navy);
  min-height: 420px;
  margin-top: clamp(32px, 4vw, 52px);
  display: flex;
  align-items: flex-end;
  padding: 32px;
  color: #fff;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11,32,56,0.12), rgba(11,32,56,0.32));
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 70% 30%, rgba(232,98,44,0.08), transparent 60%);
}
.hero-media .btn { position: relative; z-index: 2; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.btn:hover { background: var(--orange); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); }
h2.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 8px;
}
.section-sub { color: var(--muted); margin: 0 0 36px; }

/* About grid */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-photo {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 8px;
}
.positioning-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}
.positioning-copy {
  max-width: 720px;
}
.positioning-copy p,
.positioning-copy li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}
.positioning-copy p { margin: 0 0 16px; }
.positioning-copy ul {
  margin: 0 0 20px;
  padding-left: 1.35rem;
}
.positioning-copy li + li { margin-top: 4px; }
.positioning-copy .positioning-emphasis {
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 0;
}
.positioning-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  object-position: right center;
  border-radius: 8px;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-height: 260px; }
  .positioning-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Intro block */
.intro-block { max-width: 720px; }
.intro-block h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
.intro-copy { margin-top: 24px; }
.intro-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}
.intro-copy p:last-child { margin-bottom: 0; }
.intro-copy .intro-emphasis { color: var(--ink); font-weight: 700; }

/* Comprehensive services cards */
.comprehensive-services .container { max-width: 1200px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
  margin-top: 32px;
}
.comprehensive-services .service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--navy);
  background: #fff;
}
.comprehensive-services .letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 76px;
  flex: 0 0 auto;
  margin-left: 16px;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 400;
}
.service-card-copy {
  flex: 1;
  padding: 54px 20px 20px;
}
.comprehensive-services .service-card h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
  font-weight: 400;
  line-height: 1.22;
}
.comprehensive-services .service-card p {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.55;
}
.service-card-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 110px;
  flex: 0 0 110px;
  margin: 0 16px 6px;
  padding: 14px 18px;
  background: #ff9d42;
}
.service-card-icon {
  width: 66px;
  height: 66px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.step-num {
  font-size: 2rem; font-weight: 800; color: var(--orange); margin-bottom: 8px;
}
.step h3 { margin: 0 0 8px; font-size: 1rem; letter-spacing: 0.02em; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* Services list */
.services-list {
  border: 1px solid var(--navy);
  background: #e8f1fb;
}
.service-accordion { border-bottom: 1px solid var(--navy); }
.service-accordion:last-child { border-bottom: none; }
.service-row {
  display: flex;
  align-items: center;
  min-height: 55px;
  padding: 0 16px;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  text-align: left;
}
.service-row::-webkit-details-marker { display: none; }
.service-row::marker { content: ''; }
.service-row:focus-visible { outline: 2px solid var(--orange); outline-offset: -3px; }
.service-key {
  flex: 0 0 24px;
  font-size: 1.2rem;
  line-height: 1;
}
.service-divider {
  width: 1px;
  height: 30px;
  margin-right: 10px;
  background: var(--navy);
}
.service-name {
  font-size: 1.17rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.service-plus {
  margin-left: auto;
  padding-left: 16px;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease;
}
.service-accordion[open] .service-plus {
  font-size: 0;
  transform: rotate(180deg);
}
.service-accordion[open] .service-plus::after {
  content: '−';
  display: inline-block;
  font-size: 1.75rem;
}
.service-detail {
  padding: 20px 56px 24px;
  border-top: 1px solid var(--navy);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
}
.service-detail-lead {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.55;
}
.service-detail-copy {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}
.service-detail-title {
  margin: 16px 0 8px;
  font-size: 1rem;
  line-height: 1.4;
}
.service-detail-title:first-of-type { margin-top: 0; }
.service-detail-list {
  margin: 0;
  padding-left: 1.3rem;
  font-size: 1rem;
  line-height: 1.55;
}
.service-detail-list li + li { margin-top: 3px; }
.services-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-height: 60px;
  padding: 14px 20px;
  background: var(--navy);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.services-cta:hover { background: var(--navy-light); }
.service-arrow { font-size: 1.8rem; line-height: 0.7; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; }
.stat-num { font-size: 2.4rem; font-weight: 800; color: var(--navy); }
.stat-label { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.03em; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.value-card { min-width: 0; }
.value-icon {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.value-icon-image {
  display: block;
  width: 100%;
  max-width: 168px;
  height: 145px;
  object-fit: contain;
}
.value-card h3 { font-size: 1rem; margin: 0 0 10px; color: var(--orange-dark); }
.value-card p { margin: 0 0 16px; color: var(--muted); font-size: 0.92rem; }
.value-card p strong { display: inline-block; margin-bottom: 5px; color: var(--navy); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.team-card { min-width: 0; }
.team-profile-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(17, 124, 140, 0.34);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(11, 32, 56, 0.09);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.team-profile-card:hover {
  border-color: rgba(17, 124, 140, 0.62);
  box-shadow: 0 10px 24px rgba(11, 32, 56, 0.12);
}
.team-profile-photo {
  position: relative;
  flex: 0 0 auto;
  /* The supplied team PNGs include the original name/role strip; clip it out here. */
  aspect-ratio: 1 / 1.07;
  overflow: hidden;
  background: var(--bg-alt);
}
.team-profile-photo img {
  position: absolute;
  top: -1px;
  right: auto;
  left: -1px;
  display: block;
  width: calc(100% + 2px);
  height: auto;
  max-width: none;
}
.team-profile-name {
  margin: 0;
  padding: 14px 16px 10px;
  background: var(--teal);
  color: #fff;
  font-family: "Noto Sans TC", "Microsoft JhengHei", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.015em;
  text-align: left;
}
.team-profile-role {
  flex: 1;
  margin: 0;
  padding: 12px 16px 18px;
  background: var(--bg-alt);
  color: var(--navy);
  font-family: "Noto Sans TC", "Microsoft JhengHei", "Segoe UI", Arial, sans-serif;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
}
.team-photo {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.75rem; text-align: center; padding: 8px;
}
.team-card h4 { margin: 0 0 4px; }
.team-card p { margin: 0; color: var(--muted); font-size: 0.85rem; }

/* Testimonial */
.testimonial {
  background: var(--navy);
  color: #fff;
  padding: 48px;
  border-radius: 8px;
  max-width: 800px;
}
.testimonial p.quote { font-size: 1.2rem; font-style: italic; }
.testimonial .cite { color: #b9c6d4; font-size: 0.9rem; }

/* Insights / blog */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.post-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
.post-card .cover { height: 160px; background: linear-gradient(135deg, var(--navy-light), var(--navy)); }
.post-card .body { padding: 20px; }
.post-card .meta { color: var(--muted); font-size: 0.8rem; margin-bottom: 8px; }
.post-card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.post-card p { color: var(--muted); font-size: 0.9rem; }
.empty-state { color: var(--muted); padding: 40px 0; }

.post-content { max-width: 760px; }
.post-content .meta { color: var(--muted); margin-bottom: 24px; }

/* Forms */
.quote-page { background: var(--bg-alt); }
.quote-hero { padding: 30px 0 104px; }
.quote-kicker {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}
.quote-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.3vw, 3.35rem);
  line-height: 1.25;
  font-weight: 700;
}
.quote-form-section { padding: 0 0 72px; }
form.card-form {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  background: #fff;
  max-width: 760px;
}
.quote-form {
  width: 100%;
  max-width: none !important;
  margin-top: -52px;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(11, 32, 56, 0.08);
}
.quote-form .form-row { margin-bottom: 28px; }
.quote-form .form-row > label { margin-bottom: 10px; font-size: 0.95rem; }
.quote-form .radio-group,
.quote-form .checkbox-group { margin-top: 12px; }
.quote-radio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 28px;
}
.quote-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 28px;
}
.quote-form .radio-group label,
.quote-form .checkbox-group label {
  min-height: 28px;
  margin: 0;
  line-height: 1.4;
}
.quote-form input[type="radio"],
.quote-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
  flex: 0 0 auto;
}
.quote-other-input { margin-top: 12px; }
.quote-field-stack { display: grid; gap: 8px; }
.quote-field-stack + .quote-field-stack { margin-top: 18px; }
.quote-field-label { margin: 0 !important; font-size: 0.86rem !important; font-weight: 600 !important; }
.quote-form .quote-field-stack input,
.quote-form .quote-field-stack select,
.quote-form .quote-field-stack textarea,
.quote-form > .form-row > input,
.quote-form > .form-row > select,
.quote-form > .form-row > textarea {
  border-color: #8ca3b5;
  border-radius: 2px;
  background: #f8fafb;
  min-height: 46px;
}
.quote-form .quote-field-stack textarea { min-height: 118px; }
.quote-contact-fields { display: grid; gap: 22px; }
.phone-field { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 10px; align-items: start; }
.phone-country-picker { position: relative; min-width: 0; }
.phone-country-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #8ca3b5;
  border-radius: 2px;
  background: #f8fafb;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.phone-country-trigger:hover,
.phone-country-trigger[aria-expanded="true"] { border-color: var(--orange); }
.phone-country-flag,
.phone-country-option-flag {
  font-family: "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", sans-serif;
  font-size: 1.05rem;
  line-height: 1;
}
.phone-country-flag { width: 24px; margin-right: 7px; text-align: center; }
.phone-country-flag-image,
.phone-country-option-flag-image {
  display: block;
  width: 20px;
  height: 14px;
  max-width: none;
  margin: 0 auto;
  border-radius: 1px;
  object-fit: cover;
}
.phone-country-code { white-space: nowrap; }
.phone-country-chevron { margin-left: auto; color: var(--muted); font-size: 1rem; line-height: 1; }
.phone-country-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 150;
  width: min(330px, calc(100vw - 40px));
  padding: 10px;
  border: 1px solid #8ca3b5;
  border-radius: 2px;
  background: #f3f7fa;
  box-shadow: 0 12px 28px rgba(11, 32, 56, 0.18);
}
.phone-country-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid #6f91a4;
  background: #e6f2f5;
  color: #4e8996;
}
.form-row .phone-country-search {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  font-weight: 400;
  font-size: inherit;
}
.phone-country-search > span { font-size: 0.9rem; line-height: 1; }
.phone-country-search input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 28px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
}
.phone-country-search input::placeholder { color: #59aeb9; opacity: 1; }
.phone-country-options { max-height: 300px; margin-top: 8px; overflow-y: auto; }
.phone-country-option {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 34px;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  text-align: left;
}
.phone-country-option:hover,
.phone-country-option:focus-visible { background: #dceaf3; outline: none; }
.phone-country-option-flag { text-align: center; }
.phone-country-option-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone-country-option-code { color: var(--muted); white-space: nowrap; }
.phone-country-empty { margin: 12px 4px 4px; color: var(--muted); font-size: 0.85rem; }
.quote-submit { width: 100%; justify-content: center; margin-top: 4px; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 0.9rem; }
.form-row input[type=text],
.form-row input[type=email],
.form-row input[type=tel],
.form-row input[type=url],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.checkbox-group label { font-weight: 400; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.radio-group label { font-weight: 400; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.required { color: var(--orange); }
.field-note { color: var(--muted); font-size: 0.8rem; margin-top: 4px; }

/* Footer */
.site-footer { background: var(--navy); color: #cfd9e3; margin-top: 40px; }
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  padding: 56px 0 32px;
}
.footer-brand { display: flex; align-items: flex-start; }
.footer-brand-logo {
  width: 104px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}
.footer-col h4 { color: #fff; letter-spacing: 0.05em; font-size: 0.85rem; margin: 0 0 16px; }
.footer-col p { margin: 0 0 10px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--orange); }
.footer-social-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  margin-top: 18px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  font-size: 0.8rem;
  color: #8fa0b0;
}

@media (max-width: 860px) {
  .header-actions { gap: 10px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { border-bottom: 1px solid var(--border); padding: 14px 24px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .quote-radio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-form { padding: 28px; }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .comprehensive-services .service-card { min-height: 540px; }
  .service-card-copy { padding-top: 56px; }
}

@media (max-width: 600px) {
  .hero-media { margin-top: 28px; }
  .quote-hero { padding: 24px 0 82px; }
  .quote-hero h1 { font-size: clamp(1.75rem, 8vw, 2.4rem); }
  .quote-form { margin-top: -38px; padding: 22px 18px; }
  .quote-radio-grid,
  .quote-checkbox-grid { grid-template-columns: 1fr; }
  .phone-field { grid-template-columns: 112px minmax(0, 1fr); }
  .phone-country-menu { width: min(320px, calc(100vw - 36px)); }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; gap: 24px; }
  .comprehensive-services .service-card { min-height: 500px; }
  .service-card-copy { padding: 44px 20px 20px; }
  .service-card-visual { margin-left: 16px; margin-right: 16px; }
  .service-row { padding: 0 12px; }
  .service-name { font-size: 1rem; }
  .service-plus { padding-left: 10px; font-size: 1.5rem; }
  .service-detail { padding: 18px 24px 22px; }
  .service-detail-list { padding-left: 1.15rem; }
}

/* Mobile-first foundations: the compact layout is the default. */
html,
body {
  min-width: 0;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body { overflow-x: clip; }
}

body { font-family: var(--font-body); }
main,
section,
.container,
.header-inner,
.footer-inner { min-width: 0; }

img,
svg,
video { max-width: 100%; }

button,
input,
select,
textarea { font: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  transform: translateY(-120%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.container { padding-inline: 20px; }

.header-inner {
  min-height: 72px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.header-actions { gap: 8px; flex: 0 0 auto; }
.logo { min-width: 0; gap: 8px; flex: 1 1 auto; margin-right: 10px; }
.logo-mark { width: 42px; height: 48px; }
.logo-text {
  min-width: 0;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.25;
  white-space: nowrap;
}
.logo-text small {
  display: block;
  max-width: calc(100vw - 156px);
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.66rem;
  line-height: 1.35;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1;
}
.nav-toggle-icon { display: block; transform: translateY(-1px); }

.main-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 110;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 8px 20px 16px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 14px 24px rgba(11, 32, 56, 0.1);
}
.main-nav.open { display: flex; }
.main-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.main-nav a:last-child { border-bottom: 0; }
.main-nav a.btn-nav {
  justify-content: center;
  margin-top: 8px;
  border: 0;
}

.language-toggle { min-height: 44px; white-space: nowrap; flex-shrink: 0; }
#languageCurrent { white-space: nowrap; flex-shrink: 0; }
.language-globe { flex-shrink: 0; }
@media (max-width: 420px) {
  .header-inner { padding-inline: 12px; }
  .header-actions { gap: 6px; }
  .language-toggle { padding-inline: 10px; gap: 6px; }
}
.language-option { min-height: 44px; }

.btn {
  min-height: 44px;
  padding: 12px 20px;
}

section { padding: var(--space-section) 0; }
.hero { padding: 3rem 0 1.5rem; }
.hero h1 { font-size: clamp(1.9rem, 8vw, 2.8rem); line-height: 1.25; }
.hero-media {
  min-height: clamp(280px, 75vw, 520px);
  margin-top: 2rem;
  padding: 20px;
}
.hero-media::before {
  background: linear-gradient(180deg, rgba(11, 32, 56, 0.05), rgba(11, 32, 56, 0.2));
}

.about-grid,
.positioning-grid { grid-template-columns: 1fr; gap: 28px; }
.about-photo { height: auto; max-height: none; }
.positioning-photo { height: clamp(190px, 52vw, 360px); aspect-ratio: auto; }

.services-grid,
.values-grid,
.team-grid,
.posts-grid { grid-template-columns: 1fr; }
.comprehensive-services .service-card { min-height: 0; }
.service-card-copy { padding: 32px 20px 20px; }
.service-card-visual { min-height: 96px; flex-basis: 96px; }
.service-detail { padding: 18px 20px 22px; }
.service-detail-list { padding-left: 1.2rem; }
.testimonial { padding: 28px 20px; }

.quote-form,
form.card-form { padding: 20px; }
.quote-radio-grid,
.quote-checkbox-grid,
.form-grid-2 { grid-template-columns: 1fr; }
.quote-hero h1 { font-size: clamp(1.9rem, 8vw, 2.8rem); }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="url"],
.form-row select,
.form-row textarea { min-height: 46px; }
.phone-country-menu { max-width: calc(100vw - 90px); }
.phone-country-options { overscroll-behavior: contain; }
.phone-country-option[aria-selected="true"] { background: #e6f2f5; }
.quote-form .radio-group label,
.quote-form .checkbox-group label { min-height: 44px; }
.video-control { position: absolute; right: 20px; bottom: 20px; z-index: 2; background: var(--navy); color: white; border: 1px solid white; border-radius: 4px; min-height: 44px; padding: 8px 14px; cursor: pointer; }

.footer-inner {
  grid-template-columns: 1fr;
  gap: 28px;
  padding-top: 42px;
}
.footer-bottom { padding-inline: 20px; }

@media (min-width: 768px) {
  .container { padding-inline: 32px; }
  .logo-mark { width: 48px; height: 52px; }
  .logo-text { font-size: 1.1rem; }
  .logo-text small { max-width: none; font-size: 0.72rem; }
  .hero { padding: 4rem 0 2rem; }
  .hero-media { min-height: 420px; margin-top: 2.5rem; padding: 32px; }
  .about-grid,
  .positioning-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
  .about-photo { max-height: 380px; }
  .services-grid,
  .values-grid,
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid { gap: 28px 20px; }
  .comprehensive-services .service-card { min-height: 500px; }
  .quote-radio-grid,
  .quote-checkbox-grid,
  .form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-form,
  form.card-form { padding: 28px; }
  .phone-field { grid-template-columns: 145px minmax(0, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .container { padding-inline: 36px; }
  .header-inner { min-height: 78px; padding-top: 14px; padding-bottom: 14px; }
  .logo-mark { width: 48px; height: 48px; }
  .logo-text { font-size: 1.2rem; }
  .logo-text small { font-size: 0.8rem; }
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-bottom-color: rgba(17, 124, 140, 0.35);
  }
  .main-nav a.active,
  .main-nav a:hover { border-color: var(--ink); }
  .main-nav a.btn-nav {
    margin-top: 0;
    border-color: var(--ink);
  }
  .about-grid { grid-template-columns: 1.1fr 1fr; gap: 40px; }
  .positioning-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; }
  .services-grid,
  .values-grid,
  .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .services-grid { gap: 32px 24px; }
  .quote-radio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quote-form,
  form.card-form { padding: 40px; }
  .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* FAQ uses native disclosure controls so it remains usable without JavaScript. */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 16px 20px;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--teal);
  font-size: 1.5rem;
  line-height: 1;
}
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-answer {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.faq-answer p { margin: 0; }
