@font-face {
  font-family: 'Salma';
  src: url('/fonts/SalmaPro-Medium.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Oddval';
  src: url('/fonts/Oddval-SemiBold.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

:root {
  --text: #111;
  --bg: #fff;
  --border: #e5e5e5;
  --muted: #666;
  --container: 1500px;
  font-family: 'Salma', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.5;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  padding: 0 20px;
}
.logo {
  font-family: 'Oddval';
  text-decoration: none;
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -3px;
  color: white;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.main-nav {
  display: flex;
  gap: 18px;
}
.main-nav a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  transition: color 0.3s ease;
}
.main-nav a:hover {
  text-decoration: underline;
}

.site-header.scrolled {
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.site-header.scrolled .logo,
.site-header.scrolled .main-nav a {
  color: black;
}

.burger { display: none; }

.hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 0;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero-overlay {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #fff;
  text-align: center;
}
.hero h1 {
  line-height: 65px;
  margin: 0 0 8px;
  font-size: 64px;
  color: #fff;
}
.lead {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.85);
}
.hero-cta .btn {
  display: inline-block;
  padding: 10px 16px;
  border: 2px solid rgba(255,255,255,0.4);
  background: transparent;
  color: #fff;
  text-decoration: none;
  margin-right: 8px;
  transition: background 0.3s ease, color 0.3s ease;
}
.hero-cta .btn:hover {
  color: black;
  background: rgb(255, 255, 255);
}

.section {
  padding: 50px 0;
  border-top: 1px solid var(--border);
}
h2 {
  font-size: 48px;
  margin: 0 0 12px;
}

.consulting-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 20px;
  margin-top: 40px;
  grid-template-areas:
    "investment legal marketing"
    "management strategy strategy";
}

.consult-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "title image"
    "content image";
  background: #333;
  color: #fff;
  padding: 16px;
  overflow: hidden;
  position: relative;
}

.card-image {
  grid-area: image;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  margin-left: 20px;
}
.card-image img {
  width: 500px;
  height: 500px;
  max-width: 300%;
  max-height: 300%;
  object-fit: contain;
  transform: translate(-100px, 60px);
  margin-left: 350px;
  z-index: 1;
  opacity: 0.4;
}

.consult-card h3 {
  grid-area: title;
  margin: 0;
  font-size: 48px;
  font-weight: 800;
  line-height: 48px;
  text-align: left;
}

.consult-card.strategy h3{
  font-size: 72px;
  line-height: 64px;
}

.card-content {
  margin-top: 15px;
  grid-area: content;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}
.card-content p {
  margin: 0 0 6px;
  font-size: 16px;
  color: rgba(255,255,255,0.9);
}

.consult-card.management .card-image img{
  transform: translate(-40px, 95px);
}

.consult-card.strategy img{
  max-width: 600%;
  max-height: 600%;
  transform: translate(60px, -45px);
}

.consult-card.management,
.consult-card.strategy {
  padding-block: 10px;
  padding-bottom: 90px;
}
.consult-card.management .card-image,
.consult-card.strategy .card-image {
  width: 80px;
  height: 80px;
}

.consult-card.investment { background: #201f2c;; grid-area: investment; }
.consult-card.legal { background: #444253; grid-area: legal; }
.consult-card.marketing { background: #615e74; grid-area: marketing; }
.consult-card.management { background: #201f2c; grid-area: management; }
.consult-card.strategy { background: #615e74; grid-area: strategy; }

.timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 24px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 2px;
  height: 100%;
  background: var(--border, #e5e5e5);
}
.timeline-item {
  display: flex;
  gap: 20px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.timeline-item:hover {
  transform: translateX(4px);
}
.timeline-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent, #201f2c);
  background: var(--bg, #fff);
  border: 2px solid var(--accent, #201f2c);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.timeline-content {
  flex: 1;
  background: var(--bg, #fff);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.service-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.timeline-item:hover .service-icon {
  opacity: 1;
  transform: scale(1.1);
}
.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.timeline-content h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  padding-right: 48px;
}
.timeline-content p {
  margin: 0;
  color: var(--muted, #666);
  font-size: 16px;
  line-height: 1.5;
}
.timeline-content ul {
  margin: 0;
  padding-right: 108px;
  list-style: none;
  display: grid;
  gap: 4px;
  font-size: 16px;
  color: var(--muted, #555);
}
.timeline-content ul li::before {
  content: "— ";
  color: var(--accent, #201f2c);
}

.map-wrapper {
  position: relative;
  width: 200%;
  max-width: 1300px;
  aspect-ratio: 1300 / 800;
  margin: 0 auto;
}

.map-wrapper img,
.map-wrapper svg {
  width: 100%;
  height: 100%;
  display: block;
}

.project-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--accent, #201f2c);
  border-radius: 50%;
  border: 2px solid #fff;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.project-dot:hover {
  transform: scale(1.5);
  opacity: 0.8;
}

.project-dot::after {
  content: attr(title);
  position: absolute;
  top: -24px;
  left: 20px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 2px 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.project-dot:hover::after {
  opacity: 1;
}

@media (max-width: 1024px) {
  .consulting-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "investment legal"
      "marketing management"
      "strategy strategy";
  }
  .card-image img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .consulting-cards-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "investment"
      "legal"
      "marketing"
      "management"
      "strategy";
  }
  .card-image {
    justify-content: flex-start;
    margin-left: 0;
    margin-top: 8px;
  }
  .card-image img {
    width: 80px;
    height: 80px;
  }
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.project {
  border: 1px solid var(--border);
  padding: 16px;
  background: #fff;
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .burger { display: block; }
}
