/* ==================================================
   BASE / VARIABLES
================================================== */

:root {
  --ink: #101820;
  --blue: #0e2a4d;
  --blue-2: #113c70;
  --gold: #c99542;
  --dark: #071527;
  --muted: #6d7378;
  --line: #e8e3df;
  --soft: #f6f3ef;
  --white: #fff;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #fbfaf8;
}

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

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

.container {
  width: min(1440px, calc(100% - 48px));
  margin: auto;
}

.eyebrow,
.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--gold);
  font-weight: 800;
}

h2.section-label {
  display: inline-block;
  margin: 0 0 16px;
  line-height: 1.2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  background: var(--gold);
  color: #111923;
  border-radius: 999px;
  font-weight: 800;
  transition: .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn.ghost.light {
  color: #fff;
  border-color: rgba(255,255,255,.45);
}

.btn.small {
  padding: 11px 16px;
  font-size: 13px;
}

.dark {
  background: var(--dark);
  color: #fff;
}

/* ==================================================
   HEADER
================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.main-header {
  background: #fff;
}

.main-header-inner {
  min-height: 116px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand-logo-only {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-only img {
  width: 210px;
  height: auto;
  object-fit: contain;
}

.header-info {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 42px;
}

.header-info-item {
  position: relative;
  padding-left: 18px;
}

.header-info-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.header-info-item span {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
  font-size: 13px;
}

.header-info-item strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
}

.lang {
  display: flex;
  gap: 8px;
}

.lang a {
  font-size: 12px;
  border: 1px solid var(--line);
  padding: 9px 11px;
  border-radius: 999px;
  transition: .2s ease;
}

.lang a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.burger {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 0;
  padding: 8px;
}

.burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--ink);
}

.blue-nav {
  background: var(--blue);
  border-top: 1px solid rgba(255,255,255,.08);
}

.blue-nav-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  overflow-x: auto;
}

.blue-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blue-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 62px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  opacity: .92;
  transition: .2s ease;
}

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

/* ==================================================
   HOME HERO
================================================== */

.home-hero-full {
  position: relative;
  min-height: 100vh;
  color: #fff;
  overflow: hidden;
  background-color: #061b31;
  background-image: url("../img/hero-presentation.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



.home-hero-overlay {
  display: none;
}

/* Header on hero */

.home-hero-header {
  position: relative;
  z-index: 5;
  padding-top: 26px;
}

.home-hero-nav {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  align-items: center;
  gap: 28px;
}

.home-logo {
  display: inline-flex;
  align-items: center;
}

.home-logo img {
  width: 190px;
  height: auto;
  filter: brightness(0) invert(1);
}

.home-hero-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.home-hero-menu a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(12px);
  transition: .25s ease;
}

.home-hero-menu a:hover {
  background: #d8a24a;
  border-color: #d8a24a;
  color: #061b31;
  transform: translateY(-2px);
}

.home-hero-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.home-phone {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.home-lang {
  display: flex;
  gap: 6px;
}

.home-lang a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(10px);
  transition: 0.25s ease;
}

.home-lang a:hover {
  background: #fff;
  color: #061b31;
}

/* Content */

.home-hero-content {
  position: relative;
  z-index: 3;
  min-height: calc(100vh - 110px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-hero-content .eyebrow {
  color: #d8a24a;
}

.home-hero-content h1 {
  max-width: 760px;
  margin: 18px 0 22px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  color: #fff;
}

.home-hero-content p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.65;
}

.home-hero-content .actions {
  margin-top: 34px;
     display:flex;
    gap:10px;
    align-items:center;
    flex-wrap:wrap;
}

.btn.gold {
  background: #d8a24a;
  color: #061b31;
  border-color: #d8a24a;
}

.btn.gold:hover {
  background: #e7b75d;
  border-color: #e7b75d;
}

.btn.glass {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.btn.glass:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* Mobile */

@media (max-width: 980px) {
  .home-hero-nav {
    grid-template-columns: 170px 1fr;
  }

  .home-logo img {
    width: 155px;
  }

  .home-hero-menu {
    display: none;
  }

  .home-hero-right {
    gap: 10px;
  }

  .home-hero-content h1 {
    max-width: 620px;
  }
}

.footer-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-copy a {
  color: inherit;
  text-decoration: none;
  opacity: .78;
  transition: opacity .2s ease, color .2s ease;
}

.footer-copy a:hover {
  color: var(--gold);
  opacity: 1;
}

.document-card em {
  display: inline-flex;
  margin-top: 16px;
  font-style: normal;
  font-weight: 800;
  color: var(--gold);
}

.form-notice {
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.form-notice.is-success {
  background: rgba(19, 148, 132, .12);
  color: #0f766e;
}

.form-notice.is-error {
  background: rgba(185, 28, 28, .1);
  color: #991b1b;
}

.pr-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 640px) {
  .footer-copy {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .home-hero-full {
    min-height: 100svh;
    background-position: center center;
  }

  .home-hero-full::before {
    background:
      linear-gradient(
        90deg,
        rgba(4, 18, 34, 0.94) 0%,
        rgba(4, 18, 34, 0.82) 55%,
        rgba(4, 18, 34, 0.44) 100%
      ),
      linear-gradient(
        180deg,
        rgba(4, 18, 34, 0.12) 0%,
        rgba(4, 18, 34, 0.92) 100%
      );
  }

  .home-hero-header {
    padding-top: 16px;
  }

  .home-hero-nav {
    grid-template-columns: 1fr auto;
  }

  .home-logo img {
    width: 135px;
  }

  .home-phone {
    display: none;
  }

  .home-lang a {
    width: 32px;
    height: 32px;
    font-size: 10px;
  }

  .home-hero-content {
    min-height: calc(100svh - 82px);
  }

  .home-hero-content h1 {
    font-size: 42px;
  }

  .home-hero-content p {
    font-size: 16px;
  }
}

/* ==================================================
   INTRO / DARK SECTION
================================================== */

.intro {
  padding: 86px 0;
}

.split {
  display: grid;
  grid-template-columns: .35fr .65fr;
  gap: 40px;
}

.split h2,
.section-head h2,
.process h2,
.cta h2 {
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 0;
}

.split p {
  color: #cfc7c0;
  line-height: 1.7;
  font-size: 18px;
}

/* ==================================================
   SECTIONS / CARDS
================================================== */

.section {
  padding: 96px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 28px;
  align-items: start;
  margin-bottom: 38px;
}

.section-head.centered {
  display: block;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 58px;
}

.section-head.centered .section-label {
  display: block;
  margin-bottom: 18px;
}

.section-head a {
  border-bottom: 1px solid currentColor;
  color: var(--blue);
  font-weight: 800;
}

.dark .section-head a {
  color: #fff;
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 30px;
  min-height: 250px;
  transition: .25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(16,24,32,.08);
}

.card span {
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
}

.card h3 {
  font-size: 25px;
  line-height: 1.1;
  margin: 42px 0 14px;
  letter-spacing: -.03em;
}

.card p {
  color: var(--muted);
  line-height: 1.65;
}

/* ==================================================
   PROJECTS
================================================== */

.projects {
  background: #fff;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 310px;
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  color: #fff;
}

.project-card.large {
  grid-row: span 2;
  min-height: 640px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  transition: .45s ease;
}

.project-card:hover img {
  transform: scale(1.04);
  opacity: .55;
}

.project-card div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.project-card span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
}

.project-card h3 {
  font-size: 32px;
  margin: 8px 0;
  letter-spacing: -.04em;
}

.project-card p {
  max-width: 520px;
  color: #ded8d2;
}

/* ==================================================
   CLIENTS MARQUEE
================================================== */

.clients {
  padding: 74px 0;
  background: var(--blue);
  color: #fff;
  overflow: hidden;
}

.marquee {
  margin-top: 28px;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 18px;
  animation: marquee 30s linear infinite;
}

.marquee span {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.04em;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  padding: 18px 34px;
  background: rgba(255,255,255,.06);
}

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

/* ==================================================
   ADVANTAGES
================================================== */

.premium-advantages {
  position: relative;
  background: #FBFAF8;
  overflow: hidden;
}

.premium-advantages::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #FBFAF8;
    /* radial-gradient(circle at 15% 12%, rgba(14,42,77,.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,0)); */
  pointer-events: none;
}

.advantages-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.45fr;
  gap: 72px;
  align-items: start;
}

.advantages-title {
  position: sticky;
  top: 170px;
}

.advantages-title h2 {
  margin: 18px 0 20px;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: .98;
  letter-spacing: -.055em;
  color: var(--ink);
  text-wrap: balance;
}

.advantages-title p {
  margin: 0;
  max-width: 440px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.advantages-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(255,255,255,.46);
  backdrop-filter: blur(14px);
}

.advantage-item {
  position: relative;
  min-height: 330px;
  padding: 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: .28s ease;
}

.advantage-item::after {
  content: "";
  position: absolute;
  right: -56px;
  bottom: -56px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(14,42,77,.045);
  transition: .28s ease;
}

.advantage-item:hover {
  background: #fff;
  box-shadow: 0 30px 90px rgba(7,21,39,.08);
  transform: translateY(-3px);
  z-index: 2;
}

.advantage-item:hover::after {
  transform: scale(1.35);
  background: rgba(201,149,66,.10);
}

.advantage-icon {
  position: relative;
  z-index: 1;
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 34px;
  border-radius: 26px;
  color: var(--blue);
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(245,239,231,.78));
  border: 1px solid rgba(14,42,77,.14);
  box-shadow:
    0 22px 44px rgba(7,21,39,.10),
    inset 0 1px 0 rgba(255,255,255,.8);
}

.advantage-icon::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px solid rgba(201,149,66,.32);
}

