/* ============================================================
   STRATENSIS — Global Stylesheet
   ============================================================ */

/* Fonts */
@font-face { font-family: 'Gilroy'; src: url('fonts/Gilroy-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Gilroy'; src: url('fonts/Gilroy-RegularItalic.ttf') format('truetype'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'Gilroy'; src: url('fonts/Gilroy-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Gilroy'; src: url('fonts/Gilroy-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'Gilroy'; src: url('fonts/Gilroy-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Gilroy'; src: url('fonts/Gilroy-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; }
@font-face { font-family: 'Gilroy'; src: url('fonts/Gilroy-Heavy.ttf') format('truetype'); font-weight: 900; font-style: normal; }

/* Variables */
:root {
  --blue: #0426A0;
  --blue-dark: #042290;
  --blue-mid: #0034CC;
  --gray: #707070;
  --gray-light: #C8C8C8;
  --gray-bg: #D9D9D9;
  --white: #FFFFFF;
  --black: #0A0A0A;
  --font: 'Gilroy', sans-serif;
  --nav-h: 72px;
  --max-w: 1280px;
  --radius: 100px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--black); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--gray-bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-circle {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  animation: preloader-spin 2s linear infinite;
}
.preloader-circle::after {
  content: '';
  position: absolute; inset: -1.5px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: white;
  animation: preloader-spin 1.5s linear infinite;
}
.preloader-logo { width: 52px; height: 52px; }
.preloader-text {
  font-family: var(--font); font-weight: 500; font-size: 14px;
  color: white; letter-spacing: 0.05em;
}
@keyframes preloader-spin { to { transform: rotate(360deg); } }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.navbar.dark-nav { }
.navbar-logo { height: 28px; width: auto; }
.navbar-logo-white { display: block; }
.navbar-logo-blue { display: none; }
.navbar.scrolled .navbar-logo-white { display: none; }
.navbar.scrolled .navbar-logo-blue { display: block; }

.navbar-page-label {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 13px; font-weight: 500; color: var(--blue);
  letter-spacing: 0.03em;
  display: none;
}
.navbar.scrolled .navbar-page-label { display: block; }

.btn-menu {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: white;
  font-family: var(--font); font-weight: 600; font-size: 14px;
  padding: 10px 24px;
  border-radius: var(--radius);
  transition: all 0.25s;
  letter-spacing: 0.03em;
}
.btn-menu:hover { background: rgba(255,255,255,0.15); }
.navbar.scrolled .btn-menu {
  border-color: var(--blue);
  color: var(--blue);
}
.navbar.scrolled .btn-menu:hover { background: var(--blue); color: white; }

/* ============================================================
   MENU OVERLAY
   ============================================================ */
.menu-overlay {
  position: fixed; inset: 0; z-index: 2000;
  pointer-events: none; opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
}
.menu-overlay.open { opacity: 1; pointer-events: all; }

.menu-bg-left {
  width: 52%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}
.menu-bg-right {
  flex: 1;
  background: var(--blue);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  padding: 48px 56px;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77,0,0.175,1);
}
.menu-overlay.open .menu-bg-right { transform: translateX(0); }

.menu-brand-pattern {
  position: absolute; right: -40px; bottom: -40px;
  width: 260px; height: 260px;
  opacity: 0.12;
}

.menu-home-tag {
  display: inline-flex; align-items: center;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: white; font-size: 13px; font-weight: 500;
  padding: 8px 20px; border-radius: var(--radius);
  margin-bottom: 40px; width: fit-content;
}
.btn-close-menu {
  position: absolute; top: 36px; right: 48px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: transparent; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; transition: all 0.25s;
}
.btn-close-menu:hover { background: rgba(255,255,255,0.15); }

.menu-nav { display: flex; flex-direction: column; gap: 8px; }
.menu-nav a {
  font-size: 48px; font-weight: 800; color: white;
  line-height: 1.1;
  transition: opacity 0.2s;
  display: block;
}
.menu-nav a:hover { opacity: 0.7; }

/* Brand lines decoration */
.menu-lines {
  position: absolute; right: 56px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 5px;
  opacity: 0.25;
}
.menu-lines span {
  display: block; height: 1.5px; background: white;
  width: 180px;
}
.menu-lines span:nth-child(1) { width: 140px; }
.menu-lines span:nth-child(2) { width: 160px; }
.menu-lines span:nth-child(3) { width: 180px; }
.menu-lines span:nth-child(4) { width: 170px; }
.menu-lines span:nth-child(5) { width: 150px; }
.menu-lines span:nth-child(6) { width: 130px; }
.menu-lines span:nth-child(7) { width: 110px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: var(--radius);
  font-family: var(--font); font-weight: 600; font-size: 15px;
  padding: 14px 28px;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.6);
  color: white; background: transparent;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: white; }
.btn-outline-blue {
  border: 1.5px solid var(--blue);
  color: var(--blue); background: transparent;
}
.btn-outline-blue:hover { background: var(--blue); color: white; }
.btn-solid-blue {
  background: var(--blue); color: white; border: 1.5px solid var(--blue);
}
.btn-solid-blue:hover { background: var(--blue-dark); }
.btn-solid-white {
  background: white; color: var(--blue); border: 1.5px solid white;
}
.btn-solid-white:hover { background: rgba(255,255,255,0.9); }

.btn-icon-circle {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
  background: transparent; color: white;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s; cursor: pointer;
}
.btn-icon-circle:hover { background: rgba(255,255,255,0.15); }

/* Arrow icon */
.arrow-icon { font-size: 18px; transition: transform 0.25s; }
.btn:hover .arrow-icon { transform: translateX(3px); }

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section { padding: 100px 48px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800; line-height: 1.1;
  color: var(--blue);
}
.section-title-white { color: white; }
.section-title-dark { color: var(--black); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: white;
  padding: 80px 48px 40px;
  position: relative;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 60px;
  align-items: start;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--gray-light);
}
.footer-logo { height: 28px; }

.footer-home-tag {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--blue);
  color: var(--blue); font-size: 13px; font-weight: 500;
  padding: 7px 18px; border-radius: var(--radius);
  width: fit-content; margin-bottom: 24px;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 15px; font-weight: 500; color: var(--black); transition: color 0.2s; }
