:root {
  --teal: #4DB6AC;
  --cyan: #26C6DA;
  --yellow: #FBC02D;
  --dark: #1A1A1A;
  --gray: #5A5A5A;
  --light: #F7FAFA;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, var(--teal) 0%, var(--cyan) 100%);
  --shadow: 0 8px 32px rgba(38, 198, 218, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(77, 182, 172, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }

.nav__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav__links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--teal); }

.lang-switch {
  display: flex;
  background: var(--light);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}

.lang-switch button {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--gray);
  transition: all 0.2s;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.btn--primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(38, 198, 218, 0.35);
}

.btn--accent {
  background: var(--yellow);
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(251, 192, 45, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.btn--outline:hover { background: var(--light); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
}

.hero {
  padding: calc(var(--header-h) + 60px) 0 80px;
  background: linear-gradient(180deg, #E8F7F6 0%, var(--white) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__text {
  font-size: 17px;
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.hero__stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--teal);
}

.hero__stat span { font-size: 13px; color: var(--gray); }

.hero__visual { display: flex; justify-content: center; }

.hero__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  max-width: 400px;
}

.hero__card-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
}

.hero__card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.hero__card p { font-size: 14px; color: var(--gray); }

.section { padding: 80px 0; }
.section--light { background: var(--light); }

.section__header { text-align: center; margin-bottom: 48px; }

.section__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
}

.section__sub {
  margin-top: 12px;
  color: var(--gray);
  font-size: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

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

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--gray); line-height: 1.5; }

.even-if {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.even-if__item {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.even-if__item:hover { border-color: var(--teal); }

.even-if__emoji { font-size: 36px; margin-bottom: 12px; }
.even-if__item h3 { font-size: 15px; font-weight: 700; }

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

.step { text-align: center; }

.step__num {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--gray); }

.visa-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.visa-card__head {
  background: var(--gradient);
  color: var(--white);
  padding: 24px;
}

.visa-card__head h3 { font-size: 20px; font-weight: 700; }

.visa-card__body { padding: 24px; }
.visa-card__body p { font-size: 14px; color: var(--gray); margin-bottom: 16px; }

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item span { font-size: 14px; color: var(--gray); }

.review {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.review__stars { color: var(--yellow); font-size: 18px; margin-bottom: 12px; }
.review__text { font-size: 14px; color: var(--gray); margin-bottom: 16px; font-style: italic; }
.review__author { font-size: 14px; font-weight: 700; }

.faq { max-width: 760px; margin: 0 auto; }

.faq__item { border-bottom: 1px solid rgba(77, 182, 172, 0.2); }

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  color: var(--dark);
}

.faq__question::after {
  content: '+';
  font-size: 22px;
  color: var(--teal);
  transition: transform 0.2s;
}

.faq__item.open .faq__question::after { transform: rotate(45deg); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__answer p {
  padding-bottom: 20px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.faq__item.open .faq__answer { max-height: 300px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-item { display: flex; gap: 16px; align-items: flex-start; }

.contact-item__icon {
  width: 44px;
  height: 44px;
  background: var(--light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 15px; color: var(--gray); }
.contact-item a:hover { color: var(--teal); }

.form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.form > p { font-size: 14px; color: var(--gray); margin-bottom: 24px; }

.form__group { margin-bottom: 16px; }

.form__group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form__group input,
.form__group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #E8EDED;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s;
}

.form__group input:focus,
.form__group select:focus {
  outline: none;
  border-color: var(--teal);
}

.form .btn { width: 100%; margin-top: 8px; }

.form__note {
  font-size: 12px;
  color: var(--gray);
  margin-top: 12px;
  text-align: center;
}

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer .logo img { filter: brightness(0) invert(1); height: 40px; }

.footer__desc { font-size: 14px; margin-top: 16px; line-height: 1.6; }

.footer h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { font-size: 14px; transition: color 0.2s; }
.footer ul a:hover { color: var(--cyan); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.legal-page { padding: calc(var(--header-h) + 40px) 0 80px; }

.legal-page h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }

.legal-page .updated {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--teal);
}

.legal-page p, .legal-page li {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-page ul { padding-left: 24px; margin-bottom: 16px; }

.legal-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 24px;
}

.legal-page .back-link:hover { color: var(--cyan); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px;
  box-shadow: var(--shadow);
  z-index: 99;
}

.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav li { margin-bottom: 12px; }
.mobile-nav a { font-size: 16px; font-weight: 600; }

@media (max-width: 1024px) {
  .grid--4, .even-if, .steps, .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* App section */
.app-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.app-section__visual {
  display: flex;
  justify-content: center;
}

.app-phone {
  width: 220px;
  height: 400px;
  background: var(--gradient);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  box-shadow: var(--shadow);
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid var(--teal);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  transition: all 0.2s;
}

.app-badge:hover {
  background: var(--light);
  transform: translateY(-2px);
}

/* Founder */
.founder {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.founder__photo-wrap {
  position: relative;
}

.founder__photo {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  object-fit: cover;
}

.founder__placeholder {
  display: none;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4/5;
  background: var(--gradient);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  font-size: 72px;
  font-weight: 800;
  color: var(--white);
  box-shadow: var(--shadow);
}

.founder__content {
  border-left: 4px solid var(--yellow);
  padding-left: 28px;
}

.founder__name {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.founder__role {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 20px;
}

.founder__bio {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

/* Service cards */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card .btn {
  margin-top: auto;
  width: 100%;
  padding: 12px 20px;
  font-size: 13px;
}

.service-card h3 {
  font-size: 16px;
}

.service-card p {
  font-size: 13px;
  flex-grow: 1;
}

/* Map */
.map-wrap {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.contact-full {
  display: flex;
  flex-direction: column;
}

.footer__grid--4 {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

.footer__grid--4 ul li {
  font-size: 13px;
}

.nav__links { gap: 16px; }
.nav__links a { font-size: 13px; }

@media (max-width: 1024px) {
  .app-section__grid, .founder { grid-template-columns: 1fr; }
  .founder__photo-wrap { display: flex; justify-content: center; }
  .footer__grid--4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links, .header .btn--primary { display: none; }
  .burger { display: flex; }
  .grid--2, .grid--3, .contact-grid { grid-template-columns: 1fr; }
  .grid--4, .even-if, .steps, .stats-bar { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; gap: 16px; }
  .footer__grid, .footer__grid--4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .founder__content { border-left: none; padding-left: 0; border-top: 4px solid var(--yellow); padding-top: 24px; }
}