.advantage-icon svg {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.advantage-item h3 {
  position: relative;
  z-index: 1;
  max-width: 280px;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.advantage-item p {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 16px;
}

/* ==================================================
   TEAM
================================================== */

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

.team-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  padding: 18px;
  background: rgba(255,255,255,.04);
}

.avatar {
  height: 320px;
  border-radius: 22px;
  overflow: hidden;
  background: #302b28;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-card h3 {
  margin: 18px 0 6px;
  font-size: 22px;
}

.team-card p {
  color: #cfc7c0;
}

/* ==================================================
   PROCESS
================================================== */

.process {
  padding: 96px 0;
  background: #f0ebe5;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.steps div {
  background: #fff;
  border-radius: 26px;
  padding: 26px;
  border: 1px solid var(--line);
}

.steps b {
  color: var(--gold);
}

.steps h3 {
  font-size: 23px;
}

.steps p {
  color: var(--muted);
  line-height: 1.6;
}

/* ==================================================
   CTA
================================================== */

.cta {
  padding: 86px 0;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--ink);
  color: #fff;
  border-radius: 34px;
  padding: 52px;
}

.cta .btn {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* ==================================================
   FOOTER
================================================== */

.footer {
  background: #0d1318;
  color: #fff;
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .9fr;
  gap: 40px;
}

.footer-logo {
  width: 90px;
  background: #fff;
  border-radius: 18px;
  padding: 10px;
}

.footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer a,
.footer p {
  display: block;
  color: #c8d0d6;
  margin: 10px 0;
}

.copy {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 34px;
  padding-top: 22px;
  color: #8e989f;
}

/* ==================================================
   INNER PAGES
================================================== */

.page-hero {
  padding: 90px 0 54px;
}

.about-hero img {
  border-radius: 30px;
  height: 520px;
  width: 100%;
  object-fit: cover;
}

.stats {
  padding: 36px 0;
}

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

.stat-grid div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px;
}

.stat-grid b {
  font-size: 54px;
  color: var(--blue);
  letter-spacing: -.05em;
}

.stat-grid span {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.price-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 30px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 20px;
}

.contact-card,
.form,
.side-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
}

.contact-card a {
  display: block;
  margin: 12px 0;
  font-weight: 800;
  color: var(--blue);
}

.form {
  display: grid;
  gap: 14px;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 17px;
  font: inherit;
  background: #fbfaf8;
}

.form textarea {
  min-height: 150px;
}

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

.doc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  min-height: 180px;
}

.doc-card span {
  color: var(--gold);
  font-weight: 800;
}

.single-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 30px;
}

.content {
  font-size: 18px;
  line-height: 1.75;
}

