:root {
  --bg: #fff8ef;
  --bg-soft: #fffdf9;
  --paper: rgba(255, 255, 255, 0.88);
  --text: #171512;
  --muted: #6f6a61;
  --graphite: #24211d;
  --orange: #f57c00;
  --orange-2: #ffb35b;
  --orange-soft: #fff0dc;
  --line: rgba(36, 33, 29, 0.1);
  --shadow: 0 24px 70px rgba(79, 55, 24, 0.13);
  --radius: 18px;
  --max: 1180px;
  --card-photo-max-w: 132px;
  --card-photo-max-h: 108px;
  --card-visual-h: 118px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 86% 4%, rgba(245, 124, 0, 0.16), transparent 28%),
    linear-gradient(180deg, #fffaf3 0%, #fff 44%, #f5f5f7 100%);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  width: min(calc(100% - 32px), var(--max));
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.82);
  box-shadow: 0 14px 42px rgba(75, 49, 20, 0.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand { flex: 0 0 auto; }
.brand img { width: 172px; height: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover { color: var(--orange); }

.header-socials { display: flex; gap: 8px; }

.social-btn {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--graphite);
}

.social-btn svg { width: 20px; height: 20px; fill: currentColor; }
.social-btn:hover { color: #fff; background: var(--orange); border-color: var(--orange); }

.lang-switch {
  display: flex;
  flex-shrink: 0;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.lang-btn {
  min-width: 40px;
  height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--graphite);
  color: #fff;
}

.header-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 14px;
  color: #fff;
  background: var(--graphite);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border: 0;
  border-radius: 14px;
  background: var(--graphite);
  color: #fff;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.site-header.is-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
.site-header.is-open .menu-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.hero {
  width: 100%;
  min-height: 100svh;
  margin: 0 auto 56px;
  padding: 142px 20px 56vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 248, 239, 0.98) 0%, rgba(255, 248, 239, 0.78) 30%, rgba(255, 248, 239, 0.12) 58%, transparent 72%),
    url("media/hero-3d.png") center bottom / contain no-repeat;
  background-origin: padding-box;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  display: grid;
  justify-items: center;
}
.hero > *, .video-section > *, .intro > *, .process-section > *, .contact-section > *, .page-hero > * { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6.1vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 700;
}

.hero-title {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-text {
  width: min(540px, 100%);
  max-width: 540px;
  margin-bottom: 28px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions { width: min(540px, 100%); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 0; }

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  color: #16120d;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 18px 42px rgba(245, 124, 0, 0.24);
}

.btn-light {
  color: var(--graphite);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(79, 55, 24, 0.1);
}

.video-section {
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto 110px;
}

.video-section video {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--graphite);
}

.section, .process-section, .contact-section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto 98px;
}

.intro {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  align-items: center;
}

.intro-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(150deg, var(--graphite), #3a3228);
  color: #fff;
  box-shadow: var(--shadow);
}

.intro-card p { margin: 0; max-width: 260px; font-size: 24px; line-height: 1.15; font-weight: 700; }
.icon-dot { width: 58px; height: 58px; margin-bottom: auto; border-radius: 16px; background: linear-gradient(135deg, var(--orange), var(--orange-2)); }
.text-link { color: var(--orange); font-weight: 700; }

.section-head { max-width: 760px; margin-bottom: 34px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card, .process-list article, .benefit-card, .contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 36px rgba(79, 55, 24, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover, .benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 124, 0, 0.22);
  box-shadow: 0 18px 44px rgba(79, 55, 24, 0.11);
}

.card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--card-visual-h);
  margin-bottom: 14px;
  padding: 10px 8px;
  border-radius: 14px;
  background: linear-gradient(165deg, #fffaf3 0%, #fff 72%);
}

.card-photo {
  width: auto;
  max-width: var(--card-photo-max-w);
  max-height: var(--card-photo-max-h);
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 18px 18px 20px;
}
.service-card.featured {
  background: linear-gradient(180deg, #fff6eb 0%, #fff 48%);
  border-color: rgba(245, 124, 0, 0.18);
}

.service-card .card-visual {
  min-height: 172px;
  padding: 12px 6px;
}

.service-card .card-photo {
  max-width: 188px;
  max-height: 156px;
}

.service-card > span { margin: 0 0 14px; color: var(--orange); font-size: 13px; font-weight: 700; }
.service-card h3 { margin-bottom: 8px; font-size: 19px; line-height: 1.2; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.process-section {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 24px;
  align-items: start;
}

.process-copy {
  position: sticky;
  top: 120px;
  min-width: 0;
  padding: 32px;
  border-radius: 20px;
  background: var(--graphite);
  color: #fff;
  overflow: hidden;
}

.process-copy h2 {
  max-width: 100%;
  font-size: clamp(26px, 2.8vw, 44px);
  line-height: 1.08;
  overflow-wrap: break-word;
  hyphens: auto;
}

.process-copy p:not(.eyebrow) { color: rgba(255,255,255,0.72); }
.process-list { display: grid; gap: 14px; }
.process-list article { padding: 28px; }
.process-list b { color: var(--orange); font-size: 15px; }
.process-list p { color: var(--muted); margin-bottom: 0; }

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

.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 16px 20px;
}

.benefit-card .card-visual {
  margin-bottom: 12px;
}

.benefit-card strong {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.benefit-card p {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
  padding: 34px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff, var(--orange-soft));
  box-shadow: var(--shadow);
}

.contact-copy p:not(.eyebrow) { color: var(--muted); }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.contact-links a {
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 600;
}
.contact-links .messenger-link { color: #fff; background: var(--graphite); }

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 18px;
}

label { display: grid; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
}
input { height: 52px; padding: 0 14px; }
textarea { min-height: 132px; padding: 14px; resize: vertical; }
input:focus, textarea:focus { border-color: rgba(245, 124, 0, 0.6); box-shadow: 0 0 0 4px rgba(245, 124, 0, 0.12); }
.wide { grid-column: 1 / -1; }
.iti { width: 100%; }
.iti__country-list { z-index: 80; }
.iti input { padding-left: 94px !important; }

.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.form-status.is-success {
  color: #1f4d2c;
  background: #e8f6ec;
  border: 1px solid rgba(31, 77, 44, 0.15);
}

.form-status.is-error {
  color: #6b2d12;
  background: #fff1e8;
  border: 1px solid rgba(245, 124, 0, 0.25);
}

.thankyou-page {
  width: min(calc(100% - 40px), 760px);
  margin: 0 auto;
  padding: 150px 20px 90px;
  text-align: center;
}

.thankyou-page .eyebrow {
  justify-content: center;
}

.thankyou-page h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 64px);
}

