/* ══════════════════════════════════════════════
   Mariia Helmer · Landing Page · style.css
   Theme: Professional light — business / consulting
   ══════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --bg: #f5f4f0;
  --bg-2: #eceae4;
  --bg-card: #F5F4F0;
  --bg-card-h: #f9f8f5;
  --border: rgba(0, 0, 0, .09);
  --border-h: rgba(0, 0, 0, .2);

  --text: #18192b;
  --text-muted: #525773;
  --text-dim: #9096b4;

  /* Accent — steel blue, serious and professional */
  --accent: #1b5fa3;
  --accent-mid: #2471c2;
  --accent-light: rgba(27, 95, 163, .1);
  --accent-glow: rgba(27, 95, 163, .18);

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 2px 20px rgba(0, 0, 0, .08);
  --shadow-md: 0 6px 32px rgba(0, 0, 0, .12);
  --transition: 0.22s cubic-bezier(.4, 0, .2, 1);

  --max-w: 1100px;
  --nav-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

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

ul {
  list-style: none;
}

/* ── Utilities ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}

.section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.section-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 56ch;
  margin-bottom: 2.5rem;
}

/* ── NAV ── */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(245, 244, 240, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.nav-cta {
  padding: .4rem 1.1rem;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--accent) !important;
  transition: background var(--transition), color var(--transition) !important;
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff !important;
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--bg);
}

/* Subtle geometric background */
#hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, #e8edf5 0%, #dde5f0 100%);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}

.hero-bg-shapes {
  display: none;
}

/* replaced by CSS geometry */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 5rem) clamp(1.25rem, 5vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-left {
  grid-column: 1;
}

.hero-right {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.hero-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

#hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
  color: var(--text);
}

#hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  max-width: 48ch;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
}

/* ── Credentials block (hero right) ── */
.credentials-container {
  width: 100%;
  max-width: 440px;
}

.credentials-title {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.cred-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.cred-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.cred-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.cred-lang {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
}

.cred-detail {
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.academic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.academic-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.academic-title {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: .2rem;
}

.academic-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.academic-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: .45rem;
}

.academic-item small {
  color: var(--text-dim);
  display: inline-block;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: .7rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-h);
  color: var(--text-muted);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  color: var(--text);
  transform: translateY(-2px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: .3;
  }

  50% {
    opacity: .9;
  }
}

/* ── ABOUT ── */
#about {
  padding: clamp(4rem, 8vh, 7rem) 0;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.about-grid {
  max-width: 720px;
  margin: 0 auto;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.75rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-text strong {
  color: var(--text);
  font-weight: 600;
}

/* ── SERVICES ── */
#services {
  padding: clamp(4rem, 8vh, 7rem) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

#services h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light), var(--shadow-md);
  transform: translateY(-3px);
}

.service-icon {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
}

.service-card p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.service-langs {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .25rem;
}

.service-langs li {
  font-size: .7rem;
  font-weight: 600;
  padding: .18rem .6rem;
  border-radius: 99px;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(27, 95, 163, .2);
}

.tools-strip {
  padding: 1.25rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.tools-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-dim);
  white-space: nowrap;
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.tools-list span {
  font-size: .78rem;
  color: var(--text-muted);
  padding: .22rem .7rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

/* ── WORK ── */
#work {
  padding: clamp(4rem, 8vh, 7rem) 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

#work h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.work-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  display: block;
  transition: all var(--transition);
}

.work-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light), var(--shadow);
  transform: translateY(-2px);
}

.work-lang-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: .18rem .6rem;
  border-radius: 99px;
  margin-bottom: .7rem;
}

.work-card:nth-child(1) .work-lang-tag,
.work-card:nth-child(2) .work-lang-tag,
.work-card:nth-child(3) .work-lang-tag {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #86efac;
}

.work-card:nth-child(4) .work-lang-tag {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.work-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .35rem;
}

.work-card p {
  font-size: .875rem;
  color: var(--text-muted);
  padding-right: 2rem;
}

.work-link-arrow {
  position: absolute;
  bottom: 1.4rem;
  right: 1.4rem;
  font-size: 1.1rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--transition);
}

.work-card:hover .work-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── PROFILES ── */
#profiles {
  padding: clamp(4rem, 8vh, 7rem) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

#profiles h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 2rem;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
}

.profile-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light), var(--shadow);
  transform: translateY(-2px);
}

.profile-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.profile-logo svg {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.profile-info {
  flex: 1;
}

.profile-info h3 {
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: .18rem;
}

.profile-info p {
  font-size: .76rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.profile-arrow {
  color: var(--accent);
  font-size: 1.1rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--transition);
}

.profile-card:hover .profile-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── CONTACT ── */
#contact {
  padding: clamp(4rem, 8vh, 7rem) 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.contact-text p {
  color: var(--text-muted);
  font-size: .97rem;
  margin-bottom: 1rem;
}

.contact-text strong {
  color: var(--text);
  font-weight: 600;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-top: 1.75rem;
}

.contact-link,
.contact-location {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
}

.contact-link {
  color: var(--accent);
  transition: color var(--transition);
}

.contact-link:hover {
  color: var(--accent-mid);
}

.contact-link svg,
.contact-location svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.contact-location {
  color: var(--text-dim);
  font-size: .875rem;
}

/* Business card */
.contact-card {
  perspective: 1000px;
}

.contact-card-inner {
  background: linear-gradient(135deg, #1b2e4a 0%, #1b3a5f 60%, #162d4a 100%);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 2.25rem 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  transition: transform var(--transition);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.contact-card-inner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 160, 255, .15) 0%, transparent 70%);
}

.contact-card:hover .contact-card-inner {
  transform: rotateY(-4deg) rotateX(2deg);
}

.cc-lang {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 1.25rem;
}

.cc-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .3rem;
}

.cc-title {
  font-size: .82rem;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 1.4rem;
  line-height: 1.5;
}

.cc-divider {
  height: 1px;
  background: rgba(255, 255, 255, .15);
  margin-bottom: 1.1rem;
}

.cc-detail {
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
  margin-bottom: .3rem;
}

/* ── FOOTER ── */
#site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-name {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: .82rem;
  color: var(--text-dim);
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: .72rem;
  color: var(--text-dim);
  width: 100%;
  text-align: center;
  margin-top: .4rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-right {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-card {
    display: none;
  }

  .profiles-grid {
    grid-template-columns: 1fr;
  }

  #hero::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta):not(.lang-switch) {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .about-facts {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .tools-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}

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

/* ── Language Switcher Button ── */
.lang-switch {
  font-weight: 600 !important;
  color: var(--accent) !important;
  border: 1.5px solid var(--accent);
  padding: .3rem .6rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition) !important;
}

.lang-switch:hover {
  background: var(--accent);
  color: #fff !important;
}

/* ── Legal Page ── */
.legal-page {
  padding: clamp(6rem, 10vh, 8rem) 0 clamp(4rem, 8vh, 6rem);
  background: var(--bg);
  min-height: 100vh;
}

.legal-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--accent-light);
  padding-bottom: 0.75rem;
}

.legal-content h2,
.legal-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--text);
  margin-top: 2.2rem;
  margin-bottom: 1rem;
}

.legal-content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
  border-left: 3px solid var(--accent);
  padding-left: 0.5rem;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

.legal-content small {
  color: var(--text-dim);
  font-size: 0.8rem;
  display: block;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.legal-disclaimer {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
  font-size: 0.875rem !important;
  color: var(--text-muted);
  line-height: 1.6;
}