:root {
  --ink: #24262f;
  --muted: #8b8d92;
  --gold: #ba9458;
  --gold-soft: #d8bd8b;
  --paper: #ffffff;
  --line: #e9e6df;
  --dark: #202020;
  --dark-soft: #303030;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  font-size: 14px;
  line-height: 1.8;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  height: 110px;
  background: #fff;
  position: relative;
  z-index: 10;
}

.header-inner {
  width: min(var(--container), calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
}

.brand img {
  width: 58px;
  height: 58px;
}

.brand-copy strong {
  display: block;
  color: #1f2735;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.brand-copy span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 6px;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 48px;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  color: #21242c;
  white-space: nowrap;
  transition: color .25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  transition: left .25s ease, right .25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--gold);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  left: 0;
  right: 0;
}

.menu-toggle {
  display: none;
  border: 0;
  color: var(--gold);
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.hero {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #10171e;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(5, 11, 16, .85), rgba(8, 14, 20, .2) 48%, rgba(5, 11, 16, .62)),
    radial-gradient(circle at 22% 32%, rgba(188, 148, 88, .85) 0 7%, transparent 7.5%),
    linear-gradient(135deg, transparent 0 22%, rgba(186, 148, 88, .12) 22% 24%, transparent 24% 35%, rgba(255,255,255,.08) 35% 38%, transparent 38%),
    repeating-linear-gradient(90deg, #14232a 0 54px, #1e3031 54px 62px, #0e191e 62px 98px);
  background-size: cover;
  transition: opacity .8s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 12% 20% 12% 25%;
  border: 5px solid rgba(255, 255, 255, .35);
  border-right-color: transparent;
  border-bottom-color: transparent;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .38;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(255,255,255,.16) 10% 10.7%, transparent 10.7% 15%, rgba(255,255,255,.1) 15% 16%, transparent 16%),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(0,0,0,.18) 30px 35px);
}

.hero-slide:nth-child(2) {
  background:
    linear-gradient(90deg, rgba(8, 12, 17, .85), rgba(18, 22, 26, .28) 52%, rgba(5, 10, 15, .65)),
    radial-gradient(circle at 75% 22%, rgba(255,255,255,.2) 0 11%, transparent 11.4%),
    linear-gradient(35deg, transparent 0 38%, rgba(190, 150, 90, .24) 38% 47%, transparent 47%),
    repeating-linear-gradient(90deg, #202a2d 0 42px, #0e171c 42px 52px, #394246 52px 78px);
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-content {
  width: min(780px, calc(100% - 48px));
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 122px 0 100px;
}

.hero h1 {
  margin: 0 0 12px 95px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 2px;
}

.hero-note {
  width: min(665px, 100%);
  margin-left: 95px;
  padding: 13px 20px 17px;
  background: rgba(186, 148, 88, .78);
  font-size: 14px;
  line-height: 1.45;
}

.hero-note span {
  display: block;
  color: #fff;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hero-dot { width: 24px; height: 24px; padding: 0; border: 0; background: url('/assets/images/bullet-24-24-4.png') no-repeat 0 0; cursor: pointer; }
.hero-dot.is-active { background-position: 0 -24px; }

.section-heading {
  margin: 0 auto;
  text-align: center;
  padding-top: 54px;
}

.section-heading h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.25;
}

.section-heading p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.section-heading::after {
  content: "";
  display: block;
  width: 1px;
  height: 36px;
  margin: 16px auto 0;
  background: var(--gold);
}

.section-shell {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding: 46px 0 94px;
}

.service-card {
  min-height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 24px 12px 31px;
  border: 1px solid #d8d8d8;
  text-align: center;
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

.service-card::after {
  content: "⌄";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 36px;
  height: 16px;
  color: #999;
  background: #fff;
  transform: translateX(-50%);
}

.service-card:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-4px);
}

.service-card img {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
}

.service-card strong {
  font-size: 15px;
  font-weight: 400;
}

.service-card span {
  min-height: 42px;
  margin-top: 4px;
  color: #999;
  line-height: 1.5;
}

.about-teaser {
  padding: 0 0 84px;
  background: var(--gold);
  color: #fff;
}

.about-teaser .section-shell {
  padding-top: 52px;
}

.about-teaser h2 {
  margin: 0 0 22px;
  font-size: 27px;
  line-height: 1.2;
}

.about-teaser h2 span {
  font-weight: 400;
}

.about-teaser p {
  max-width: 1040px;
  margin: 0 0 22px;
  line-height: 2;
}

.dark-button {
  display: inline-flex;
  min-width: 200px;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ink);
  transition: background .25s ease;
}

.dark-button:hover {
  background: #101116;
}

.about-teaser .dark-button {
  position: relative;
  left: 50%;
  margin-top: 44px;
  transform: translateX(-50%);
}

.content-section {
  padding-bottom: 72px;
}

.split-copy {
  width: min(1000px, 100%);
  margin: 40px auto 28px;
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 26px;
  align-items: start;
}

.abstract-image {
  min-height: 275px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 60% 60%, rgba(206, 160, 99, .72) 0 11%, transparent 11.5%),
    linear-gradient(145deg, transparent 0 44%, rgba(255,255,255,.75) 44% 46%, transparent 46%),
    linear-gradient(25deg, #513b29, #d7c4a4 45%, #846044 46% 60%, #2e2523);
}

.abstract-image::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 18%;
  height: 17%;
  border-radius: 50%;
  background: #4a2e20;
  box-shadow: 0 -28px 0 18px rgba(121, 76, 42, .68);
}

.split-copy p {
  margin: 0 0 18px;
  color: #777;
  line-height: 2.1;
}

.stat-section {
  padding: 58px 0 70px;
  color: #fff;
  background: #050505;
}

.stat-section .section-heading {
  padding-top: 0;
}

.stat-section .section-heading h2 {
  color: #fff;
}

.stat-section .section-heading p {
  color: #ddd;
}

.stat-grid {
  width: min(880px, 100%);
  margin: 62px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px;
}

.stat-card {
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 44px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 14px;
  color: var(--gold-soft);
}

.certificate-section {
  padding-bottom: 48px;
}

.certificate-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 22px 0;
  background: var(--gold);
}

.certificate {
  min-height: 320px;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 12px 8px;
  border: 10px solid #e7e7e3;
  outline: 1px solid #9ba1a4;
  outline-offset: -16px;
  color: #657078;
  background:
    linear-gradient(120deg, transparent 0 18%, rgba(127, 139, 146, .17) 18% 22%, transparent 22% 78%, rgba(127, 139, 146, .17) 78% 82%, transparent 82%),
    #f6f6f1;
  text-align: center;
}

.certificate strong {
  margin-top: 58px;
  font-size: 18px;
}

.certificate i {
  width: 72%;
  height: 1px;
  margin-top: 24px;
  background: #9ba1a4;
  box-shadow: 0 12px 0 #b8babe, 0 24px 0 #b8babe, 0 36px 0 #b8babe;
}

.certificate span {
  margin-top: auto;
  color: var(--gold);
}

.site-footer {
  color: #fff;
  background: var(--dark);
}

