/* =========================================================
   學聯留學代辦有限公司 · Studylink Educational Advisory
   Global stylesheet
   ========================================================= */

:root {
  --ink: #102a43;
  --ink-2: #29465f;
  --muted: #5d7488;
  --brand: #0e7490;
  --brand-dark: #0a5a70;
  --brand-deep: #083d4d;
  --brand-soft: #e8f4f7;
  --brand-mist: #f2f9fa;
  --gold: #c08b2e;
  --gold-soft: #fbf3e4;
  --cream: #f7f4ed;
  --line: #e2e8ee;
  --line-strong: #cfdae3;
  --white: #ffffff;
  --shadow-sm: 0 6px 18px rgba(16, 42, 67, 0.06);
  --shadow-md: 0 18px 44px rgba(16, 42, 67, 0.10);
  --shadow-lg: 0 32px 80px rgba(16, 42, 67, 0.16);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-h: 78px;
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", "SimSun", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

a:hover {
  color: var(--brand-dark);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.55rem);
}

h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.55rem);
}

h3 {
  font-size: 1.22rem;
}

p {
  margin: 0 0 1.15em;
}

ul,
ol {
  margin: 0 0 1.2em;
  padding-left: 1.25em;
}

li {
  margin-bottom: 0.35em;
}

::selection {
  background: rgba(14, 116, 144, 0.18);
}

:focus-visible {
  outline: 3px solid rgba(14, 116, 144, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 14px;
  color: #fff;
}

/* ---------------- Layout helpers ---------------- */

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 40px, 860px);
  margin-inline: auto;
}

.hero-grid > *,
.split > *,
.news-layout > *,
.contact-layout > *,
.article-layout > * {
  min-width: 0;
}

.table-scroll {
  max-width: 100%;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-cream {
  background: var(--cream);
}

.section-mist {
  background: var(--brand-mist);
}

.section-dark {
  background: var(--ink);
  color: #dbe7ef;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-head .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-head.center .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 0;
}

.lead {
  font-size: 1.08rem;
  color: var(--ink-2);
}

.muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

.eyebrow-plain {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(14, 116, 144, 0.24);
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 16px 34px rgba(14, 116, 144, 0.3);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 12px 28px rgba(192, 139, 46, 0.25);
}

.btn-gold:hover {
  background: #a97724;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-mist);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 0.87rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--brand);
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

/* ---------------- Announcement + Header ---------------- */

.announcement {
  background: var(--brand-deep);
  color: #d8e9ee;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.announcement .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  text-align: center;
}

.announcement strong {
  color: #fff;
  font-weight: 700;
}

.announcement a {
  color: #f3d9a4;
  font-weight: 700;
  white-space: nowrap;
}

.announcement a:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(226, 232, 238, 0.9);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.nav-open .site-header {
  z-index: 130;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(16, 42, 67, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex: 0 0 auto;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 18px rgba(10, 90, 112, 0.24);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.22;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 1.12rem;
  letter-spacing: 0.12em;
}

.brand-text small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > a {
  position: relative;
  padding: 10px 13px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
}

.main-nav > a:hover {
  color: var(--brand);
  background: var(--brand-mist);
}

.main-nav > a.active {
  color: var(--brand);
  font-weight: 700;
}

.main-nav > a.active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.main-nav .nav-cta {
  margin-left: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 8px 18px rgba(14, 116, 144, 0.2);
}

.main-nav .nav-cta:hover {
  background: var(--brand-dark);
  color: #fff;
}

.main-nav .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span {
  top: 50%;
  margin-top: -1px;
}

.nav-toggle span::before {
  content: "";
  top: -7px;
}

.nav-toggle span::after {
  content: "";
  top: 7px;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}

.nav-open .nav-toggle span::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 86px;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(14, 116, 144, 0.12), transparent 65%),
    radial-gradient(700px 380px at -8% 20%, rgba(192, 139, 46, 0.10), transparent 62%),
    linear-gradient(180deg, #fbfdfd 0%, #ffffff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -200px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(14, 116, 144, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 64px;
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 7px 14px;
  border: 1px solid rgba(14, 116, 144, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hero-copy .eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(192, 139, 46, 0.16);
}

.hero h1 {
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}

.hero h1 em {
  position: relative;
  color: var(--brand);
  font-style: normal;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 6px;
  height: 9px;
  border-radius: 4px;
  background: rgba(192, 139, 46, 0.22);
  z-index: -1;
}

.hero-copy > p {
  max-width: 560px;
  color: var(--ink-2);
  font-size: 1.06rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 26px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink-2);
  font-size: 0.88rem;
}

.hero-points svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
}

.hero-visual {
  position: relative;
  padding: 18px 10px 34px 24px;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: 190px 190px 26px 26px;
  box-shadow: var(--shadow-lg);
  background: var(--brand-soft);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 61, 77, 0) 42%, rgba(8, 61, 77, 0.52) 100%);
}

