﻿:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --ink: #112136;
  --muted: #4e6275;
  --accent: #0e6bb8;
  --accent-strong: #0a4f86;
  --border: #d8e2ee;
  --footer: #0d1a28;
  --radius: 18px;
  --shadow: 0 22px 50px rgba(12, 34, 58, 0.12);
}

:root[data-theme="night"] {
  --bg: #081423;
  --surface: #10223a;
  --ink: #e4efff;
  --muted: #a7bbd2;
  --accent: #52acff;
  --accent-strong: #2e80cb;
  --border: #274566;
  --footer: #030b15;
  --shadow: 0 28px 58px rgba(0, 9, 21, 0.48);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 80% -10%, #dbeeff 0%, var(--bg) 45%, #eff3f8 100%);
  line-height: 1.6;
  transition: background 360ms ease, color 260ms ease;
}

:root[data-theme="night"] body {
  background:
    radial-gradient(circle at 15% -8%, rgba(100, 168, 234, 0.2) 0%, rgba(100, 168, 234, 0) 35%),
    radial-gradient(circle at 88% -8%, rgba(56, 118, 186, 0.24) 0%, rgba(56, 118, 186, 0) 38%),
    linear-gradient(180deg, #081423 0%, #0b1a2c 52%, #0c1d32 100%);
}

.mobile-menu-open {
  overflow: hidden;
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header .container {
  width: min(1440px, calc(100% - 3rem));
}


/* ══ HEADER ══════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #080c13;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.26s ease,
    box-shadow 0.26s ease;
  will-change: transform;
}

/* Aşağı scroll → header gizlenir */
.site-header.header--hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

/* Fixed header altına boşluk */
body {
  padding-top: var(--header-h, 72px);
}

/* Hero/slider sayfalarında padding yok (JS ile .no-header-offset eklenir) */
body.no-header-offset {
  padding-top: 0 !important;
}

.site-header:hover {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Transparent header (hero sayfaları) */
.site-header--transparent {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.site-header--transparent:hover {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

/* Scroll geçildikten sonra arka plan (JS ekler) */
.site-header.header--scrolled {
  background: rgba(8, 12, 19, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile menü açık — asla gizlenmesin */
.site-header.is-menu-open {
  background: #05080c !important;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
  transform: translateY(0) !important;
  pointer-events: auto;
}

/* ── Back-to-top ── */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e6bb8, #5ebcff);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(14, 107, 184, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s;
}

#backToTop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background: linear-gradient(135deg, #1269a8, #5ebcff);
  box-shadow: 0 12px 32px rgba(14, 107, 184, .55);
  transform: translateY(-2px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1rem, 2vw, 2rem);
}

.header-inner .brand {
  flex: 0 0 auto;
}

.header-inner .main-nav {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
}

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

.header-inner--menu-center .main-nav {
  justify-content: center;
}

.header-inner--menu-right .main-nav {
  justify-content: flex-end;
}

.header-inner--logo-left .brand {
  order: 1;
}

.header-inner--logo-left .main-nav {
  order: 2;
}

.header-inner--logo-left .header-tools {
  order: 3;
}

.header-inner--logo-center {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(1.4rem, 4vw, 5rem);
}

.header-inner--logo-center .main-nav {
  grid-column: 1;
  order: initial;
  width: 100%;
  justify-content: flex-start;
  gap: clamp(0.8rem, 1.8vw, 1.6rem);
}

.header-inner--logo-center .brand {
  grid-column: 2;
  order: initial;
  justify-self: center;
}

.header-inner--logo-center .header-balance {
  display: block;
  grid-column: 3;
  min-height: 1px;
}

.header-inner--logo-center .header-tools {
  grid-column: 3;
  justify-self: end;
}

.header-inner--logo-right .main-nav {
  order: 1;
}

.header-inner--logo-right .brand {
  order: 2;
  margin-left: auto;
}

.header-inner--logo-right .header-tools {
  order: 3;
  margin-left: 0.75rem;
}

.header-balance {
  display: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: clamp(0.75rem, 1.4vw, 1.4rem);
}

.mobile-nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(14, 44, 71, 0.15);
  border-radius: 999px;
  background: rgba(9, 30, 52, 0.05);
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, color 180ms ease;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
}

.mobile-nav-toggle:hover {
  transform: translateY(-1px);
  background: rgba(14, 44, 71, 0.12);
  border-color: rgba(14, 44, 71, 0.26);
}

.mobile-nav-toggle__line {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.language-menu {
  position: relative;
}

.language-toggle {
  min-width: 92px;
  height: 38px;
  border: 1px solid rgba(220, 236, 255, 0.5);
  border-radius: 13px;
  padding: 0 0.62rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.22px;
  text-transform: uppercase;
  color: #f2f7ff;
  background: linear-gradient(180deg, rgba(37, 52, 79, 0.96), rgba(22, 34, 56, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 18px rgba(6, 16, 30, 0.3);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.language-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(241, 248, 255, 0.75);
  background: linear-gradient(180deg, rgba(43, 61, 92, 0.98), rgba(24, 38, 62, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 10px 20px rgba(5, 14, 28, 0.35);
}

.language-toggle__label {
  line-height: 1;
}

.language-toggle__flag,
.language-menu__flag {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.36), 0 2px 6px rgba(8, 18, 34, 0.28);
}

.language-toggle__flag img,
.language-menu__flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.language-toggle__chevron {
  width: 13px;
  height: 13px;
  opacity: 0.82;
  transition: transform 180ms ease;
}

.language-menu.is-open .language-toggle__chevron {
  transform: rotate(180deg);
}

.language-menu__dropdown {
  position: absolute;
  top: calc(100% + 0.42rem);
  right: 0;
  min-width: 112px;
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
  padding: 0.42rem;
  border-radius: 13px;
  border: 1px solid rgba(172, 189, 212, 0.56);
  background: rgba(248, 251, 255, 0.99);
  box-shadow: 0 16px 30px rgba(9, 22, 40, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 14;
}

.language-menu.is-open .language-menu__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-menu__option {
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 0.38rem 0.58rem;
  color: #243651;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  cursor: pointer;
  text-align: center;
}

.language-menu__short {
  letter-spacing: 0.16px;
}

.language-menu__option:hover,
.language-menu__option:focus-visible {
  background: rgba(14, 107, 184, 0.09);
  outline: none;
}

.language-menu__option.is-active {
  color: #1f63bf;
  background: linear-gradient(180deg, #e1efff, #d0e5ff);
  box-shadow: inset 0 0 0 1px rgba(91, 149, 230, 0.34);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
}

.brand__logo {
  width: auto;
  max-width: 420px;
  object-fit: contain;
  transition: transform 200ms ease, filter 200ms ease, opacity 200ms ease;
}

.brand:hover .brand__logo {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 8px 16px rgba(14, 107, 184, 0.25));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.5vw, 1.35rem);
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.main-nav__link {
  position: relative;
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.14px;
  padding: 0.2rem 0;
  border-radius: 0;
  color: rgba(235, 242, 255, 0.75);
  /* Beyaz/Gri ton - siyah zemin için */
  opacity: 0.82;
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.main-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.34rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav__link:hover,
.main-nav__link.is-active {
  color: #ffffff;
  /* Hoverda tam beyaz */
  opacity: 1;
  transform: translateY(-1px);
  background: transparent;
}

.main-nav__link:hover::after,
.main-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-header .brand {
  color: #ffffff;
}

.site-header--transparent .brand,
.site-header--transparent .main-nav__link {
  color: #ecf3ff;
}

.site-header--transparent .main-nav__link {
  opacity: 0.86;
}

.site-header--transparent .main-nav {
  background: transparent;
  border: 0;
}

.site-header--transparent .main-nav__link:hover,
.site-header--transparent .main-nav__link.is-active {
  color: #ffffff;
  opacity: 1;
  background: transparent;
}

.site-header .language-toggle,
.site-header .mobile-nav-toggle {
  background: linear-gradient(180deg, rgba(43, 60, 90, 0.96), rgba(23, 36, 58, 0.95));
  border-color: rgba(232, 244, 255, 0.15);
  color: #ecf3ff;
}

.site-header--transparent .language-toggle,
.site-header--transparent .mobile-nav-toggle {
  border-color: rgba(232, 244, 255, 0.6);
}

.site-header .language-menu__dropdown {
  background: rgba(14, 22, 33, 0.99);
  border-color: rgba(172, 189, 212, 0.15);
}

.site-header .language-menu__option {
  color: #dce7f5;
}

.site-header .language-menu__option:hover,
.site-header .language-menu__option.is-active {
  background: rgba(14, 107, 184, 0.25);
}

.site-header .language-menu__option.is-active {
  color: #8bbfff;
  background: linear-gradient(180deg, rgba(14, 107, 184, 0.3), rgba(14, 107, 184, 0.1));
  box-shadow: inset 0 0 0 1px rgba(91, 149, 230, 0.2);
}

/* ── Page Transition Logo ── */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.page-transition::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 25%, rgba(74, 140, 206, 0.18), rgba(15, 22, 34, 0.95) 60%),
    rgba(12, 18, 28, 0.95);
}

.page-transition--center {
  place-items: center;
}

.page-transition--top-left {
  place-items: start;
  padding: 2.5rem;
}

.page-transition--top-right {
  place-items: start end;
  padding: 2.5rem;
}

.page-transition--bottom-left {
  place-items: end start;
  padding: 2.5rem;
}

.page-transition--bottom-right {
  place-items: end end;
  padding: 2.5rem;
}

.page-transition__logo-wrap {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(70vw, 420px);
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transition: transform 320ms ease, opacity 320ms ease;
}

.page-transition__logo-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.35));
}

.page-transition__logo-fallback {
  color: #f4f8ff;
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.page-transition__logo-wrap:hover {
  transform: translateY(6px) scale(1.03);
}

body.page-transition-intro .page-transition,
body.page-transition-exit .page-transition {
  opacity: 1;
}

body.page-transition-intro .page-transition {
  pointer-events: none;
}

body.page-transition-exit .page-transition {
  pointer-events: auto;
}

body.page-transition-intro .page-transition__logo-wrap {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body.page-transition-exit .page-transition__logo-wrap {
  opacity: 1;
  transform: translateY(0) scale(1);
}

:root[data-theme="night"] .site-header {
  background: rgba(8, 19, 33, 0.92);
  border-bottom-color: rgba(89, 139, 188, 0.26);
  box-shadow: 0 14px 34px rgba(0, 8, 20, 0.38);
}

:root[data-theme="night"] .site-header:hover {
  border-bottom-color: rgba(122, 168, 213, 0.38);
}

:root[data-theme="night"] .site-header.is-menu-open {
  background: rgba(8, 19, 33, 0.98);
}

:root[data-theme="night"] .mobile-nav-toggle,
:root[data-theme="night"] .language-toggle {
  background: rgba(220, 236, 255, 0.12);
  border-color: rgba(158, 199, 240, 0.26);
  color: #e6f0ff;
}

:root[data-theme="night"] .language-menu__dropdown {
  background: rgba(8, 19, 33, 0.97);
  border-color: rgba(115, 161, 206, 0.4);
}

:root[data-theme="night"] .language-menu__option {
  color: #dcecff;
}

:root[data-theme="night"] .language-menu__option:hover,
:root[data-theme="night"] .language-menu__option.is-active {
  background: rgba(86, 155, 226, 0.22);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  cursor: pointer;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--solid {
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  box-shadow: 0 14px 28px rgba(14, 107, 184, 0.28);
}

.btn--ghost {
  color: var(--ink);
  border: 1px solid var(--border);
  background: #fff;
}

.btn--outline-light {
  color: #f2f7ff;
  border: 1px solid rgba(242, 247, 255, 0.55);
  background: rgba(8, 21, 37, 0.35);
}

.hero-slider {
  position: relative;
  min-height: min(86vh, 760px);
  background: #0b1e32;
  overflow: hidden;
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 246, 206, 0.24) 0%, rgba(255, 246, 206, 0) 28%),
    linear-gradient(180deg, rgba(255, 236, 170, 0.1) 0%, rgba(255, 236, 170, 0) 45%);
  transition: opacity 380ms ease, background 380ms ease;
}

:root[data-theme="night"] .hero-slider::after {
  background:
    radial-gradient(circle at 82% 14%, rgba(194, 220, 255, 0.34) 0%, rgba(194, 220, 255, 0) 33%),
    radial-gradient(circle at 72% 24%, rgba(85, 143, 210, 0.22) 0%, rgba(85, 143, 210, 0) 45%);
}

.hero-slider__track {
  position: relative;
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  min-height: inherit;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition:
    opacity 850ms ease,
    transform 6000ms cubic-bezier(0.19, 1, 0.22, 1),
    visibility 0ms linear 850ms;
  pointer-events: none;
  z-index: 0;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 42%);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0ms;
  pointer-events: auto;
  z-index: 2;
}

.hero-slide.is-leaving {
  opacity: 0;
  visibility: visible;
  transform: scale(1.03);
  z-index: 1;
}

.hero-slide__content {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: clamp(7.5rem, 17vh, 10rem) 0 clamp(2.5rem, 7vh, 4.5rem);
  color: #e9f3ff;
}

.hero-slide__content>* {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.hero-slide.is-active .hero-slide__content>* {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide.is-active .hero-slide__content>*:nth-child(1) {
  transition-delay: 110ms;
}

.hero-slide.is-active .hero-slide__content>*:nth-child(2) {
  transition-delay: 180ms;
}

.hero-slide.is-active .hero-slide__content>*:nth-child(3) {
  transition-delay: 240ms;
}

.hero-slide.is-active .hero-slide__content>*:nth-child(4) {
  transition-delay: 300ms;
}

.hero-slide h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.07;
  letter-spacing: -0.2px;
  max-width: 16ch;
}

.hero-slide p {
  margin: 0.55rem 0 0;
  max-width: 56ch;
  color: #bfd1e6;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--accent-strong);
  background: rgba(14, 107, 184, 0.14);
}

.eyebrow--light {
  color: #eef6ff;
  background: rgba(217, 230, 245, 0.14);
}

.hero {
  padding: 4.75rem 0 3rem;
}

.hero--fallback {
  padding-top: 6rem;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
}

.hero__content {
  background: linear-gradient(130deg, #fefefe 0%, #eef5ff 100%);
  border: 1px solid #d9e5f2;
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 2.7rem);
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 1rem 0 0;
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  line-height: 1.12;
  max-width: 17ch;
}

.hero p {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 60ch;
}

.hero__actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__panel {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 1rem;
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(237, 245, 255, 0.45);
  background: rgba(8, 21, 37, 0.4);
  color: #eef6ff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.slider-control--prev {
  left: 1rem;
}

.slider-control--next {
  right: 1rem;
}

.slider-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(230, 241, 255, 0.45);
  cursor: pointer;
}

.slider-dot.is-active {
  width: 26px;
  background: #eff6ff;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-card span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.metric-card strong {
  margin-top: 0.3rem;
  font-size: 2rem;
  line-height: 1;
}

.section {
  padding: clamp(2rem, 4.2vw, 3rem) 0;
}

.section--soft {
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(17, 33, 54, 0.07);
  border-bottom: 1px solid rgba(17, 33, 54, 0.07);
}

.section-head {
  margin-bottom: 1.25rem;
}

.section-head h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.section-head p,
.page-hero p {
  margin: 0.5rem 0 0;
  max-width: 66ch;
  color: var(--muted);
}

.cards-grid {
  display: grid;
  gap: 1rem;
}

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

.cards-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-card,
.link-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 12px 25px rgba(12, 34, 58, 0.08);
}

.section-card h2,
.section-card h3,
.link-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.section-card p,
.link-card p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.link-card {
  transition: transform 180ms ease, border-color 180ms ease;
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 107, 184, 0.45);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(145deg, #102947, #0b2038);
  color: #eef4fd;
  padding: clamp(1.2rem, 3.2vw, 2rem);
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(11, 32, 56, 0.35);
}

.cta-panel h2 {
  margin: 0;
}

.cta-panel p {
  margin: 0.5rem 0 0;
  color: #b8cadf;
}

.page-main {
  min-height: 50vh;
}

.page-hero {
  padding: clamp(2.4rem, 5.4vw, 3.8rem) 0 clamp(0.9rem, 2.1vw, 1.5rem);
}

.page-hero+.section,
.page-hero+.technical-details.section {
  padding-top: clamp(1.2rem, 3vw, 2rem);
}

.page-hero--about-premium {
  padding: 4.4rem 0 1.6rem;
}

.about-premium-hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid rgba(170, 199, 228, 0.52);
  background:
    radial-gradient(circle at 86% 8%, rgba(160, 205, 255, 0.45) 0%, rgba(160, 205, 255, 0) 34%),
    linear-gradient(135deg, #fefefe 0%, #eef4ff 58%, #e5effe 100%);
  box-shadow: 0 24px 52px rgba(10, 33, 56, 0.12);
}

.about-premium-hero::after {
  content: "";
  position: absolute;
  right: -58px;
  top: -58px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(78, 131, 191, 0.22);
  pointer-events: none;
}

.about-premium-hero h1 {
  margin: 0.95rem 0 0;
  max-width: 18ch;
  font-size: clamp(1.8rem, 4.3vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.2px;
}

.about-premium-hero p {
  margin: 1rem 0 0;
  max-width: 62ch;
  color: #4f6379;
  font-size: 1.02rem;
}

.about-premium {
  padding-top: 0.7rem;
}

.about-premium-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 1rem;
}

.about-premium-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(1.25rem, 2.8vw, 1.8rem);
  box-shadow: 0 18px 38px rgba(10, 31, 54, 0.1);
}

.about-premium-card::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2d89d0 0%, #69b4ff 48%, #99ccff 100%);
}

.about-premium-card h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
}

.about-premium-card p {
  margin: 0.82rem 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.about-premium-facts {
  display: grid;
  gap: 0.72rem;
}

.about-fact {
  border-radius: 18px;
  border: 1px solid rgba(106, 167, 227, 0.28);
  background:
    radial-gradient(circle at 88% 14%, rgba(168, 209, 250, 0.35) 0%, rgba(168, 209, 250, 0) 48%),
    linear-gradient(155deg, #112d4b 0%, #12365a 62%, #174474 100%);
  color: #e8f3ff;
  box-shadow: 0 16px 30px rgba(8, 24, 42, 0.3);
  padding: 0.9rem 0.95rem;
  display: grid;
  gap: 0.3rem;
}

.about-fact strong {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
}

.about-fact span {
  color: #bed7ef;
  font-size: 0.9rem;
}

.about-premium-landscape {
  margin-top: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(170, 208, 181, 0.46);
  background:
    radial-gradient(circle at 84% 14%, rgba(187, 227, 198, 0.34) 0%, rgba(187, 227, 198, 0) 44%),
    linear-gradient(145deg, #f5fbf5 0%, #ecf8ef 58%, #e5f4e9 100%);
  box-shadow: 0 14px 34px rgba(17, 58, 29, 0.12);
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
}

.about-premium-landscape h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
}

.about-premium-landscape p {
  margin: 0.65rem 0 0;
  color: #3f5f4a;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

th,
td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #e6edf5;
}

thead th {
  background: #eff5fc;
  font-size: 0.9rem;
}

tbody tr:last-child td {
  border-bottom: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.form {
  display: grid;
  gap: 0.9rem;
}

.form-group {
  display: grid;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
}

input,
textarea {
  font: inherit;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(14, 107, 184, 0.28);
  border-color: rgba(14, 107, 184, 0.4);
}

.contact-info ul {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
  min-height: 170px;
  border-radius: 16px;
  padding: 1rem;
  color: #f5f9ff;
  display: flex;
  align-items: flex-end;
  font-weight: 700;
  background: linear-gradient(150deg, #163b62 0%, #266da9 50%, #6ca2d5 100%);
}

.site-footer {
  background: linear-gradient(170deg, #060f1c 0%, #0a1f3a 100%);
  color: #d7e6f8;
  margin-top: 0;
}

/* ── Footer Main ── */
.footer-main {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer-main__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 900px) {
  .footer-main__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .footer-main__grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: 1;
  }
}

/* Brand Column */

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  margin-bottom: 1.2rem;
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(1.1);
}

.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: .02em;
}

.footer-brand__desc {
  font-size: .96rem;
  color: #8aaac8;
  line-height: 1.75;
  max-width: 380px;
  margin: 0 0 1.5rem;
}

.footer-contact-row {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .92rem;
  color: #9dbdd8;
  text-decoration: none;
  transition: color .2s;
}

.footer-contact-item:hover {
  color: #5ebcff;
}

.footer-contact-item svg {
  flex-shrink: 0;
  opacity: .7;
}

/* Nav Columns */

.footer-col__title {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .35);
  font-weight: 800;
  margin: 0 0 1.2rem;
}

.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.footer-nav-list a {
  color: #8aaac8;
  text-decoration: none;
  font-size: .97rem;
  transition: color .2s, padding-left .2s;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.footer-nav-list a::before {
  content: '›';
  opacity: 0;
  transition: opacity .2s, transform .2s;
  transform: translateX(-6px);
  color: #5ebcff;
  font-size: 1.1rem;
}

.footer-nav-list a:hover {
  color: #fff;
  padding-left: .4rem;
}

.footer-nav-list a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(14, 107, 184, .15);
  border: 1px solid rgba(14, 107, 184, .25);
  color: #5ebcff;
  font-size: .82rem;
  font-weight: 700;
  padding: .5rem 1rem;
  border-radius: 50px;
}

/* ── Footer Bottom ── */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: rgba(0, 0, 0, .18);
}

.footer-bottom__inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .85rem;
  flex-wrap: wrap;
  padding: .75rem 0;
}

