@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-v21-cyrillic_latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-v21-cyrillic_latin_latin-ext-500italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-v21-cyrillic_latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-v21-cyrillic_latin_latin-ext-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-v20-cyrillic_latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-v20-cyrillic_latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-v20-cyrillic_latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-v20-cyrillic_latin_latin-ext-700.woff2') format('woff2');
}

:root {
  --paper: #faf7f0;
  --paper-warm: #fffdf8;
  --sand: #f2ebdd;
  --sand-deep: #e8dfcb;
  --ink: #222b35;
  --ink-soft: #5b6472;
  --ink-faint: #8a91a0;
  --terracotta: #bd5327;
  --terracotta-deep: #9c4220;
  --terracotta-soft: rgba(189, 83, 39, 0.09);
  --terracotta-line: rgba(189, 83, 39, 0.25);
  --sea: #15607b;
  --sea-deep: #0f4b61;
  --sea-night: #0d3341;
  --sea-soft: rgba(21, 96, 123, 0.08);
  --olive: #7c7a4e;
  --cream: #f6efe2;
  --cream-dim: rgba(246, 239, 226, 0.72);
  --line: rgba(34, 43, 53, 0.1);
  --line-strong: rgba(34, 43, 53, 0.18);
  --shadow-soft: 0 14px 40px rgba(34, 43, 53, 0.07);
  --shadow-lift: 0 22px 55px rgba(34, 43, 53, 0.12);
  --radius: 20px;
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--sea);
  outline-offset: 2px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 600px at 85% -5%, rgba(189, 83, 39, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at -10% 40%, rgba(21, 96, 123, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 800px 600px at 60% 110%, rgba(124, 122, 78, 0.05) 0%, transparent 60%);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 247, 240, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

header.scrolled {
  background: rgba(250, 247, 240, 0.95);
  border-bottom-color: var(--line);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 44px;
  height: 48px;
  background: linear-gradient(150deg, var(--terracotta) 0%, var(--terracotta-deep) 100%);
  border-radius: 999px 999px 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--cream);
  letter-spacing: 0.01em;
  padding-top: 4px;
  box-shadow: 0 6px 16px rgba(189, 83, 39, 0.28);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.logo-text small {
  font-size: 10px;
  font-weight: 600;
  color: var(--terracotta);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 5px;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.2s;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--terracotta);
  transition: width 0.25s;
}

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

nav a:hover::after {
  width: 100%;
}

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

.lang-switcher {
  display: flex;
  gap: 2px;
  padding: 4px;
  background: var(--sand);
  border-radius: 10px;
}