.hero-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 32%;
}

.hero-photo-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.hero-photo-caption strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.24rem;
  letter-spacing: 0.08em;
}

.hero-photo-caption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  animation: floaty 6s ease-in-out infinite;
}

.float-card--top {
  top: 54px;
  left: -14px;
}

.float-card--bottom {
  right: -16px;
  bottom: 96px;
  animation-delay: -3s;
}

.float-card .fc-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.float-card .fc-icon svg {
  width: 20px;
  height: 20px;
}

.float-card strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.3;
}

.float-card span {
  display: block;
  color: var(--muted);
  font-size: 0.73rem;
  letter-spacing: 0.04em;
}

.hero-seal {
  position: absolute;
  left: 0;
  bottom: 6px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-family: var(--serif);
  font-size: 0.76rem;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.12em;
  box-shadow: 0 16px 30px rgba(192, 139, 46, 0.28);
  transform: rotate(-8deg);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------------- Stats / trust ---------------- */

.stat-band {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -34px;
  padding: 28px 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 238, 0.8);
}

.stat-item {
  padding: 4px 26px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item strong {
  display: block;
  color: var(--brand);
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1.2;
}

.stat-item strong small {
  font-size: 0.95rem;
  margin-left: 2px;
}

.stat-item span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

/* ---------------- Feature cards ---------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 116, 144, 0.24);
  box-shadow: var(--shadow-md);
}

.feature-num {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--line-strong);
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.icon-box svg {
  width: 26px;
  height: 26px;
}

.icon-box.gold {
  background: var(--gold-soft);
  color: var(--gold);
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.registration-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 32px;
  margin-top: 30px;
  padding: 18px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  font-size: 0.84rem;
}

.registration-strip strong {
  color: var(--ink);
  font-weight: 700;
}

.registration-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.registration-strip svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

/* ---------------- About split ---------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 70px;
}

.split-media {
  position: relative;
}

.split-media .photo-main {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.split-media .photo-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.split-media .photo-secondary {
  position: absolute;
  right: -24px;
  bottom: -30px;
  width: 46%;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.split-media .photo-secondary img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  left: -22px;
  top: 28px;
  z-index: 2;
  width: 112px;
  padding: 20px 14px;
  border-radius: 16px;
  background: var(--brand-deep);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.experience-badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.1;
}

.experience-badge span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.check-list {
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 32px;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7490' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.check-list li strong {
  color: var(--ink);
}

/* ---------------- Services ---------------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 116, 144, 0.28);
  box-shadow: var(--shadow-md);
}

.service-card .service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.service-card h3 {
  margin: 0;
  font-size: 1.18rem;
}

.service-card .service-en {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.service-card ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 17px;
  color: var(--ink-2);
  font-size: 0.87rem;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.service-card .text-link {
  margin-top: auto;
}

/* ---------------- Country cards ---------------- */

.country-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.country-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.country-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.country-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 116, 144, 0.26);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.country-card:hover::before {
  opacity: 1;
}

.country-flag {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--brand-mist);
  color: var(--brand-dark);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.country-card:nth-child(2n) .country-flag {
  background: var(--gold-soft);
  color: #9a6d1e;
}