.thankyou-lead {
  max-width: 540px;
  margin: 0 auto 12px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
}

.thankyou-note {
  max-width: 480px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.thankyou-actions {
  justify-content: center;
}

.footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto 28px;
  padding: 26px 0 10px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}
.footer img { width: 150px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.footer a:hover { color: var(--orange); }
.footer p { margin: 0; }

.page-hero {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto 70px;
  padding: 150px 0 56px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: end;
}
.page-hero p { color: var(--muted); font-size: 18px; }
.page-card {
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.content-grid {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.content-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
}
.content-card p, .legal-content p, .legal-content li { color: var(--muted); }
.legal-content {
  width: min(calc(100% - 40px), 880px);
  margin: 0 auto 96px;
  padding: 32px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(79, 55, 24, 0.06);
}

.legal-meta {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.legal-content h2 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2;
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content p {
  margin-bottom: 14px;
  line-height: 1.65;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 22px;
  line-height: 1.65;
}

.legal-content li { margin-bottom: 8px; }

.legal-content a.text-link { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1020px) {
  .nav, .header-socials, .header-cta { display: none; }
  .lang-switch {
    display: flex;
    order: 4;
    margin-left: auto;
  }
  .menu-toggle {
    display: flex;
    flex-shrink: 0;
    order: 5;
    margin-left: 0;
  }
  .site-header.is-open { align-items: flex-start; flex-wrap: wrap; }
  .site-header.is-open .nav {
    order: 5;
    width: 100%;
    display: grid;
    gap: 6px;
    padding: 8px 0 2px;
    margin-left: 0;
  }
  .site-header.is-open .nav a { padding: 11px 4px; }
  .intro, .process-section, .contact-section, .page-hero {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 100svh;
    padding: 128px 20px 42vh;
    background-position: center bottom;
    background-size: auto, contain;
  }
  .service-grid, .advantage-grid, .content-grid { grid-template-columns: repeat(2, 1fr); }
  .process-copy { position: static; }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 66px;
    border-radius: 17px;
    padding: 10px 12px;
    gap: 10px;
  }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand img { width: min(142px, 42vw); }
  .lang-switch {
    padding: 3px;
    border-radius: 10px;
  }
  .lang-btn {
    min-width: 36px;
    height: 32px;
    padding: 0 8px;
    font-size: 11px;
  }
  .menu-toggle {
    width: 44px;
    height: 44px;
    position: static;
    flex-shrink: 0;
    margin-left: 0;
  }
  .section, .process-section, .contact-section, .video-section, .page-hero, .content-grid, .legal-content, .footer {
    width: calc(100% - 24px);
  }
  .hero {
    width: 100%;
    padding: 112px 12px 38vh;
    margin-bottom: 44px;
    background-position: center bottom;
    background-size: auto, contain;
  }
  .hero-copy { width: min(330px, calc(100vw - 32px)); max-width: min(330px, calc(100vw - 32px)); }
  .hero-text, .hero-actions { width: 100%; max-width: 100%; }
  h1 { width: 100%; max-width: 100%; font-size: 32px; line-height: 1.06; overflow-wrap: break-word; }
  .hero-title { font-size: 28px; line-height: 1.1; }
  h2 { font-size: 32px; line-height: 1.06; }
  .hero-text { font-size: 16px; color: var(--text); }
  .btn { width: 100%; min-height: 52px; padding: 0 18px; }
  .video-section { margin-bottom: 58px; }
  .video-section video { border-radius: 18px; }
  .contact-section, .process-copy { padding: 22px; border-radius: 18px; }
  .service-grid, .advantage-grid, .content-grid, .contact-form { grid-template-columns: 1fr; }
  :root {
    --card-photo-max-w: 108px;
    --card-photo-max-h: 88px;
    --card-visual-h: 100px;
  }
  .service-card .card-visual { min-height: 148px; }
  .service-card .card-photo { max-width: min(168px, 72vw); max-height: 140px; }
  .benefit-card { padding: 16px 14px 18px; }
  .section, .process-section, .contact-section { margin-bottom: 68px; }
  .contact-section { padding: 18px; }
  .footer { display: grid; justify-items: start; }
  .footer nav { justify-content: start; }
}