/* ==================================================
   ANIMATIONS
================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: .7s ease;
}

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

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1180px) {
  .header-info {
    gap: 22px;
  }

  .brand-logo-only img {
    width: 180px;
  }
}

@media (max-width: 980px) {
  .header-info {
    display: none;
  }

  .main-header-inner {
    min-height: 88px;
  }

  .brand-logo-only img {
    width: 160px;
  }

  .burger {
    display: block;
  }

  .blue-nav-inner {
    padding: 0;
  }

  .blue-nav ul {
    gap: 24px;
    padding: 0 24px;
  }

  .blue-nav a {
    min-height: 56px;
  }

  .hero-presentation,
  .hero-presentation-grid {
    min-height: 620px;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(7,21,39,.96) 0%, rgba(7,21,39,.82) 55%, rgba(7,21,39,.24) 100%),
      url('../img/hero-presentation.webp') center center / cover no-repeat;
  }

  .hero-grid,
  .split,
  .project-grid,
  .contact-grid,
  .single-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .team-grid,
  .steps,
  .doc-grid,
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .advantages-title {
    position: static;
  }

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

  .advantage-item {
    min-height: 300px;
    padding: 30px;
  }


  .section-head {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 430px;
    height: 430px;
  }

  .project-card.large {
    min-height: 0;
    height: 420px;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1440px);
  }

  .main-header-inner {
    min-height: 76px;
    gap: 14px;
  }

  .brand-logo-only img {
    width: 135px;
  }

  .lang a {
    padding: 7px 9px;
  }

  .blue-nav ul {
    gap: 20px;
    padding: 0 14px;
  }

  .hero-presentation,
  .hero-presentation-grid {
    min-height: 580px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(7,21,39,.98) 0%, rgba(7,21,39,.86) 48%, rgba(7,21,39,.28) 100%),
      url('../img/hero-presentation.webp') center bottom / cover no-repeat;
  }

  .hero-copy h1,
  .hero h1,
  .page-hero h1 {
    font-size: 40px;
  }

  .hero-copy p,
  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .cards,
  .team-grid,
  .steps,
  .doc-grid,
  .stat-grid,
  .advantages-row {
    grid-template-columns: 1fr;
  }

  .advantages-row {
    border-left: 0;
  }

  .advantage-item {
    min-height: auto;
    padding: 28px 0 34px;
    border-right: 0;
    background: transparent;
  }

  .advantage-item:hover {
    box-shadow: none;
    transform: none;
  }

  .section {
    padding: 62px 0;
  }

  .cta-box,
  .price-row {
    display: block;
  }

  .marquee span {
    font-size: 28px;
  }

  .hero-visual,
  .hero-visual img {
    height: 360px;
    min-height: 360px;
  }

  .project-card,
  .project-card.large {
    height: 240px;
    min-height: 0;
  }

  .project-card img {
    height: 100%;
  }
}

/* ==================================================
   V6 REFINEMENTS: HEADER, HERO, PROJECTS, PREMIUM HOVERS
================================================== */

:root {
  --blue: #08284a;
  --blue-2: #0a3766;
  --dark: #061525;
  --gold: #d4a056;
}

.site-header {
  box-shadow: 0 10px 32px rgba(6, 21, 37, .05);
}

.main-header-inner {
  min-height: 92px;
  gap: 28px;
}

.brand-logo-only img {
  width: 184px;
  max-height: 74px;
  object-fit: contain;
}

.header-info {
  gap: 34px;
}

.header-info-item span {
  font-size: 12px;
}

.header-info-item strong {
  font-size: 14px;
}

.blue-nav {
  margin: 0;
  border-top: 0;
  background: linear-gradient(90deg, #061d37, #0a3766);
}

.blue-nav-inner {
  min-height: 54px;
}

.blue-nav a {
  min-height: 54px;
  font-size: 14px;
  letter-spacing: .01em;
}

.hero-presentation {
  height: clamp(520px, 44vw, 680px);
  min-height: 0;
  padding: 0 !important;
}

.hero-presentation::after {
  inset: 18px;
  border-radius: 28px;
  border-color: rgba(255, 255, 255, .12);
}

.hero-bg {
  background:
    radial-gradient(circle at 82% 30%, rgba(212,160,86,.16), transparent 28%),
    linear-gradient(90deg, rgba(6,21,37,.98) 0%, rgba(6,21,37,.90) 33%, rgba(6,21,37,.42) 66%, rgba(6,21,37,.08) 100%),
    url('../img/hero-presentation.webp') center center / cover no-repeat;
}

.hero-presentation-grid {
  height: 100%;
  min-height: 0;
  grid-template-columns: minmax(0, 600px) 1fr;
}

.hero-copy {
  max-width: 580px;
  padding: 32px 0;
}

.hero-copy h1 {
  max-width: 570px;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: .96;
  letter-spacing: -.058em;
}

.hero-copy p {
  max-width: 500px;
  font-size: 16px;
  line-height: 1.7;
}

.hero-copy .actions {
  margin-top: 26px;
	gap: 30px;
}

.hero-copy .btn {
  padding: 13px 20px;
  font-size: 14px;
}

/* Project cards: less bulky, more controlled */
.project-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  grid-auto-rows: 255px;
  gap: 16px;
  align-items: stretch;
}

.project-card,
.project-card.large {
  min-height: 0;
  height: 100%;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(6, 21, 37, .08);
  transform: translateY(0);
  transition: transform .32s ease, box-shadow .32s ease, border-radius .32s ease;
}

.project-card.large {
  grid-row: span 2;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,21,37,0) 30%, rgba(6,21,37,.78) 100%),
    linear-gradient(90deg, rgba(6,21,37,.30), rgba(6,21,37,0));
  transition: opacity .32s ease;
}

.project-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 76px rgba(6, 21, 37, .18);
  border-radius: 30px;
}

.project-card:hover::before {
  opacity: .82;
}

.project-card img {
  opacity: .86;
  transition: transform .55s ease, opacity .35s ease, filter .35s ease;
}

.project-card:hover img {
  transform: scale(1.055);
  opacity: .98;
  filter: saturate(1.05) contrast(1.03);
}

.project-card div {
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.project-card h3 {
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.06;
}

.project-card p {
  font-size: 14px;
  line-height: 1.55;
}

/* Service cards: premium hover, not flat blocks */
.card,
.team-card,
.steps div,
.doc-card,
.stat-grid div,
.contact-card,
.side-box,
.form {
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}

.card::after,
.team-card::after,
.steps div::after,
.doc-card::after,
.stat-grid div::after,
.contact-card::after,
.side-box::after,
.form::after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(212, 160, 86, .08);
  transform: scale(.72);
  opacity: 0;
  transition: transform .32s ease, opacity .32s ease;
  pointer-events: none;
}

.card:hover,
.steps div:hover,
.doc-card:hover,
.stat-grid div:hover,
.contact-card:hover,
.side-box:hover,
.form:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 40, 74, .18);
  box-shadow: 0 24px 68px rgba(6, 21, 37, .09);
  background: #fff;
}

