@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap");

:root {
  --ink: #1a1c22;
  --ink-soft: rgba(26, 28, 34, 0.72);
  --ink-mute: rgba(26, 28, 34, 0.48);
  --paper: #f4f7fb;
  --paper-2: #e8eef6;
  --white: #ffffff;
  --line: rgba(26, 28, 34, 0.08);
  --accent: #2f6f8f;
  --accent-soft: #d7ebf5;
  --footer: #1e1e2e;
  --footer-accent: #9ec9df;
  --footer-mute: rgba(255, 255, 255, 0.55);
  --radius: 16px;
  --radius-lg: 20px;
  --shadow: 0 18px 50px rgba(30, 45, 70, 0.08);
  --max: 1200px;
  --font: "Outfit", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 251, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 247, 251, 0.94);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(47, 111, 143, 0.18);
}

.brand span {
  max-width: 220px;
  line-height: 1.2;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.nav-menu a {
  font-size: 13px;
  color: var(--ink-mute);
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--ink);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
}

.lang-switch button {
  min-width: 42px;
  height: 34px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-mute);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch button.active {
  background: var(--ink);
  color: var(--white);
}

.lang-switch button:hover:not(.active) {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(244, 247, 251, 0.2) 0%, rgba(244, 247, 251, 0.55) 55%, rgba(244, 247, 251, 0.95) 100%),
    url("../assets/hero-light.jpg") center / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(255, 255, 255, 0.45), transparent 70%),
    linear-gradient(180deg, transparent 40%, var(--paper) 100%);
  z-index: -1;
}

.hero-inner {
  width: min(920px, calc(100% - 48px));
  text-align: center;
  padding: 72px 0 88px;
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
  opacity: 0;
  animation: rise 0.9s ease forwards;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
  opacity: 0;
  animation: rise 0.9s ease 0.12s forwards;
}

.hero .lead {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 36px;
  opacity: 0;
  animation: rise 0.9s ease 0.22s forwards;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 0.9s ease 0.32s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 56px;
  padding: 0 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: #000;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(26, 28, 34, 0.18);
  color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.55);
}

/* Stats */
.stats {
  margin-top: -36px;
  padding-bottom: 72px;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.stat-item h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-bottom: 8px;
}

.stat-item .num {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-head p {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.feature-stack {
  display: grid;
  gap: 28px;
}

.feature-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.feature-card.reverse {
  grid-template-columns: 1fr 1.05fr;
}

.feature-card.reverse .feature-media {
  order: 2;
}

.feature-card.reverse .feature-copy {
  order: 1;
}

.feature-media {
  border-radius: 14px;
  overflow: hidden;
  min-height: 280px;
  background: var(--paper-2);
}

.feature-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.feature-card:hover .feature-media img {
  transform: scale(1.03);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.feature-copy h3 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.feature-copy p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.soft-panel {
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(232, 238, 246, 0.9)),
    var(--white);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
  min-height: 240px;
  transition: transform 0.25s ease;
}

.soft-panel:hover {
  transform: translateY(-4px);
}

.soft-panel h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.soft-panel p {
  color: var(--ink-soft);
}

/* Page hero */
.page-hero {
  padding: 72px 0 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(215, 235, 245, 0.7), transparent 70%),
    linear-gradient(180deg, #eef4f9, var(--paper));
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.content-block {
  display: grid;
  gap: 18px;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.list-item {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.list-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.list-item p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.banner-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow);
}

.banner-visual img {
  width: 100%;
  height: clamp(220px, 36vw, 380px);
  object-fit: cover;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
}

.contact-card,
.contact-form {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.contact-card h2,
.contact-form h2 {
  font-family: var(--display);
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.contact-row {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row span {
  font-size: 13px;
  color: var(--ink-mute);
}

.contact-row strong {
  font-size: 1.05rem;
  font-weight: 500;
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-field label {
  font-size: 13px;
  color: var(--ink-mute);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(26, 28, 34, 0.12);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(47, 111, 143, 0.55);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: var(--white);
  margin-top: 40px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  object-fit: cover;
}

.footer-brand strong {
  font-size: 18px;
  font-weight: 600;
}

.footer-desc {
  color: var(--footer-mute);
  font-size: 14px;
  max-width: 360px;
  line-height: 1.6;
}

.footer-col h3 {
  color: var(--footer-accent);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-col a,
.footer-col p {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--footer-mute);
  font-size: 13px;
}

.footer-copy a {
  color: var(--footer-mute);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-copy a:hover {
  color: var(--white);
}

.policy-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.policy-updated {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 28px;
}

.policy-block + .policy-block {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.policy-block h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.policy-block p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 960px) {
  .stats-panel,
  .feature-card,
  .feature-card.reverse,
  .two-col,
  .list-grid,
  .contact-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .feature-card.reverse .feature-media,
  .feature-card.reverse .feature-copy {
    order: initial;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex: none;
    padding: 12px 24px 20px;
    background: rgba(244, 247, 251, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .brand span {
    max-width: 140px;
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero-inner {
    padding: 56px 0 72px;
  }

  .stats-panel,
  .feature-card,
  .contact-card,
  .contact-form {
    padding: 20px;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }
}
