/* ============================================================
   ROMANSPHERE — Main Stylesheet
   Color Palette: Midnight Pro
   #0D1B2A | #1B263B | #415A77 | #778DA9
   ============================================================ */

/* ── Google Fonts Imports (handled via HTML link) ── */

/* ── Custom Properties ── */
:root {
  --c-bg:        #0D1B2A;
  --c-surface:   #1B263B;
  --c-mid:       #415A77;
  --c-light:     #778DA9;
  --c-white:     #E8EDF2;
  --c-off-white: #B0BEC5;
  --c-accent:    #5B9BD5;
  --c-gold:      #C8A45A;
  --c-success:   #4CAF7D;
  --c-error:     #E05A6A;

  --font-head:   'Raleway', sans-serif;
  --font-body:   'Inter', sans-serif;

  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-sm:   0 2px 12px rgba(0,0,0,0.25);
  --shadow-md:   0 6px 30px rgba(0,0,0,0.35);
  --shadow-lg:   0 16px 60px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 30px rgba(91,155,213,0.25);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-full: 999px;

  --nav-h:       72px;
  --container:   1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ── Selection ── */
::selection { background: var(--c-mid); color: var(--c-white); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-light); }

/* ── Skip Link (Accessibility) ── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--c-accent); color: #fff;
  padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  z-index: 9999; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ── Container ── */
.container {
  width: 90%;
  max-width: var(--container);
  margin-inline: auto;
}

/* ── Section Padding ── */
.section { padding: 5.5rem 0; }
.section--sm { padding: 3.5rem 0; }

/* ── Section Label ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.9rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--c-accent);
  border-radius: 1px;
}

/* ── Section Title ── */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-white);
  margin-bottom: 1.1rem;
}
.section-title span { color: var(--c-accent); }

/* ── Section Subtitle ── */
.section-sub {
  font-size: 1.05rem;
  color: var(--c-off-white);
  max-width: 600px;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(91,155,213,0.35);
}
.btn--primary:hover {
  background: #4a88c2;
  border-color: #4a88c2;
  box-shadow: 0 6px 28px rgba(91,155,213,0.5);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  border-color: var(--c-light);
  color: var(--c-white);
}
.btn--outline:hover {
  background: rgba(119,141,169,0.15);
  border-color: var(--c-accent);
  color: var(--c-accent);
  transform: translateY(-2px);
}

.btn--gold {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: #0D1B2A;
  font-weight: 700;
}
.btn--gold:hover {
  background: #d4b36a;
  box-shadow: 0 6px 28px rgba(200,164,90,0.4);
  transform: translateY(-2px);
}

.btn--lg { padding: 1rem 2.2rem; font-size: 1rem; }
.btn--sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Loading Screen ── */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--c-bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
#page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  height: 52px;
  filter: brightness(0) invert(1);
  animation: loaderPulse 1.5s ease-in-out infinite;
}
.loader-bar {
  width: 180px; height: 3px;
  background: var(--c-surface);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--c-accent), var(--c-gold));
  border-radius: 2px;
  animation: loaderSlide 1.2s ease-in-out infinite;
}
@keyframes loaderPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(0.97)} }
@keyframes loaderSlide { 0%{transform:translateX(-100%)} 100%{transform:translateX(350%)} }