.country-card h3 {
  margin: 0 0 2px;
  font-size: 1.16rem;
}

.country-card .en {
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.country-card p {
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.country-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.country-meta li {
  margin: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink-2);
  font-size: 0.7rem;
}

.country-card .text-link {
  margin-top: auto;
  font-size: 0.82rem;
}

.country-note {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

/* ---------------- Process ---------------- */

.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.process::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-step .step-num {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(16, 42, 67, 0.06);
}

.process-step:nth-child(2) .step-num,
.process-step:nth-child(4) .step-num {
  border-color: rgba(192, 139, 46, 0.5);
  color: var(--gold);
}

.process-step h3 {
  margin-bottom: 7px;
  font-size: 1.02rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

/* ---------------- Cases / testimonials ---------------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.case-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.case-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.case-tag.gold {
  background: var(--gold-soft);
  color: #966a1a;
}

.case-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.case-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.case-result {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  color: var(--ink-2);
  font-size: 0.82rem;
}

.case-result strong {
  color: var(--brand);
}

.testimonial-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}

.quote-card {
  position: relative;
  padding: 30px 28px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.quote-card::before {
  content: "“";
  position: absolute;
  top: 4px;
  right: 22px;
  color: rgba(14, 116, 144, 0.12);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
}

.quote-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.9;
}

.quote-who {
  display: flex;
  align-items: center;
  gap: 11px;
}

.quote-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.quote-who strong {
  display: block;
  font-size: 0.84rem;
}

.quote-who span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

/* ---------------- News ---------------- */

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 28px;
  align-items: stretch;
}

.news-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.news-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
  transition: transform 0.6s ease;
}

.news-feature:hover img {
  transform: scale(1.04);
}

.news-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 61, 77, 0.1) 0%, rgba(8, 61, 77, 0.92) 100%);
}

.news-feature-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  padding: 38px;
}

.news-feature h3 {
  margin: 12px 0 10px;
  color: #fff;
  font-size: 1.55rem;
}

