:root {
  --navy: #08233d;
  --navy-2: #0f3558;
  --gold: #c49a4a;
  --gold-dark: #a67d2f;
  --beige: #f6efe4;
  --beige-2: #fbf7f0;
  --ink: #172033;
  --muted: #667085;
  --white: #ffffff;
  --line: rgba(8, 35, 61, 0.13);
  --shadow: 0 20px 55px rgba(8, 35, 61, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--beige-2);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}
.narrow { max-width: 860px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { width: 245px; flex: 0 0 auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--navy);
  font-weight: 650;
  font-size: 0.96rem;
}
.site-nav a { position: relative; padding: 10px 0; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .18s ease;
}
.site-nav a:hover::after { width: 100%; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 700;
}
.lang-button {
  border: 0;
  background: transparent;
  color: var(--navy);
  padding: 4px 3px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.lang-button.active { color: var(--gold-dark); border-color: var(--gold); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 14px 28px rgba(196, 154, 74, 0.25);
}
.btn-outline {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
  backdrop-filter: blur(10px);
}
.btn-small { min-height: 42px; padding: 10px 16px; font-size: .92rem; }

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8,35,61,.96) 0%, rgba(8,35,61,.82) 42%, rgba(8,35,61,.43) 67%, rgba(8,35,61,.75) 100%),
    radial-gradient(circle at 82% 16%, rgba(196,154,74,.45), transparent 24%),
    linear-gradient(135deg, #0d2f4e 0%, #08233d 55%, #f7efe3 55%, #f7efe3 56%, #173858 56%, #173858 100%);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: .22;
}
.hero-bg::after {
  content: "";
  position: absolute;
  right: 2%;
  bottom: 10%;
  width: 520px;
  height: 260px;
  border-radius: 36px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.72), rgba(255,255,255,.18)),
    linear-gradient(135deg, rgba(196,154,74,.35), transparent);
  clip-path: polygon(0 38%, 58% 38%, 58% 7%, 83% 7%, 100% 38%, 100% 76%, 0 76%);
  opacity: .24;
  filter: blur(.2px);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 56px;
  padding: 72px 0 84px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .82rem;
}
.hero h1 {
  margin: 0;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5.4vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.04em;
}
.hero-subtitle {
  max-width: 680px;
  margin: 26px 0 0;
  font-size: clamp(1.06rem, 1.6vw, 1.35rem);
  color: rgba(255,255,255,.88);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-row span {
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.06);
  font-size: .92rem;
}
.hero-card {
  background: rgba(255,255,255,.92);
  color: var(--navy);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.hero-logo-box {
  background: var(--white);
  border-radius: 20px;
  padding: 18px;
  border: 1px solid var(--line);
}
.hero-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 15px;
}
.hero-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
}
.hero-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(196,154,74,.18);
  color: var(--gold-dark);
  display: grid;
  place-items: center;
  font-size: .82rem;
}

.intro-strip { transform: translateY(-38px); position: relative; z-index: 5; }
.intro-strip-inner {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 34px;
  border: 1px solid var(--line);
}
.intro-strip p { margin: 0; font-size: 1.05rem; color: #31415a; }

.section { padding: 80px 0; }
.section-muted { background: var(--beige); }
.section-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section-heading h2, .partner-layout h2, .contact-panel h2, .legal-page h1 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.cards { display: grid; gap: 20px; }
.six-cards { grid-template-columns: repeat(3, 1fr); }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 10px 34px rgba(8,35,61,.08);
  transition: transform .16s ease, box-shadow .16s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: rgba(196,154,74,.14);
  font-size: 1.9rem;
  margin-bottom: 22px;
}
.service-card h3, .audience-card h3, .partner-card h3, .process-line h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.25rem;
}
.service-card p, .audience-card p, .partner-card p, .process-line p { margin: 0; color: var(--muted); }

.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.audience-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 28px;
  min-height: 240px;
  box-shadow: 0 10px 32px rgba(8,35,61,.06);
}
.audience-card span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 850;
  margin-bottom: 34px;
}