/* ── Scroll Progress ── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-accent), var(--c-gold));
  z-index: 1001;
  transition: width 0.1s linear;
}

/* ╔══════════════════════════════════════╗
   ║            NAVIGATION                ║
   ╚══════════════════════════════════════╝ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(13,27,42,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img {
  height: 42px;
  transition: opacity 0.3s, filter 0.3s;
  filter: brightness(0) invert(1);
}
.nav__logo:hover img { opacity: 0.85; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav__link {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-off-white);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 1.8rem);
  height: 2px;
  background: var(--c-accent);
  border-radius: 1px;
  transition: transform 0.25s var(--ease);
}
.nav__link:hover { color: var(--c-white); }
.nav__link:hover::after { transform: translateX(-50%) scaleX(1); }
.nav__link.active { color: var(--c-accent); }
.nav__link.active::after { transform: translateX(-50%) scaleX(1); }

.nav__cta { margin-left: 0.75rem; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.nav__hamburger:hover { background: rgba(119,141,169,0.15); }
.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--c-white);
  border-radius: 1px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav__mobile {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0 2rem;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s;
  border-bottom: 1px solid rgba(119,141,169,0.2);
  z-index: 999;
}
.nav__mobile.open {
  transform: translateY(0);
  opacity: 1;
}
.nav__mobile-links {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 5%;
}
.nav__mobile-link {
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-off-white);
  border-bottom: 1px solid rgba(119,141,169,0.1);
  transition: color 0.2s, padding-left 0.2s;
}
.nav__mobile-link:hover { color: var(--c-accent); padding-left: 1.5rem; }
.nav__mobile-link.active { color: var(--c-accent); }
.nav__mobile-cta { margin: 1.25rem 5% 0; }

/* ╔══════════════════════════════════════╗
   ║              HERO                    ║
   ╚══════════════════════════════════════╝ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-bg);
}
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 60%, rgba(65,90,119,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(91,155,213,0.12) 0%, transparent 50%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
  max-width: 720px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.3s forwards;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--c-gold);
  border-radius: 1px;
}
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.5s forwards;
}
.hero__title .line { display: block; }
.hero__title .accent { color: var(--c-accent); }
.hero__title .highlight {
  position: relative;
  color: var(--c-gold);
}
.hero__title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 3px;
  background: var(--c-gold);
  border-radius: 2px;
  opacity: 0.5;
}
.hero__desc {
  font-size: 1.1rem;
  color: var(--c-off-white);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 580px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.7s forwards;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.9s forwards;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.1s forwards;
}
.hero__stat-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--c-white);
  line-height: 1;
}
.hero__stat-num span { color: var(--c-accent); }
.hero__stat-label {
  font-size: 0.8rem;
  color: var(--c-off-white);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}
.hero__scroll-text { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-light); }
.hero__scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid var(--c-light);
  border-radius: 12px;
  position: relative;
}
.hero__scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--c-accent);
  border-radius: 2px;
  animation: scrollWheel 2s ease infinite;
}
@keyframes scrollWheel { 0%{top:6px;opacity:1} 100%{top:20px;opacity:0} }

/* ── Floating card (hero right side visual) ── */
.hero__visual {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  z-index: 1;
  overflow: hidden;
}
.hero__visual-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: grayscale(30%) brightness(0.85);
}
.hero__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--c-bg) 0%, transparent 50%, transparent 70%, var(--c-bg) 100%);
}

/* ╔══════════════════════════════════════╗
   ║          MARQUEE / TICKER            ║
   ╚══════════════════════════════════════╝ */
.marquee-section {
  background: var(--c-surface);
  border-top: 1px solid rgba(119,141,169,0.15);
  border-bottom: 1px solid rgba(119,141,169,0.15);
  padding: 1rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-light);
  white-space: nowrap;
}
.marquee-item i { color: var(--c-accent); font-size: 0.75rem; }
@keyframes marqueeScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ╔══════════════════════════════════════╗
   ║             ABOUT                    ║
   ╚══════════════════════════════════════╝ */
.about { background: var(--c-bg); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about__visual {
  position: relative;
}
.about__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.about__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.about__img-wrap:hover .about__img { transform: scale(1.04); }
.about__img-border {
  position: absolute;
  inset: -12px;
  border: 2px solid var(--c-accent);
  border-radius: var(--radius-lg);
  opacity: 0.3;
  z-index: -1;
}
.about__badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--c-surface);
  border: 1px solid rgba(119,141,169,0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 130px;
}
.about__badge-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
}
.about__badge-text { font-size: 0.8rem; color: var(--c-off-white); margin-top: 0.3rem; }

.about__content .section-sub { max-width: 100%; margin-bottom: 1.5rem; }
.about__body { font-size: 1rem; color: var(--c-off-white); line-height: 1.8; margin-bottom: 2rem; }

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.about__feature-icon {
  width: 36px; height: 36px;
  min-width: 36px;
  background: rgba(91,155,213,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  font-size: 0.9rem;
}
.about__feature-text strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--c-white); }
.about__feature-text span { font-size: 0.82rem; color: var(--c-off-white); }