.card:hover::after,
.steps div:hover::after,
.doc-card:hover::after,
.stat-grid div:hover::after,
.contact-card:hover::after,
.side-box:hover::after,
.form:hover::after {
  transform: scale(1.2);
  opacity: 1;
}

.card h3,
.card p,
.card span,
.steps h3,
.steps p,
.steps b,
.doc-card h3,
.doc-card p,
.doc-card span,
.stat-grid b,
.stat-grid span,
.contact-card > *,
.side-box > *,
.form > * {
  position: relative;
  z-index: 1;
}

/* Team hover */
.team-card {
  transition: transform .32s ease, box-shadow .32s ease, background .32s ease, border-color .32s ease;
}

.team-card:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(212, 160, 86, .34);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .22);
}

.team-card:hover::after {
  transform: scale(1.15);
  opacity: 1;
}

.avatar img {
  transition: transform .55s ease, filter .35s ease;
}

.team-card:hover .avatar img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.04);
}

/* CTA hover */
.cta-box {
  transition: transform .32s ease, box-shadow .32s ease, background .32s ease;
}

.cta-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 90px rgba(6, 21, 37, .18);
  background: #07111b;
}

@media (max-width: 1180px) {
  .main-header-inner {
    min-height: 86px;
  }

  .brand-logo-only img {
    width: 164px;
    max-height: 66px;
  }
}

@media (max-width: 980px) {
  .main-header-inner {
    min-height: 76px;
  }

  .brand-logo-only img {
    width: 142px;
    max-height: 58px;
  }

  .hero-presentation,
  .hero-presentation-grid {
    height: 560px;
    min-height: 0;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 7vw, 52px);
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .project-card.large {
    grid-row: span 1;
  }
}

@media (max-width: 620px) {
  .brand-logo-only img {
    width: 124px;
    max-height: 52px;
  }

  .blue-nav a {
    min-height: 50px;
  }

  .hero-presentation,
  .hero-presentation-grid {
    height: 540px;
    min-height: 0;
  }

  .hero-presentation::after {
    inset: 10px;
    border-radius: 20px;
  }

  .hero-copy {
    padding: 28px 0;
  }

  .project-grid {
    grid-auto-rows: 240px;
  }

  .project-card,
  .project-card.large {
    height: 100%;
  }
}

/* ==================================================
   V7 REFINEMENTS: CENTERED HEADER, LIGHT MENU, SOFTER FLOW
================================================== */

.site-header-v7 {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(8, 40, 74, .10);
  box-shadow: 0 18px 48px rgba(6, 21, 37, .07);
}

.site-header-v7 .main-header-inner {
  min-height: 106px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.header-left {
  justify-self: start;
}

.site-header-v7 .brand-logo-only {
  justify-self: center;
}

.site-header-v7 .brand-logo-only img {
  width: 218px;
  max-height: 88px;
  object-fit: contain;
}

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  display: flex;
  flex-direction: column;
  text-align: right;
  line-height: 1.15;
}

.header-phone span {
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.header-phone strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.instagram-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(8, 40, 74, .14);
  color: var(--blue);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, color .25s ease;
}

.instagram-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.instagram-icon:hover {
  transform: translateY(-2px);
  color: var(--gold);
  border-color: rgba(212, 160, 86, .38);
  box-shadow: 0 16px 38px rgba(6, 21, 37, .10);
}

.site-header-v7 .lang {
  display: inline-flex;
  gap: 8px;
}

.site-header-v7 .lang a {
  min-width: 42px;
  text-align: center;
  background: #fff;
  border-color: rgba(8, 40, 74, .12);
}

.site-header-v7 .lang a:hover {
  background: #f7f3ee;
  border-color: rgba(212, 160, 86, .38);
  color: var(--blue);
}

.main-nav {
  background: #fff;
  border-top: 1px solid rgba(8, 40, 74, .08);
  border-bottom: 1px solid rgba(8, 40, 74, .08);
}

.main-nav-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: color .2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.main-nav a:hover {
  color: var(--blue);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

/* Smooth transition after dark hero */

.hero-presentation {
  height: clamp(500px, 41vw, 640px);
}

.intro-bridge {
  padding: 0 0 92px;
  background: linear-gradient(180deg, var(--dark) 0 64px, #fbfaf8 64px 100%);
}

.intro-panel {
  position: relative;
  padding: 58px;
  border-radius: 34px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 34px 90px rgba(6, 21, 37, .13);
  overflow: hidden;
}

.intro-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 15%, rgba(212, 160, 86, .12), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(8, 40, 74, .09), transparent 30%);
  pointer-events: none;
}

.intro-panel > * {
  position: relative;
  z-index: 1;
}

.intro-bridge .split h2 {
  color: var(--ink);
}

.intro-bridge .split p {
  max-width: 760px;
  color: var(--muted);
}

/* Advantages: unified rounded premium style */

.premium-advantages {
  background: #fff;
}

.advantages-row {
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 22px 70px rgba(6, 21, 37, .06);
}

.advantage-item {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, #fff, #fbfaf8);
}

.advantage-item:nth-child(2n) {
  border-right: 0;
}

.advantage-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 82px rgba(6, 21, 37, .12);
}

.advantage-icon {
  border-radius: 24px;
}

/* Extra consistent hover depth */

.card:hover,
.project-card:hover,
.team-card:hover,
.steps div:hover,
.cta-box:hover {
  will-change: transform;
}

@media (max-width: 980px) {
  .site-header-v7 .main-header-inner {
    min-height: 92px;
  }

  .site-header-v7 .brand-logo-only img {
    width: 178px;
    max-height: 72px;
  }

  .header-phone span {
    display: none;
  }

  .header-phone strong {
    font-size: 14px;
  }

  .main-nav-inner {
    justify-content: flex-start;
  }

  .main-nav ul {
    gap: 28px;
    padding: 0 24px;
  }

  .hero-presentation,
  .hero-presentation-grid {
    height: 560px;
  }

  .intro-panel {
    padding: 42px;
  }
}

