:root {
  --bg: #dfe8f4;
  --ink: #0e0f12;
  --muted: #8b909a;
  --card: #ffffff;
  --dark: #0b0b0e;
  --accent: #1c67ff;
  --accent-soft: #e9f0ff;
  --panel: #121215;
  --line: #e6e8ee;
  --form: #2a6dff;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px rgba(15, 20, 35, 0.12);
  --shadow-soft: 0 20px 40px rgba(15, 20, 35, 0.08);
}

@font-face {
  font-family: "Eloquia";
  src: local("Eloquia"), local("Eloquia Regular"),
       url("../fonts/Eloquia-ExtraLight.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Eloquia";
  src: local("Eloquia Bold"),
       url("../fonts/Eloquia-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Eloquia", "Manrope", system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: var(--ink);
  line-height: 1.35;
}

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

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

.container {
  width: 100%;
  margin: 0;
}

.page {
  background: var(--card);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.page-inner {
  height: auto;
  overflow: visible;
  opacity: 1;
  animation: pageFadeIn 0.45s ease;
}

.page-inner.fade-out {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 8vw 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav a {
  color: #3b3f46;
  font-weight: 500;
}

.nav .cta,
.nav .lang {
  border: 1px solid #1e2127;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
}

.nav .lang {
  border-color: #c4cad7;
  font-weight: 500;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  padding: 50px 8vw 60px;
  align-items: center;
}

.hero-small {
  color: var(--muted);
  font-size: 14px;
  max-width: 360px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-small a {
  color: var(--accent);
  font-weight: 700;
  display: inline-flex;
  margin-top: 16px;
}

.hero-title {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.05;
}

.hero-title span {
  color: var(--accent);
}

.hero-media {
  background: linear-gradient(135deg, #060606 0%, #101116 45%, #1f2735 100%);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  padding: 0;
  min-height: 340px;
  border-top: 1px solid #1f222a;
  align-items: center;
  justify-items: center;
}

.hero-card {
  background: transparent;
  margin: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  gap: 16px;
  justify-self: center;
  align-self: center;
  padding: 24px;
}

.hero-card .logo-mark {
  background: var(--accent);
  color: #fff;
}

.hero-card .logo-img {
  width: 44px;
  height: 44px;
}

.hero-card .accent-dot {
  color: var(--accent);
}

.hero-photo {
  border-left: 1px solid #191b21;
  width: 100%;
  height: 100%;
  min-height: 340px;
  display: grid;
  place-items: center;
  justify-self: stretch;
  align-self: stretch;
  background: transparent;
}

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

.section {
  padding: 90px 8vw;
}

.section-title {
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.about-heading {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  max-width: 860px;
}

.about-heading span {
  color: #b0b5bf;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.about-card {
  font-size: 14px;
  color: #4c5058;
}

.about-card h4 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

#services.section {
  padding: 0;
}

.services {
  background: linear-gradient(135deg, #060606 0%, #101116 45%, #1f2735 100%);
  color: #f2f3f7;
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 20px;
  border-radius: 0;
  padding: 80px 8vw;
  min-height: 420px;
}

.services-main {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.services-main h3 {
  font-size: 34px;
}

.services-main p {
  color: #b0b5bf;
  max-width: 300px;
}

.services-main .pill {
  align-self: flex-start;
  background: #fff;
  color: #0c0d10;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-card {
  background: #13141a;
  border-radius: var(--radius-md);
  padding: 24px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #1b1e26;
  position: relative;
  border: none;
  text-align: left;
  cursor: pointer;
  color: #e8ecf7;
}

.service-card h4 {
  font-size: 18px;
  color: #ffffff;
}

.service-card p {
  font-size: 12px;
  color: #d3d8e4;
}

.service-card.accent {
  background: var(--accent);
  color: #fff;
}

.service-card .arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: #fff;
  color: #0b0c10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.experience {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 90px 8vw;
}

.experience .headline {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--accent);
}

.counter-list {
  display: grid;
  gap: 18px;
  border-left: 1px solid var(--line);
  padding-left: 26px;
}

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

.counter .value {
  font-size: 36px;
  font-weight: 700;
}

.counter .label {
  font-size: 13px;
  color: var(--muted);
}

.contact {
  background: var(--form);
  color: #fff;
  padding: 90px 8vw;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 40px;
}

.contact h3 {
  font-size: 30px;
  margin-bottom: 16px;
}

.contact p {
  color: #d7e2ff;
  font-size: 14px;
}

.contact form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 22px;
}

.contact input,
.contact textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #d7e2ff;
  color: #fff;
  padding: 8px 4px 10px;
  font-size: 14px;
  font-family: "Eloquia";
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: #eef2ff;
}

.contact textarea {
  grid-column: 1 / -1;
  resize: vertical;
  min-height: 80px;
}

.contact button {
  grid-column: 1 / -1;
  justify-self: start;
  background: #fff;
  color: #0b0c10;
  border: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.footer {
  background: #ffffff;
  padding: 70px 8vw 90px;
  display: grid;
  gap: 40px;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-social {
  display: grid;
  gap: 18px;
  color: #606775;
  font-size: 13px;
}

.footer-icons {
  display: flex;
  gap: 10px;
}

.footer-icon {
  width: 34px;
  height: 34px;
  border: 1px solid #d6dae4;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #0b0c10;
}

.footer-icon svg {
  width: 16px;
  height: 16px;
}

.footer-meta {
  display: grid;
  gap: 8px;
}

.footer-meta strong {
  font-weight: 700;
  color: #0b0c10;
}

.footer-marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: #fff;
}

.marquee-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 18px;
  width: max-content;
  animation: marquee 16s linear infinite;
}

.marquee-track span {
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  font-size: 13px;
  color: #616874;
}

.footer-links h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  color: #2c2f36;
}

.footer-links a {
  display: block;
  margin-bottom: 8px;
}

.footer-small {
  font-size: 12px;
  color: #9aa0ab;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 12, 18, 0.4);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #fff;
  width: min(520px, 90vw);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.modal h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.modal p {
  color: #555b66;
  font-size: 14px;
  margin-bottom: 12px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e2e6ef;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

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

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1024px) {
  .hero,
  .experience,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-media {
    grid-template-columns: 1fr;
  }

  .hero-card {
    margin: 0;
  }

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

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

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

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    margin: 0;
  }

  .header {
    flex-direction: column;
    gap: 18px;
    padding: 24px 6vw;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 36px 6vw 44px;
  }

  .section,
  .experience,
  .contact,
  .footer {
    padding: 60px 6vw;
  }

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

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