.partner-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 58px; align-items: start; }
.partner-layout > div > p:not(.eyebrow), .legal-page p { color: var(--muted); font-size: 1.05rem; }
.boundary-note {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--beige);
  border-left: 5px solid var(--gold);
}
.boundary-note strong { color: var(--navy); }
.boundary-note p { margin: 8px 0 0; color: #526278; }
.partner-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.partner-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  min-height: 178px;
  box-shadow: 0 10px 30px rgba(8,35,61,.08);
  position: relative;
  overflow: hidden;
}
.partner-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(196,154,74,.14);
  transform: translate(35%, 35%);
}

.section-process { background: var(--white); }
.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.process-line article {
  position: relative;
  background: var(--beige-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.process-line span {
  width: 46px;
  height: 46px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 0 0 8px rgba(8,35,61,.06);
}

.contact-section { background: linear-gradient(180deg, var(--beige-2), var(--white)); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.contact-panel, .contact-form {
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.dark-panel {
  background:
    linear-gradient(135deg, rgba(8,35,61,.98), rgba(13,50,82,.96)),
    radial-gradient(circle at 90% 85%, rgba(196,154,74,.34), transparent 30%);
  color: var(--white);
}
.dark-panel h2 { color: var(--white); }
.dark-panel p { color: rgba(255,255,255,.82); }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 16px;
}
.contact-list li { display: grid; gap: 3px; }
.contact-list strong { color: var(--gold); }
.contact-list a, .contact-list span { color: rgba(255,255,255,.9); }
.contact-form { background: var(--white); }
.form-row { display: grid; gap: 7px; margin-bottom: 16px; }
.form-row label { font-weight: 750; color: var(--navy); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  border: 1px solid rgba(8,35,61,.17);
  border-radius: 12px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(196,154,74,.14);
}
.form-status { min-height: 24px; color: var(--muted); margin: 14px 0 0; }
.form-status.success { color: #0c7a43; }
.form-status.error { color: #b42318; }

.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 44px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 40px; }
.footer-logo { width: 240px; background: rgba(255,255,255,.96); border-radius: 15px; padding: 8px; margin-bottom: 14px; }
.site-footer h3 { color: var(--white); margin: 0 0 12px; }
.site-footer a { display: block; margin: 7px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 30px; padding-top: 20px; font-size: .92rem; }
.footer-bottom p { margin: 0; }

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  background: #18a558;
  color: var(--white);
  padding: 14px 18px 14px 48px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
}
.floating-whatsapp::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #fff;
}
.floating-whatsapp::after {
  content: "☎";
  position: absolute;
  left: 19px;
  top: 50%;
  transform: translateY(-50%);
  color: #18a558;
  font-size: 14px;
}

.legal-page { padding: 90px 0; background: var(--white); }
.legal-page h2 { margin-top: 36px; color: var(--navy); }

@media (max-width: 1060px) {
  .brand { width: 210px; }
  .site-nav { gap: 16px; font-size: .9rem; }
  .hero-grid, .partner-layout, .contact-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; }
  .six-cards { grid-template-columns: repeat(2, 1fr); }
  .audience-grid, .process-line { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { min-height: 72px; }
  .brand { width: 185px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; border-radius: 10px; }
  .site-nav a:hover { background: var(--beige); }
  .header-actions { gap: 10px; }
  .header-actions .btn { display: none; }
  .language-switcher { font-size: .92rem; }
  .hero { min-height: auto; }
  .hero-grid { padding: 54px 0 72px; gap: 34px; }
  .hero h1 { font-size: clamp(2.4rem, 12vw, 4.1rem); }
  .hero-card { padding: 22px; }
  .intro-strip { transform: translateY(-24px); }
  .intro-strip-inner { padding: 22px; }
  .section { padding: 58px 0; }
  .six-cards, .audience-grid, .partner-cards, .process-line, .footer-grid { grid-template-columns: 1fr; }
  .contact-panel, .contact-form { padding: 24px; }
  .floating-whatsapp { right: 14px; bottom: 14px; padding: 12px 16px 12px 44px; }
  .static-nav { display: flex; position: static; box-shadow: none; padding: 0; border: 0; background: transparent; flex-direction: row; }
}

@media (max-width: 520px) {
  .brand { width: 162px; }
  .language-switcher span { display: none; }
  .lang-button { padding: 4px 2px; }
  .hero-actions .btn { width: 100%; }
  .trust-row span { width: 100%; text-align: center; }
  .footer-logo { width: 210px; }
}
