:root {
  --navy: #102f50;
  --navy-dark: #0a2238;
  --gold: #d6b073;
  --gold-soft: #ebdcc3;
  --ink: #193047;
  --text: #3d4a59;
  --muted: #6e7b88;
  --line: #dfe5ea;
  --bg: #f7f5f1;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(16, 47, 80, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 2rem), var(--container)); margin: 0 auto; }
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 1000; background: var(--navy); color: #fff;
  padding: .7rem 1rem; border-radius: 12px;
}
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223,229,234,.85);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 88px;
}
.brand img { height: 62px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 1.4rem; }
.main-nav a { color: var(--ink); font-weight: 600; font-size: .96rem; }
.main-nav a:hover, .footer-links a:hover { color: var(--navy); }
.header-right { display: flex; align-items: center; gap: .75rem; }
.lang-switch { display: inline-flex; gap: .35rem; padding: .25rem; background: #f2f4f7; border-radius: 999px; }
.lang-btn {
  appearance: none; border: none; background: transparent; padding: .32rem; width: 38px; height: 30px;
  border-radius: 999px; cursor: pointer; display: grid; place-items: center;
}
.lang-btn.is-active { background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.08); }
.lang-btn img { width: 22px; height: 15px; border-radius: 2px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 700; border-radius: 999px;
  padding: .95rem 1.35rem; transition: .25s ease; font-size: .95rem; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--navy-dark); }
.btn-secondary { background: transparent; color: var(--navy); border-color: rgba(16,47,80,.16); }
.btn-secondary:hover { background: rgba(16,47,80,.05); }
.menu-toggle {
  display: none; background: transparent; border: none; padding: .35rem; cursor: pointer;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }
.hero {
  padding: 4.8rem 0 4rem; background:
    radial-gradient(circle at 0% 0%, rgba(214,176,115,.15), transparent 28%),
    radial-gradient(circle at 100% 15%, rgba(16,47,80,.08), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
}
.hero-grid, .two-col, .contact-grid, .footer-grid { display: grid; gap: 2rem; }
.hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; }
.eyebrow, .section-kicker {
  color: var(--navy); font-weight: 800; letter-spacing: .14em; font-size: .78rem; margin: 0 0 1rem;
}
.hero h1, .section h2, .contact-section h2 {
  margin: 0 0 1rem; color: var(--ink); font-size: clamp(2rem, 4vw, 4.15rem); line-height: 1.05;
}
.hero h1 .accent { color: var(--gold); }
.hero-text, .lead { font-size: 1.12rem; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.8rem; }
.hero-stats {
  margin-top: 2rem; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem;
}
.hero-stats > div, .hero-card {
  background: rgba(255,255,255,.86); border: 1px solid rgba(223,229,234,.85); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.hero-stats > div { padding: 1.15rem 1.2rem; }
.hero-stats strong { display: block; font-size: 2rem; color: var(--navy); line-height: 1; margin-bottom: .4rem; }
.hero-stats span { color: var(--muted); font-size: .96rem; }
.hero-card { padding: 1.7rem; }
.hero-card-mark {
  width: 88px; height: 88px; border-radius: 22px; background: linear-gradient(135deg, rgba(16,47,80,.09), rgba(214,176,115,.18));
  display: grid; place-items: center; margin-bottom: 1.2rem;
}
.hero-card h2 { font-size: 1.6rem; margin-bottom: .8rem; }
.hero-card ul { margin: 1rem 0 0; padding-left: 1rem; color: var(--muted); }
.hero-card li + li { margin-top: .45rem; }
.section { padding: 5rem 0; }
.alt-bg { background: var(--bg); }
.two-col { grid-template-columns: .92fr 1.08fr; }
.align-start { align-items: start; }
.section-intro { margin-bottom: 2rem; }
.section-intro > p:not(.section-kicker), .section-intro .lead, .section-intro div p:last-child, .contact-section p, .site-footer p { color: var(--text); }
.cards-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.35rem;
}
.service-card, .origin-panel, .contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 1.4rem; box-shadow: var(--shadow);
}
.service-card h3, .origin-panel h3 { margin: 1rem 0 .6rem; color: var(--ink); font-size: 1.32rem; }
.logo-box, .origin-logo-box {
  display: flex; align-items: center; justify-content: center; border-radius: 20px; background: #fbfbfb; border: 1px solid #edf1f5;
}
.logo-box { min-height: 180px; padding: 1rem; }
.logo-box img { max-height: 138px; width: auto; object-fit: contain; }
.logo-box--blue img { max-width: 100%; }
.origin-logo-box { min-height: 150px; padding: 1rem; }
.origin-logo-box img { max-height: 110px; width: auto; object-fit: contain; }
.service-card p, .origin-panel p { color: var(--muted); }
.card-link {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; color: var(--navy); font-weight: 800;
}
.card-link::after { content: '↗'; }
.origin-panel { max-width: 430px; }
.contact-section {
  background: linear-gradient(135deg, #0e2740 0%, #163f63 100%); color: #fff;
}
.contact-section .section-kicker, .contact-section h2, .contact-section p { color: #fff; }
.contact-grid { grid-template-columns: 1.1fr .9fr; align-items: center; }
.contact-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); box-shadow: none; }
.contact-line {
  display: block; padding: 1rem 0; color: #fff;
}
.contact-line + .contact-line { border-top: 1px solid rgba(255,255,255,.14); }
.contact-line .label { display: block; font-size: .82rem; opacity: .85; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .2rem; }
.site-footer { background: #f7f7f8; padding-top: 3rem; border-top: 1px solid var(--line); }
.footer-grid { grid-template-columns: 1.2fr .6fr .8fr; align-items: start; }
.footer-logo { height: 58px; width: auto; margin-bottom: 1rem; }
.site-footer h3 { margin-top: 0; margin-bottom: 1rem; color: var(--ink); font-size: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: .7rem; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; margin-top: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem;
}
@media (max-width: 1100px) {
  .cards-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .main-nav {
    position: absolute; top: 88px; left: 0; right: 0; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line);
    padding: 1rem; display: none; flex-direction: column; align-items: flex-start;
  }
  .main-nav.is-open { display: flex; }
  .menu-toggle { display: inline-block; }
  .header-right .btn { display: none; }
  .hero-grid, .two-col, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
}
@media (max-width: 720px) {
  .brand img { height: 48px; }
  .section { padding: 4rem 0; }
  .hero { padding-top: 3.5rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* V3 — layout refinement: two brand versions and six matched logo canvases */
.brand img { height: 62px; width: auto; }
.footer-logo { height: 52px; width: auto; }
.main-nav { gap: 1.08rem; }
.hero-card { padding: 1.8rem 1.75rem; }
.hero-logo-frame {
  width: 100%; min-height: 165px; margin-bottom: 1.55rem; padding: 1rem 1.1rem;
  border-radius: 19px;
  background: #fcfcfa; border: 1px solid #edf0f2;
  display: flex; align-items: center; justify-content: center;
}
.hero-logo-frame picture { width: 100%; }
.hero-logo-frame img { display: block; width: 100%; height: auto; max-height: 180px; object-fit: contain; }
.service-card { display: flex; flex-direction: column; }
.service-card .card-link { margin-top: auto; padding-top: 1.3rem; }
.logo-box {
  height: 205px; min-height: 205px; padding: 0.95rem;
  background: #fff; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.logo-box img {
  display: block; width: 100%; max-width: 350px; height: 100%; max-height: 177px;
  object-fit: contain; flex: 0 1 auto;
}
.logo-box--prev { background: #234b42; border-color: #234b42; }
.logo-box--prev img { max-width: 365px; max-height: 187px; }
.origin-logo-box { min-height: 177px; height: 177px; padding: .8rem 1.15rem; }
.origin-logo-box img { height: 100%; width: 100%; max-height: 160px; object-fit: contain; }
.section-intro h2 { max-width: 920px; }
.quality-section { padding: .2rem 0 4.9rem; background: #fff; }
.quality-panel {
  padding: 1.5rem 1.7rem; background: #f4f7f4; border: 1px solid #e0e9e0; border-left: 4px solid #5d856e;
  border-radius: 18px; display: flex; align-items: center; gap: 1.4rem;
}
.quality-icon {
  flex: 0 0 64px; width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: 15px; color: #3f7457; background: #e2ede4;
}
.quality-icon svg { width: 38px; height: 38px; }
.quality-copy { min-width: 0; }
.quality-overline { color: #49715a; font-weight: 800; font-size: .7rem; letter-spacing: .13em; margin: 0 0 .2rem; }
.quality-copy h2 { color: #1e4b38; font-size: 1.35rem; margin: 0 0 .24rem; line-height: 1.35; }
.quality-copy p { margin: 0; color: #3d5546; font-size: .95rem; }
.quality-copy small { display: block; color: #617465; margin-top: .35rem; font-size: .74rem; }
.locations-section { background: #fcfcfb; border-top: 1px solid #f0f1f0; }
.location-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
.location-card {
  background: white; border: 1px solid #e0e6ec; border-radius: 20px; padding: 1.6rem;
  display: flex; flex-direction: column; min-height: 255px; box-shadow: 0 9px 26px rgba(16,47,80,.045);
}
.location-card--hq { background: linear-gradient(165deg, #fdfbf7, #ffffff 75%); border-color: #dfcfb2; }
.location-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; min-height: 36px; }
.location-label { font-size: .7rem; line-height: 1.3; letter-spacing: .075em; font-weight: 800; color: #527188; }
.location-card--hq .location-label { color: #987440; }
.location-number { color: #a2afba; font-size: .75rem; }
.location-card h3 { margin: .75rem 0 1rem; color: #163552; font-size: 1.45rem; }
.location-card h3 span { margin-left: .32rem; color: #81919d; font-weight: 500; font-size: .75rem; }
.location-card address { font-size: .91rem; font-style: normal; color: #526171; line-height: 1.6; flex: 1; }
.location-link { display: inline-flex; gap: .4rem; align-items: center; font-size: .87rem; font-weight: 800; color: #0f5e86; margin-top: 1.4rem; }
.location-link:hover { text-decoration: underline; }
.locations-note { font-size: .83rem; color: #6d7b85; margin: 1.05rem 0 0; }
@media (min-width: 1101px) {
  .cards-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .service-card { grid-column: span 2; }
  .service-card:nth-child(4) { grid-column: 2 / span 2; }
  .service-card:nth-child(5) { grid-column: 4 / span 2; }
}
@media (max-width: 1190px) { .header-right .btn { display: none; } }
@media (max-width: 1000px) {
  .hero-logo-frame img { max-height: 150px; }
  .location-grid { grid-template-columns: 1fr 1fr; }
  .location-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) { .brand img { height: 54px; } }
@media (max-width: 720px) {
  .brand img { height: 45px; }
  .header-inner { min-height: 74px; }
  .main-nav { top: 74px; }
  .quality-section { padding-bottom: 3.4rem; }
  .quality-panel { padding: 1.2rem; gap: .95rem; align-items: flex-start; }
  .quality-icon { width: 50px; height: 50px; flex-basis: 50px; }
  .quality-icon svg { width: 30px; height: 30px; }
  .location-grid { grid-template-columns: 1fr; }
  .location-card:last-child { grid-column: auto; }
  .location-card { min-height: 230px; }
  .logo-box { height: 215px; }
}
@media (max-width: 390px) {
  .brand img { height: 39px; }
  .header-inner { gap: .35rem; }
  .header-right { gap: .35rem; }
  .lang-switch { gap: .1rem; padding: .13rem; }
  .lang-btn { width: 32px; }
  .logo-box { height: 185px; }
}

/* V3 optical sizes: each uploaded mark fills the same designated panel without distortion. */
.logo-box img { width: 100%; height: 100%; max-width: 305px; max-height: 175px; object-fit: contain; }
.logo-box--prev img { max-width: 315px; max-height: 180px; }
.hero-logo-lockup { width: 100%; display: flex; flex-direction: column; align-items: center; }
.hero-logo-lockup img { display: block; width: 100%; max-width: 395px; height: auto; }
.hero-logo-tagline {
  display: block; text-align: center; margin-top: 0.32rem; color: #182e42;
  font-size: 10.8px; font-weight: 650; letter-spacing: .14em; line-height: 1.5;
  white-space: nowrap;
}
.location-card address span { display: block; }
@media (max-width: 1000px) { .hero-logo-tagline { display: none; } }
@media (max-width: 720px) { .hero-logo-lockup img { max-width: 300px; } }