.footer-copy-text {
  color: #6a8aaa;
}

.footer-kodvex {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #6a8aaa;
  text-decoration: none;
  font-size: .85rem;
  transition: color .2s;
}

.footer-kodvex:hover {
  color: #5ebcff;
}

.footer-kodvex span {
  opacity: .7;
}

.footer-kodvex__logo {
  height: 22px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(.5);
  transition: filter .2s;
}

.footer-kodvex:hover .footer-kodvex__logo {
  filter: brightness(0) invert(1);
}


.admin-auth-page,
.admin-page {
  background:
    radial-gradient(circle at 10% -5%, rgba(38, 112, 180, 0.42) 0%, rgba(38, 112, 180, 0) 45%),
    radial-gradient(circle at 92% 0%, rgba(13, 52, 86, 0.3) 0%, rgba(13, 52, 86, 0) 36%),
    linear-gradient(180deg, #e8eff8 0%, #dce8f5 100%);
}

.admin-auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.8rem;
}

.admin-auth__panel {
  width: min(460px, 100%);
  padding: 1.6rem;
  border-radius: 22px;
  border: 1px solid rgba(174, 201, 229, 0.6);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 30px 70px rgba(8, 27, 47, 0.2);
  backdrop-filter: blur(8px);
}

.admin-auth__panel h1 {
  margin: 0;
  font-size: 1.9rem;
  letter-spacing: 0.2px;
}