.lang-btn {
  padding: 6px 11px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.2s, background 0.2s;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.active {
  background: var(--paper-warm);
  color: var(--terracotta);
  box-shadow: 0 2px 8px rgba(34, 43, 53, 0.08);
}

.btn {
  padding: 13px 26px;
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 14.5px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(150deg, var(--terracotta) 0%, var(--terracotta-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(189, 83, 39, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(189, 83, 39, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: var(--terracotta-soft);
}

.btn-whatsapp {
  background: #1faf57;
  color: #fff;
  box-shadow: 0 8px 22px rgba(31, 175, 87, 0.32);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(31, 175, 87, 0.42);
}

.btn-whatsapp svg,
.btn-primary svg {
  width: 18px;
  height: 18px;
}

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(246, 239, 226, 0.35);
}

.btn-outline-light:hover {
  border-color: var(--cream);
  background: rgba(246, 239, 226, 0.1);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--sand);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 20px;
  padding: 20px 24px 28px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

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

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu ul a {
  display: block;
  padding: 11px 4px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.mobile-langs {
  display: flex;
  gap: 8px;
}

.mobile-langs .lang-btn {
  background: var(--sand);
  padding: 10px 18px;
}

.mobile-langs .lang-btn.active {
  background: var(--terracotta);
  color: #fff;
}

.hero {
  position: relative;
  z-index: 1;
  padding: 170px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  background: var(--paper-warm);
  border: 1px solid var(--terracotta-line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--terracotta);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 30px;
  box-shadow: var(--shadow-soft);
}

.hero-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--terracotta);
  border-radius: 50%;
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(3rem, 6.5vw, 5.4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-name .accent {
  color: var(--terracotta);
  font-style: italic;
  font-weight: 500;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-style: italic;
  font-weight: 500;
  color: var(--sea-deep);
  line-height: 1.3;
  margin-bottom: 22px;
}

.hero-title em {
  color: var(--terracotta);
  font-style: italic;
}

.hero-description {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-description strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
}

.stat-number {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  color: var(--sea);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stats .stat:last-child .stat-number {
  font-size: 31px;
  padding-top: 7px;
}

.stat-label {
  font-size: 11px;
  color: var(--ink-faint);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: -26px;
  right: -22px;
  width: 140px;
  height: 180px;
  border: 1.5px solid rgba(189, 83, 39, 0.18);
  border-radius: 999px 999px 24px 24px;
  z-index: 0;
}

.hero-visual::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -36px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--sea-soft) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.portrait-card {
  position: relative;
  z-index: 1;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-lift);
}

.portrait-arch {
  aspect-ratio: 4 / 4.6;
  background:
    radial-gradient(ellipse 240px 180px at 30% 22%, rgba(189, 83, 39, 0.18) 0%, transparent 65%),
    linear-gradient(165deg, var(--sand) 0%, var(--sand-deep) 100%);
  border-radius: 999px 999px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}

.portrait-arch::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(246, 239, 226, 0.55);
  border-radius: 999px 999px 12px 12px;
  z-index: 1;
  pointer-events: none;
}

.portrait-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-info {
  text-align: center;
}

.portrait-role {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 8px;
}

.portrait-role em {
  color: var(--terracotta);
}

.portrait-subtitle {
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
}

.portrait-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.portrait-badges li {
  padding: 7px 13px;
  background: var(--sea-soft);
  border: 1px solid rgba(21, 96, 123, 0.2);
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sea-deep);
  letter-spacing: 0.03em;
}

.marquee {
  position: relative;
  z-index: 1;
  padding: 20px 0;
  background: var(--sand);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  width: max-content;
  animation: scroll 45s linear infinite;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 56px;
}

.marquee-item::after {
  content: '✦';
  font-size: 12px;
  font-style: normal;
  color: var(--terracotta);
  opacity: 0.6;
}

.section {
  position: relative;
  z-index: 1;
  padding: 110px 0;
}

.section.alt {
  background: linear-gradient(180deg, var(--sand) 0%, rgba(242, 235, 221, 0.4) 100%);
}

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

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-num::before {
  content: '';
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--terracotta);
}

.section-num.center::before {
  display: none;
}

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-title em {
  color: var(--terracotta);
  font-style: italic;
  font-weight: 500;
}

.section-sub {
  font-size: 16.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 640px;
}

.section-head.center .section-sub {
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 70px;
  align-items: start;
}

.about-side {
  position: sticky;
  top: 110px;
}

.about-portrait {
  aspect-ratio: 3 / 3.45;
  background: linear-gradient(160deg, var(--sand) 0%, var(--sand-deep) 100%);
  border-radius: 999px 999px 18px 18px;
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: var(--shadow-soft);
}

.about-portrait::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(246, 239, 226, 0.55);
  border-radius: 999px 999px 12px 12px;
  z-index: 1;
  pointer-events: none;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.about-meta-item {
  padding: 18px 20px;
  background: var(--paper-warm);
}

.about-meta-item dt {
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}

.about-meta-item dd {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.about-meta-item em {
  color: var(--terracotta);
  font-style: normal;
}

.about-content h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

.about-content h3 em {
  color: var(--terracotta);
  font-style: italic;
  font-weight: 500;
}

.about-content > p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 28px;
}

.about-quote {
  padding: 30px 34px;
  background: var(--paper-warm);
  border-left: 3px solid var(--terracotta);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 36px;
}

.about-quote p {
  font-family: var(--serif);
  font-size: 23px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: var(--sea-deep);
}

.about-quote cite {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--terracotta);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 14px;
  font-weight: 700;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-value {
  padding: 24px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.about-value:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--terracotta-line);
}

.about-value-num {
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  color: var(--terracotta);
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}

.about-value h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.about-value p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

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

.service-card.featured {
  grid-row: span 2;
}

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.service-num {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  font-weight: 600;
  color: var(--ink-faint);
  opacity: 0.7;
}

.service-card.featured .service-num {
  color: var(--cream);
  opacity: 0.55;
}

.service-card {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s, border-color 0.35s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: var(--terracotta-line);
}

.service-card.featured {
  background:
    radial-gradient(ellipse 300px 260px at 85% -5%, rgba(189, 83, 39, 0.25) 0%, transparent 60%),
    linear-gradient(160deg, var(--sea) 0%, var(--sea-deep) 100%);
  border-color: var(--sea-deep);
  color: var(--cream);
  padding: 38px 32px;
}

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

.service-card.featured p {
  font-size: 15px;
}

.service-card.featured:hover {
  box-shadow: 0 22px 55px rgba(15, 75, 97, 0.35);
}