@media (max-width: 620px) {
  .site-header-v7 .main-header-inner {
    min-height: 78px;
    gap: 10px;
  }

  .site-header-v7 .brand-logo-only img {
    width: 132px;
    max-height: 54px;
  }

  .site-header-v7 .lang {
    gap: 5px;
  }

  .site-header-v7 .lang a {
    min-width: auto;
    padding: 7px 8px;
    font-size: 11px;
  }

  .header-phone strong {
    display: none;
  }

  .instagram-icon {
    width: 36px;
    height: 36px;
  }

  .main-nav a {
    min-height: 50px;
    font-size: 13px;
  }

  .main-nav ul {
    gap: 22px;
    padding: 0 14px;
  }

  .intro-bridge {
    padding-bottom: 62px;
    background: linear-gradient(180deg, var(--dark) 0 42px, #fbfaf8 42px 100%);
  }

  .intro-panel {
    padding: 30px;
    border-radius: 26px;
  }

  .advantages-row {
    border-radius: 26px;
  }

  .advantage-item,
  .advantage-item:nth-child(2n),
  .advantage-item:nth-last-child(-n + 2) {
    padding: 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(145deg, #fff, #fbfaf8);
  }

  .advantage-item:last-child {
    border-bottom: 0;
  }

  .advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 64px rgba(6, 21, 37, .10);
  }
}

/* ==================================================
   V8 REFINEMENTS: STICKY MENU ONLY, BIG LOGO, ABOUT PREVIEW, REAL TEAM
================================================== */

html,
body,
button,
input,
textarea,
select {
  font-family: 'Inter', sans-serif;
}

.site-header-v8 {
  position: relative;
  top: auto;
  z-index: 40;
  background: #fff;
  border-bottom: 0;
  box-shadow: none;
}

.site-header-v8 .main-header-inner {
  min-height: 126px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.site-header-v8 .brand-logo-only {
  justify-self: center;
}

.site-header-v8 .brand-logo-only img {
  width: 272px;
  max-height: 108px;
  object-fit: contain;
}

.site-header-v8 .header-left {
  justify-self: start;
}

.site-header-v8 .header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header-v8 .header-phone {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  white-space: nowrap;
}

.site-header-v8 .instagram-icon {
  width: 38px;
  height: 38px;
}

.mobile-nav-head {
  display: none;
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(8, 40, 74, .08);
  border-bottom: 1px solid rgba(8, 40, 74, .10);
  box-shadow: 0 18px 44px rgba(6, 21, 37, .07);
}

.admin-bar .main-nav {
  top: 32px;
}

.main-nav-inner {
  min-height: 58px;
  justify-content: center;
}

.main-nav ul {
  gap: 42px;
}

.main-nav a {
  min-height: 58px;
  font-size: 14px;
  color: var(--ink);
}

.hero-presentation {
  height: clamp(620px, 49vw, 780px);
}

.hero-presentation-grid {
  height: 100%;
}

.hero-copy {
  max-width: 640px;
}

.hero-copy h1 {
  max-width: 640px;
  font-size: clamp(46px, 5vw, 74px);
}

.hero-copy p {
  font-size: 17px;
  max-width: 540px;
}

.about-preview {
  padding: 0 0 96px;
  background: linear-gradient(180deg, var(--dark) 0 76px, #fbfaf8 76px 100%);
}

.about-preview-panel {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 56px;
  align-items: center;
  padding: 34px;
  border-radius: 36px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .74);
  box-shadow: 0 36px 96px rgba(6, 21, 37, .14);
  overflow: hidden;
}

.about-preview-media {
  position: relative;
  min-height: 420px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--dark);
}

.about-preview-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,21,37,0) 35%, rgba(6,21,37,.52) 100%),
    radial-gradient(circle at 24% 15%, rgba(212,160,86,.16), transparent 38%);
  pointer-events: none;
}

.about-preview-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transform: scale(1.01);
}

.about-preview-content {
  max-width: 760px;
  padding: 24px 20px 24px 0;
}

.about-preview-content h2 {
  margin: 18px 0 20px;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: .98;
  letter-spacing: -.06em;
  color: var(--ink);
  text-wrap: balance;
}

.about-preview-content p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.about-preview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 32px 0;
}

.about-preview-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fbfaf8;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.about-preview-stats div:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 160, 86, .38);
  box-shadow: 0 18px 48px rgba(6, 21, 37, .08);
}

.about-preview-stats b {
  display: block;
  color: var(--blue);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -.055em;
}

.about-preview-stats span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team-card {
  padding: 14px;
}

.avatar {
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 22px;
}

.avatar img {
  object-fit: cover;
  object-position: center top;
}

.team-card h3 {
  font-size: 20px;
  line-height: 1.1;
}

.team-card p {
  line-height: 1.45;
}

/* Remove old intro bridge if cached in template fragments */
.intro-bridge {
  display: none;
}

@media (max-width: 1180px) {
  .site-header-v8 .main-header-inner {
    min-height: 112px;
  }

  .site-header-v8 .brand-logo-only img {
    width: 230px;
    max-height: 94px;
  }

  .main-nav ul {
    gap: 30px;
  }
}

@media (max-width: 980px) {
  .site-header-v8 .main-header-inner {
    min-height: 96px;
  }

  .site-header-v8 .brand-logo-only img {
    width: 198px;
    max-height: 82px;
  }

  .hero-presentation,
  .hero-presentation-grid {
    height: 640px;
  }

  .about-preview-panel {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 28px;
  }

  .about-preview-media,
  .about-preview-media img {
    min-height: 360px;
  }

  .about-preview-content {
    padding: 0;
  }
}