.admin-auth__panel p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.admin-auth__back {
  margin-top: 0.4rem;
  color: #0e558f;
  font-size: 0.92rem;
  font-weight: 700;
}

.admin-shell {
  position: relative;
  padding: 2.2rem 0 3.2rem;
}

.admin-shell::before,
.admin-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.5;
}

.admin-shell::before {
  width: 340px;
  height: 340px;
  top: -120px;
  left: -90px;
  background: radial-gradient(circle, rgba(73, 149, 221, 0.45) 0%, rgba(73, 149, 221, 0) 72%);
}

.admin-shell::after {
  width: 300px;
  height: 300px;
  bottom: -120px;
  right: -90px;
  background: radial-gradient(circle, rgba(25, 77, 129, 0.36) 0%, rgba(25, 77, 129, 0) 70%);
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  margin-bottom: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(136, 184, 227, 0.45);
  background: linear-gradient(145deg, #0d2b47 0%, #164570 55%, #205a8e 100%);
  box-shadow: 0 18px 38px rgba(8, 23, 38, 0.35);
  color: #eaf4ff;
}

.admin-topbar h1 {
  margin: 0;
  font-size: 2.05rem;
  letter-spacing: 0.2px;
}

.admin-topbar p {
  margin: 0.35rem 0 0;
  color: #c7dcf0;
}

.admin-topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.admin-topbar__actions .btn--ghost {
  color: #ecf5ff;
  border-color: rgba(221, 235, 250, 0.45);
  background: rgba(8, 28, 46, 0.26);
}

.admin-metrics {
  margin-bottom: 1rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-metric {
  border: 1px solid rgba(170, 199, 228, 0.55);
  border-radius: 16px;
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.95), rgba(239, 246, 255, 0.88));
  padding: 0.85rem 0.95rem;
  box-shadow: 0 12px 28px rgba(10, 33, 56, 0.1);
}