.footer-nav a:hover { color: var(--blue); }

.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact a { font-size: 15px; color: var(--black); transition: color 0.2s; }
.footer-contact a:hover { color: var(--blue); }

.footer-cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 280px;
  min-width: 360px;
}
.footer-cta-box img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
  filter: brightness(0.6);
}
.footer-cta-content {
  position: relative; z-index: 2;
  padding: 32px; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
}
.footer-cta-title { font-size: 28px; font-weight: 800; color: white; line-height: 1.2; }
.footer-cta-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: white; color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; align-self: flex-end;
}
.footer-cta-sub { font-size: 13px; color: rgba(255,255,255,0.8); margin-top: 12px; }
.footer-cta-inner-content { display: flex; flex-direction: column; gap: 8px; }

.footer-bottom {
  padding-top: 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-symbol { width: 36px; height: 36px; }
.footer-disclaimer {
  font-size: 11px; color: var(--gray); line-height: 1.6;
  max-width: 560px;
}
.footer-copy { font-size: 12px; color: var(--gray); }

.scroll-top-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 500;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: white; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
.scroll-top-btn.visible { opacity: 1; visibility: visible; }
.scroll-top-btn:hover { background: var(--blue-dark); transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .navbar { padding: 0 32px; }
  .section { padding: 80px 32px; }
  footer { padding: 60px 32px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .footer-cta-box { min-width: unset; grid-column: 1 / -1; min-height: 220px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .navbar { padding: 0 20px; }
  .section { padding: 60px 20px; }
  footer { padding: 48px 20px 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cta-box { min-height: 200px; }
  .menu-bg-left { display: none; }
  .menu-bg-right { width: 100%; padding: 40px 28px; }
  .menu-nav a { font-size: 36px; }
  .btn-close-menu { right: 28px; top: 28px; }
}