/* ╔══════════════════════════════════════╗
   ║            SERVICES                  ║
   ╚══════════════════════════════════════╝ */
.services { background: var(--c-surface); }
.services__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.services__header .section-label { justify-content: center; }
.services__header .section-sub { margin-inline: auto; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--c-bg);
  border: 1px solid rgba(119,141,169,0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(91,155,213,0.3);
  box-shadow: var(--shadow-glow), var(--shadow-md);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 60px; height: 60px;
  background: rgba(91,155,213,0.1);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--c-accent);
  margin-bottom: 1.5rem;
  transition: all 0.3s var(--ease);
}
.service-card:hover .service-card__icon {
  background: var(--c-accent);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}
.service-card__num {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(119,141,169,0.07);
  line-height: 1;
  transition: color 0.3s;
}
.service-card:hover .service-card__num { color: rgba(91,155,213,0.1); }
.service-card__title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--c-white);
}
.service-card__desc { font-size: 0.95rem; color: var(--c-off-white); line-height: 1.7; }

/* ╔══════════════════════════════════════╗
   ║           STATS / WHY US             ║
   ╚══════════════════════════════════════╝ */
.stats {
  background: linear-gradient(135deg, var(--c-mid) 0%, var(--c-surface) 100%);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(91,155,213,0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(200,164,90,0.12) 0%, transparent 50%);
}
.stats__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { padding: 1.5rem; }
.stat-item__num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-item__num .suffix { color: var(--c-gold); }
.stat-item__label {
  font-size: 0.85rem;
  color: rgba(224,230,238,0.75);
  letter-spacing: 0.05em;
}
.stat-item__icon {
  font-size: 1.6rem;
  color: var(--c-accent);
  margin-bottom: 0.75rem;
}

/* ╔══════════════════════════════════════╗
   ║           WHY CHOOSE US              ║
   ╚══════════════════════════════════════╝ */
.why { background: var(--c-bg); }
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why__content { order: 2; }
.why__visual { order: 1; }

.why__list { margin: 2rem 0 2.5rem; }
.why__item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(119,141,169,0.1);
}
.why__item:last-child { border-bottom: none; }
.why__item-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: rgba(91,155,213,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent);
  font-size: 1.1rem;
  transition: all 0.3s;
}
.why__item:hover .why__item-icon {
  background: var(--c-accent);
  color: #fff;
}
.why__item-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-white);
  margin-bottom: 0.3rem;
}
.why__item-desc { font-size: 0.9rem; color: var(--c-off-white); line-height: 1.6; }

/* Why visual card grid */
.why__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.why__card {
  background: var(--c-surface);
  border: 1px solid rgba(119,141,169,0.12);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.why__card:hover {
  transform: translateY(-4px);
  border-color: rgba(91,155,213,0.3);
  box-shadow: var(--shadow-md);
}
.why__card:nth-child(odd) { margin-top: 1.5rem; }
.why__card-icon {
  font-size: 2rem;
  color: var(--c-accent);
  margin-bottom: 0.75rem;
}
.why__card-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.5rem;
}
.why__card-desc { font-size: 0.82rem; color: var(--c-off-white); line-height: 1.6; }

/* ╔══════════════════════════════════════╗
   ║            POSITIONS                 ║
   ╚══════════════════════════════════════╝ */
.positions { background: var(--c-surface); }
.positions__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.positions__header .section-label { justify-content: center; }
.positions__header .section-sub { margin-inline: auto; }
.positions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.position-card {
  background: var(--c-bg);
  border: 1px solid rgba(119,141,169,0.12);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.position-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91,155,213,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.position-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91,155,213,0.35);
  box-shadow: var(--shadow-md);
}
.position-card:hover::after { opacity: 1; }
.position-card__icon {
  width: 50px; height: 50px;
  min-width: 50px;
  background: rgba(91,155,213,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent);
  font-size: 1.25rem;
  transition: all 0.3s;
}
.position-card:hover .position-card__icon {
  background: var(--c-accent);
  color: #fff;
}
.position-card__body { flex: 1; }
.position-card__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.4rem;
}
.position-card__desc { font-size: 0.875rem; color: var(--c-off-white); line-height: 1.65; margin-bottom: 1rem; }
.position-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(91,155,213,0.1);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-accent);
  border: 1px solid rgba(91,155,213,0.2);
}
.tag--gold { background: rgba(200,164,90,0.1); color: var(--c-gold); border-color: rgba(200,164,90,0.2); }
.positions__cta { text-align: center; }

