:root {
  --primary: #15416f;
  --primary-dark: #0f3158;
  --navy: #13233a;
  --navy-900: #0b1724;
  --gallery: #14223a;
  --text: #1a2a3e;
  --muted: #5b6676;
  --light: #f4f6fa;
  --card: #eef1f6;
  --line: #e3e7ee;
  --accent: #5f9fd6;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(19, 35, 58, 0.08);
  --container: 1340px;
  --container-wide: 1440px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: var(--container-wide); }

/* ---------- Common ---------- */
.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 14px;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.78); }

.title {
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.i { width: 16px; height: 16px; flex-shrink: 0; transition: transform .25s ease; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 30px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn:hover .i { transform: translateX(4px); }
.btn--sm { height: 48px; padding: 0 24px; font-size: 15px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); box-shadow: 0 8px 20px rgba(21, 65, 111, .3); }
.btn--ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .75);
  background: rgba(10, 22, 36, .35);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--light); box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.link:hover, .service:hover .link { color: var(--primary); }
.link:hover .i, .service:hover .link .i { transform: translateX(4px); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: center; color: var(--navy); line-height: 1; }
.logo__mark { width: 128px; height: 44px; }
.logo__text { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; margin-top: 5px; }
.logo--light { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #f3f7fc;
  transition: box-shadow .3s ease, background .3s ease;
}
.header.is-scrolled { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(19, 35, 58, .08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 90px; }

.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: 42px; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 0;
  transition: color .2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--primary); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.chev { width: 16px; height: 16px; transition: transform .25s ease; }

.nav__item--dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 260px;
  padding: 10px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(19, 35, 58, .14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--text); }
.dropdown a:hover { background: var(--light); color: var(--primary); }
.nav__item--dropdown:hover .dropdown,
.nav__item--dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item--dropdown:hover .chev,
.nav__item--dropdown.is-open .chev { transform: rotate(180deg); }

