:root {
  --sky: #0284c7;
  --sky-deep: #0369a1;
  --sky-dark: #075985;
  --navy: #06283c;
  --ink: #10283d;
  --muted: #4b6578;
  --line: #d5e4ef;
  --paper: #f3f8fb;
  --ok: #047857;
  --err: #b91c1c;
  --max: 1140px;
  --shadow: 0 18px 40px -24px rgba(6, 40, 60, 0.45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Manrope, "Segoe UI", sans-serif; font-size: 18px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin: 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.wrap-s { width: min(760px, calc(100% - 40px)); margin: 0 auto; }
.kicker, .eyebrow { color: var(--sky-deep); font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2 { letter-spacing: -0.035em; line-height: 1.12; }
h2 { font-size: clamp(2.15rem, 4.2vw, 3.15rem); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ticker { display: flex; align-items: center; background: var(--navy); color: #fff; height: 42px; position: relative; }
.ticker-mask { flex: 1; overflow: hidden; }
.ticker-track { display: flex; gap: 32px; width: max-content; animation: tick 64s linear infinite; padding-left: 18px; }
.ticker-track span { font-size: 14px; white-space: nowrap; letter-spacing: 0.02em; }
.ticker-track b { font-weight: 800; }
.ticker-track i { font-style: normal; margin-left: 4px; }
.ticker-track .up { color: #86efac; }
.ticker-track .down { color: #fda4af; }
.lang-slot { flex: none; padding-right: 12px; min-width: 140px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.partners { background: #fff; border-bottom: 1px solid var(--line); padding: 28px 0 32px; }
.partners h2 { text-align: center; font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 16px; }
.partner-mask { overflow: hidden; }
.partner-track { display: flex; gap: 16px; width: max-content; animation: tick 32s linear infinite; }
.partner-track:hover { animation-play-state: paused; }
.partner-slot {
  width: 180px; height: 84px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  color: #94a3b8; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 13px;
}
.partner-slot img { width: 100%; height: 100%; object-fit: contain; background: #fff; }

.sitehead { background: linear-gradient(90deg, #0284c7, #0369a1); color: #fff; position: sticky; top: 0; z-index: 40; }
.head-in { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; min-height: 78px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-plate { background: #fff; border-radius: 10px; padding: 4px 6px; display: flex; }
.brand img { height: 46px; width: auto; }
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; color: #fff; }
.nav { display: flex; gap: 18px; margin-left: auto; }
.nav a { color: #fff; font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a.on, .nav a:hover { border-bottom-color: #fff; }
.head-actions { display: flex; gap: 8px; }
.menu-btn { display: none; margin-left: auto; background: transparent; color: #fff; border: 0; width: 42px; height: 42px; }
.menu-btn svg { width: 26px; height: 26px; }
.drawer { display: none; background: #fff; color: var(--ink); padding: 8px 20px 18px; }
.drawer.open { display: block; }
.drawer a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.drawer-actions { display: flex; gap: 8px; margin-top: 14px; }
.drawer .btn-line { color: var(--sky-dark) !important; border-color: var(--sky); }
.drawer .btn-white { background: var(--sky); color: #fff !important; }
.drawer-actions a { flex: 1; text-align: center; border-bottom: 0; }

.btn-sky, .btn-white, .btn-line, .btn-brass, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 18px; border-radius: 6px; font-weight: 800; cursor: pointer; border: 2px solid transparent;
}
.btn-sky, .btn-brass { background: var(--sky); color: #fff !important; border-color: var(--sky); }
.btn-sky:hover, .btn-brass:hover { background: var(--sky-dark); }
.btn-white { background: #fff; color: var(--sky-dark) !important; }
.btn-line { background: transparent; color: #fff !important; border-color: #fff; }
.hero .btn-line { color: #fff !important; }

.hero { position: relative; min-height: 620px; background: #0c1116; color: #fff; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: brightness(0.76) contrast(1.05); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 10, 14, 0.42) 0%, rgba(8, 10, 14, 0.12) 48%, rgba(8, 10, 14, 0) 100%); }
.slide { display: none; position: relative; z-index: 2; min-height: 620px; }
.slide.on { display: flex; align-items: center; }
.hero-in { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 70px 0; max-width: 760px; margin-left: max(20px, calc((100% - var(--max)) / 2)); }
.hero .eyebrow { color: rgba(255,255,255,0.9); }
.hero h1, .hero .lede { text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45); }
.hero h1 { margin-top: 8px; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
.hero .lede { margin-top: 16px; max-width: 40rem; font-size: 1.28rem; color: rgba(255,255,255,0.96); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.section { padding: 72px 0; }
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 42px; align-items: center; }
.intro { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.offer-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 18px; }
.offer-list li { display: flex; gap: 14px; align-items: flex-start; }
.offer-list b { display: block; }
.offer-list .ico, .tri .ico { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #e0f2fe; color: var(--sky-deep); flex: none; }
.offer-list svg, .tri svg { width: 22px; height: 22px; }
.photo-frame img { width: 100%; height: 420px; object-fit: cover; object-position: center 22%; border-radius: 8px; }

.scene { display: grid; grid-template-columns: 1.15fr 0.85fr; min-height: 460px; background: #0c1116; color: #fff; }
.scene img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: center 40%; }
.scene-copy { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
.scene .eyebrow { color: rgba(255,255,255,0.8); }
.scene h2 { margin-top: 8px; max-width: 12ch; }
.scene p { margin-top: 14px; color: rgba(255,255,255,0.92); font-size: 1.08rem; }

.tri { display: grid; grid-template-columns: repeat(3, 1fr); color: #fff; }
.tri article { padding: 48px 28px; }
.tri article:nth-child(1) { background: #0284c7; }
.tri article:nth-child(2) { background: #0369a1; }
.tri article:nth-child(3) { background: #0c4a6e; }
.tri .ico { background: rgba(255,255,255,0.16); color: #fff; margin-bottom: 14px; }
.tri h3 { font-size: 1.35rem; margin-bottom: 8px; }
.tri p { color: rgba(255,255,255,0.9); }

.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plans-gap { margin-top: 26px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 26px 18px 20px; text-align: center; display: flex; flex-direction: column; }
.plan h3 { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.plan .range { margin-top: 8px; font-weight: 700; }
.plan .pct { margin-top: 8px; font-size: 3rem; font-weight: 800; color: var(--sky); letter-spacing: -0.04em; line-height: 1; }
.plan .after { color: var(--muted); font-size: 14px; margin-top: 4px; }
.plan ul { list-style: none; padding: 14px 0 0; margin: 14px 0 18px; border-top: 1px solid var(--line); text-align: left; color: var(--muted); font-size: 14.5px; }
.plan li { padding: 6px 0 6px 18px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }
.plan .btn-sky { margin-top: auto; width: 100%; }
.note { margin-top: 18px; color: var(--muted); font-size: 14.5px; }
.company-band { background: var(--paper); padding: 72px 0; }
.company-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: center; }
.company-band address { font-style: normal; margin-top: 14px; color: var(--ink); font-size: 1.08rem; }
.company-band p { margin-top: 12px; color: var(--muted); }
.company-band a { color: var(--sky-deep); font-weight: 800; }
.company-pdf .btn-sky { margin-top: 16px; }
.pdf-row { margin-top: 22px; }
.panel .btn-sky { margin-top: 8px; }

.certify { background: var(--paper); }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.people figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.people img { width: 100%; height: 420px; object-fit: cover; background: #fff; }
.people figcaption { padding: 14px 16px 16px; }
.people figcaption span { display: block; color: var(--muted); font-size: 14px; }

.page-banner { background: linear-gradient(100deg, #0369a1, #0284c7); color: #fff; padding: 54px 0; }
.page-banner .eyebrow { color: rgba(255,255,255,0.8); }
.page-banner h1 { margin-top: 6px; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-banner p { margin-top: 8px; max-width: 40rem; color: rgba(255,255,255,0.9); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.panel p + p { margin-top: 10px; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; }
.contact-side p { margin: 0 0 16px; }
.contact-side a { color: var(--sky-deep); font-weight: 700; }
.form-grid { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.field { width: 100%; min-height: 46px; border: 1px solid #c5d7e4; border-radius: 6px; padding: 10px 12px; background: #fff; color: var(--ink); }
textarea.field { min-height: 140px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 1.05rem; }
.faq p { margin-top: 8px; color: var(--muted); }
.legal h2 { font-size: 1.25rem; margin-top: 22px; }
.legal p { color: var(--muted); margin-top: 8px; }
.legal-meta { color: var(--muted); }

.auth-wrap { background: var(--paper); padding: 48px 0 72px; }
.auth-card { width: min(640px, calc(100% - 32px)); margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 28px; }
.auth-card h1 { font-size: clamp(1.7rem, 3vw, 2.1rem); }
.auth-card form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.auth-card .grid { display: grid; gap: 14px; }
.auth-card .btn-brass, .auth-card .btn-sky { width: 100%; }
.auth-card a { color: var(--sky-deep); font-weight: 800; }
.welcome-note { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; font-size: 1.08rem; line-height: 1.5; }
.welcome-note .login-box { background: #f4f8fc; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; }
.welcome-note .login-box p { margin: 0 0 8px; }
.welcome-note .login-box p:last-child { margin-bottom: 0; }
.welcome-note strong { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.02rem; }
.welcome-mail { color: var(--ink-soft, #3d4a57); font-size: 0.98rem; }
.user-hint { margin: 6px 0 0; color: #5b6b7c; font-size: 0.92rem; }
.auth-foot { margin-top: 16px; text-align: center; color: var(--muted); }
.auth-card .text-center { text-align: center; }
.plan-pick { background: #e0f2fe; color: #075985; border-radius: 8px; padding: 10px 12px; font-weight: 800; }
.phone-row { display: flex; gap: 8px; }
.phone-row select { width: 46%; flex: none; }
.phone-row input { flex: 1; }
.sponsor-preview { margin-top: 6px; font-size: 13px; }
.sponsor-preview.ok { color: var(--ok); }
.sponsor-preview.err { color: var(--err); }
.flash-ok, .flash-err { border-radius: 8px; padding: 12px 14px; margin: 12px 0; }
.flash-ok { background: #ecfdf5; color: var(--ok); }
.flash-err { background: #fef2f2; color: var(--err); }

.site-foot { background: var(--navy); color: rgba(255,255,255,0.84); padding: 48px 0 20px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 0.9fr; gap: 28px; }
.site-foot h3 { color: #fff; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.site-foot p, .foot-links { font-size: 14.5px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.site-foot a:hover { color: #fff; }
.foot-bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 13px; color: rgba(255,255,255,0.7); }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: #25d366; color: #fff; box-shadow: var(--shadow); }
.wa-float svg { width: 30px; height: 30px; }
.not-found ul { list-style: none; padding: 0; margin: 18px 0 0; }
.not-found li a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.not-found li span { color: var(--muted); font-weight: 600; }

.goog-te-banner-frame, .goog-te-balloon-frame, #goog-gt-tt, .goog-logo-link, .goog-te-gadget span { display: none !important; }
body { top: 0 !important; }
.goog-te-gadget { font-size: 0 !important; color: #fff; }
.goog-te-gadget .goog-te-combo { font-size: 13px; height: 28px; border-radius: 4px; border: 0; background: #fff; color: var(--ink); }

@media (min-width: 720px) {
  .auth-card .sm\:grid-cols-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .nav, .head-actions { display: none; }
  .menu-btn { display: inline-flex; }
  .about-grid, .cards-4, .people, .contact-grid, .foot-grid, .company-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid, .foot-grid, .about-grid, .company-grid { grid-template-columns: 1fr; }
  .tri { grid-template-columns: 1fr; }
  .hero, .slide { min-height: 520px; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 10, 14, 0.55), rgba(8, 10, 14, 0.28) 70%, rgba(8, 10, 14, 0.45)); }
  .scene { grid-template-columns: 1fr; }
  .scene-copy { padding: 36px 24px 48px; }
}
@media (max-width: 680px) {
  .cards-4, .people, .form-row, .phone-row { grid-template-columns: 1fr; }
  .phone-row { flex-direction: column; }
  .phone-row select { width: 100%; }
  body { font-size: 17px; }
  .brand img { height: 40px; }
  .hero h1 { font-size: 2.55rem; }
  .hero .lede, .intro { font-size: 1.05rem; }
  .people img, .photo-frame img { height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .partner-track { animation: none; }
  html { scroll-behavior: auto; }
}
