/* ============================================
   БІЗНЕС-ПРАВО — Restyled Stylesheet
   ============================================ */

/* --- Custom Fonts --- */
@font-face {
  font-family: 'Graceful';
  src: url('../fonts/GRACEFUL.otf') format('opentype');
  font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Timeless Memories';
  src: url('../fonts/TimelessMemoriesRegular-2vvwo.otf') format('opentype');
  font-weight: normal; font-style: normal; font-display: swap;
}

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

/* --- Variables --- */
:root {
  --brown:       #6B3A2A;
  --brown-dark:  #3E1F13;
  --brown-deep:  #2A150D;
  --beige:       #D4B896;
  --beige-light: #EDE0D0;
  --gold:        #C8A96E;
  --gold-light:  #DBBF8A;
  /* Dark theme base — one unified bg family */
  --bg:          #141210;
  --bg-card:     #1A1410;
  --bg-hover:    #221910;
  --bg-deep:     #0E0B09;
  --cream:       #141210;   /* alias so var(--cream) works */
  --black:       #141210;
  --white:       #FDFBF9;
  --text:        #EDE0D0;
  --text-muted:  rgba(212,184,150,0.45);
  --border:      rgba(200, 169, 110, 0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}


/* ============================================
   NAVIGATION
   ============================================ */
nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 3rem;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, box-shadow 0.4s, height 0.4s, backdrop-filter 0.4s;
}

nav.scrolled {
  background: rgba(18, 13, 11, 0.96);
  height: 62px;
  box-shadow: 0 1px 0 rgba(200,169,110,0.08), 0 8px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-placeholder {
  width: 40px; height: 40px;
  border: 1.5px solid var(--gold);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Graceful', 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 700;
  color: var(--gold);
  background: rgba(200,169,110,0.06);
}

.logo-img { height: 120px; width: auto; }

.nav-brand {
  font-family: 'Graceful', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--beige);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: var(--beige-light);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
  transition: opacity 0.25s, color 0.25s;
}

.nav-links a:hover { opacity: 1; color: var(--gold); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-phone {
  display: flex; align-items: center; gap: 0.45rem;
  color: var(--beige-light);
  text-decoration: none;
  font-size: 0.8rem; font-weight: 500;
  opacity: 0.6;
  transition: opacity 0.25s, color 0.25s;
}

.nav-phone svg { width: 15px; height: 15px; fill: var(--gold); flex-shrink: 0; }
.nav-phone:hover { opacity: 1; color: var(--gold); }

.nav-cta {
  background: transparent;
  color: var(--gold);
  padding: 0.5rem 1.4rem;
  border: 1px solid rgba(200,169,110,0.4);
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.7rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all 0.25s;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--brown-deep);
  border-color: var(--gold);
}


/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 70% 10%, rgba(200,169,110,0.06) 0%, transparent 0%),
    linear-gradient(160deg, #0e0c0b 0%, #1a1210 100%, #2A150D 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 260px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
}
.hero-bg svg { width: 100%; height: 100%; }

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 7rem 3rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Text on right, image on left */
.hero-text  { order: 2; }
.hero-visual { order: 1; }

.hero-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold);
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  margin-bottom: 0;
  z-index: 2;
}

.hero-label-main {
  font-family: 'Graceful', 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-label-main::before,
.hero-label-main::after {
  content: '';
  width: 36px; height: 1px;
  background: var(--gold);
  opacity: 0.45;
}

.hero-label-sub {
  font-family: 'Graceful', 'Cormorant Garamond', serif;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 1;
}

.hero h1 {
  font-family: 'Graceful', 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero h1 .h1-line {
  display: block;
  white-space: nowrap;
}

.hero h1 em {
  font-family: 'Graceful', 'Cormorant Garamond', serif;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-family: 'Graceful', 'Cormorant Garamond', serif;
  color: var(--beige);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2.8rem;
  opacity: 0.75;
  max-width: 440px;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: var(--brown-deep);
  padding: 0.9rem 2.2rem;
  font-weight: 700;
  font-size: 0.72rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 3px;
  transition: all 0.25s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(200,169,110,0.3);
}

.btn-ghost {
  color: rgba(212,184,150,0.65);
  padding: 0.9rem 1.8rem;
  font-weight: 500;
  font-size: 0.72rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(200,169,110,0.18);
  border-radius: 3px;
  transition: all 0.25s;
}

.btn-ghost:hover {
  color: var(--gold);
  border-color: rgba(200,169,110,0.45);
  background: rgba(200,169,110,0.04);  
}

.btn-ghost span { margin-left: 0.3rem; transition: margin 0.25s; }
.btn-ghost:hover span { margin-left: 0.7rem; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 520px;
  margin-left: -5rem;
  margin-top: -10rem;
}

.hero-img-frame {
  width: 680px;
  height: 800px;
  position: relative;
  background: transparent;
}

.hero-photo {
  width: 100%; height: 100%;
  object-fit: contain; object-position: left;
  display: block;
  /* Invert the sketch so ink lines become white, paper becomes black */
  filter:
    invert(1)
    grayscale(1)
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.18))
    drop-shadow(0 4px 40px rgba(200, 169, 110, 0.12));
  /* Screen mode: black areas become transparent, white lines glow through */
  mix-blend-mode: screen;
  opacity: 0.50;
}