.service-icon {
  width: 52px;
  height: 56px;
  background: var(--terracotta-soft);
  border: 1px solid var(--terracotta-line);
  border-radius: 999px 999px 12px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  margin-bottom: 22px;
  transition: background 0.3s, color 0.3s;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card:hover .service-icon {
  background: var(--terracotta);
  color: var(--cream);
}

.service-card.featured .service-icon {
  background: rgba(246, 239, 226, 0.12);
  border-color: rgba(246, 239, 226, 0.3);
  color: var(--cream);
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-card.featured p {
  color: var(--cream-dim);
}

.service-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.service-tags li {
  padding: 6px 11px;
  background: var(--sea-soft);
  border: 1px solid rgba(21, 96, 123, 0.18);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  color: var(--sea-deep);
  letter-spacing: 0.02em;
}

.service-card.featured .service-tags li {
  background: rgba(246, 239, 226, 0.1);
  border-color: rgba(246, 239, 226, 0.25);
  color: var(--cream);
}

.timeline {
  list-style: none;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  padding-left: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--terracotta) 0%, var(--sea) 100%);
  opacity: 0.35;
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 36px;
  padding: 26px 0;
}

.timeline-num {
  flex-shrink: 0;
  width: 72px;
  height: 78px;
  background: var(--paper-warm);
  border: 1.5px solid var(--terracotta-line);
  border-radius: 999px 999px 14px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  font-weight: 600;
  color: var(--terracotta);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 1;
}

.timeline-body {
  padding-top: 8px;
}

.timeline-body h3 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.timeline-body p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 14px;
}

.timeline-duration {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--sea-soft);
  border: 1px solid rgba(21, 96, 123, 0.2);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sea-deep);
  letter-spacing: 0.04em;
}

.timeline-duration::before {
  content: '⏱';
  font-size: 13px;
}

.languages-wrap {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 64px 56px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.languages-wrap::before {
  content: '';
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 300px;
  background: radial-gradient(ellipse, var(--terracotta-soft) 0%, transparent 70%);
  pointer-events: none;
}

.languages-wrap .section-title {
  margin-bottom: 14px;
}

.languages-wrap .section-sub {
  margin: 0 auto 46px;
}

.languages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}

.language-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px 999px 16px 16px;
  padding: 40px 24px 30px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.language-card:hover {
  transform: translateY(-5px);
  border-color: var(--terracotta-line);
  box-shadow: var(--shadow-soft);
}

.language-abbr {
  width: 58px;
  height: 64px;
  margin: 0 auto 18px;
  background: var(--terracotta-soft);
  border: 1px solid var(--terracotta-line);
  border-radius: 999px 999px 12px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  font-weight: 600;
  color: var(--terracotta);
  padding-top: 4px;
}

.language-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 6px;
}

.language-level {
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

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

.calculator-form {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow-soft);
}

.calculator-form h3,
.contact-form h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-sub {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 26px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--sea-deep);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-select,
.form-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-size: 14px;
  font-family: var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-select:focus,
.form-input:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px var(--terracotta-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.result-card {
  background: linear-gradient(160deg, var(--sea) 0%, var(--sea-deep) 100%);
  color: var(--cream);
  padding: 38px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 75, 97, 0.3);
}

.result-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 190px;
  height: 220px;
  border: 1.5px solid rgba(246, 239, 226, 0.18);
  border-radius: 999px 999px 24px 24px;
  pointer-events: none;
}

.result-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(246, 239, 226, 0.65);
  margin-bottom: 10px;
}

.result-value {
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.result-note {
  font-size: 13.5px;
  color: var(--cream-dim);
  line-height: 1.6;
}

.result-features {
  list-style: none;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
}

.result-features li {
  padding: 15px 20px;
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.result-features li:last-child {
  border-bottom: none;
}

.result-features li::before {
  content: '✦';
  color: var(--terracotta);
  font-size: 11px;
  flex-shrink: 0;
}

.result-disclaimer {
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.6;
  padding: 0 6px;
}

.credentials-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 44px;
  align-items: center;
}

.credentials-badge {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.credential-item {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.credential-item:hover {
  transform: translateY(-4px);
  border-color: var(--terracotta-line);
  box-shadow: var(--shadow-soft);
}

.credential-icon {
  width: 46px;
  height: 50px;
  background: var(--sea-soft);
  border: 1px solid rgba(21, 96, 123, 0.2);
  border-radius: 999px 999px 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sea-deep);
  margin-bottom: 16px;
}

.credential-icon svg {
  width: 22px;
  height: 22px;
}

.credential-item h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.credential-item p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
  border-color: var(--terracotta-line);
}

.faq-item[open] {
  border-color: var(--terracotta-line);
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-num {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  color: var(--terracotta);
  flex-shrink: 0;
}

.faq-q {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  flex-grow: 1;
}

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--terracotta-soft);
  border: 1px solid var(--terracotta-line);
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s, background 0.3s;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--terracotta);
  border-radius: 2px;
  transition: background 0.3s;
}