.news-feature p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.news-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f3d9a4;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.news-item:hover {
  transform: translateX(4px);
  border-color: rgba(14, 116, 144, 0.28);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

.news-thumb {
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  background: var(--brand-soft);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item time {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.news-item h3 {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
}

/* ---------------- FAQ ---------------- */

.faq-list {
  max-width: 860px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(14, 116, 144, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  position: relative;
  padding: 20px 58px 20px 24px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.9;
}

.faq-item .faq-answer p:last-child {
  margin-bottom: 0;
}

/* ---------------- CTA ---------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--brand-deep) 0%, #0d5f75 58%, #147f8e 100%);
  color: #fff;
}

.cta-band::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -140px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: 120px;
  bottom: -220px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 68px 0;
}

.cta-inner h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta-inner p {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.96rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: #0b2233;
  color: #b9c9d4;
  padding: 68px 0 0;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1.1fr;
  gap: 44px;
  padding-bottom: 52px;
}

.footer-brand .brand {
  margin-bottom: 18px;
  color: #fff;
}

.footer-brand .brand:hover {
  color: #fff;
}

.footer-brand .brand-mark {
  box-shadow: none;
}

.footer-brand .brand-text strong {
  color: #fff;
}

.footer-brand .brand-text small {
  color: rgba(255, 255, 255, 0.48);
}

.footer-brand p {
  max-width: 320px;
  color: #93a8b6;
  font-size: 0.84rem;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 9px;
  margin-top: 20px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #dbe7ef;
}

.footer-social a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.footer-col h3 {
  margin-bottom: 18px;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 9px;
}

.footer-col a {
  color: #a9bcc9;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 13px;
  color: #a9bcc9;
  line-height: 1.7;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  margin-top: 5px;
  flex: 0 0 auto;
  color: #6fb3c1;
}

.footer-contact a {
  color: #a9bcc9;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #7e95a5;
  font-size: 0.76rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom a {
  color: #8ba3b3;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------------- Page hero (inner pages) ---------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 70px;
  background:
    radial-gradient(640px 300px at 88% 0%, rgba(14, 116, 144, 0.14), transparent 70%),
    linear-gradient(180deg, #f4fafb 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.78rem;
}

.page-hero .breadcrumb a {
  color: var(--muted);
}

.page-hero .breadcrumb a:hover {
  color: var(--brand);
}

.page-hero .breadcrumb span {
  color: var(--line-strong);
}

.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
}

.page-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--ink-2);
  font-size: 1rem;
}

.page-hero .hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.page-hero .hero-tags span {
  padding: 5px 12px;
  border: 1px solid rgba(14, 116, 144, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--brand-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ---------------- About page ---------------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  padding: 32px 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.value-card .num {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.value-card h3 {
  font-size: 1.12rem;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.info-table th,
.info-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 32%;
  color: var(--ink-2);
  background: var(--brand-mist);
  font-weight: 700;
  white-space: nowrap;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.team-card {
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.team-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-soft), #d5ebf0);
  color: var(--brand-dark);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
}

.team-card h3 {
  margin-bottom: 3px;
  font-size: 1.05rem;
}

.team-card .role {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.team-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

/* ---------------- Services page ---------------- */

.service-detail {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 30px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 20px;
}

.service-detail .sd-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.service-detail .sd-icon svg {
  width: 28px;
  height: 28px;
}

.service-detail h2 {
  font-size: 1.4rem;
}

.service-detail p {
  color: var(--muted);
  font-size: 0.94rem;
}

.service-detail .sd-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line);
  padding-left: 26px;
}

.service-detail .sd-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 0.86rem;
}

.service-detail .sd-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------------- Countries page ---------------- */

.country-block {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 22px;
}

.country-block-head .country-flag {
  margin-bottom: 16px;
}

.country-block-head h2 {
  margin-bottom: 4px;
  font-size: 1.6rem;
}

.country-block-head .en {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.country-block-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.country-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.country-facts li {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.87rem;
}

.country-facts strong {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.country-facts span {
  color: var(--ink-2);
}

.country-block .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.country-block .tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-mist);
  color: var(--brand-dark);
  font-size: 0.72rem;
}

/* ---------------- Cases page ---------------- */

.case-detail {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 36px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 20px;
}

.case-detail-side {
  padding-right: 30px;
  border-right: 1px solid var(--line);
}

.case-detail-side .case-tag {
  display: inline-block;
  margin-bottom: 12px;
}

.case-detail-side h2 {
  margin-bottom: 6px;
  font-size: 1.3rem;
}

.case-detail-side .meta {
  color: var(--muted);
  font-size: 0.78rem;
}

.case-detail-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-detail-body h3 {
  margin-bottom: 6px;
  color: var(--brand-dark);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.case-detail-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.8;
}

.case-disclaimer {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

/* ---------------- News page / articles ---------------- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.article-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--brand-soft);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-cover img {
  transform: scale(1.05);
}

.article-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.7rem;
}

.article-meta .tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--brand-mist);
  color: var(--brand-dark);
  font-weight: 700;
}

.article-body h2,
.article-body h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.55;
}

.article-body p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.article-body .text-link {
  margin-top: auto;
  font-size: 0.82rem;
}

.article-page {
  padding: 64px 0 96px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}

.article-header {
  margin-bottom: 30px;
}

.article-header .article-meta {
  margin-bottom: 14px;
}

.article-header h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  margin-bottom: 14px;
}

.article-header .article-intro {
  color: var(--ink-2);
  font-size: 1.02rem;
}

.article-hero-img {
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 36px;
}

.article-hero-img img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.article-content {
  color: var(--ink-2);
  font-size: 0.98rem;
}

.article-content h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.article-content h3 {
  margin-top: 28px;
  font-size: 1.12rem;
}

.article-content p {
  margin-bottom: 1.15em;
}

.article-content ul,
.article-content ol {
  padding-left: 1.35em;
}

.article-content li {
  margin-bottom: 0.55em;
}

.article-content blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  color: var(--ink-2);
  font-size: 0.94rem;
}

.article-content blockquote p:last-child {
  margin-bottom: 0;
}

.article-note {
  margin: 32px 0;
  padding: 18px 22px;
  border-radius: 12px;
  background: var(--brand-mist);
  border: 1px solid rgba(14, 116, 144, 0.14);
  color: var(--ink-2);
  font-size: 0.86rem;
}

.article-header .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.78rem;
}

.article-header .breadcrumb a {
  color: var(--muted);
}

.article-header .breadcrumb a:hover {
  color: var(--brand);
}

.article-header .breadcrumb span:last-child {
  color: var(--ink-2);
}

.table-scroll {
  margin: 26px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.7;
}

.compare-table th,
.compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: var(--brand-mist);
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr:nth-child(even) td {
  background: #fbfcfd;
}

.article-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.sidebar-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--brand-deep);
  color: #fff;
}

.sidebar-card h3 {
  color: #fff;
  font-size: 1.15rem;
}

.sidebar-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.sidebar-card .btn {
  margin-top: 8px;
}

.sidebar-links {
  margin-top: 20px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.sidebar-links h3 {
  font-size: 0.95rem;
}

.sidebar-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-links li {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.84rem;
}

.sidebar-links li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------------- Contact page ---------------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 52px;
  align-items: start;
}

.contact-card {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.contact-card > p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 700;
}

.form-field label .req {
  color: #c0392b;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9aabb8;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.12);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.form-consent input {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex: 0 0 auto;
  accent-color: var(--brand);
}

.form-consent a {
  text-decoration: underline;
}

.form-hint {
  color: var(--muted);
  font-size: 0.72rem;
}

.form-message {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.form-message.is-error {
  display: block;
  background: #fdf0ee;
  color: #a93226;
  border: 1px solid #f3c9c2;
}

.form-message.is-success {
  display: block;
  background: #edf8f2;
  color: #1e7a4d;
  border: 1px solid #bfe4d1;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.contact-info-item .ci-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.contact-info-item .ci-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.84rem;
}

.contact-info-item span,
.contact-info-item a {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
  word-break: break-word;
}

.contact-info-item a:hover {
  color: var(--brand);
}

.map-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--brand-soft);
  min-height: 300px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.contact-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--muted);
  font-size: 0.8rem;
}

.contact-note strong {
  color: var(--ink);
}

/* ---------------- Legal / 404 ---------------- */

.legal-content {
  max-width: 860px;
  margin-inline: auto;
  color: var(--ink-2);
  font-size: 0.94rem;
}

.legal-content h2 {
  margin-top: 38px;
  font-size: 1.3rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.4em;
}

.legal-content li {
  margin-bottom: 0.5em;
}

.legal-updated {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.8rem;
}

.error-page {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding: 80px 0;
  text-align: center;
}

.error-code {
  color: var(--brand);
  font-family: var(--serif);
  font-size: clamp(4rem, 14vw, 8rem);
  line-height: 1;
  opacity: 0.18;
}

.error-page h1 {
  margin-top: -30px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.error-page p {
  max-width: 480px;
  margin-inline: auto;
  color: var(--muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

/* ---------------- Floating actions ---------------- */

.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fab {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.18);
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.fab:hover {
  transform: translateY(-3px);
  background: var(--brand);
  color: #fff;
}

.fab svg {
  width: 21px;
  height: 21px;
}

.fab-line {
  background: #06c755;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.fab-line:hover {
  background: #05a94a;
  color: #fff;
}

.fab-top {
  opacity: 0;
  visibility: hidden;
}

.fab-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ---------------- Reveal animations ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
  .main-nav > a {
    padding: 10px 9px;
    font-size: 0.86rem;
  }

  .main-nav .nav-cta {
    padding: 10px 15px;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-photo img {
    height: 470px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .country-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-grid .footer-col:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 30px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-grid .footer-col:last-child h3 {
    grid-column: 1 / -1;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 140;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    width: min(86vw, 340px);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 92px 22px 30px;
    background: #fff;
    box-shadow: -20px 0 60px rgba(16, 42, 67, 0.18);
    transform: translateX(105%);
    transition: transform 0.35s ease;
    overflow-y: auto;
  }

  .nav-open .main-nav {
    transform: translateX(0);
  }

  .main-nav > a {
    padding: 14px 12px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .main-nav > a.active::after {
    display: none;
  }

  .main-nav .nav-cta {
    margin: 18px 0 0;
    text-align: center;
    border-bottom: 0;
    padding: 13px 20px;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(8, 32, 46, 0.46);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-visual {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .hero-photo img {
    height: 440px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .split-media {
    max-width: 620px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }

  .process::before {
    display: none;
  }

  .case-grid,
  .testimonial-band,
  .value-grid,
  .team-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-feature-body {
    min-height: 360px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .service-detail {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .service-detail .sd-list {
    grid-column: 1 / -1;
    border-left: 0;
    padding-left: 0;
    border-top: 1px dashed var(--line);
    padding-top: 18px;
  }

  .country-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-detail {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .case-detail-side {
    padding-right: 0;
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-detail-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 68px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .announcement .container {
    font-size: 0.74rem;
    gap: 6px;
  }

  .announcement .announcement-extra {
    display: none;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    padding: 42px 0 40px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.65rem);
  }

  .hero h1 em {
    white-space: normal;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-points {
    gap: 8px 18px;
  }

  .hero-visual {
    padding: 10px 4px 28px 10px;
  }

  .hero-photo {
    border-radius: 120px 120px 20px 20px;
  }

  .hero-photo img {
    height: 360px;
  }

  .float-card {
    padding: 10px 12px;
  }

  .float-card--top {
    top: 26px;
    left: -4px;
  }

  .float-card--bottom {
    right: -4px;
    bottom: 46px;
  }

  .hero-seal {
    width: 74px;
    height: 74px;
    font-size: 0.64rem;
  }

  .stat-band {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
    padding: 22px 8px;
    margin-top: -20px;
  }

  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .stat-item:nth-child(-n + 2) {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .stat-item strong {
    font-size: 1.55rem;
  }

  .feature-grid,
  .service-grid,
  .case-grid,
  .testimonial-band,
  .value-grid,
  .team-grid,
  .news-grid,
  .country-grid {
    grid-template-columns: 1fr;
  }

  .country-grid {
    gap: 14px;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-step {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    text-align: left;
    padding-bottom: 26px;
  }

  .process-step .step-num {
    width: 52px;
    height: 52px;
    margin: 0;
    font-size: 0.95rem;
  }

  .process-step h3 {
    margin-top: 2px;
  }

  .split-media .photo-main img {
    height: 360px;
  }

  .split-media .photo-secondary {
    right: 0;
    bottom: -20px;
    width: 48%;
  }

  .split-media .photo-secondary img {
    height: 130px;
  }

  .experience-badge {
    left: -6px;
    top: 16px;
    width: 92px;
    padding: 14px 10px;
  }

  .experience-badge strong {
    font-size: 1.55rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid .footer-col:last-child {
    grid-column: 1 / -1;
    display: block;
  }

  .footer-grid .footer-col:last-child h3 {
    display: block;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-inner {
    padding: 52px 0;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .page-hero {
    padding: 46px 0 44px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 22px;
  }

  .service-detail .sd-icon {
    width: 52px;
    height: 52px;
  }

  .country-block {
    padding: 26px 22px;
  }

  .country-facts {
    grid-template-columns: 1fr;
  }

  .case-detail {
    padding: 26px 22px;
  }

  .contact-card {
    padding: 28px 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .news-feature-body {
    min-height: 340px;
    padding: 26px;
  }

  .news-feature h3 {
    font-size: 1.3rem;
  }

  .article-page {
    padding: 44px 0 68px;
  }

  .floating-actions {
    right: 14px;
    bottom: 16px;
  }

  .fab {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  .container,
  .container-narrow {
    width: calc(100% - 32px);
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .float-card--bottom {
    display: none;
  }

  .news-item {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 13px;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