/* ╔══════════════════════════════════════╗
   ║          TESTIMONIALS                ║
   ╚══════════════════════════════════════╝ */
.testimonials { background: var(--c-bg); }
.testimonials__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.testimonials__header .section-label { justify-content: center; }
.testimonials__header .section-sub { margin-inline: auto; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--c-surface);
  border: 1px solid rgba(119,141,169,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all 0.3s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91,155,213,0.2);
}
.testimonial-card__quote {
  font-size: 2.5rem;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.6;
}
.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--c-off-white);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.testimonial-card__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--c-mid);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-white);
  flex-shrink: 0;
}
.testimonial-card__name { font-weight: 700; font-size: 0.9rem; color: var(--c-white); }
.testimonial-card__role { font-size: 0.8rem; color: var(--c-light); }
.testimonial-card__stars {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: var(--c-gold);
  font-size: 0.75rem;
  letter-spacing: 2px;
}
.testimonials__placeholder {
  text-align: center;
  padding: 3rem;
  background: var(--c-surface);
  border: 2px dashed rgba(119,141,169,0.2);
  border-radius: var(--radius-lg);
  color: var(--c-light);
}
.testimonials__placeholder i { font-size: 2.5rem; margin-bottom: 1rem; color: var(--c-mid); }
.testimonials__placeholder p { font-size: 1rem; }

/* ╔══════════════════════════════════════╗
   ║          CONTACT SECTION             ║
   ╚══════════════════════════════════════╝ */
.contact { background: var(--c-surface); }
.contact__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: start;
}
.contact__info { }
.contact__info .section-sub { margin-bottom: 2.5rem; }
.contact__items { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact__item-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: rgba(91,155,213,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent);
  font-size: 1rem;
}
.contact__item-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-light); margin-bottom: 0.25rem; }
.contact__item-val { font-size: 0.95rem; color: var(--c-white); }
.contact__item-val a:hover { color: var(--c-accent); }

.contact__socials {
  display: flex;
  gap: 0.75rem;
}
.social-btn {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(119,141,169,0.1);
  border: 1px solid rgba(119,141,169,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-off-white);
  font-size: 1rem;
  transition: all 0.3s var(--ease);
}
.social-btn:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(91,155,213,0.35);
}

/* Contact Form */
.contact__form-wrap {
  background: var(--c-bg);
  border: 1px solid rgba(119,141,169,0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form__group {
  margin-bottom: 1.25rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-light);
  margin-bottom: 0.5rem;
}
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  background: rgba(119,141,169,0.07);
  border: 1px solid rgba(119,141,169,0.2);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--c-white);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.form__input::placeholder,
.form__textarea::placeholder { color: rgba(176,190,197,0.45); }
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  background: rgba(91,155,213,0.06);
  box-shadow: 0 0 0 3px rgba(91,155,213,0.15);
}
.form__input.error,
.form__select.error,
.form__textarea.error { border-color: var(--c-error); box-shadow: 0 0 0 3px rgba(224,90,106,0.15); }
.form__textarea { resize: vertical; min-height: 130px; }
.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23778DA9' d='M8 10.5L2.5 5h11z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form__select option { background: var(--c-surface); color: var(--c-white); }

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--c-off-white);
}
.form__check input[type="checkbox"] {
  width: 18px; height: 18px;
  min-width: 18px;
  accent-color: var(--c-accent);
  cursor: pointer;
  margin-top: 2px;
}
.form__check a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 2px; }

/* Honeypot */
.form__honeypot { display: none !important; }

/* Form messages */
.form__msg {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  align-items: center;
  gap: 0.5rem;
}
.form__msg.show { display: flex; }
.form__msg--success { background: rgba(76,175,125,0.12); border: 1px solid rgba(76,175,125,0.3); color: var(--c-success); }
.form__msg--error   { background: rgba(224,90,106,0.12); border: 1px solid rgba(224,90,106,0.3); color: var(--c-error); }