.admin-metric span {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #4d6a87;
  font-weight: 700;
}

.admin-metric strong {
  display: block;
  margin-top: 0.28rem;
  font-size: 1.4rem;
  color: #0f2f4f;
}

.admin-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-card {
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 255, 0.92));
  border: 1px solid rgba(181, 206, 232, 0.66);
  border-radius: 20px;
  padding: 1.2rem;
  box-shadow: 0 16px 36px rgba(12, 33, 57, 0.1);
}

.admin-card--full {
  margin-top: 1rem;
}

.admin-card h2 {
  margin: 0;
  font-size: 1.3rem;
  color: #103151;
}

.admin-card p {
  margin: 0.45rem 0 0.95rem;
  color: #4d647d;
}

.admin-form {
  gap: 0.78rem;
}

.admin-page input,
.admin-page textarea,
.admin-page select,
.admin-auth-page input,
.admin-auth-page textarea,
.admin-auth-page select {
  font: inherit;
  width: 100%;
  border: 1px solid #c3d6ea;
  border-radius: 12px;
  padding: 0.74rem 0.82rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  color: #143351;
}

.admin-page select,
.admin-auth-page select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #4778a6 50%),
    linear-gradient(135deg, #4778a6 50%, transparent 50%);
  background-position:
    calc(100% - 17px) calc(1em + 2px),
    calc(100% - 12px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.admin-page input:focus,
.admin-page textarea:focus,
.admin-page select:focus,
.admin-auth-page input:focus,
.admin-auth-page textarea:focus,
.admin-auth-page select:focus {
  outline: 2px solid rgba(27, 109, 180, 0.22);
  border-color: rgba(27, 109, 180, 0.45);
  box-shadow: 0 0 0 3px rgba(174, 212, 247, 0.24);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.94rem;
  font-weight: 600;
}

.check-row input {
  width: 16px;
  height: 16px;
}

.admin-inline-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
}

.admin-slides-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-slide-card {
  border: 1px solid #ccddf0;
  border-radius: 16px;
  padding: 0.95rem;
  background: linear-gradient(180deg, #fbfdff, #f2f8ff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.admin-slide-card h3 {
  margin: 0 0 0.55rem;
  color: #133758;
}

.logo-preview {
  margin-bottom: 0.8rem;
  border: 1px dashed #afcce8;
  border-radius: 12px;
  padding: 0.85rem;
  background: linear-gradient(180deg, #f8fbff, #eef6ff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-preview img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.admin-alert {
  margin: 0 0 1rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid #aad8be;
  background: linear-gradient(180deg, #effcf4, #e5f7ec);
  color: #125929;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(14, 73, 35, 0.08);
}

.admin-alert--error {
  border-color: #efbcc6;
  background: linear-gradient(180deg, #fff2f4, #fde8ec);
  color: #97253a;
  box-shadow: 0 8px 20px rgba(125, 24, 46, 0.08);
}

@keyframes heroFade {
  from {
    opacity: 0.7;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 1024px) {

  .hero__layout,
  .contact-grid,
  .footer-grid,
  .admin-grid,
  .admin-slides-grid {
    grid-template-columns: 1fr;
  }

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

  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .cards-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slider-control {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header .container {
    width: calc(100% - 1.2rem);
  }

  .header-inner {
    min-height: 72px;
    justify-content: flex-start;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 8.4rem 0.65rem 0;
    position: relative;
  }

  .header-inner--logo-center {
    display: flex;
    column-gap: 0;
  }

  .header-inner--logo-center .brand {
    order: initial;
  }

  .header-inner--logo-center .header-balance {
    display: none;
  }

  .header-tools {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 6;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .language-toggle {
    min-width: 86px;
    height: 36px;
    padding: 0 0.5rem;
    font-size: 0.8rem;
  }

  .language-menu__dropdown {
    right: 0;
    min-width: 112px;
  }

  .page-hero--about-premium {
    padding-top: 4rem;
  }

  .about-premium-hero {
    border-radius: 20px;
    padding: 1.25rem;
  }

  .about-premium-hero h1 {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
  }

  .about-premium-hero p {
    font-size: 0.98rem;
  }

  .about-premium-card,
  .about-premium-landscape {
    border-radius: 18px;
    padding: 1rem;
  }

  .about-premium-landscape {
    margin-top: 0.8rem;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    max-height: calc(100vh - 96px);
    overflow: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.35rem;
    padding: 0.8rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(122, 171, 219, 0.25);
    background: rgba(11, 26, 45, 0.96);
    box-shadow: 0 22px 40px rgba(0, 5, 12, 0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(10px);
  }

  .main-nav__link {
    width: 100%;
    padding: 0.42rem 0.1rem;
  }

  .main-nav__link::after {
    bottom: 0.15rem;
  }

  .site-header.is-menu-open .main-nav {
    background: #0a1728;
    border-color: rgba(120, 171, 224, 0.45);
    box-shadow: 0 22px 44px rgba(0, 6, 14, 0.45);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header.is-menu-open .mobile-nav-toggle__line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .site-header.is-menu-open .mobile-nav-toggle__line:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .mobile-nav-toggle__line:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .site-header--transparent.is-menu-open .main-nav {
    background: #081423;
    border-color: rgba(122, 171, 219, 0.35);
  }

  .site-header--transparent.is-menu-open .main-nav__link {
    color: #ecf3ff;
    opacity: 0.9;
  }

  :root[data-theme="night"] .main-nav {
    background: #081423;
    border-color: rgba(103, 153, 202, 0.38);
  }

  :root[data-theme="night"] .main-nav__link {
    color: #d8e8fb;
    opacity: 0.92;
  }

  .cards-grid--2,
  .cards-grid--3,
  .gallery-grid,
  .hero__panel {
    grid-template-columns: 1fr;
  }

  .cta-panel,
  .admin-topbar,
  .admin-topbar__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-metrics {
    grid-template-columns: 1fr;
  }

  .footer-bottom__inner {
    flex-direction: column;
    justify-content: center;
    padding: 0.7rem 0;
  }

  .hero-slider {
    min-height: 78vh;
  }

  .hero-slide__content {
    padding-top: 7.2rem;
  }
}

/* Partners pages */
.partners-page {
  background: radial-gradient(circle at 14% 10%, #102845 0%, #07172a 42%, #02080f 100%);
  color: #e5f1ff;
}

.partners-page .site-header {
  background: rgba(4, 12, 22, 0.9);
  border-bottom: 1px solid rgba(106, 170, 224, 0.25);
}

.partners-page .brand,
.partners-page .main-nav__link,
.partners-page .btn--ghost {
  color: #eaf4ff;
}

.partners-page .language-toggle,
.partners-page .mobile-nav-toggle {
  color: #eaf4ff;
  border-color: rgba(232, 244, 255, 0.6);
  background: linear-gradient(180deg, rgba(43, 60, 90, 0.96), rgba(23, 36, 58, 0.95));
}

.partners-page .main-nav {
  background: transparent;
  border: 0;
}

.partners-page .language-menu__dropdown {
  background: rgba(248, 251, 255, 0.99);
  border-color: rgba(172, 189, 212, 0.56);
}

.partners-page .language-menu__option {
  color: #243651;
}

.partners-page .language-menu__option:hover,
.partners-page .language-menu__option.is-active {
  background: rgba(14, 107, 184, 0.09);
}

.partners-page .language-menu__option.is-active {
  color: #1f63bf;
  background: linear-gradient(180deg, #e1efff, #d0e5ff);
  box-shadow: inset 0 0 0 1px rgba(91, 149, 230, 0.34);
}

.partners-page .site-header.is-menu-open .main-nav {
  background: rgba(4, 12, 22, 0.94);
  border: 1px solid rgba(106, 170, 224, 0.3);
}

.partners-page .main-nav__link:hover,
.partners-page .main-nav__link.is-active {
  color: #ffffff;
  opacity: 1;
}

.partners-page .btn--ghost {
  border-color: rgba(217, 234, 252, 0.4);
  background: rgba(6, 20, 35, 0.46);
}

.partners-hero {
  padding: clamp(4.8rem, 9vw, 6.5rem) 0 clamp(1.2rem, 2.6vw, 1.9rem);
  border-bottom: 1px solid rgba(100, 173, 230, 0.25);
}

.partners-hero__eyebrow {
  display: inline-flex;
  padding: 0.36rem 0.78rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #a5d8ff;
  background: rgba(39, 132, 206, 0.2);
}

.partners-hero h1 {
  margin: 0.65rem 0 0;
  font-size: clamp(1.9rem, 3.6vw, 3.3rem);
  letter-spacing: 0.3px;
  color: #ffffff;
}

.partners-hero p {
  margin: 0.7rem 0 0;
  color: #b6cee6;
  max-width: 72ch;
}

.partners-section {
  padding: clamp(1.4rem, 3vw, 2.2rem) 0 clamp(2rem, 4.2vw, 3rem);
}

.partner-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-card {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(113, 180, 235, 0.22);
  background: linear-gradient(165deg, rgba(13, 38, 64, 0.95), rgba(5, 19, 33, 0.95));
  box-shadow: 0 18px 42px rgba(0, 8, 18, 0.45);
  transition: transform 180ms ease, border-color 180ms ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  border-color: rgba(125, 194, 247, 0.46);
}

.partner-card__media {
  min-height: 185px;
  padding: 0.9rem;
  border-bottom: 1px solid rgba(113, 180, 235, 0.18);
  background: radial-gradient(circle at 20% 10%, rgba(58, 149, 223, 0.26), rgba(12, 36, 61, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card__media img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  border-radius: 12px;
}

.partner-card__media span {
  color: #d8ecff;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
}

.partner-card__body {
  padding: 1rem;
}

.partner-card__body h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #f5fbff;
}

.partner-card__body p {
  margin: 0.55rem 0 0;
  color: #adc5dc;
}

.partner-card__link {
  margin-top: 0.9rem;
  display: inline-flex;
  color: #7cd0ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.partner-empty {
  margin-bottom: 1rem;
  padding: 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(120, 183, 235, 0.32);
  background: rgba(10, 31, 51, 0.8);
}

.partner-empty h2 {
  margin: 0;
  font-size: 1.1rem;
}

.partner-empty p {
  margin: 0.45rem 0 0;
  color: #b6cee6;
}

.partner-detail-section {
  padding: clamp(4.8rem, 9vw, 6.5rem) 0 clamp(2rem, 4.2vw, 3.2rem);
}

.partner-back {
  display: inline-flex;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #9ed9ff;
}

.partner-detail-card {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 0.95fr 1.05fr;
  border-radius: 20px;
  border: 1px solid rgba(107, 174, 229, 0.32);
  background: linear-gradient(165deg, rgba(7, 24, 40, 0.95), rgba(2, 9, 16, 0.94));
  box-shadow: 0 30px 60px rgba(0, 8, 19, 0.55);
  overflow: hidden;
}

.partner-detail-card__media {
  min-height: 360px;
  padding: 1rem;
  background: radial-gradient(circle at 20% 20%, rgba(42, 126, 200, 0.28), rgba(9, 29, 49, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-detail-card__media img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 12px;
}

.partner-detail-card__fallback {
  color: #d8ecff;
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
}

.partner-detail-card__content {
  padding: 1.3rem 1.3rem 1.6rem 0;
}

.partner-detail-card__label {
  margin: 0;
  color: #7fd2ff;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.82rem;
}

.partner-detail-card__content h1 {
  margin: 0.5rem 0 0;
  color: #f4fbff;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
}

.partner-detail-card__content p {
  margin: 0.8rem 0 0;
  color: #b6cee6;
}

.partner-contact-list {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(116, 183, 235, 0.24);
}

.partner-contact-list li {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(115, 182, 236, 0.26);
}

.partner-contact-list span {
  color: #89cef8;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.partner-contact-list a,
.partner-contact-list strong {
  color: #edf7ff;
  word-break: break-word;
}

/* Admin partners */
.admin-partner-form-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-partner-form-grid .is-full {
  grid-column: 1 / -1;
}

.admin-partners-list {
  margin-top: 1.1rem;
  display: grid;
  gap: 1rem;
}

.admin-partner-item {
  border: 1px solid #c9dcef;
  border-radius: 16px;
  background: linear-gradient(180deg, #fafdff, #f1f8ff);
  box-shadow: 0 10px 24px rgba(12, 33, 57, 0.08);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.admin-partner-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s ease;
  user-select: none;
}

.admin-partner-item__head:hover {
  background: rgba(14, 107, 184, 0.04);
}

.admin-partner-item__head-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  flex: 1;
}

.admin-partner-item__head h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #123658;
}

.admin-partner-item__head span {
  color: #587795;
  font-size: 0.86rem;
  word-break: break-word;
}

.admin-partner-item__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(14, 107, 184, 0.1);
  color: #0e6bb8;
  transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}

.admin-partner-item.is-expanded .admin-partner-item__toggle {
  transform: rotate(180deg);
  background: #0e6bb8;
  color: #fff;
}

.admin-partner-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-partner-item__body-inner {
  overflow: hidden;
  padding: 0 1.5rem;
}

.admin-partner-item.is-expanded .admin-partner-item__body {
  grid-template-rows: 1fr;
}

.admin-partner-item.is-expanded .admin-partner-item__body-inner {
  padding-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 220, 239, 0.6);
}

.partner-empty-admin {
  margin: 0.8rem 0 0;
  color: #4d6177;
  font-weight: 600;
}

.admin-delete-form {
  margin-top: 0.75rem;
}

.admin-delete-btn {
  color: #8d1c35;
  border-color: #e6b3bf;
  background: linear-gradient(180deg, #fff9fb, #fdf2f5);
}

.admin-delete-btn:hover {
  background: #fcecf1;
}

@media (max-width: 1024px) {

  .partner-grid,
  .partner-detail-card {
    grid-template-columns: 1fr;
  }

  .partner-detail-card__content {
    padding: 0 1rem 1.25rem;
  }

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

@media (max-width: 720px) {

  .partners-hero,
  .partner-detail-section {
    padding-top: clamp(4.6rem, 13vw, 5.4rem);
  }
}

/* Admin Dashboard Layout */
.admin-layout {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  align-items: flex-start;
}

.admin-sidebar {
  flex: 0 0 280px;
  position: sticky;
  top: 110px;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--surface);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.admin-nav-item {
  background: transparent;
  border: none;
  text-align: left;
  padding: 0.85rem 1.15rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
  font-size: 0.95rem;
}

.admin-nav-item:hover {
  background: rgba(14, 107, 184, 0.08);
  color: var(--accent-strong);
}

.admin-nav-item.active {
  background: var(--accent);
  color: white;
  box-shadow: 0 6px 16px rgba(14, 107, 184, 0.24);
}

.admin-content {
  flex: 1;
  min-width: 0;
}

.admin-section {
  display: none;
  animation: adminFadeIn 0.35s ease;
}

.admin-section.active {
  display: block;
}

@keyframes adminFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    flex: none;
    position: static;
  }
}

/* Technical Page Styles */
.technical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 968px) {
  .technical-grid {
    grid-template-columns: 1fr;
  }
}

.technical-content h2 {
  font-size: 2rem;
  color: var(--accent-strong);
  margin-bottom: 1.5rem;
}

.premium-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.premium-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
}

.premium-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230e6bb8' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.premium-list li strong {
  color: var(--ink);
  font-weight: 800;
}

.technical-visual {
  position: sticky;
  top: 100px;
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
}

.visual-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.visual-wrapper:hover img {
  transform: scale(1.05);
}

.visual-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 107, 184, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.visual-wrapper:hover::after {
  opacity: 1;
}

.zoom-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(14, 107, 184, 0.9);
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.visual-wrapper:hover .zoom-hint {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

.visual-caption {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

/* Lightbox Modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(6, 16, 28, 0.95);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.image-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalZoomIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.modal-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10000;
}

.modal-close:hover,
.modal-close:focus {
  color: var(--accent);
  text-decoration: none;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalZoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Floor Plans Grid */
.fp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.fp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.fp-item:hover {
  transform: translateY(-4px);
}

.fp-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.fp-item--image .fp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.fp-item--image:hover .fp-thumb img {
  transform: scale(1.08);
  filter: brightness(0.85);
}

.fp-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 107, 184, 0.3);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fp-item--image:hover .fp-hover {
  opacity: 1;
}

.fp-item--doc .fp-thumb {
  background: rgba(224, 78, 78, 0.05);
  /* subtle red for PDF / doc */
  border: 1px solid rgba(224, 78, 78, 0.15);
}

.fp-doc-icon {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  transition: transform 0.3s ease;
}

.fp-item--doc:hover .fp-doc-icon {
  transform: scale(1.1);
}

.fp-grid--docs {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px dashed rgba(14, 107, 184, 0.2);
}

.fp-title {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 700;
  text-align: center;
}