.nav__cta { display: none; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1d3a5a;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
  animation: heroZoom 14s ease-out forwards;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(22, 46, 74, .92) 0%, rgba(26, 52, 82, .75) 30%, rgba(26, 52, 82, .2) 50%, rgba(26, 52, 82, 0) 62%);
}
.hero__content { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 60px; }
.hero__content > * { animation: fadeUp .9s ease both; }
.hero__content > *:nth-child(2) { animation-delay: .1s; }
.hero__content > *:nth-child(3) { animation-delay: .2s; }
.hero__content > *:nth-child(4) { animation-delay: .3s; }
.hero__title {
  font-size: clamp(40px, 5.2vw, 74px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 22px;
}
.hero__text { max-width: 500px; font-size: 18.5px; line-height: 1.7; color: rgba(255, 255, 255, .88); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px; }

@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Features ---------- */
.features { background: #f3f6fb; border-bottom: 1px solid var(--line); }
.features__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-top: 30px;
  padding-bottom: 30px;
}
.feature { display: flex; align-items: center; justify-content: center; gap: 18px; }
.feature__icon {
  width: 42px; height: 42px;
  fill: none; stroke: var(--navy); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round;
}
.feature strong { display: block; font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.feature span { display: block; font-size: 15.5px; color: var(--muted); }

/* ---------- About ---------- */
.about { padding: 84px 0 80px; }
.about__grid { display: grid; grid-template-columns: 1fr 1.03fr; gap: 60px; align-items: center; }
.about__text .title { margin-bottom: 26px; }
.about__text p { font-size: 17.5px; line-height: 1.75; color: #3b4757; margin-bottom: 20px; }
.about__text p strong { color: var(--navy); }
.about__text .btn { margin-top: 18px; }
.about__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1.28; }
.about__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.about__media:hover img { transform: scale(1.04); }

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 50px; }
.vm__card { background: var(--card); border-radius: var(--radius); padding: 36px 40px 40px; transition: transform .3s ease, box-shadow .3s ease; }
.vm__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vm__icon { width: 60px; height: 60px; color: var(--primary); margin-bottom: 20px; }
.vm__card h3 { font-size: 25px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.vm__card p { font-size: 16.5px; line-height: 1.75; color: #4a5566; }

/* ---------- Services ---------- */
.services { background: #f6f8fb; padding: 80px 0 90px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}
.section-head p { flex: 1 1 360px; min-width: 0; max-width: 720px; font-size: 16.5px; line-height: 1.7; color: var(--muted); padding-bottom: 6px; }

.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(19, 35, 58, .06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(19, 35, 58, .12); }
.service__media { position: relative; aspect-ratio: 1.02; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service:hover .service__media img { transform: scale(1.05); }
.service__icon {
  position: absolute;
  left: 22px;
  bottom: 0;
  z-index: 2;
  width: 76px;
  height: 72px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 14px 14px 0 0;
  color: var(--primary);
}
.service__icon svg { width: 34px; height: 34px; }
.service__body { display: flex; flex-direction: column; flex: 1; padding: 22px 28px 30px; }
.service__body h3 { font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--navy); margin-bottom: 16px; }
.service__body ul { margin-bottom: 28px; flex: 1; }
.service__body li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: #4a5566;
  line-height: 1.6;
  margin-bottom: 7px;
}
.service__body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .65em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #8b96a5;
}

/* ---------- Gallery ---------- */
.gallery { background: var(--gallery); color: #fff; padding: 60px 0 54px; }
.section-head--dark { margin-bottom: 34px; align-items: center; }
.section-head--dark .title { color: #fff; font-size: clamp(28px, 3.1vw, 44px); }
.section-head--dark .eyebrow { margin-bottom: 8px; }
.gallery__side { display: flex; align-items: center; gap: 60px; }
.gallery__side p { color: rgba(255, 255, 255, .78); flex: 1 1 280px; min-width: 0; max-width: 640px; font-size: 16px; }
.gallery__nav { display: flex; gap: 14px; }
.circle-btn {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .35);
  color: #fff;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.circle-btn svg { width: 18px; height: 18px; }
.circle-btn:hover { background: #fff; color: var(--navy); border-color: #fff; }
.circle-btn:disabled { opacity: .35; pointer-events: none; }

.slider { overflow: hidden; }
.slider__track {
  --gap: 12px;
  --per: 4;
  display: flex;
  gap: var(--gap);
  transition: transform .6s cubic-bezier(.22, .8, .24, 1);
}
.slide {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  aspect-ratio: 1.13;
  border-radius: 10px;
  overflow: hidden;
}
.slide__open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.slide:hover img { transform: scale(1.06); }

dialog.lightbox[open] {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
}
.lightbox {
  margin: 0;
  padding: 24px;
  border: 0;
  background: transparent;
  color: #fff;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: center;
  column-gap: 16px;
  row-gap: 14px;
}
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: rgba(11, 23, 36, .9); }
.lightbox__figure { grid-column: 2; grid-row: 1; margin: 0; max-width: 100%; }
.lightbox__figure img {
  display: block;
  max-width: min(1080px, 100%);
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: contain;
}
.lightbox__figure figcaption { margin-top: 12px; text-align: center; font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .86); }
.lightbox__nav, .lightbox__close {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .4);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.lightbox__nav svg, .lightbox__close svg { width: 18px; height: 18px; }
.lightbox__nav:hover, .lightbox__close:hover { background: #fff; color: var(--navy); }
.lightbox__nav:focus-visible, .lightbox__close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.lightbox__prev { grid-column: 1; grid-row: 1; }
.lightbox__next { grid-column: 3; grid-row: 1; }
.lightbox__close { position: absolute; top: 18px; right: 18px; }
@media (max-width: 640px) {
  .lightbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 16px 28px;
  }
  .lightbox__figure { width: 100%; }
  .lightbox__figure img { width: 100%; max-width: 100%; max-height: calc(100vh - 180px); }
  .lightbox__prev, .lightbox__next { position: absolute; top: 50%; margin-top: -23px; }
  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
}

/* ---------- Stats ---------- */
.stats { padding: 36px 0; background: #fff; }
.stats__card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #f7f9fc;
  border-radius: var(--radius);
  padding: 34px 0;
  margin: 0 20px;
}
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: var(--line);
}
.stat svg { width: 44px; height: 44px; fill: none; stroke: var(--primary); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.stat strong { font-size: 36px; font-weight: 700; color: var(--primary); line-height: 1.2; letter-spacing: -0.01em; }
.stat span { font-size: 15.5px; color: var(--muted); margin-top: 4px; }

/* ---------- CTA ---------- */
.cta { position: relative; min-height: 355px; display: flex; align-items: center; overflow: hidden; background: #1b3654; }
.cta__bg { position: absolute; inset: 0; background-size: cover; background-position: right center; }
.cta::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(20, 44, 72, .95) 0%, rgba(24, 50, 80, .8) 30%, rgba(24, 50, 80, .15) 60%, rgba(24, 50, 80, 0) 75%);
}
.cta__content { position: relative; z-index: 2; color: #fff; padding-top: 50px; padding-bottom: 50px; }
.cta h2 { font-size: clamp(30px, 3.3vw, 48px); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 16px; }
.cta p { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .88); margin-bottom: 32px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .78); padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.45fr .7fr 1fr .9fr; gap: 40px; padding-bottom: 54px; }
.footer__brand .logo { align-items: flex-start; margin-bottom: 18px; }
.footer__brand .logo__text { margin-left: 2px; }
.footer__brand p { font-size: 15.5px; line-height: 1.75; margin-bottom: 26px; }
.social { display: flex; gap: 22px; }
.social a { width: 24px; height: 24px; color: #fff; opacity: .9; transition: opacity .2s ease, transform .2s ease; }
.social a:hover { opacity: 1; transform: translateY(-2px); }
.social svg { width: 100%; height: 100%; }
.footer__col h4 { color: #fff; font-size: 17px; font-weight: 600; margin-bottom: 22px; }
.footer__col li { font-size: 15.5px; margin-bottom: 12px; }
.footer__col a { transition: color .2s ease; }
.footer__col a:hover { color: #fff; }
.contact li { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact svg { width: 18px; height: 18px; color: #fff; flex-shrink: 0; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 26px 0 30px;
  font-size: 15px;
  color: rgba(255, 255, 255, .6);
}
.footer__bottom a:hover { color: #fff; }
.footer__bottom span { margin: 0 8px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav__list { gap: 28px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .slider__track { --per: 3; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
  .header__inner { height: 76px; }
  .logo__mark { width: 96px; height: 34px; }
  .logo__text { font-size: 10px; }
  .header__cta { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    height: calc(100vh - 76px);
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px;
    background: #fff;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 16px; }
  .nav__link::after { display: none; }
  .dropdown {
    position: static; transform: none; box-shadow: none; min-width: 0;
    padding: 0 0 10px; display: none; opacity: 1; visibility: visible;
  }
  .nav__item--dropdown:hover .dropdown { transform: none; }
  .nav__item--dropdown.is-open .dropdown { display: block; transform: none; }
  .nav__cta { display: inline-flex; justify-content: center; }

  .hero { min-height: 600px; }
  .hero::before { background: linear-gradient(90deg, rgba(22, 46, 74, .92) 0%, rgba(26, 52, 82, .7) 60%, rgba(26, 52, 82, .35) 100%); }
  .features__inner { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; padding: 0; margin-bottom: 24px; }
  .section-head p { flex: none; width: 100%; max-width: none; padding-bottom: 0; }
  .gallery__side { width: 100%; justify-content: space-between; gap: 24px; }
  .stats__card { grid-template-columns: repeat(2, 1fr); row-gap: 30px; margin: 0; }
  .stat:nth-child(3)::before { display: none; }
  .cta::before { background: linear-gradient(90deg, rgba(20, 44, 72, .95) 0%, rgba(24, 50, 80, .75) 70%, rgba(24, 50, 80, .4) 100%); }
  .cta p br { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero { min-height: 560px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .features { padding: 8px 0 20px; }
  .features__inner {
    grid-template-columns: 1fr;
    row-gap: 16px;
    padding-top: 18px;
    padding-bottom: 8px;
  }
  .feature { justify-content: flex-start; gap: 14px; }
  .feature strong,
  .feature span { display: inline; font-size: 16px; line-height: 1.3; }
  .feature span::before { content: " "; }
  .about, .services { padding: 60px 0; }
  .vm { grid-template-columns: 1fr; gap: 20px; }
  .vm__card { padding: 28px; }
  .services__grid { grid-template-columns: 1fr; }
  .slider__track { --per: 1.2; }
  .gallery__side { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

/* ---------- About page ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1d3a5a;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(16, 36, 58, .92) 0%, rgba(18, 40, 64, .72) 42%, rgba(18, 40, 64, .28) 100%);
}
.page-hero__content { position: relative; z-index: 2; padding-top: 28px; padding-bottom: 32px; color: #fff; }
.page-hero h1 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.crumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.crumbs a:hover { color: #fff; }

.btn--outline { color: var(--primary); border: 1.5px solid var(--primary); background: #fff; }
.btn--outline:hover { background: var(--primary); color: #fff; }

.about--tight { padding-top: 20px; }
.vm__card p + p { margin-top: 14px; }

.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.principle {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 32px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.principle:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.principle__mark { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: var(--accent); }
.principle h3 { font-size: 18px; color: var(--navy); margin: 10px 0 10px; }
.principle p { font-size: 14.5px; line-height: 1.7; color: #4a5566; }

.section-head--in { margin-top: 72px; padding: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--card); border-radius: var(--radius); padding: 32px 32px 36px; }
.step__no { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--primary); margin-bottom: 12px; }
.step h3 { font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.step p { font-size: 15.5px; line-height: 1.7; color: #4a5566; }

.areas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.area {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 30px 34px;
  box-shadow: 0 4px 18px rgba(19, 35, 58, .06);
}
.area h3 { font-size: 20px; color: var(--navy); margin-bottom: 16px; }
.area h4 { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--primary); margin: 16px 0 8px; }
.area h4:first-child { margin-top: 0; }
.area p { font-size: 15.5px; line-height: 1.75; color: #4a5566; }
.area li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  color: #4a5566;
  line-height: 1.55;
  margin-bottom: 7px;
}
.area li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #8b96a5;
}
.area--wide { grid-column: 1 / -1; }
.areas__pair { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.area__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 48px; }

.locate { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.locate__lead { font-size: 17px; line-height: 1.7; color: #3b4757; margin: 18px 0 28px; }
.locate__list { display: grid; gap: 20px; margin-bottom: 32px; }
.locate__list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
}
.locate__list svg { width: 22px; height: 22px; color: var(--primary); display: block; }
.locate__list div { min-width: 0; }
.locate__list strong { display: block; color: var(--navy); font-size: 14px; line-height: 1.3; }
.locate__list span, .locate__list a { display: block; font-size: 16px; color: #3b4757; line-height: 1.45; }
.locate__list a:hover { color: var(--primary); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 460px; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

@media (max-width: 1200px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .steps, .areas__grid, .locate { grid-template-columns: 1fr; }
  .area--wide { grid-column: auto; }
  .page-hero__content { padding-top: 24px; padding-bottom: 28px; }
}
@media (max-width: 640px) {
  .principles, .steps, .areas__grid { grid-template-columns: 1fr; }
  .area__cols, .areas__pair { grid-template-columns: 1fr; }
  .page-hero__content { padding-top: 20px; padding-bottom: 24px; }
  .crumbs { flex-wrap: wrap; row-gap: 4px; }
  .locate .hero__actions .btn { width: 100%; justify-content: center; }
}

.svc-intro { padding: 72px 0 10px; }
.svc-intro .section-head { padding: 0; margin-bottom: 28px; }
.svc-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-jump a {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.svc-jump a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.svc-block { padding: 72px 0 84px; scroll-margin-top: 110px; }
.svc-block--alt { background: #f6f8fb; }
.svc-block .about__grid { margin-bottom: 36px; }
.svc-block--flip .about__text { order: 2; }
.svc-block--flip .about__media { order: 1; }

.svc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
}
.svc-block--alt .svc-card { border-color: transparent; box-shadow: 0 4px 18px rgba(19, 35, 58, .06); }
.svc-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; line-height: 1.35; }
.svc-card p { font-size: 15px; line-height: 1.7; color: #4a5566; }

.svc-group { margin-top: 46px; }
.svc-group__title { font-size: 24px; color: var(--navy); margin-bottom: 16px; }

@media (max-width: 991px) {
  .svc-block--flip .about__text,
  .svc-block--flip .about__media { order: 0; }
}
@media (max-width: 640px) {
  .svc-cards { grid-template-columns: 1fr; }
}

.catalog { padding: 36px 0 88px; }
.catalog .svc-jump { margin-bottom: 28px; }
.catalog__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.catalog__card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.catalog__card[hidden] { display: none; }
.catalog__card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 16px 36px rgba(19, 35, 58, .1); }
.catalog__card em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
}
.catalog__card h2 { font-size: 18px; line-height: 1.35; color: var(--navy); margin: 12px 0 10px; }
.catalog__card p { font-size: 14.5px; line-height: 1.6; color: #5b6676; }
.catalog__more { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; }
.catalog__card:hover .catalog__more { color: var(--primary); }
.svc-jump a.is-on { background: var(--primary); color: #fff; border-color: var(--primary); }

.detail { padding: 72px 0 40px; }
.detail__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.detail__lead { font-size: 20px; line-height: 1.65; color: var(--navy); margin-bottom: 18px; }
.detail__body p { font-size: 16.5px; line-height: 1.75; color: #3b4757; margin-bottom: 16px; }
.detail__body h2 { font-size: 26px; }
.detail__body h3 { font-size: 20px; color: var(--navy); margin: 22px 0 8px; }
a.service { color: inherit; }
.service__body p { font-size: 15px; line-height: 1.65; color: #4a5566; flex: 1; margin-bottom: 16px; }
.main-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.detail h2 { font-size: 28px; color: var(--navy); margin: 28px 0 16px; }
.detail .steps { grid-template-columns: 1fr; gap: 14px; }
.detail .step { padding: 22px 24px; }
.detail__aside {
  position: sticky;
  top: 110px;
  align-self: start;
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.detail__aside h2 { font-size: 22px; margin: 0 0 10px; }
.detail__aside p { font-size: 15px; line-height: 1.65; color: #4a5566; margin: 0 0 18px; }
.detail__aside .btn { width: 100%; justify-content: center; margin: 0 0 10px; }
.detail__aside .btn--outline { background: transparent; }
.related { padding: 20px 0 80px; }
.related .catalog__grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1200px) {
  .catalog__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .catalog__grid, .related .catalog__grid { grid-template-columns: repeat(2, 1fr); }
  .detail__layout { grid-template-columns: 1fr; }
  .detail__aside { position: static; order: -1; }
}
@media (max-width: 991px) {
  .main-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .catalog__grid, .related .catalog__grid, .main-grid { grid-template-columns: 1fr; }
}

.ceiling { padding-top: 8px; padding-bottom: 24px; }
.ceiling__group { margin-top: 52px; }
.ceiling__group h2 { font-size: 30px; color: var(--navy); margin-bottom: 12px; }
.ceiling__group > p { max-width: none; width: 100%; font-size: 16.5px; line-height: 1.75; color: #3b4757; margin-bottom: 22px; }
.ceiling .svc-cards > .svc-card:only-child,
.ceiling .svc-cards > .svc-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

.reach {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 36px 0 4px;
  padding: 22px 24px;
  background: var(--navy);
  border-radius: 14px;
}
.detail__body .reach p,
.ceiling .reach p {
  flex: 1 1 auto;
  margin: 0;
  font-size: 16.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .92);
  white-space: nowrap;
}
.reach__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.reach .i { width: 22px; height: 22px; }
.reach .btn:hover .i { transform: none; }
.btn--wa { background: #1ea85a; color: #fff; }
.btn--wa:hover { background: #178a49; box-shadow: 0 8px 20px rgba(30, 168, 90, .35); }
@media (max-width: 640px) {
  .reach { padding: 18px; }
  .detail__body .reach p,
  .ceiling .reach p { white-space: normal; }
  .reach__actions { width: 100%; flex-direction: column; }
  .reach .btn { width: 100%; justify-content: center; }
  .detail__aside .btn { width: 100%; }
}

/* İletişim */
.office { padding: 56px 0 88px; }
.office__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: stretch;
}
.office h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
}
.office__lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 62ch;
}
.office .locate__list { margin-bottom: 28px; }
.office-form { display: grid; gap: 14px; }
.office-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 600; color: var(--navy); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  height: 52px;
}
.field textarea { height: 140px; padding: 14px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-color: var(--primary);
}
.office-form__error { margin: 0; color: #9b1c1c; font-size: 14px; line-height: 1.5; }
.office-form__ok { margin: 0; color: var(--primary); font-size: 15px; font-weight: 600; }
.office-form .btn { justify-content: center; }
.office-form .btn:disabled { opacity: 0.7; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
a.service:hover .catalog__more { color: var(--primary); }
.post__figure { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.post__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.post h2 { margin: 32px 0 10px; }
.post ul { margin: 0 0 18px; }
.post li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 16.5px;
  line-height: 1.65;
  color: #3b4757;
}
.post li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.post-side { display: grid; gap: 14px; margin: 0 0 22px; }
.post-side a { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--navy); }
.post-side a:hover,
.post-side a[aria-current="page"] { color: var(--primary); }
@media (max-width: 991px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .detail__layout:has(.post) .detail__aside { order: 1; }
}
.office__map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 560px;
  box-shadow: var(--shadow);
}
.office__map iframe { width: 100%; height: 100%; min-height: 560px; border: 0; display: block; }
::selection { background: #c5d9ee; color: var(--navy-900); }
@media (max-width: 991px) {
  .office { padding: 40px 0 64px; }
  .office__grid { grid-template-columns: 1fr; gap: 28px; }
  .office__map, .office__map iframe { min-height: 320px; }
}
@media (max-width: 640px) {
  .office-form__row { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

.dock {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.dock__panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dock__panel[hidden] { display: none; }
.dock__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}
.dock__item > span:last-child {
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(11, 23, 36, .16);
}
.dock [hidden] { display: none !important; }
.dock__bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 22px rgba(11, 23, 36, .22);
}
.dock__bubble svg { width: 30px; height: 30px; }
.dock__bubble--wa { background: #1ea85a; }
.dock__bubble--tel { background: var(--primary); }
.dock__launch {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 8px 22px rgba(11, 23, 36, .22);
}
.dock__launch [data-dock-x] { width: 22px; height: 22px; }
.dock__launch [data-dock-open] { display: none; width: 30px; height: 30px; }
.dock__launch[aria-expanded="false"] { background: #1ea85a; }
.dock__launch[aria-expanded="false"] [data-dock-x] { display: none; }
.dock__launch[aria-expanded="false"] [data-dock-open] { display: block; }
.dock__bubble:focus-visible, .dock__launch:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 640px) {
  .dock { left: 12px; bottom: 12px; }
  .dock__bubble, .dock__launch { width: 52px; height: 52px; }
}
