/* XINFUDA editorial design system — September 2026. */
:root {
  --ink:#143654;
  --ink-strong:#102c45;
  --navy:#123b5c;
  --blue:#007eae;
  --hero-blue:#007cbe;
  --blue-dark:#00678f;
  --blue-soft:#edf6fa;
  --muted:#586e7e;
  --line:#d6e2e9;
  --line-dark:#99afbe;
  --cream:#f4f7f9;
  --white:#fff;
  --success:#237753;
  --danger:#aa3543;
  --container:1320px;
  --gutter:clamp(24px,5vw,88px);
  --section:clamp(64px,8vw,120px);
  --radius:0;
  --ease:cubic-bezier(.2,.7,.3,1)
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:110px
}
body {
  margin:0;
  background:#fff;
  color:var(--ink);
  font:16px/1.7 'DM Sans','Microsoft YaHei',sans-serif;
  -webkit-font-smoothing:antialiased
}
a {
  color:inherit;
  text-decoration:none
}
button,input,textarea,select {
  font:inherit
}
button {
  cursor:pointer
}
img {
  display:block;
  max-width:100%;
  height:auto
}
[hidden] {
  display:none!important
}
:focus-visible {
  outline:3px solid var(--blue);
  outline-offset:5px
}
h1,h2,h3,h4,p {
  margin:0 0 22px
}
h1,h2,h3 {
  font-weight:400;
  line-height:1.12;
  letter-spacing:-.035em;
  overflow-wrap:break-word
}
h1 {
  font-size:clamp(40px,5.5vw,80px)
}
h2 {
  font-size:clamp(32px,4vw,58px)
}
h3 {
  font-size:26px
}
p {
  overflow-wrap:anywhere
}
.wrap {
  width:calc(100% - var(--gutter)*2);
  max-width:var(--container);
  margin-inline:auto
}
.section {
  padding-block:var(--section)
}
.eyebrow {
  font-size:11px;
  letter-spacing:.16em;
  font-weight:600;
  text-transform:uppercase;
  color:var(--blue);
  margin-bottom:24px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  min-height:50px;
  padding:13px 25px;
  background:var(--blue);
  border:1px solid var(--blue);
  border-radius:3px;
  color:#fff;
  font-size:14px;
  font-weight:600;
  transition:background .2s,transform .2s
}
.button:hover {
  background:var(--blue-dark);
  border-color:var(--blue-dark);
  transform:translateY(-2px)
}
/* Match the shared header contact action across every inquiry form. */
body .inquiry-form .button[type="submit"] {
  background:var(--hero-blue);
  border-color:var(--hero-blue);
  color:#fff;
}
body .inquiry-form .button[type="submit"]:hover {
  background:#096c94;
  border-color:#096c94;
}
.button.light {
  background:#fff;
  color:var(--ink);
  border-color:#fff
}
.button.small {
  padding:10px 19px;
  min-height:44px
}
.text-link {
  display:inline-flex;
  align-items:center;
  gap:20px;
  border-bottom:1px solid currentColor;
  padding:8px 0;
  font-size:14px;
  font-weight:600
}
.text-link:hover {
  color:var(--blue)
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:50px;
  margin-bottom:40px
}
.section-heading>div {
  max-width:790px
}
.section-heading h2 {
  margin:0
}
.section-heading>.text-link {
  flex-shrink:0
}
.section-intro {
  max-width:630px;
  color:var(--muted);
  font-size:18px
}
.body-text {
  color:var(--muted);
  font-size:17px;
  line-height:1.9
}
.cta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;
  padding:clamp(35px,6vw,80px);
  background:var(--navy);
  color:#fff;
  margin-block:40px 0
}
.cta>div {
  max-width:770px
}
.cta .eyebrow {
  color:#8cd1e4
}
.cta p {
  color:#d1e2eb;
  margin-bottom:0
}
.cta .button {
  flex-shrink:0
}
.footer {
  margin-top:100px;
  padding-top:70px;
  background:var(--cream);
  color:var(--ink)
}
.footer-main {
  display:grid;
  grid-template-columns:1.25fr 1fr .7fr 1fr;
  gap:45px;
  padding-bottom:65px
}
.footer-brand p,.footer-address {
  color:var(--muted);
  font-size:13px
}
.footer .brand-logo {
  margin-bottom:25px
}
.footer-social {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px
}
.footer-social a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  border:1px solid #173f6026;
  border-radius:8px;
  color:var(--navy);
  background:#ffffffb8;
  text-decoration:none;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease
}
.footer-social-icon { width:44px;flex:0 0 44px }
.footer-social .footer-social-whatsapp { gap:12px;padding:0 16px;font-size:13px;font-weight:600;letter-spacing:.01em;background:#e6f1f8 }
.footer-social svg { display:block;flex-shrink:0 }
.footer-social a:hover { background:var(--navy);border-color:var(--navy);color:#fff;transform:translateY(-2px) }
.footer-social a:focus-visible { outline:2px solid var(--blue);outline-offset:4px }
.footer h4 {
  font-size:15px;
  font-weight:600;
  margin-bottom:24px
}
.footer-main>div>a:not(.logo) {
  display:block;
  font-size:13px;
  margin-bottom:12px;
  overflow-wrap:anywhere
}
.footer a:hover {
  color:var(--blue)
}
.footer-bottom {
  display:flex;
  justify-content:space-between;
  gap:25px;
  border-top:1px solid var(--line);
  padding:25px 0;
  color:var(--muted);
  font-size:11px
}
.footer-bottom>div {
  display:flex;
  gap:20px
}
.success {
  color:var(--success)
}
.error {
  color:var(--danger)
}
body.search-open {
  overflow:hidden
}
.skip-link {
  position:fixed;
  left:20px;
  top:-100px;
  background:#fff;
  padding:12px;
  z-index:100
}
.skip-link:focus {
  top:12px
}
@media(max-width:800px) {
  .section-heading {
    align-items:start;
    flex-direction:column;
    gap:20px
  }
  .cta {
    flex-direction:column;
    align-items:start;
    gap:28px
  }
  .footer-main {
    grid-template-columns:1fr 1fr
  }
  .footer-bottom {
    flex-wrap:wrap
  }
  .section-intro {
    font-size:16px
  }
}
@media(max-width:480px) {
  .footer-main {
    gap:30px 22px
  }
  .footer-brand,.footer-main>div:last-child {
    grid-column:1/-1
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }
}