.hero-stat {
  position: absolute;
  background: rgba(18, 13, 11, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(200,169,110,0.11);
  border-radius: 4px;
  padding: 1.1rem 1.6rem;
  min-width: 130px;
}

.hero-stat.s1 { bottom: 48px; left: -48px; }
.hero-stat.s2 { top: 64px;    right: -36px; }

.hero-stat .hs-num {
  font-family: 'Graceful', 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-stat .hs-txt {
  font-size: 0.62rem;
  color: var(--beige);
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 0.3rem;
}


/* ============================================
   SHARED
   ============================================ */
section { padding: 6rem 3rem; }

.section-label {
  font-family: 'Graceful', 'Cormorant Garamond', serif;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: 'Graceful', 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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


/* ============================================
   SERVICES — Dark card grid
   ============================================ */
.services {
  background: var(--bg);
  padding: 2rem 0 0;
  position: relative;
}

.services-header {
  max-width: 1200px;
  margin: 0 auto 3.5rem;
  padding: 0 3rem;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.services-header::before {
  content: '—';
  color: var(--gold);
  opacity: 0.45;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.services-header h2 {
  font-family: 'Graceful', 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 500;
  font-style: italic;
  color: rgba(212,184,150,0.7);
}

/* Card grid */
.svc-buttons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(200,169,110,0.08);
  counter-reset: service;
}

.svc-btn {
  background: var(--bg-card);
  padding: 3.2rem 2.6rem 3rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  counter-increment: service;
  cursor: default;
  transition: background 0.4s, box-shadow 0.4s;
  box-shadow: inset 3px 0 0 transparent;
}

/* 2 rows of 3 equal cards (each spans 2 of 6 cols) */
.svc-btn { grid-column: span 2; }

/* Watermark number */
.svc-btn::before {
  content: counter(service, decimal-leading-zero);
  position: absolute;
  top: 1rem; right: 1.8rem;
  font-family: 'Graceful', 'Cormorant Garamond', serif;
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(200,169,110,0.055);
  pointer-events: none;
  transition: color 0.4s;
}

.svc-btn strong {
  font-family: 'Graceful', 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: rgba(212,184,150,0.82);
  line-height: 1.25;
  transition: color 0.35s;
}

.svc-btn span {
  font-size: 0.78rem;
  color: rgba(212,184,150,0.28);
  line-height: 1.9;
  transition: color 0.35s;
}

.svc-btn:hover {
  background: var(--bg-hover);
  box-shadow: inset 3px 0 0 var(--gold);
}

.svc-btn:hover::before { color: rgba(200,169,110,0.13); }
.svc-btn:hover strong  { color: var(--beige-light); }
.svc-btn:hover span    { color: rgba(212,184,150,0.5); }


/* ============================================
   STORY / ABOUT
   ============================================ */
.story {
  background:
    radial-gradient(ellipse at 65% 20%, rgba(200,169,110,0.06) 0%, transparent 55%),
    var(--bg-card);
  position: relative;
  overflow: hidden;
}

.story::before {
  content: '';
  position: absolute;
  left: -150px; bottom: -150px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(200,169,110,0.04);
  pointer-events: none;
}

.story-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.story-visual { position: relative; }

.story-frame {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 2px;
  background: linear-gradient(145deg, var(--brown-dark), var(--brown));
  position: relative;
  overflow: hidden;
}

.story-frame-inner {
  position: absolute; inset: 12px;
  border: 1px solid rgba(200,169,110,0.1);
  border-radius: 1px;
  display: flex; align-items: center; justify-content: center;
}

.story-frame-inner svg { width: 55%; opacity: 0.07; }

.story-year {
  position: absolute;
  bottom: -12px; right: -12px;
  background: var(--gold);
  color: var(--brown-deep);
  font-family: 'Graceful', 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 700;
  padding: 0.5rem 1.4rem;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  letter-spacing: -0.02em;
}

.story-text .section-label { color: var(--gold); }
.story-text .section-title { color: var(--white); margin-bottom: 2rem; }
.story-text .section-title em { color: var(--gold); }

.story-body {
  color: var(--beige);
  font-size: 0.9rem;
  line-height: 2.1;
  opacity: 0.68;
}

.story-body p + p { margin-top: 1.3rem; }

.story-highlights {
  display: flex; gap: 2.5rem;
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(200,169,110,0.1);
}

.story-hl .sh-num {
  font-family: 'Graceful', 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}

.story-hl .sh-txt {
  font-size: 0.65rem; color: var(--beige); opacity: 0.45;
  text-transform: uppercase; letter-spacing: 0.12em; margin-top: 0.3rem;
}


/* ============================================
   CLIENTS MARQUEE
   ============================================ */
.clients {
  background: var(--bg);
  padding: 4rem 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(200,169,110,0.07);
  border-bottom: 1px solid rgba(200,169,110,0.07);
}

.clients::before,
.clients::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 200px;
  z-index: 2; pointer-events: none;
}

.clients::before { left: 0;  background: linear-gradient(90deg,  var(--bg) 20%, transparent); }
.clients::after  { right: 0; background: linear-gradient(270deg, var(--bg) 20%, transparent); }

.clients-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative; z-index: 3;
}

.clients-header p {
  color: var(--text);
  opacity: 0.3;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.marquee-wrap { position: relative; }

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
}

.marquee-item {
  flex-shrink: 0;
  width: 200px;
  padding: 0 1.2rem;
  opacity: 0.35;
  transition: opacity 0.35s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.marquee-item:hover { opacity: 0.8; }

/* ── Logo items ── */
.mi-logo-box {
  width: 180px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  max-height: 90px;
  max-width: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(1) brightness(1.6);
  transition: filter 0.35s;
}

.marquee-item:hover .partner-logo { filter: grayscale(0) brightness(1); }

/* Small label under logo */
.partner-name {
  font-family: 'Manrope', sans-serif;
  font-size: 0.99rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--beige);
  opacity: 0.45;
  text-align: center;
  line-height: 1.4;
}

/* ── Text-only items ── */
.marquee-item.text-only {
  width: 200px;
}

.partner-name-text {
  font-family: 'Graceful', 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--beige);
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.marquee-item.text-only:nth-child(even) .partner-name-text {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marquee-item.text-only:nth-child(3n) .partner-name-text { font-style: italic; }

.row2 { margin-top: 2rem; }


/* ============================================
   APPLY / CONTACTS
   ============================================ */
.apply {
  background:
    radial-gradient(ellipse at 75% 0%, rgba(200,169,110,0.06) 0%, transparent 50%),
    linear-gradient(175deg, var(--bg-hover) 0%, var(--bg-deep) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.apply::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(200,169,110,0.25) 50%, transparent 95%);
}

.apply::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(200,169,110,0.04);
  pointer-events: none;
}

.apply-inner {
  max-width: 800px;
  margin: 0 auto;
}

.apply-info .section-label { color: var(--gold); }

.apply-info > p {
  color: var(--beige);
  font-size: 0.9rem;
  line-height: 2;
  opacity: 0.55;
  margin: 0.5rem 0 3rem;
  max-width: 500px;
}

.apply-contacts {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ac {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--beige);
  font-size: 0.88rem;
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(200,169,110,0.07);
  transition: color 0.25s, padding-left 0.25s;
}

.ac:first-child { border-top: 1px solid rgba(200,169,110,0.07); }
.ac:hover { color: var(--gold); padding-left: 0.5rem; }

.ac svg {
  width: 17px; height: 17px;
  fill: var(--gold);
  opacity: 0.4;
  flex-shrink: 0;
  transition: opacity 0.25s;
}

.ac:hover svg { opacity: 0.75; }

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
  background: var(--bg-deep);
  padding: 0;
  border-top: 1px solid rgba(200,169,110,0.06);
}

.map-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.map-header .section-label { margin-bottom: 0; }

.map-addr {
  font-size: 1.0rem;
  color: var(--beige);
  opacity: 0.40;
  letter-spacing: 0.06em;
}

.map-frame {
  height: 400px;
  position: relative;
  overflow: hidden;
}

.map-frame iframe {
  width: 100%; height: 100%;
  border: 0; display: block;
  filter: grayscale(1) invert(1) sepia(35%) brightness(0.78) contrast(1.05);
}


/* ============================================
   KYIV MAP BACKGROUND (Leaflet + CARTO)
   ============================================ */
#kyiv-map {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#kyiv-map .leaflet-container {
  width: 100%; height: 100%;
  background: var(--brown-deep);
  filter: sepia(35%) hue-rotate(330deg) brightness(0.78) saturate(0.85);
  cursor: grab;
}