.footer-main {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 44px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr 1fr;
  gap: 48px;
}

.footer-column h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 400;
}

.footer-column a,
.footer-column p {
  display: block;
  margin: 0 0 7px;
  color: #d6d6d6;
  font-size: 13px;
  line-height: 1.7;
}

.footer-column a:hover {
  color: var(--gold-soft);
}

.footer-contact {
  border-left: 1px solid #4a4a4a;
  padding-left: 46px;
}

.footer-contact strong {
  display: block;
  margin: -4px 0 7px;
  font-size: 27px;
  letter-spacing: 2px;
}

.qr-placeholder {
  width: 118px;
  height: 118px;
  position: relative;
  margin: 0 auto 9px;
  border: 8px solid #555;
  background:
    linear-gradient(90deg, #222 10%, transparent 10% 20%, #222 20% 34%, transparent 34% 46%, #222 46% 60%, transparent 60% 72%, #222 72% 87%, transparent 87%),
    linear-gradient(#222 10%, transparent 10% 23%, #222 23% 36%, transparent 36% 48%, #222 48% 63%, transparent 63% 74%, #222 74% 86%, transparent 86%);
}

.qr-placeholder::after {
  content: "S";
  position: absolute;
  inset: 28px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: #fff;
  font-weight: 700;
  font-size: 22px;
}

.footer-bottom {
  padding: 12px 24px;
  color: #f4f4f4;
  background: var(--dark-soft);
  text-align: center;
  font-size: 12px;
}

.mobile-bar {
  display: none;
}

.floating-service {
  position: fixed;
  z-index: 12;
  right: 0;
  top: 72%;
  width: 42px;
  padding: 12px 7px;
  color: #fff;
  background: var(--gold);
  writing-mode: vertical-rl;
  text-align: center;
  box-shadow: -2px 2px 8px rgba(0,0,0,.12);
}

.page-main {
  min-height: 740px;
}

.filter-tabs {
  width: min(720px, 100%);
  margin: 24px auto 65px;
  display: flex;
  background: #f4f4f4;
}

.filter-tabs a {
  flex: 1;
  padding: 10px 12px;
  color: #777;
  text-align: center;
  transition: color .25s ease, background .25s ease;
}

.filter-tabs a:hover,
.filter-tabs a.active {
  color: #fff;
  background: var(--gold);
}

.subheading {
  display: inline-block;
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.2;
  border-bottom: 3px solid var(--gold);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 26px;
}

.case-card {
  text-align: center;
  color: #777;
}

.case-visual {
  height: 228px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.1), rgba(0,0,0,.4)),
    radial-gradient(circle at 75% 30%, rgba(210, 177, 124, .85) 0 16%, transparent 16.5%),
    linear-gradient(25deg, #433120, #9e7950 48%, #1c2d33 49% 68%, #364d51);
}

.case-visual::before {
  content: "";
  position: absolute;
  inset: 14% 10%;
  border-top: 2px solid rgba(255,255,255,.4);
  border-bottom: 2px solid rgba(255,255,255,.2);
  transform: skewY(-8deg);
}

.case-card:nth-child(2) .case-visual {
  background:
    linear-gradient(90deg, rgba(0,0,0,.55), transparent),
    repeating-linear-gradient(90deg, #14272c 0 24px, #755738 24px 32px, #17272b 32px 53px);
}

.case-card:nth-child(3) .case-visual {
  background:
    radial-gradient(circle at 50% 44%, rgba(207, 174, 117, .85) 0 12%, transparent 12.5%),
    repeating-linear-gradient(90deg, #1f2627 0 22px, #684c33 22px 34px, #333738 34px 46px);
}

.case-card:nth-child(4) .case-visual {
  background:
    linear-gradient(135deg, rgba(220, 255, 245, .36), transparent 50%),
    linear-gradient(35deg, #304b4c, #b9d0c4 45%, #375052);
}

.case-card:nth-child(5) .case-visual {
  background:
    linear-gradient(40deg, #d8c39f, #5f4431 45%, #e8d6b5 46% 58%, #563822);
}

.case-card:nth-child(6) .case-visual {
  background:
    radial-gradient(circle at 70% 40%, rgba(210, 174, 104, .85) 0 8%, transparent 8.5%),
    linear-gradient(140deg, #1a1715, #6a3b22 48%, #25170f);
}

.case-card span {
  display: block;
  margin-top: 8px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 1px;
  padding: 125px 0 112px;
}

.pagination a {
  min-width: 30px;
  padding: 4px 8px;
  border: 1px solid #ddd;
  color: #888;
  text-align: center;
}

.pagination a.active,
.pagination a:hover {
  color: #fff;
  background: #666;
}

.news-list {
  margin-top: 10px;
}

.news-row {
  min-height: 150px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px dashed #ddd;
}

.news-visual {
  height: 138px;
  background:
    linear-gradient(135deg, rgba(192, 139, 75, .62), rgba(0,0,0,.42)),
    repeating-linear-gradient(90deg, #5e3522 0 26px, #9b6f3e 26px 38px, #3c251b 38px 64px);
}

.news-row:nth-child(2) .news-visual {
  background:
    radial-gradient(circle at 62% 54%, rgba(225, 182, 112, .8) 0 10%, transparent 10.5%),
    linear-gradient(135deg, #59402e, #c09c77 50%, #1b2526);
}

.news-row:nth-child(3) .news-visual {
  background:
    linear-gradient(135deg, rgba(255,255,255,.25), transparent),
    linear-gradient(25deg, #583a26, #dcc5a7 48%, #583a26 49% 60%, #9b6a40);
}

.news-row:nth-child(4) .news-visual {
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), transparent),
    linear-gradient(145deg, #20272a, #d1ae85 48%, #57636a);
}

.news-row h3 {
  margin: -3px 0 3px;
  color: var(--gold);
  font-size: 17px;
  line-height: 1.4;
}

.news-row p {
  margin: 0;
  color: #888;
  line-height: 1.7;
}

.news-meta {
  margin-top: 10px;
  color: #999;
  font-size: 12px;
  text-align: right;
}

.detail-wrap {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 110px;
}

.detail-title {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 25px;
  font-weight: 400;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
}

.service-detail {
  display: grid;
  grid-template-columns: 335px 1fr;
  gap: 30px;
  align-items: start;
  margin-top: 34px;
}

.detail-visual {
  height: 300px;
}

.detail-copy h3 {
  margin: 12px 0 0;
  padding-bottom: 7px;
  border-bottom: 1px solid #ddd;
  font-size: 17px;
  font-weight: 400;
}

.detail-copy p,
.article-body p {
  margin: 12px 0;
  color: #777;
  line-height: 2;
}

.thumb-row {
  display: flex;
  gap: 8px;
  padding-top: 10px;
}

.thumb {
  width: 66px;
  height: 52px;
  border: 2px solid transparent;
  background:
    linear-gradient(135deg, rgba(255,255,255,.15), transparent),
    linear-gradient(25deg, #5b3c28, #c5a475 48%, #304349 49% 68%, #182326);
}

.thumb.active {
  border-color: #ba0000;
}

.next-link {
  display: block;
  margin-top: 130px;
  color: var(--gold);
}

.team-detail {
  min-height: 600px;
  padding-top: 50px;
}

.team-detail h1 {
  margin: 0 auto 74px;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
}

.team-detail h2 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 400;
}

.article-head {
  padding: 52px 0 35px;
  text-align: center;
}

.article-head h1 {
  margin: 0;
  font-size: 27px;
}

.article-head p {
  margin: 6px 0 0;
  color: #999;
}

.article-body {
  width: min(900px, 100%);
  margin: 0 auto;
  padding-bottom: 100px;
}

.article-body .article-visual {
  height: 260px;
  margin-bottom: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.17), transparent),
    repeating-linear-gradient(90deg, #684928 0 35px, #a77945 35px 44px, #302016 44px 68px);
}

.contact-layout {
  width: min(1000px, 100%);
  margin: 46px auto 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
}

.contact-card {
  padding: 26px 30px;
  border: 1px solid #eee;
  background: #fafafa;
}

.contact-card h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 20px;
  font-weight: 400;
}

.contact-card p {
  margin: 5px 0;
  color: #777;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 100%, 0);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .site-nav {
    gap: 24px;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-content {
    padding-top: 100px;
  }

  .footer-main {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 60px;
    font-size: 13px;
  }

  .site-header {
    height: 52px;
  }

  .header-inner {
    width: calc(100% - 32px);
    justify-content: center;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-copy strong {
    font-size: 15px;
    letter-spacing: 0;
  }

  .brand-copy span {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 10px;
    top: 9px;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    padding: 8px 16px 12px;
    background: #fff;
    box-shadow: 0 6px 14px rgba(0,0,0,.12);
  }

  .site-nav.is-open {
    display: grid;
    gap: 0;
  }

  .site-nav a {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
  }

  .hero {
    min-height: 222px;
  }

  .hero-slide::before {
    inset: 18% 50% 18% -8%;
    border-width: 3px;
  }

  .hero-content {
    width: calc(100% - 40px);
    padding: 39px 0 65px;
  }

  .hero h1 {
    margin: 0 0 8px;
    font-size: 22px;
    letter-spacing: 0;
  }

  .hero-note {
    width: 255px;
    margin-left: 0;
    padding: 9px 10px 10px;
    font-size: 12px;
  }

  .hero-dots {
    bottom: 10px;
    gap: 10px;
  }

  .hero-dot {
    width: 24px;
    height: 24px;
  }

  .section-shell,
  .header-inner,
  .footer-main,
  .detail-wrap {
    width: calc(100% - 40px);
  }

  .section-heading {
    padding-top: 42px;
  }

  .section-heading h2 {
    font-size: 22px;
  }

  .section-heading p {
    font-size: 14px;
  }

  .section-heading::after {
    height: 31px;
    margin-top: 11px;
  }

  .service-grid {
    width: min(600px, 100%);
    margin-right: auto;
    margin-left: auto;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 34px 0 88px;
  }

  .service-card {
    min-height: 200px;
    padding: 18px 8px 26px;
  }

  .service-card span {
    font-size: 12px;
  }

  .about-teaser {
    padding-bottom: 34px;
  }

  .about-teaser .section-shell {
    padding-top: 38px;
  }

  .about-teaser h2 {
    font-size: 24px;
  }

  .about-teaser p {
    line-height: 1.9;
  }

  .about-teaser .dark-button {
    min-height: 68px;
    margin-top: 28px;
  }

  .split-copy {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .abstract-image {
    min-height: 220px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 16px;
    margin-top: 42px;
  }

  .stat-card strong {
    font-size: 35px;
  }

  .certificate-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .certificate {
    min-height: 220px;
  }

  .certificate strong {
    margin-top: 34px;
    font-size: 14px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 14px;
    padding: 38px 0 27px;
  }

  .footer-main .footer-column:nth-child(1),
  .footer-main .footer-column:nth-child(2) {
    display: none;
  }

  .footer-contact {
    grid-column: auto;
    border-left: 0;
    padding-left: 0;
  }

  .footer-contact strong {
    font-size: 22px;
  }

  .footer-qr {
    text-align: left;
  }

  .footer-qr img {
    width: 96px;
    height: 96px;
    border-width: 5px;
  }

  .footer-qr p {
    margin-top: 6px;
  }

  .footer-column a,
  .footer-column p {
    font-size: 12px;
  }

  .floating-service {
    display: none;
  }

  .mobile-bar {
    position: fixed;
    z-index: 20;
    right: auto;
    bottom: 0;
    left: 50%;
    width: min(calc(100% - 24px), 420px);
    height: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #222;
    background: #fff;
    transform: translateX(-50%);
  }

  .mobile-bar a {
    display: grid;
    align-content: center;
    justify-items: center;
    color: var(--gold);
    font-size: 12px;
    line-height: 1.2;
  }

  .mobile-bar strong {
    display: block;
    font-size: 19px;
    font-weight: 400;
  }

  .filter-tabs {
    margin: 22px 0 60px;
  }

  .filter-tabs a {
    padding: 8px 3px;
    font-size: 12px;
  }

  .page-main {
    min-height: 670px;
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 18px;
  }

  .case-visual {
    height: 145px;
  }

  .pagination {
    padding: 105px 0 105px;
  }

  .news-row {
    min-height: 0;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }

  .news-visual {
    height: 96px;
  }

  .news-row h3 {
    font-size: 15px;
  }

  .news-row p {
    max-height: 44px;
    overflow: hidden;
    line-height: 1.55;
  }

  .news-meta {
    margin-top: 4px;
    font-size: 11px;
  }

  .detail-wrap {
    padding-bottom: 65px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .detail-visual {
    height: 230px;
  }

  .next-link {
    margin-top: 75px;
  }

  .team-detail {
    min-height: 540px;
    padding-top: 22px;
  }

  .team-detail h1 {
    margin-bottom: 48px;
  }

  .article-head {
    padding: 35px 0 25px;
  }

  .article-head h1 {
    font-size: 22px;
  }

  .article-body {
    padding-bottom: 60px;
  }

  .article-body .article-visual {
    height: 200px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 32px auto 70px;
  }
}

@media (max-width: 600px) {
  .service-grid {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 468px) {
  .reference-banner .hero-dots { display: none; }
}


.reference-banner {
  min-height: 540px;
  position: relative;
  overflow: hidden;
  background: #172126;
}
.reference-banner-track,
.reference-banner-slide,
.reference-banner-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.reference-banner-slide { opacity: 0; transition: opacity var(--banner-transition, 1000ms) cubic-bezier(.215,.61,.355,1); }
.reference-banner-slide.is-active { opacity: 1; }
.reference-banner-slide img { object-fit: cover; }
.reference-banner-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,13,17,.8), rgba(8,13,17,.25) 55%, rgba(8,13,17,.45)); }
.reference-banner-copy { position: absolute; z-index: 2; top: 26%; left: 50%; width: min(1200px, calc(100% - 48px)); transform: translateX(-50%); color: #fff; }
.reference-banner-copy h1 { margin: 0 0 20px; font-size: clamp(42px, 5vw, 64px); line-height: 1.1; letter-spacing: 2px; }
.reference-banner-note { width: min(600px, 100%); padding: 14px 18px; background: rgba(187,143,90,.78); line-height: 1.65; }
.reference-banner-note strong, .reference-banner-note span { display: block; }
.reference-banner-note span { margin-top: 4px; font-size: 13px; }
.reference-section { padding: 58px 0 78px; background: #fff; }
.reference-container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.home-headline { margin-bottom: 32px; text-align: center; }
.index-title { font-size: 26px; line-height: 1.25; }
.index-subtitle { margin-top: 3px; color: #999; font-size: 15px; }
.headline-line { width: 1px; height: 35px; margin: 14px auto 0; background: var(--gold); }
.major-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.major-item { min-height: 200px; position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 30px 5px; border: 1px solid #ccc; text-align: center; transition: border-color .25s ease, color .25s ease; }
.major-item::after { content: ""; position: absolute; bottom: -19px; left: 50%; width: 33px; height: 33px; background: url('/assets/images/bottomArrow.png') center/33px 33px no-repeat; transform: translateX(-50%); }
.major-item:hover { border-color: #ccc; color: inherit; background: #fff; }
.major-item:hover::after { background-image: url('/assets/images/bottomArrowHover.png'); }
.major-item img { width: 60px; height: 60px; margin-bottom: 14px; }
.major-item strong { font-size: 16px; font-weight: 400; }
.major-item span { min-height: 42px; margin-top: 4px; padding: 0 8px; color: #999; font-size: 12px; line-height: 1.5; }
.reference-about { padding: 72px 0; background: #f7f5f1; }
.reference-about-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: center; }
.reference-about-image { position: relative; padding: 18px; border: 1px solid #c9a678; }
.reference-about-image::before, .reference-about-image::after { content: ""; position: absolute; width: 46px; height: 46px; border-color: var(--gold); }
.reference-about-image::before { top: -10px; left: -10px; border-top: 3px solid; border-left: 3px solid; }
.reference-about-image::after { right: -10px; bottom: -10px; border-right: 3px solid; border-bottom: 3px solid; }
.reference-about-image img { width: 100%; height: 330px; object-fit: cover; }
.reference-about-copy h2 { margin: 0 0 20px; font-size: 28px; font-weight: 400; }
.reference-about-copy h2 span { color: var(--gold); font-size: 18px; }
.reference-about-copy p { margin: 0 0 18px; color: #777; line-height: 2; }
.reference-about-copy .dark-button { min-width: 180px; min-height: 52px; margin-top: 20px; }
.reference-cases { padding-bottom: 90px; }
.case-grid-home { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-grid-home a { color: #555; text-align: center; }
.case-grid-home img { width: 100%; height: 245px; object-fit: cover; transition: transform .5s ease; }
.case-grid-home a:hover img { transform: scale(1.1); }
.case-grid-home span { display: block; margin-top: 12px; font-size: 15px; }
.outline-button { display: block; width: 200px; height: 60px; margin: 50px auto 0; padding: 0; border: 0; color: #fff; background: #262c3d; line-height: 60px; text-align: center; transition: background .5s ease; }
.outline-button:hover { color: #fff; background: rgb(184,148,91); }
.reference-team { padding: 62px 0 80px; background: #f6f6f6; }
.team-grid-home { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { background: #fff; text-align: center; transition: transform .3s ease, box-shadow .3s ease; }
.team-card:hover { transform: translateY(-20px); box-shadow: 0 12px 26px rgba(0,0,0,.12); }
.team-card img { width: 100%; height: 260px; object-fit: cover; }
.team-card strong { display: block; margin-top: 12px; font-size: 17px; font-weight: 400; }
.team-card span { display: block; color: #999; font-size: 13px; }
.team-card em { display: block; padding: 10px 0 14px; color: var(--gold); font-size: 12px; font-style: normal; }
.consult-area { margin-top: 58px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.consult-copy h2, .consult-form h2 { margin: 0; font-size: 25px; font-weight: 400; }
.consult-copy > p, .consult-form > p { margin: 12px 0 26px; color: #777; }
.stats-inline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats-inline div { text-align: center; }
.stats-inline b { display: block; color: var(--gold); font-size: 38px; font-weight: 400; line-height: 1; }
.stats-inline span { display: block; margin-top: 8px; color: #777; font-size: 12px; line-height: 1.5; }
.consult-form { padding: 28px 30px; background: #fff; border: 1px solid #e6e2dc; }
.consult-form label { display: block; margin-top: 12px; color: #666; font-size: 13px; }
.consult-form input, .consult-form textarea { display: block; width: 100%; margin-top: 5px; padding: 9px 10px; border: 1px solid #ddd; background: #fff; color: #333; font: inherit; resize: vertical; }
.consult-form button { width: 100%; margin-top: 16px; padding: 11px; border: 0; color: #fff; background: var(--gold); cursor: pointer; }
.consult-form button:hover { background: #96713e; }
.form-message { min-height: 22px; margin-top: 8px; color: #5f8b65; font-size: 12px; }
.reference-news { padding-top: 66px; }
.news-grid-home { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 30px; }
.news-grid-home a { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid #e9e6df; }
.news-grid-home img { width: 180px; height: 130px; object-fit: cover; }
.news-grid-home h3 { margin: 0; color: #333; font-size: 16px; font-weight: 400; line-height: 1.5; }
.news-grid-home time { display: block; margin: 8px 0; color: #999; font-size: 12px; }
.news-grid-home p { margin: 0; color: #777; font-size: 13px; line-height: 1.7; }
.partners-strip { padding: 34px 0; background: #f7f7f7; }
.partners-viewport { overflow: hidden; }
.partners-track { display: flex; width: max-content; gap: 18px; }
.partners-track img { width: 282px; height: 88px; flex: 0 0 282px; object-fit: cover; background: #fff; }
.footer-qr img { width: 120px; height: 120px; object-fit: cover; border: 8px solid rgba(255,255,255,.15); }

@media (max-width: 1199px) {
  .major-grid { grid-template-columns: repeat(3, 1fr); }
  .reference-about-inner { gap: 40px; }
}
@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
  }

  .reference-banner {
    width: 100%;
    max-width: 100%;
    min-height: 280px;
    aspect-ratio: 16 / 9;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    background: #172126;
  }

  .reference-banner-track,
  .reference-banner-slide {
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .reference-banner-slide img {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    object-fit: cover;
    background: #172126;
  }

  .reference-banner-slide::after {
    background: rgba(8,13,17,.48);
  }

  .reference-banner-copy {
    top: 50%;
    right: 0;
    left: 0;
    width: min(279px, calc(100% - 96px));
    max-width: calc(100% - 96px);
    min-width: 0;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
    transform: translateY(-50%);
    animation: none;
  }

  .reference-banner-copy h1 {
    margin-bottom: 12px;
    max-width: 100%;
    font-size: 27px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .reference-banner-note {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 10px 12px;
    background: rgba(187,143,90,.82);
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
  }

  .reference-banner-note span {
    width: 100%;
    max-width: none;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .reference-banner-note strong {
    overflow-wrap: anywhere;
  }

  .reference-banner .hero-dots {
    top: auto;
    bottom: 12px;
  }
  .reference-container { width: calc(100% - 40px); }
  .major-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .major-item { min-height: 170px; }
  .major-item img { width: 48px; height: 48px; }
  .reference-about { padding: 48px 0; }
  .reference-about-inner, .consult-area { grid-template-columns: 1fr; gap: 28px; }
  .reference-about-image img { height: 240px; }
  .case-grid-home { grid-template-columns: 1fr; gap: 20px; }
  .case-grid-home img { height: 220px; }
  .team-grid-home { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .team-card img { height: 190px; }
  .stats-inline { grid-template-columns: repeat(2, 1fr); gap: 22px 10px; }
  .news-grid-home { grid-template-columns: 1fr; gap: 16px; }
  .news-grid-home a { grid-template-columns: 120px 1fr; gap: 12px; }
  .news-grid-home img { width: 120px; height: 90px; }
  .news-grid-home h3 { font-size: 14px; }
  .news-grid-home p { max-height: 42px; overflow: hidden; font-size: 12px; }
  .partners-track { gap: 10px; }
  .partners-track img { width: 180px; height: 70px; flex-basis: 180px; }
}


@keyframes bannerCopyIn {
  from { opacity: 0; transform: translate3d(-100%, 0, 0); }
  to { opacity: 1; transform: translateY(0); }
}
.reference-banner-copy { animation: bannerCopyIn 1s ease-out both; }
.reveal-left { transform: translate3d(-100%, 0, 0); }
.reveal-right { transform: translate3d(100%, 0, 0); }
.reveal-up { transform: translate3d(0, 100%, 0); }
.reveal-left.is-visible, .reveal-right.is-visible, .reveal-up.is-visible { transform: translate3d(0, 0, 0); }
.hero-arrow { position: absolute; z-index: 4; top: 50%; width: 54px; height: 54px; padding: 0; border: 0; color: transparent; background: transparent no-repeat center/54px 54px; font-size: 0; opacity: 0; cursor: pointer; transform: translateY(-50%); transition: opacity .2s ease; }
.reference-banner:hover .hero-arrow, .reference-banner:focus-within .hero-arrow { opacity: 1; }
.hero-arrow-prev { left: 30px; background-image: url('/assets/images/left.png'); }
.hero-arrow-next { right: 30px; background-image: url('/assets/images/left2.png'); }
.customer-dock { position: fixed; right: 0; bottom: 440px; z-index: 30; width: 50px; height: 80px; }
.customer-dock-tab { position: absolute; top: 0; right: 0; width: 50px; height: 80px; color: #fff; background: url('/assets/images/icon-service.png') center/50px 80px no-repeat; text-align: center; transition: right .4s ease; }
.customer-dock-tab span { position: absolute; top: 50px; left: 18px; font-size: 13px; }
.customer-dock-panel { position: absolute; top: -70px; right: -190px; width: 170px; height: 300px; padding: 70px 10px 0; background: #fff url('/assets/images/box-kefu.png') center/170px 300px no-repeat; transition: right .4s ease; }
.customer-dock-panel a { display: block; height: 30px; margin: 5px 0; padding-left: 10px; color: #848484; font-size: 13px; line-height: 30px; }
.customer-dock-panel a:hover { border-radius: 4px; color: #fff; background: rgb(184,148,91); }
.customer-dock.is-open .customer-dock-tab { right: -100px; }
.customer-dock.is-open .customer-dock-panel { right: 0; }
@media (max-width: 768px) {
  .reveal-left, .reveal-right, .reveal-up { transform: translateY(28px); }
  .reveal-left.is-visible, .reveal-right.is-visible, .reveal-up.is-visible { transform: translateY(0); }
  .major-item:hover, .team-card:hover, .page-card:hover, .service-card:hover { transform: none; box-shadow: none; }
  .case-grid-home a:hover img { transform: none; }
  .hero-arrow, .floating-service, .customer-dock { display: none; }
}


.inner-hero { min-height: 280px; position: relative; overflow: hidden; color: #fff; background: #1e292e url('/assets/images/banner-2.jpg') center/cover; }
.inner-hero::after { content: ""; position: absolute; inset: 0; background: rgba(10,16,20,.58); }
.inner-hero-content { position: relative; z-index: 1; width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding: 78px 0; }
.inner-hero-content h1 { margin: 0; font-size: 38px; font-weight: 400; }
.inner-hero-content p { margin: 8px 0 0; color: #e6d6bd; }
.inner-page { min-height: 580px; padding: 58px 0 90px; }
.inner-page p { color: #777; line-height: 2; }
.page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.page-card { border: 1px solid #e7e2db; background: #fff; transition: border-color .25s ease, transform .25s ease; }
.page-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.page-card img { width: 100%; height: 190px; object-fit: cover; }
.page-card-body { padding: 16px 18px 20px; }
.page-card h3 { margin: 0; font-size: 17px; font-weight: 400; }
.page-card p { margin: 8px 0 0; font-size: 13px; line-height: 1.7; }
.article-wrap { width: min(900px, calc(100% - 48px)); margin: 0 auto; }
.article-wrap h2 { margin: 0 0 10px; font-size: 28px; font-weight: 400; }
.article-meta { margin-bottom: 28px; color: #999; font-size: 12px; }
.article-cover { width: 100%; height: 310px; margin-bottom: 28px; object-fit: cover; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-panel { padding: 28px; border: 1px solid #e9e6df; background: #fafafa; }
.contact-panel h2 { margin: 0 0 14px; color: var(--gold); font-size: 22px; font-weight: 400; }
.contact-panel strong { display: block; margin: 12px 0; font-size: 28px; font-weight: 400; }
.contact-panel a { color: var(--gold); }
@media (max-width: 768px) {
  .inner-hero { min-height: 220px; }
  .inner-hero-content { width: calc(100% - 40px); padding: 62px 0; }
  .inner-hero-content h1 { font-size: 28px; }
  .inner-page { padding: 42px 0 68px; }
  .page-grid, .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .page-card img { height: 175px; }
  .article-wrap { width: calc(100% - 40px); }
  .article-wrap h2 { font-size: 23px; }
  .article-cover { height: 210px; }
}


.team-intro-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  background: #fff;
  color: #4b4f58;
}
.team-intro-bar span { color: var(--gold); font-size: 13px; letter-spacing: 1px; }
.team-intro-bar small { color: #8d9097; font-size: 12px; }
.team-card { overflow: hidden; }
.team-card::before { content: "0" counter(team-card); position: absolute; top: 14px; left: 14px; z-index: 1; color: rgba(255,255,255,.8); font-size: 20px; }
.team-grid-home { counter-reset: team-card; }
.team-card { counter-increment: team-card; position: relative; }
.team-card-body { padding: 0 14px 14px; }
.team-card strong { margin-top: 14px; }
.team-card span { min-height: 24px; }
.team-card em { padding-bottom: 0; }
.certificate-section { padding: 14px 0 88px; background: #f7f5f1; }
.certificate-section .section-heading { padding-top: 28px; }
.certificate-strip { grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; padding: 18px; background: #b89058; }
.certificate { min-height: 270px; padding: 16px 12px; border-width: 8px; outline-offset: -14px; }
.certificate-mark { display: grid; place-items: center; width: 54px; height: 54px; margin-top: 24px; border: 1px solid #b58e58; border-radius: 50%; color: #b58e58; font-size: 24px; font-style: normal; }
.certificate strong { margin-top: 22px; font-size: 16px; }
.certificate i { margin-top: 18px; }
.certificate span:last-child { font-size: 12px; }
.page-intro { width: min(720px, 100%); margin: 0 auto 24px; text-align: center; }
.page-intro span { color: var(--gold); font-size: 12px; letter-spacing: 3px; }
.page-intro p { margin: 8px 0 0; color: #7d8088; line-height: 1.8; }
.filter-tabs { border: 1px solid #e8e4dc; background: #fff; box-shadow: 0 8px 24px rgba(46,39,30,.05); }
.filter-tabs a { position: relative; }
.filter-tabs a + a { border-left: 1px solid #e8e4dc; }
.page-card { overflow: hidden; }
.page-card img { background: #f0efeb; transition: transform .45s ease; }
.page-card:hover img { transform: scale(1.04); }
.page-card-body small, .news-page-grid small { display: block; margin-bottom: 5px; color: var(--gold); font-size: 11px; letter-spacing: 1px; }
.page-card-body h3 { color: #2d313b; }
.news-page-grid { margin-top: 12px; }
.news-page-grid a { min-height: 168px; padding: 0 0 22px; align-items: start; }
.news-page-grid a:first-child { grid-column: span 2; grid-template-columns: 300px 1fr; padding-bottom: 28px; }
.news-page-grid a:first-child img { width: 300px; height: 190px; }
.news-page-grid a:first-child h3 { font-size: 21px; }
.news-page-grid a:first-child p { font-size: 14px; }
.news-page-grid img { transition: transform .4s ease; }
.news-page-grid a:hover img { transform: scale(1.04); }
.contact-page { padding-bottom: 110px; }
.contact-layout-enhanced { width: min(1000px, 100%); margin: 34px auto 0; gap: 24px; }
.contact-card { position: relative; padding: 34px 36px; border-color: #e6e0d6; background: #fbfaf8; }
.contact-card-primary { color: #fff; background: #262c3d; }
.contact-card-primary::after { content: ""; position: absolute; right: 26px; bottom: 24px; width: 88px; height: 88px; border: 1px solid rgba(216,189,139,.45); border-radius: 50%; }
.contact-card-kicker { color: var(--gold); font-size: 12px; letter-spacing: 2px; }
.contact-card-primary h2, .contact-card-form h2 { margin: 10px 0 6px; font-size: 30px; font-weight: 400; }
.contact-card-primary h2 { color: #fff; }
.contact-card-form h2 { color: #252936; }
.contact-hours, .contact-card-form > p { margin: 0 0 24px; color: #aeb3be; }
.contact-card-form > p { color: #858994; }
.contact-detail-list { margin-top: 28px; }
.contact-detail-list p { margin: 12px 0; color: #d6d9df; }
.contact-detail-list b { display: inline-block; width: 44px; color: var(--gold-soft); font-weight: 400; }
.contact-call { display: inline-flex; align-items: center; gap: 18px; margin-top: 24px; padding-bottom: 4px; border-bottom: 1px solid var(--gold); color: #fff; }
.contact-call span { color: var(--gold-soft); font-size: 20px; }
.contact-card-form label { display: block; margin-top: 14px; color: #646873; font-size: 13px; }
.contact-card-form input, .contact-card-form textarea { margin-top: 5px; }
.contact-card-form .consult-form.button { width: 100%; min-height: 46px; margin-top: 18px; padding: 0; border: 0; color: #fff; background: var(--gold); }

@media (max-width: 768px) {
  .team-intro-bar { display: block; margin-bottom: 16px; }
  .team-intro-bar small { display: block; margin-top: 4px; }
  .certificate-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 12px; }
  .certificate { min-height: 230px; }
  .page-intro { margin-bottom: 18px; }
  .filter-tabs { overflow-x: auto; white-space: nowrap; }
  .filter-tabs a { min-width: 96px; flex: 0 0 auto; }
  .news-page-grid a:first-child { grid-column: auto; grid-template-columns: 120px 1fr; padding-bottom: 18px; }
  .news-page-grid a:first-child img { width: 120px; height: 90px; }
  .news-page-grid a:first-child h3 { font-size: 14px; }
  .news-page-grid a:first-child p { font-size: 12px; }
  .contact-layout-enhanced { margin-top: 22px; }
  .contact-card { padding: 26px 22px; }
  .contact-card-primary h2, .contact-card-form h2 { font-size: 26px; }
  .contact-card-primary::after { right: 18px; bottom: 16px; width: 64px; height: 64px; }
}


.consult-area { align-items: stretch; }
.consult-copy { display: flex; min-height: 100%; flex-direction: column; justify-content: space-between; padding: 30px 34px; border-left: 3px solid var(--gold); background: #fff; }
.consult-copy > p { margin-bottom: 30px; }
.consult-form { height: 100%; }
.certificate-strip { grid-template-columns: repeat(3, 1fr); padding: 22px; }
.certificate-strip > img { width: 100%; height: 300px; object-fit: contain; padding: 8px; background: #fff; }
.news-page-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.news-page-grid a,
.news-page-grid a:first-child { grid-column: auto; grid-template-columns: 300px 1fr; min-height: 190px; padding: 0 0 26px; margin-bottom: 26px; }
.news-page-grid img,
.news-page-grid a:first-child img { width: 300px; height: 190px; }
.news-page-grid h3,
.news-page-grid a:first-child h3 { font-size: 20px; }
.news-page-grid p,
.news-page-grid a:first-child p { font-size: 14px; }

@media (max-width: 768px) {
  .consult-copy { padding: 24px 20px; }
  .certificate-strip { grid-template-columns: 1fr; padding: 14px; }
  .certificate-strip > img { height: 260px; }
  .news-page-grid a,
  .news-page-grid a:first-child { grid-template-columns: 120px 1fr; min-height: 90px; padding-bottom: 18px; margin-bottom: 18px; }
  .news-page-grid img,
  .news-page-grid a:first-child img { width: 120px; height: 90px; }
  .news-page-grid h3,
  .news-page-grid a:first-child h3 { font-size: 14px; }
  .news-page-grid p,
  .news-page-grid a:first-child p { font-size: 12px; }
}


.contact-form { display: grid; gap: 16px; margin-top: 26px; }
.contact-field { display: block; }
.contact-field > span { display: block; margin-bottom: 7px; color: #474c56; font-size: 13px; line-height: 1.3; }
.contact-field em { color: #b9874d; font-style: normal; }
.contact-field input,
.contact-field textarea { width: 100%; padding: 12px 13px; border: 1px solid #ded8ce; outline: none; color: #2d313b; background: #fff; font: inherit; line-height: 1.5; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.contact-field input { height: 46px; }
.contact-field textarea { min-height: 132px; resize: vertical; }
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #b1b2b4; }
.contact-field input:hover,
.contact-field textarea:hover { border-color: #c9b28e; }
.contact-field input:focus,
.contact-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(186,148,88,.12); background: #fffcf7; }
.contact-submit { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border: 0; color: #fff; background: #262c3d; font: inherit; cursor: pointer; transition: background .25s ease; }
.contact-submit b { color: var(--gold-soft); font-size: 22px; font-weight: 400; line-height: 1; }
.contact-submit:hover { background: var(--gold); }
.contact-submit:hover b { color: #fff; }
.contact-form .form-message { margin: -7px 0 0; }

@media (max-width: 768px) {
  .contact-form { gap: 14px; margin-top: 22px; }
  .contact-field textarea { min-height: 116px; }
}


.reference-team { padding-bottom: 66px; }
.consult-area { grid-template-columns: 1.25fr .75fr; gap: 38px; margin-top: 42px; }
.consult-copy { justify-content: center; padding: 30px 32px; }
.consult-copy-head { max-width: 660px; }
.consult-copy h2 { margin-bottom: 14px; font-size: 26px; }
.consult-copy > p,
.consult-copy-head p { margin: 0; color: #777; line-height: 1.9; }
.stats-inline { grid-template-columns: repeat(2, 1fr); margin-top: 36px; padding-top: 24px; border-top: 1px solid #ebe5dc; gap: 24px 22px; }
.stats-inline .team-stat-item { display: flex; align-items: center; gap: 14px; text-align: left; }
.team-stat-item img { width: 58px; height: 58px; flex: 0 0 58px; object-fit: contain; }
.stats-inline .team-stat-item b { color: #b58d52; font-size: 31px; line-height: 1; }
.stats-inline .team-stat-item span { margin-top: 4px; color: #767a82; font-size: 11px; line-height: 1.35; }
.consult-form { padding: 26px 28px; }
.consult-form > p { margin: 8px 0 18px; }
.consult-form label { margin-top: 10px; }
.consult-form input,
.consult-form textarea { padding: 8px 10px; }
.consult-form button { margin-top: 12px; }

@media (max-width: 768px) {
  .consult-area { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .consult-copy { padding: 24px 20px; }
  .stats-inline { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
  .team-stat-item img { width: 46px; height: 46px; flex-basis: 46px; }
}


.inner-module-reveal { opacity: 0; transform: translate3d(0, 38px, 0); transition: opacity .7s ease, transform .7s ease; }
.inner-module-reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
body:not([data-page="home"]) .inner-hero-content { animation: innerHeroCopyIn .7s ease both; }

@keyframes innerHeroCopyIn {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 768px) {
  .inner-module-reveal { transform: translate3d(0, 24px, 0); }
}


body[data-page="team"] .page-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
body[data-page="team"] .page-card img { height: 410px; padding: 8px; object-fit: contain; object-position: center bottom; background: #f3f2ee; }
body[data-page="team"] .page-card-body { padding: 16px 16px 20px; }

@media (min-width: 769px) and (max-width: 1199px) {
  body[data-page="team"] .page-grid { grid-template-columns: repeat(2, 1fr); }
  body[data-page="team"] .page-card img { height: 430px; }
}

@media (max-width: 768px) {
  body[data-page="team"] .page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body[data-page="team"] .page-card img { height: 250px; padding: 5px; }
  body[data-page="team"] .page-card-body { padding: 12px 10px 14px; }
  body[data-page="team"] .page-card h3 { font-size: 16px; }
  body[data-page="team"] .page-card p { font-size: 12px; line-height: 1.6; }
}


body[data-page="service"] .page-grid { gap: 26px; }
body[data-page="service"] .page-card img { height: 300px; padding: 10px; object-fit: contain; object-position: center; background: #f3f2ee; }
body[data-page="service"] .page-card-body { padding: 18px 18px 22px; }

@media (max-width: 768px) {
  body[data-page="service"] .page-card img { height: 260px; }
}


.customer-dock { right: 0; bottom: 280px; width: 50px; height: 80px; }
.customer-dock-tab { width: 50px; height: 80px; background: url('/assets/images/icon-service.png') center/50px 80px no-repeat; }
.customer-dock-tab span { top: 50px; left: 18px; }
.customer-dock-panel { top: -84px; right: -230px; display: flex; width: 220px; height: 248px; padding: 12px; border: 1px solid #e0d7c8; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.14); transition: right .25s ease; }
.customer-dock-list { display: flex; width: 82px; flex-direction: column; justify-content: center; gap: 8px; }
.customer-dock-item { width: 100%; height: 34px; border: 0; color: #5d564c; background: #f5f2ec; font: inherit; font-size: 13px; cursor: pointer; }
.customer-dock-item:hover, .customer-dock-item:focus, .customer-dock-item.is-active { color: #fff; background: rgb(184,148,91); outline: 0; }
.customer-dock-qr { display: grid; width: 112px; margin-left: 12px; place-items: center; }
.customer-dock-qr-image { display: none; width: 112px; height: 112px; object-fit: contain; }
.customer-dock-qr-image.is-active { display: block; }
.customer-dock.is-open .customer-dock-tab { right: -100px; }
.customer-dock.is-open .customer-dock-panel { right: 0; }


.honor-viewport { overflow: hidden; margin-top: 34px; padding: 20px; background: #b89058; }
.honor-track { display: flex; width: max-content; gap: 22px; }
.honor-track img { width: 260px; height: 300px; flex: 0 0 260px; padding: 8px; object-fit: contain; background: #fff; }


body[data-page="news"] .news-page-grid a,
body[data-page="news"] .news-page-grid a:first-child { gap: 34px; }


.article-cover { height: auto; max-height: none; object-fit: contain; }

@media (max-width: 768px) {
  .honor-viewport { margin-top: 24px; padding: 14px; }
  .honor-track { gap: 14px; }
  .honor-track img { width: 220px; height: 260px; flex-basis: 220px; }
  body[data-page="news"] .news-page-grid a,
  body[data-page="news"] .news-page-grid a:first-child { gap: 18px; }
}


.reference-banner-slide {
  opacity: 0;
  transform: none;
  transition: none;
}

.reference-banner-slide.is-active {
  opacity: 1;
}

.reference-banner-slide.is-leaving {
  position: absolute;
  z-index: 1;
  opacity: 1;
}

.reference-banner-slide.is-entering {
  z-index: 2;
}

.reference-banner-copy h1,
.reference-banner-copy .reference-banner-note {
  will-change: opacity, transform;
}

.reference-banner-copy.is-copy-entering h1 {
  animation: banner-copy-title-in .48s cubic-bezier(.22,.61,.36,1) both;
}

.reference-banner-copy.is-copy-entering .reference-banner-note {
  animation: banner-copy-note-in .56s .12s cubic-bezier(.22,.61,.36,1) both;
}

.reference-banner-copy.is-copy-leaving h1 {
  animation: banner-copy-title-out .14s ease both;
}

.reference-banner-copy.is-copy-leaving .reference-banner-note {
  animation: banner-copy-note-out .14s ease both;
}

@keyframes banner-copy-title-in {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes banner-copy-note-in {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes banner-copy-title-out {
  from { opacity: 1; transform: translate3d(0, 0, 0); }
  to { opacity: 0; transform: translate3d(0, -8px, 0); }
}

@keyframes banner-copy-note-out {
  from { opacity: 1; transform: translate3d(0, 0, 0); }
  to { opacity: 0; transform: translate3d(0, -6px, 0); }
}

@media (max-width: 768px) {
  .reference-banner-copy {
    animation: none;
    transform: translateY(-50%);
  }
}

.reference-banner.is-transitioning[data-transition="slide"] .reference-banner-slide.is-entering {
  animation: reference-slide-in var(--banner-duration, 1000ms) ease both;
}

.reference-banner.is-transitioning[data-transition="slide"] .reference-banner-slide.is-leaving {
  animation: reference-slide-out var(--banner-duration, 1000ms) ease both;
}

.reference-banner.is-transitioning[data-transition="crossfade"] .reference-banner-slide.is-entering,
.reference-banner.is-transitioning[data-transition="fade"] .reference-banner-slide.is-entering {
  animation: reference-fade-in var(--banner-duration, 1000ms) ease both;
}

.reference-banner.is-transitioning[data-transition="crossfade"] .reference-banner-slide.is-leaving,
.reference-banner.is-transitioning[data-transition="fade"] .reference-banner-slide.is-leaving {
  animation: reference-fade-out var(--banner-duration, 1000ms) ease both;
}

.reference-banner.is-transitioning[data-transition="threedhorizontal"] .reference-banner-slide.is-entering {
  animation: reference-turn-in var(--banner-duration, 1000ms) ease both;
  transform-origin: center right;
}

.reference-banner.is-transitioning[data-transition="threedhorizontal"] .reference-banner-slide.is-leaving {
  animation: reference-turn-out var(--banner-duration, 1000ms) ease both;
  transform-origin: center left;
}

.reference-banner.is-transitioning[data-transition="threed"] .reference-banner-slide.is-entering {
  animation: reference-turn-in var(--banner-duration, 1000ms) ease both;
  transform-origin: center;
}

.reference-banner.is-transitioning[data-transition="threed"] .reference-banner-slide.is-leaving {
  animation: reference-turn-out var(--banner-duration, 1000ms) ease both;
  transform-origin: center;
}

.reference-banner.is-transitioning[data-transition="slice"] .reference-banner-slide.is-entering {
  animation: reference-slice-in var(--banner-duration, 1000ms) ease both;
}

.reference-banner.is-transitioning[data-transition="slice"] .reference-banner-slide.is-leaving {
  animation: reference-fade-out var(--banner-duration, 1000ms) ease both;
}

.reference-banner.is-transitioning[data-transition="blocks"] .reference-banner-slide.is-entering {
  animation: reference-blocks-in var(--banner-duration, 1000ms) ease both;
}

.reference-banner.is-transitioning[data-transition="blinds"] .reference-banner-slide.is-entering {
  animation: reference-blinds-in var(--banner-duration, 1000ms) ease both;
}

.reference-banner.is-transitioning[data-transition="shuffle"] .reference-banner-slide.is-entering {
  animation: reference-shuffle-in var(--banner-duration, 1000ms) ease both;
}

.reference-banner.is-transitioning[data-transition="shuffle"] .reference-banner-slide.is-leaving {
  animation: reference-shuffle-out var(--banner-duration, 1000ms) ease both;
}

@keyframes reference-slide-in {
  from { opacity: 1; transform: translate3d(100%, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes reference-slide-out {
  from { opacity: 1; transform: translate3d(0, 0, 0); }
  to { opacity: 1; transform: translate3d(-100%, 0, 0); }
}

@keyframes reference-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes reference-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes reference-turn-in {
  from { opacity: 0; transform: perspective(900px) rotateY(90deg); }
  to { opacity: 1; transform: perspective(900px) rotateY(0); }
}

@keyframes reference-turn-out {
  from { opacity: 1; transform: perspective(900px) rotateY(0); }
  to { opacity: 0; transform: perspective(900px) rotateY(-90deg); }
}

@keyframes reference-slice-in {
  from { opacity: 1; clip-path: inset(0 100% 0 0); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}

@keyframes reference-blocks-in {
  from { opacity: 1; clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  to { opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

@keyframes reference-blinds-in {
  from { opacity: 1; clip-path: inset(0 0 100% 0); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}

@keyframes reference-shuffle-in {
  from { opacity: 0; transform: scale(.85) translate3d(8%, 0, 0); }
  to { opacity: 1; transform: scale(1) translate3d(0, 0, 0); }
}

@keyframes reference-shuffle-out {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(.85) translate3d(-8%, 0, 0); }
}

.reference-banner::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: rgba(255, 255, 255, .8);
}

.reference-banner.is-timing::before {
  animation: reference-timer 5s linear both;
}

.reference-banner:hover::before {
  animation-play-state: paused;
}

@keyframes reference-timer {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.reveal {
  visibility: hidden;
  opacity: 1;
  transform: translate3d(0, 100%, 0);
  transition: transform 1s ease;
}

.reveal-left {
  transform: translate3d(-100%, 0, 0);
}

.reveal-right {
  transform: translate3d(100%, 0, 0);
}

.reveal.is-visible {
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

.home-module-reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  transition: opacity .8s ease, transform .8s ease;
}

.home-module-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 1000px) {
  .customer-dock {
    display: none;
  }
}

@media (max-width: 1000px) {
  body.menu-open {
    overflow: hidden;
  }

  body.menu-open::after {
    display: none;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 31;
    width: 44px;
    height: 44px;
    color: var(--gold);
    background: transparent;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    z-index: 30;
    width: auto;
    max-width: none;
    height: auto;
    max-height: calc(100vh - 60px);
    padding: 0 18px 12px;
    overflow-y: auto;
    opacity: 1;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
    transition: none;
  }

  .site-nav.is-open {
    display: grid;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0 8px;
    color: #999;
    font-size: 15px;
    line-height: 3.2;
    border-bottom: 1px solid #dcdcdc;
  }

  .site-nav a:hover,
  .site-nav a.active {
    color: #5a342b;
  }
}

.reference-top-control {
  position: fixed;
  right: 40px;
  bottom: 80px;
  z-index: 20000;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
  background: url('/assets/images/top2.png') 0 0 / 40px 82px no-repeat;
  transition: opacity .3s ease;
}

.reference-top-control.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.reference-top-control:hover {
  background-position: 0 -42px;
}

@media (max-width: 1000px) {
  .reference-top-control {
    display: none;
  }

  .mobile-bar {
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    height: calc(60px + env(safe-area-inset-bottom));
    padding: 0 8px env(safe-area-inset-bottom);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    box-sizing: border-box;
    border-top: 1px solid #222;
    background: #fff;
    transform: none;
  }

  .mobile-bar a {
    display: grid;
    align-content: center;
    justify-items: center;
    min-width: 0;
    overflow: hidden;
    color: var(--gold);
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }

  .mobile-bar strong {
    display: block;
    font-size: 19px;
    font-weight: 400;
  }

  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 768px) {
  .home-module-reveal {
    transform: translate3d(0, 24px, 0);
  }
}