.faq-toggle::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  background: var(--terracotta);
}

.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after {
  background: var(--cream);
}

.faq-a {
  padding: 0 26px 24px 64px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.contact-section {
  padding-bottom: 130px;
}

.contact-wrap {
  background:
    radial-gradient(ellipse 500px 400px at 90% 0%, rgba(189, 83, 39, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 400px 350px at 5% 100%, rgba(21, 96, 123, 0.3) 0%, transparent 60%),
    linear-gradient(160deg, var(--sea-deep) 0%, var(--sea-night) 100%);
  border-radius: 32px;
  padding: 72px 64px;
  color: var(--cream);
  box-shadow: 0 30px 70px rgba(13, 51, 65, 0.35);
}

.section-head.on-dark {
  margin-bottom: 52px;
}

.section-head.on-dark .section-title {
  color: var(--cream);
}

.section-head.on-dark .section-title em {
  color: #e5a17c;
}

.section-head.on-dark .section-num {
  color: #e5a17c;
}

.section-head.on-dark .section-sub {
  color: var(--cream-dim);
}

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

.contact-info h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
}

.contact-info h3 em {
  color: #e5a17c;
  font-style: italic;
}

.contact-text {
  font-size: 15.5px;
  color: var(--cream-dim);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(246, 239, 226, 0.06);
  border: 1px solid rgba(246, 239, 226, 0.14);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.contact-method:hover {
  background: rgba(246, 239, 226, 0.1);
  border-color: rgba(246, 239, 226, 0.3);
  transform: translateX(4px);
}

.contact-method-icon {
  width: 46px;
  height: 46px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sea-deep);
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 22px;
  height: 22px;
}

.contact-method-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-method-text strong {
  font-size: 11px;
  font-weight: 700;
  color: #e5a17c;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-method-value {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.contact-method-text small {
  font-size: 12px;
  color: var(--cream-dim);
}

.contact-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-form {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 36px;
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(13, 51, 65, 0.3);
}

.footer-ghost {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(6rem, 17vw, 15rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: rgba(189, 83, 39, 0.06);
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
}

footer {
  position: relative;
  z-index: 1;
  background: var(--sand);
  padding: 110px 0 40px;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-strong);
  position: relative;
}

.brand-name {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.brand-name em {
  color: var(--terracotta);
  font-style: italic;
  font-weight: 500;
}

.footer-brand p:not(.brand-name) {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 22px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.social-link:hover {
  background: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
}

.footer-section h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}

.footer-section a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--terracotta);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-faint);
  position: relative;
}

.float-cta {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(34, 43, 53, 0.28);
  transition: transform 0.25s, box-shadow 0.25s;
}

.float-btn svg {
  width: 24px;
  height: 24px;
}

.float-btn.wa {
  background: #1faf57;
  color: #fff;
}

.float-btn.phone {
  background: var(--sea);
  color: var(--cream);
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.notfound {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  position: relative;
  z-index: 1;
}

.notfound-code {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(6rem, 20vw, 11rem);
  font-weight: 500;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 12px;
}

.notfound h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 12px;
}

.notfound-text {
  color: var(--ink-soft);
  margin-bottom: 34px;
}

.notfound-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card.featured {
    grid-row: auto;
    grid-column: 1 / -1;
  }
  .credentials-wrap {
    grid-template-columns: 1fr;
  }
  .credentials-badge {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }
  .nav-wrapper {
    padding: 14px 24px;
  }
  nav,
  .nav-cta,
  .lang-switcher {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero-grid,
  .about-grid,
  .calculator-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    max-width: 440px;
    margin: 0 auto;
  }
  .about-side {
    position: static;
    max-width: 480px;
  }
  .contact-wrap {
    padding: 52px 36px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 76px 0;
  }
  .hero {
    padding: 130px 0 64px;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .services-grid,
  .about-values,
  .languages-grid,
  .credentials-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .service-card.featured {
    grid-column: auto;
    padding: 30px 26px;
  }
  .service-card.featured h3 {
    font-size: 25px;
  }
  .languages-wrap {
    padding: 44px 24px;
  }
  .contact-wrap {
    padding: 44px 22px;
    border-radius: 24px;
  }
  .timeline::before {
    left: 26px;
  }
  .timeline-item {
    gap: 22px;
  }
  .timeline-num {
    width: 54px;
    height: 60px;
    font-size: 20px;
  }
  .faq-a {
    padding-left: 26px;
  }
  .result-value {
    font-size: 46px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .contact-cta .btn {
    width: 100%;
  }
}