/* ╔══════════════════════════════════════╗
   ║              MAP SECTION             ║
   ╚══════════════════════════════════════╝ */
.map-section { background: var(--c-bg); padding: 0; }
.map-section iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: none;
  filter: grayscale(30%) invert(1) hue-rotate(180deg) brightness(0.85) contrast(0.9);
  opacity: 0.75;
}

/* ╔══════════════════════════════════════╗
   ║              FOOTER                  ║
   ╚══════════════════════════════════════╝ */
.footer {
  background: #080f18;
  border-top: 1px solid rgba(119,141,169,0.1);
  padding: 4rem 0 0;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(119,141,169,0.1);
}
.footer__brand .footer__logo { height: 44px; margin-bottom: 1.25rem; filter: brightness(0) invert(1); }
.footer__tagline { font-size: 0.9rem; color: var(--c-off-white); line-height: 1.7; margin-bottom: 1.5rem; max-width: 280px; }
.footer__socials { display: flex; gap: 0.6rem; }

.footer__col-title {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 1.25rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__link {
  font-size: 0.9rem;
  color: var(--c-off-white);
  transition: color 0.2s, padding-left 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer__link::before { content: '›'; color: var(--c-accent); font-size: 1.1rem; }
.footer__link:hover { color: var(--c-accent); padding-left: 4px; }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.875rem;
  color: var(--c-off-white);
}
.footer__contact-item i { color: var(--c-accent); margin-top: 2px; font-size: 0.85rem; min-width: 14px; }
.footer__contact-item a:hover { color: var(--c-accent); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.5rem 0;
}
.footer__copy {
  font-size: 0.82rem;
  color: var(--c-light);
}
.footer__legal {
  display: flex;
  gap: 1.5rem;
}
.footer__legal-link {
  font-size: 0.82rem;
  color: var(--c-light);
  transition: color 0.2s;
}
.footer__legal-link:hover { color: var(--c-accent); }

/* ╔══════════════════════════════════════╗
   ║         BACK TO TOP BTN              ║
   ╚══════════════════════════════════════╝ */
#back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  background: var(--c-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(91,155,213,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  z-index: 500;
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover { background: #4a88c2; transform: translateY(-3px); }

/* ╔══════════════════════════════════════╗
   ║          INNER PAGE HERO             ║
   ╚══════════════════════════════════════╝ */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 3.5rem;
  background: var(--c-surface);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.15;
  filter: grayscale(30%);
  z-index: 0;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,38,59,0.88) 0%, rgba(13,27,42,0.97) 100%);
  z-index: 1;
}
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--c-light);
  margin-bottom: 1rem;
}
.page-hero__breadcrumb a { color: var(--c-accent); }
.page-hero__breadcrumb a:hover { text-decoration: underline; }
.page-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--c-white);
  position: relative;
}

/* ╔══════════════════════════════════════╗
   ║         APPLICATION PAGE             ║
   ╚══════════════════════════════════════╝ */
.apply-section { background: var(--c-bg); }
.apply__grid {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 3.5rem;
  align-items: start;
}
.apply__sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.apply__sidebar-card {
  background: var(--c-surface);
  border: 1px solid rgba(119,141,169,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.apply__sidebar-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(119,141,169,0.15);
}
.apply__perks { display: flex; flex-direction: column; gap: 0.75rem; }
.apply__perk {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--c-off-white);
}
.apply__perk i { color: var(--c-success); font-size: 0.85rem; }

.apply__form-wrap {
  background: var(--c-surface);
  border: 1px solid rgba(119,141,169,0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.apply__form-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(119,141,169,0.1);
}
.apply__form-section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.apply__form-section-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.apply__form-section-title i { font-size: 0.9rem; }

.file-upload {
  border: 2px dashed rgba(119,141,169,0.25);
  border-radius: var(--radius-sm);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
}
.file-upload:hover, .file-upload.dragover {
  border-color: var(--c-accent);
  background: rgba(91,155,213,0.05);
}
.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%; height: 100%;
}
.file-upload__icon { font-size: 2rem; color: var(--c-mid); margin-bottom: 0.75rem; }
.file-upload__text { font-size: 0.9rem; color: var(--c-off-white); }
.file-upload__hint { font-size: 0.78rem; color: var(--c-light); margin-top: 0.4rem; }
.file-upload__name {
  font-size: 0.85rem;
  color: var(--c-accent);
  margin-top: 0.5rem;
  display: none;
}