#kyiv-map .leaflet-container:active { cursor: grabbing; }

#kyiv-map .leaflet-container::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(14,12,11,0.80) 0%, rgba(14,12,11,0.08) 55%, rgba(96, 84, 78, 0.52) 100%),
    linear-gradient(to bottom, rgba(14,12,11,0.42) 0%, transparent 40%, rgba(14,12,11,0.65) 100%);
  pointer-events: none;
  z-index: 1000;
}

#kyiv-map .leaflet-control-zoom { display: none; }

#kyiv-map .leaflet-control-attribution {
  background: rgba(14,12,11,0.65) !important;
  color: rgba(212,184,150,0.28) !important;
  font-size: 9px !important;
  padding: 1px 5px !important;
  border-radius: 3px 0 0 0 !important;
}

#kyiv-map .leaflet-control-attribution a { color: rgba(200,169,110,0.38) !important; }

.kyiv-popup .leaflet-popup-content-wrapper {
  background: rgba(30,16,8,0.95) !important;
  border: 1px solid rgba(200,169,110,0.16) !important;
  border-radius: 4px !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.55) !important;
  color: var(--beige) !important;
}

.kyiv-popup .leaflet-popup-tip        { background: rgba(30,16,8,0.95) !important; }
.kyiv-popup .leaflet-popup-close-button { color: rgba(200,169,110,0.4) !important; }