@media (max-width: 620px) {
  .site-header-v8 .main-header-inner {
    min-height: 86px;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .site-header-v8 .brand-logo-only img {
    width: 150px;
    max-height: 64px;
  }

  .site-header-v8 .instagram-icon {
    display: none;
  }

  .site-header-v8 .header-phone {
    font-size: 12px;
    max-width: 112px;
    white-space: normal;
    text-align: right;
    line-height: 1.15;
  }

  .mobile-nav-head {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--blue);
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 1px solid rgba(8, 40, 74, .12);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: currentColor;
    transition: transform .22s ease;
  }

  .menu-toggle.is-active span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-toggle.is-active span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .main-nav-inner {
    min-height: 52px;
    display: block;
  }

  .main-nav ul {
    display: none;
    padding: 8px 0 18px;
    gap: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.is-open ul {
    display: flex;
  }

  .main-nav a {
    min-height: 46px;
    justify-content: center;
    font-size: 14px;
    border-radius: 16px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover {
    background: #f7f3ee;
  }

  .hero-presentation,
  .hero-presentation-grid {
    height: 610px;
  }

  .about-preview {
    padding-bottom: 62px;
    background: linear-gradient(180deg, var(--dark) 0 46px, #fbfaf8 46px 100%);
  }

  .about-preview-panel {
    padding: 20px;
    border-radius: 28px;
  }

  .about-preview-media,
  .about-preview-media img {
    min-height: 300px;
  }

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

/* ==================================================
   V9: CLEAN ABOUT, GROUPED SERVICES, INNER PAGE CONTENT
================================================== */

html,
body,
button,
input,
textarea,
select,
a,
p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
div {
  font-family: 'Inter', sans-serif;
}

/* Hero: a little taller, but still controlled */
.hero-presentation {
  height: clamp(660px, 52vw, 820px);
}

/* Home about section: no transparency, less text, stronger layout */
.about-home-v9 {
  padding: 0 0 104px;
  background: linear-gradient(180deg, var(--dark) 0 76px, #fbfaf8 76px 100%);
}

.about-home-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 46px;
  align-items: stretch;
  padding: 54px;
  border-radius: 38px;
  background: #fff;
  border: 1px solid rgba(8, 40, 74, .08);
  box-shadow: 0 34px 90px rgba(6, 21, 37, .12);
  overflow: hidden;
}

.about-home-card::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 40, 74, .11), transparent 68%);
  pointer-events: none;
}

.about-home-copy,
.about-home-facts {
  position: relative;
  z-index: 1;
}

.about-home-copy h2 {
  max-width: 760px;
  margin: 18px 0 18px;
  font-size: clamp(34px, 4.3vw, 66px);
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.about-home-copy p {
  max-width: 620px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.about-home-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.about-home-facts div {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 28px;
  background: #f7f3ee;
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}

.about-home-facts div:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 160, 86, .42);
  background: #fff;
  box-shadow: 0 24px 68px rgba(6, 21, 37, .09);
}

.about-home-facts b {
  color: var(--blue);
  font-size: clamp(16px, 3vw, 28px);
  line-height: .96;
  letter-spacing: -.055em;
}

.about-home-facts span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

/* Services grouped by 3 directions */
.service-groups-section {
  background: #fbfaf8;
}

.service-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-group-card {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(145deg, #fff, #fbfaf8);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.service-group-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(212, 160, 86, .10);
  transform: scale(.72);
  opacity: 0;
  transition: transform .32s ease, opacity .32s ease;
  pointer-events: none;
}

.service-group-card:hover {
  transform: translateY(-7px);
  border-color: rgba(8, 40, 74, .16);
  box-shadow: 0 28px 86px rgba(6, 21, 37, .12);
}

.service-group-card:hover::after {
  transform: scale(1.18);
  opacity: 1;
}

.service-group-top,
.service-links {
  position: relative;
  z-index: 1;
}

.service-group-top span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.service-group-top h3 {
  margin: 0 0 16px;
  font-size: clamp(27px, 2.6vw, 38px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.service-group-top p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.service-links {
  display: grid;
  gap: 8px;
  margin-top: 34px;
}

.service-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(8, 40, 74, .10);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  transition: color .22s ease, padding-left .22s ease, border-color .22s ease;
}

.service-links a::after {
  content: "→";
  color: var(--gold);
  transform: translateX(-4px);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}

.service-links a:hover {
  padding-left: 8px;
  color: var(--blue);
  border-color: rgba(212, 160, 86, .38);
}

.service-links a:hover::after {
  transform: translateX(0);
  opacity: 1;
}

/* Inner page hero with main image */
.page-hero-image {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 72px 0;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.page-hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('../img/hero-presentation.webp') center bottom / cover no-repeat;
  transform: scale(1.03);
}

.page-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,21,37,.96) 0%, rgba(6,21,37,.82) 42%, rgba(6,21,37,.28) 100%),
    radial-gradient(circle at 75% 35%, rgba(212,160,86,.16), transparent 32%);
}