/* ╔══════════════════════════════════════╗
   ║           LEGAL PAGES                ║
   ╚══════════════════════════════════════╝ */
.legal-content {
  background: var(--c-bg);
  padding: 4rem 0;
}
.legal-content__inner {
  max-width: 800px;
  margin: 0 auto;
}
.legal-card {
  background: var(--c-surface);
  border: 1px solid rgba(119,141,169,0.12);
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.legal-card h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-accent);
  margin: 2rem 0 0.75rem;
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  margin: 1.25rem 0 0.5rem;
}
.legal-card p { font-size: 0.95rem; color: var(--c-off-white); line-height: 1.8; margin-bottom: 1rem; }
.legal-card ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-card ul li { font-size: 0.95rem; color: var(--c-off-white); line-height: 1.8; margin-bottom: 0.35rem; list-style: disc; }
.legal-card a { color: var(--c-accent); }
.legal-card a:hover { text-decoration: underline; }
.legal-date { font-size: 0.82rem; color: var(--c-light); font-style: italic; margin-bottom: 2rem; }

/* ╔══════════════════════════════════════╗
   ║         SCROLL ANIMATIONS            ║
   ╚══════════════════════════════════════╝ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-animate="left"]  { transform: translateX(-30px); }
[data-animate="right"] { transform: translateX(30px); }
[data-animate="scale"] { transform: scale(0.9); }
[data-animate="none"]  { transform: none; }
[data-animate].animated {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

/* ── Generic Keyframes ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes pulse  { 0%,100%{transform:scale(1)} 50%{transform:scale(1.04)} }
@keyframes spin   { to{transform:rotate(360deg)} }
@keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }

/* ── Shimmer skeleton ── */
.shimmer {
  background: linear-gradient(90deg, var(--c-surface) 25%, rgba(119,141,169,0.1) 50%, var(--c-surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s ease infinite;
}

/* ╔══════════════════════════════════════╗
   ║          RESPONSIVE                  ║
   ╚══════════════════════════════════════╝ */

/* ── 1024px ── */
@media (max-width: 1024px) {
  .about__grid   { grid-template-columns: 1fr; gap: 3rem; }
  .about__visual { max-width: 500px; margin: 0 auto; }
  .why__grid     { grid-template-columns: 1fr; gap: 3rem; }
  .why__visual   { order: 2; }
  .why__content  { order: 1; }
  .hero__visual  { display: none; }
  .apply__grid   { grid-template-columns: 1fr; }
  .apply__sidebar { position: static; }
  .footer__top   { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* ── 768px ── */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .services__grid      { grid-template-columns: 1fr; }
  .stats__inner        { grid-template-columns: repeat(2, 1fr); }
  .positions__grid     { grid-template-columns: 1fr; }
  .testimonials__grid  { grid-template-columns: 1fr; }
  .contact__grid       { grid-template-columns: 1fr; }
  .form__row           { grid-template-columns: 1fr; }
  .footer__top         { grid-template-columns: 1fr; }
  .footer__bottom      { flex-direction: column; text-align: center; }
  .why__cards          { grid-template-columns: 1fr 1fr; }
  .why__card:nth-child(odd) { margin-top: 0; }
  .about__features     { grid-template-columns: 1fr; }
}

/* ── 480px ── */
@media (max-width: 480px) {
  .hero__actions       { flex-direction: column; }
  .hero__stats         { gap: 1.5rem; }
  .stats__inner        { grid-template-columns: 1fr 1fr; gap: 0; }
  .why__cards          { grid-template-columns: 1fr; }
  .why__card:nth-child(odd) { margin-top: 0; }
  .apply__form-wrap    { padding: 1.5rem; }
  .legal-card          { padding: 1.75rem; }
  .contact__form-wrap  { padding: 1.5rem; }
}

/* ── Print ── */
@media print {
  .nav, #back-to-top, #scroll-progress, .hero__scroll { display: none; }
  body { color: #000; background: #fff; }
}