/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--bg-deep);
  color: var(--beige);
  padding: 1.9rem 1.5rem 2.5rem 3rem;
  border-top: 1px solid rgba(200,169,110,0.07);
}

.footer-inner {
  max-width: 100%;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-inner .footer-links { margin-left: auto; }

footer .logo-img { height: 80px; width: auto; }

.footer-brand {
  font-family: 'Graceful', 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.footer-links { display: flex; gap: 2rem; }

.footer-links a {
  color: var(--beige);
  opacity: 0.3;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.25s;
}

.footer-links a:hover { opacity: 0.7; }

.footer-copy {
  font-size: 0.68rem;
  opacity: 0.2;
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
}


/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity  0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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


/* ============================================
   MOBILE CTA
   ============================================ */
.mobile-cta { display: none; }


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links  { display: none; }
  .nav-phone  { display: none; }

  section { padding: 4rem 1.5rem; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 7rem 1.5rem 4rem;
    text-align: center;
    gap: 3rem;
  }

  /* Reset order swap on mobile — text always on top */
  .hero-text  { order: 1; }
  .hero-visual { order: 2; }

  .hero-visual  { display: none; }
  .hero p       { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-label   { justify-content: center; }

  .services-header { flex-direction: column; gap: 0.5rem; }
  .services-header::before { display: none; }

  .svc-buttons { grid-template-columns: 1fr 1fr; }
  .svc-btn { grid-column: span 1; }

  .story-inner { grid-template-columns: 1fr; gap: 3rem; }
  .story-visual { max-width: 300px; margin: 0 auto; }

  .apply-inner { max-width: 100%; }

  .map-header {
    padding: 1.8rem 1.5rem 1.2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  .map-frame { height: 280px; }

  #kyiv-map .leaflet-container {
    filter: sepia(35%) hue-rotate(330deg) brightness(0.62) saturate(0.8);
  }

  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }

  .mobile-cta {
    display: block;
    text-align: center;
    padding: 1.5rem;
    background: var(--brown-deep);
  }

  .mobile-cta a {
    display: inline-block;
    background: var(--gold);
    color: var(--brown-deep);
    padding: 0.9rem 3rem;
    border-radius: 3px;
    font-weight: 700; font-size: 0.82rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background 0.25s;
  }

  .mobile-cta a:hover { background: var(--gold-light); }
}

@media (max-width: 600px) {
  section { padding: 3rem 1.2rem; }

  .svc-buttons { grid-template-columns: 1fr; }
  .svc-btn { grid-column: span 1; }
  .svc-btn::before { font-size: 4rem; }
}