.page-hero-image h1 {
  max-width: 980px;
  margin: 18px 0 16px;
  color: #fff;
  font-size: clamp(38px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.page-hero-image p {
  max-width: 700px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 17px;
  line-height: 1.7;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumbs a {
  color: rgba(255,255,255,.78);
}

.breadcrumbs a:hover {
  color: #fff;
}

.breadcrumbs i {
  color: rgba(255,255,255,.36);
  font-style: normal;
}

.breadcrumbs span {
  color: #fff;
}

/* Filled inner pages */
.about-story-grid,
.service-single-grid,
.project-single-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.about-story h2 {
  margin: 18px 0 0;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: .98;
  letter-spacing: -.055em;
}

.about-direction-grid,
.detail-card-grid,
.project-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about-direction-grid div,
.detail-card,
.project-facts div {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.about-direction-grid div:hover,
.detail-card:hover,
.project-facts div:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 160, 86, .38);
  box-shadow: 0 24px 68px rgba(6, 21, 37, .09);
}

.about-direction-grid h3,
.detail-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.about-direction-grid p,
.detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.detail-card b,
.project-facts b {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-side-panel {
  position: sticky;
  top: 94px;
}

.clean-list {
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
}

.clean-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.project-single-grid {
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
}

.project-single-media {
  border-radius: 32px;
  overflow: hidden;
  background: var(--dark);
  box-shadow: 0 30px 90px rgba(6,21,37,.12);
}

.project-single-media img {
  width: 100%;
  height: min(620px, 48vw);
  min-height: 420px;
  object-fit: cover;
  transition: transform .55s ease;
}

.project-single-media:hover img {
  transform: scale(1.04);
}

.project-facts {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.project-facts span {
  color: var(--ink);
  font-weight: 800;
}

.archive-service-extra {
  padding-top: 0;
  background: #fff;
}

/* Remove pricing traces from front/UI */
.price-list,
.price-row {
  display: none;
}

@media (max-width: 980px) {
  .hero-presentation {
    height: 650px;
  }

  .about-home-card,
  .service-groups,
  .about-story-grid,
  .service-single-grid,
  .project-single-grid {
    grid-template-columns: 1fr;
  }

  .service-side-panel {
    position: static;
  }

  .service-groups {
    gap: 16px;
  }

  .service-group-card {
    min-height: auto;
  }

  .about-direction-grid,
  .detail-card-grid,
  .project-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-hero-image {
    min-height: 330px;
    padding: 62px 0;
  }
}

@media (max-width: 620px) {
  .hero-presentation {
    height: 630px;
  }

  .about-home-v9 {
    padding-bottom: 66px;
    background: linear-gradient(180deg, var(--dark) 0 46px, #fbfaf8 46px 100%);
  }

  .about-home-card {
    padding: 28px;
    border-radius: 28px;
  }

  .about-home-facts,
  .about-direction-grid,
  .detail-card-grid,
  .project-facts {
    grid-template-columns: 1fr;
  }

  .service-group-card {
    padding: 26px;
    border-radius: 26px;
  }

  .page-hero-image {
    min-height: 300px;
    padding: 52px 0;
  }

  .page-hero-image h1 {
    font-size: 36px;
  }

  .breadcrumbs {
    flex-wrap: wrap;
  }

  .project-single-media img {
    height: 340px;
    min-height: 340px;
  }
}

.home-about {
  background: #f3f5f7;
}

.home-about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.home-about-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 54px;
}

.home-about-content h2 {
  margin: 16px 0 20px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.home-about-content p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.home-about-photo {
  border-radius: 34px;
  overflow: hidden;
  min-height: 520px;
  background: #e8edf2;
}

.home-about-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

@media (max-width: 980px) {
  .home-about-grid {
    grid-template-columns: 1fr;
  }

  .home-about-content {
    padding: 34px;
  }

  .home-about-photo,
  .home-about-photo img {
    min-height: 360px;
  }
}

.service-group-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.service-group-icon {
    flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.28s ease;
}

.service-group-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.service-group-card:hover .service-group-icon {
  transform: translateY(-5px) scale(1.04);
  background: transparent;
  box-shadow: none;
}

.clients-light {
  background: #fff;
  padding: 76px 0;
  overflow: hidden;
  color: var(--ink);
}

.clients-marquee {
  margin-top: 30px;
  overflow: hidden;
  width: 100%;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: clientsMarquee 32s linear infinite;
}

.client-logo-item {
  width: 210px;
  height: 120px;
  /*flex: 0 0 210px;
   border-radius: 24px;
  background: #f6f3ef;
  border: 1px solid var(--line); */
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 18px 28px; */
}

.client-logo-item img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
 /* filter: grayscale(1); */
  opacity: .86;
  transition: .25s ease;
}

.client-logo-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes clientsMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.whatsapp {
  background: #128C7E;
  color: #fff;
}

.whatsapp:hover {
  background: #1fbd5a;
  color: #fff;
}

.floating-whatsapp{
    position:fixed;
    right:25px;
    bottom:25px;
    width:68px;
    height:68px;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
    transition:.3s;
    animation: whatsapp-pulse 2s infinite;
}

.floating-whatsapp svg{
    width:34px;
    height:34px;
}

.floating-whatsapp:hover{
    transform:translateY(-4px);
}

@keyframes whatsapp-pulse{
    0%{
        box-shadow:0 0 0 0 rgba(37,211,102,.6);
    }
    70%{
        box-shadow:0 0 0 18px rgba(37,211,102,0);
    }
    100%{
        box-shadow:0 0 0 0 rgba(37,211,102,0);
    }
}

@media(max-width:768px){
    .floating-whatsapp{
        width:58px;
        height:58px;
        right:15px;
        bottom:15px;
    }
}

.about-gallery-section {
  background: #f3f5f7;
}

.about-gallery-slider {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}

.about-gallery-slider::-webkit-scrollbar {
  height: 8px;
}

.about-gallery-slider::-webkit-scrollbar-thumb {
  background: rgba(11, 53, 84, .25);
  border-radius: 999px;
}

.about-gallery-slide {
  flex: 0 0 420px;
  height: 300px;
  border-radius: 30px;
  overflow: hidden;
  background: #ddd;
  scroll-snap-align: start;
}

.about-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .35s ease;
}

.about-gallery-slide:hover img {
  transform: scale(1.06);
}

@media (max-width: 620px) {
  .about-gallery-slide {
    flex-basis: 82vw;
    height: 240px;
  }
}

.gallery-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4, 18, 34, .88);
  backdrop-filter: blur(12px);
  padding: 34px;
}

.gallery-lightbox.active {
  display: flex !important;
}

.gallery-lightbox-inner {
  width: min(1100px, 86vw);
  height: min(760px, 82vh);
  border-radius: 28px;
  overflow: hidden;
  background: #061b31;
  box-shadow: 0 30px 100px rgba(0,0,0,.45);
}

.gallery-lightbox-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-lightbox-close,
.gallery-lightbox-arrow {
  position: absolute;
  z-index: 1000000;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: #fff;
  cursor: pointer;
}

.gallery-lightbox-close {
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 34px;
}

.gallery-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  line-height: 1;

  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);

  background: rgba(255,255,255,.10);
  color: #fff;

  font-size: 48px;
  font-weight: 300;

  cursor: pointer;
}

.gallery-lightbox-prev {
  left: 24px;
}

.gallery-lightbox-next {
  right: 24px;
}

/* ==================================================
   FINAL RESPONSIVE AND I18N POLISH
================================================== */

html,
body {
  overflow-x: hidden;
}

body {
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
.home-hero-content h1,
.split h2,
.section-head h2,
.process h2,
.cta h2 {
  letter-spacing: 0 !important;
  overflow-wrap: anywhere;
}

.btn,
.home-hero-menu a,
.main-nav a,
.lang a,
.home-lang a {
  white-space: normal;
  text-align: center;
}

.lang a.is-active,
.home-lang a.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #071527;
}

/*.home-hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 18, 34, .92) 0%, rgba(4, 18, 34, .70) 44%, rgba(4, 18, 34, .24) 100%),
    linear-gradient(180deg, rgba(4, 18, 34, .16) 0%, rgba(4, 18, 34, .70) 100%);
} */

.home-hero-header,
.home-hero-content {
  position: relative;
  z-index: 2;
}

.home-hero-content h1 {
  font-size: 64px;
  line-height: 1;
}

.section-head {
  align-items: end;
}

.section-head h2,
.process h2,
.cta h2 {
  font-size: 46px;
  line-height: 1.08;
}

.content,
.content-body {
  line-height: 1.7;
}

.content img,
.content-body img {
  height: auto;
  border-radius: 8px;
}

.project-card,
.team-card,
.service-group-card,
.detail-card,
.doc-card,
.contact-card,
.side-box,
.about-direction-grid > div,
.stat-grid > div {
  min-width: 0;
}

.project-card h3,
.team-card h3,
.service-group-card h3,
.detail-card h3 {
  overflow-wrap: anywhere;
}

.client-name-item {
  flex: 0 0 auto;
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 18px 24px;
  border: 1px solid rgba(14, 42, 77, .12);
  background: #fff;
  color: var(--blue);
  font-weight: 800;
  border-radius: 8px;
}

.form input,
.form textarea {
  width: 100%;
  min-width: 0;
}

@media (max-width: 1180px) {
  .home-hero-nav {
    grid-template-columns: 180px 1fr 230px;
    gap: 16px;
  }

  .home-hero-menu {
    gap: 6px;
  }

  .home-hero-menu a {
    padding: 10px 12px;
    font-size: 13px;
  }

  .home-hero-content h1 {
    font-size: 56px;
  }

  .service-groups,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .advantages-row,
  .detail-card-grid,
  .about-direction-grid,
  .doc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 36px, 920px);
  }

  .main-header-inner {
    min-height: 92px;
    gap: 18px;
  }

  .brand-logo-only img {
    width: 160px;
  }

  .header-phone {
    display: none;
  }

  .home-hero-full {
    min-height: auto;
  }

  .home-hero-nav {
    grid-template-columns: 150px 1fr;
  }

  .home-hero-menu {
    display: none;
  }

  .home-hero-content {
    min-height: 640px;
    padding: 84px 0 100px;
  }

  .home-hero-content h1 {
    max-width: 680px;
    font-size: 46px;
  }

  .home-hero-content p {
    max-width: 620px;
  }

  .home-about-grid,
  .about-story-grid,
  .service-single-grid,
  .project-single-grid,
  .contact-grid,
  .single-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .project-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
  }

  .project-card,
  .project-card.large {
    min-height: 320px;
    grid-row: auto !important;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .section-head h2,
  .process h2,
  .cta h2 {
    font-size: 36px;
  }

  .cta-box {
    gap: 22px;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 28px);
  }

  .section,
  .intro,
  .process,
  .cta {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .home-hero-full {
    background-position: center center;
  }

  .home-hero-full::before {
    background:
      linear-gradient(90deg, rgba(4, 18, 34, .96) 0%, rgba(4, 18, 34, .88) 58%, rgba(4, 18, 34, .54) 100%),
      linear-gradient(180deg, rgba(4, 18, 34, .12) 0%, rgba(4, 18, 34, .92) 100%);
  }

  .home-hero-header {
    padding-top: 14px;
  }

  .home-hero-nav {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-logo img {
    width: 132px;
  }

  .home-hero-right {
    justify-content: space-between;
  }

  .home-phone {
    display: inline-flex;
    font-size: 12px;
  }

  .home-hero-content {
    min-height: 560px;
    padding: 64px 0 78px;
  }

  .home-hero-content h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .home-hero-content p {
    font-size: 16px;
    line-height: 1.55;
  }

  .home-hero-content .actions,
  .cta-box {
    align-items: stretch;
  }

  .home-hero-content .actions .btn,
  .cta-box .btn,
  .form .btn {
    width: 100%;
  }

  .main-header-inner {
    min-height: auto;
    padding: 14px 0;
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .header-left {
    order: 2;
    grid-column: 1 / -1;
  }

  .brand-logo-only {
    order: 0;
  }

  .header-right {
    order: 1;
  }

  .brand-logo-only img {
    width: 138px;
  }

  .lang {
    justify-content: center;
  }

  .main-nav-inner {
    padding: 0;
  }

  .mobile-nav-head {
    min-height: 54px;
  }

  .main-nav ul {
    gap: 0;
  }

  .main-nav a {
    width: 100%;
  }

  .service-groups,
  .team-grid,
  .advantages-row,
  .detail-card-grid,
  .about-direction-grid,
  .doc-grid,
  .stat-grid,
  .steps {
    grid-template-columns: 1fr !important;
  }

  .section-head {
    align-items: start;
    gap: 18px;
  }

  .section-head h2,
  .process h2,
  .cta h2 {
    font-size: 28px;
    line-height: 1.14;
  }

  .project-card,
  .project-card.large {
    min-height: 280px;
  }

  .project-card > div {
    padding: 20px;
  }

  .team-card .avatar,
  .avatar {
    aspect-ratio: 4 / 3;
  }

  .footer {
    text-align: left;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
  }

  .gallery-lightbox {
    padding: 18px;
  }

  .gallery-lightbox-inner {
    width: 100%;
    height: 72vh;
    border-radius: 8px;
  }

  .gallery-lightbox-arrow {
    width: 46px;
    height: 46px;
    font-size: 34px;
  }

  .gallery-lightbox-prev {
    left: 12px;
  }

  .gallery-lightbox-next {
    right: 12px;
  }
}

@media (max-width: 390px) {
  .home-hero-content h1 {
    font-size: 30px;
  }

  .home-lang a,
  .lang a {
    width: 31px;
    height: 31px;
    padding: 0;
  }
}

@media (max-width: 620px) {
  .site-header-v8 .header-phone {
    display: none !important;
  }

  .site-header-v8 .instagram-icon {
    display: inline-flex !important;
  }

  .mobile-nav-head {
    display: flex !important;
  }

  .menu-toggle {
    display: inline-flex !important;
    flex-shrink: 0;
    opacity: 1 !important;
    visibility: visible !important;
    margin-left: auto;
  }

  .mobile-nav-head {
    justify-content: flex-start !important;
    width: 100% !important;
    cursor: pointer;
  }

  .mobile-nav-head::after {
    content: "☰";
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(8, 40, 74, .2);
    border-radius: 999px;
    background: #fff;
    color: var(--blue);
    font-size: 22px;
    line-height: 1;
    margin-left: 12px;
  }

  .main-nav.is-open .mobile-nav-head::after {
    content: "×";
    font-size: 28px;
  }

  .main-nav .mobile-nav-head .menu-toggle {
    display: none !important;
    width: 42px !important;
    height: 42px !important;
    border: 1px solid rgba(8, 40, 74, .2) !important;
    background: #fff !important;
    color: var(--blue) !important;
  }

  .home-hero-nav {
    align-items: start;
  }

  .home-hero-right {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start !important;
    flex-wrap: wrap;
    gap: 10px 12px;
  }

  .home-phone {
    white-space: normal;
    max-width: calc(100% - 132px);
  }

  .home-lang {
    flex: 0 0 auto;
    margin-left: 0;
  }

  .home-hero-content h1 {
    max-width: 330px;
    font-size: 27px !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .home-hero-content p {
    max-width: 330px;
    font-size: 15px !important;
    overflow-wrap: anywhere;
  }

  .page-hero,
  .page-hero-image {
    min-height: 340px;
    padding: 58px 0;
  }

  .page-hero h1,
  .page-hero-image h1 {
    max-width: 100%;
    font-size: 28px !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .page-hero p,
  .page-hero-image p {
    max-width: 330px;
    font-size: 15px !important;
    line-height: 1.55 !important;
    overflow-wrap: anywhere;
  }

  .service-group-card h3,
  .project-card h3,
  .detail-card h3 {
    max-width: 100%;
    font-size: 24px !important;
    line-height: 1.16 !important;
    overflow-wrap: anywhere;
  }
}
