/* ===== Reset & base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg-dark: #05070b; --bg-navy: #0a0f1a; --gold: #ffc000;
  --text-white: #f4f5f2; --text-muted: #aab0bc;
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Abel', 'Arial', sans-serif;
  --header-h: 84px; --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg-dark); color: var(--text-white); line-height: 1.75; overflow-x: clip; font-size: 17px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2 { font-family: var(--font-display); font-weight: 600; color: var(--gold); letter-spacing: 0.01em; text-transform: uppercase; line-height: 1.05; }
h1 { font-size: clamp(28px, 3.4vw, 46px); margin-bottom: 18px; }
h2 { font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 16px; }
p { font-size: 16px; line-height: 1.65; color: var(--text-muted); margin-bottom: 16px; }
p:last-of-type { margin-bottom: 0; }
/* Subheading/lead style: use directly under any h1 or h2 for a consistent
   two-tier heading pattern across hero and content sections. */
p.lead { font-size: 19px; line-height: 1.5; color: var(--text-white); font-weight: 500; margin-bottom: 22px; }

/* ===== Buttons ===== */
.btn-link { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-white); padding: 12px 24px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 4px; background: transparent; transition: all 0.4s var(--ease-out-expo); width: fit-content; position: relative; overflow: hidden; margin-top: 8px; }
.btn-link .arrow { display: inline-block; transition: transform 0.4s var(--ease-out-expo); }
.btn-link:hover { color: var(--gold); border-color: var(--gold); background: rgba(255, 192, 0, 0.04); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
.btn-link:hover .arrow { transform: translateX(6px); }

/* ===== Header ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h); display: flex; align-items: center; background: linear-gradient(to bottom, rgba(5,7,11,0.85) 0%, rgba(5,7,11,0) 100%); transition: background 0.4s var(--ease-out-expo), height 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo); }
.site-header.is-scrolled { background: rgba(5,7,11,0.96); backdrop-filter: blur(10px); box-shadow: 0 4px 24px rgba(0,0,0,0.35); border-bottom: 1px solid rgba(255,255,255,0.06); }
.site-header.header-hidden { transform: translateY(-100%); }
.header-inner { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 48px; }
.logo { font-family: var(--font-body); font-weight: 700; font-size: 18px; letter-spacing: 0.12em; color: var(--gold); flex-shrink: 0; }
.nav-primary { flex: 1; display: flex; align-items: center; gap: 36px; }
.nav-secondary { margin-left: auto; display: flex; align-items: center; gap: 36px; }
.nav-primary > a, .nav-secondary > a, .nav-trigger, .nav-flat { font-size: 15px; font-weight: 500; color: var(--text-muted); padding: 30px 0; transition: color 0.3s ease; }
.nav-primary > a:hover, .nav-secondary > a:hover, .nav-trigger:hover, .nav-flat:hover { color: var(--gold); }
.nav-item:has(.mega-panel-company) .nav-trigger { color: var(--gold) !important; }
.nav-item:has(.mega-panel-company) .nav-caret { opacity: 1; }
.nav-caret { display: inline-block; font-size: 11px; margin-left: 4px; opacity: 0; transition: opacity 0.25s ease, transform 0.3s var(--ease-out-expo); }
.nav-item:hover .nav-caret { opacity: 1; transform: rotate(180deg); }

/* ---- Mega menu ---- */
.nav-item { position: relative; }
.mega-panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(16px) scale(0.98); min-width: 280px; background: rgba(6,8,13,0.7); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; box-shadow: 0 32px 64px rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: opacity 0.4s ease, transform 0.5s var(--ease-out-expo), visibility 0.4s ease; z-index: 50; backdrop-filter: blur(4px); }
.nav-item:hover .mega-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) scale(1); }
.mega-panel-right { left: auto; right: 0; transform: translateY(16px) scale(0.98); }
.nav-item:hover .mega-panel-right { transform: translateY(0) scale(1); }
.mega-inner { padding: 14px 22px 18px; }
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 0 24px; }
.mega-grid-narrow { grid-template-columns: 1fr; min-width: unset; }
.mega-grid a { display: block; font-size: 13.5px; color: var(--text-white); padding: 7px 4px; white-space: normal; border-radius: 4px; transition: color 0.25s ease, padding-left 0.25s ease; }
.mega-grid a:hover { color: var(--gold); padding-left: 8px; }
.mega-panel-company { min-width: unset !important; width: max-content; max-width: 200px; left: 50%; right: auto; transform: translateX(-50%) translateY(16px) scale(0.98); }
.nav-item:hover .mega-panel-company { transform: translateX(-50%) translateY(0) scale(1); }
.mega-panel-space { min-width: unset !important; width: max-content; max-width: 240px; }
.mega-panel-aero { min-width: 420px !important; }

/* ---- Mobile nav toggle ---- */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; background: none; border: none; cursor: pointer; z-index: 1001; padding: 0; margin-left: auto; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text-white); border-radius: 2px; transition: transform 0.35s var(--ease-out-expo), opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile nav drawer ---- */
.nav-mobile { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: rgba(5,7,11,0.98); backdrop-filter: blur(14px); z-index: 999; padding: 24px 28px 40px; overflow-y: auto; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity 0.35s ease, transform 0.4s var(--ease-out-expo), visibility 0.35s ease; }
.nav-mobile.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-mobile > a { display: block; font-size: 17px; font-weight: 500; color: var(--text-white); padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-mobile hr { border: none; border-top: 1px solid rgba(255,255,255,0.12); margin: 12px 0; }
.nav-mobile-group { border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-mobile-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; background: none; border: none; color: var(--text-white); font-family: var(--font-body); font-size: 17px; font-weight: 500; padding: 16px 4px; cursor: pointer; text-transform: uppercase; letter-spacing: 0.04em; }
.nav-mobile-trigger span { font-size: 20px; color: var(--gold); transition: transform 0.3s var(--ease-out-expo); }
.nav-mobile-trigger.is-open span { transform: rotate(45deg); }
.nav-mobile-sub { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out-expo); }
.nav-mobile-sub.is-open { max-height: 600px; padding-bottom: 12px; }
.nav-mobile-sub a { display: block; font-size: 15px; color: var(--text-muted); padding: 10px 12px; }
.nav-mobile-sub a:hover { color: var(--gold); }

/* ===== Hero Section ===== */
.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; z-index: 1; display: block; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s ease; display: flex; align-items: center; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,5,8,0.9) 0%, rgba(3,5,8,0.35) 45%, rgba(3,5,8,0.55) 100%), linear-gradient(to right, rgba(3,5,8,0.55) 0%, rgba(3,5,8,0) 55%); }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 40px; display: flex; }
.hero-content { max-width: 640px; margin-top: 90px; }
.hero-content p:last-of-type { margin-bottom: 28px; }
.hero-dots { position: absolute; bottom: 40px; width: 100%; max-width: 1440px; margin: 0 auto; left: 0; right: 0; padding: 0 40px; z-index: 3; display: flex; justify-content: flex-start; gap: 12px; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(244,245,242,0.6); background: transparent; cursor: pointer; transition: all 0.4s var(--ease-out-expo); }
.dot.is-active { background: var(--gold); border-color: var(--gold); transform: scale(1.3); }

/* ===== Content/Immersive Blocks ===== */
.overlap-group { position: relative; z-index: 2; }
.block-immersive { height: clamp(600px, 95vh, 900px); display: flex; align-items: center; overflow: hidden; background: #000; }
.block-immersive.is-sticky { position: sticky; top: 0; z-index: 1; }
.block-immersive.is-relative { position: relative; z-index: 2; }
.block-image-immersive { position: absolute; inset: 0; z-index: 1; background: var(--bg-dark); }
.block-image-immersive img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.rotate-180 img { transform: none; }
.block-immersive-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 45%, rgba(0,0,0,0) 100%); }
.block-immersive-inner { position: relative; z-index: 3; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.block-text { flex: 1 1 460px; max-width: 560px; }

/* ---- Scroll-reveal animation ----
   Pair with JS: an IntersectionObserver that adds .is-visible
   to .reveal elements when they enter the viewport. */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Footer ===== */
.site-footer { position: relative; z-index: 10; background: var(--bg-navy); border-top: 1px solid rgba(255,255,255,0.08); padding: 40px; }
.footer-inner { max-width: 1440px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer p { font-size: 14px; color: var(--text-muted); margin-bottom: 0; }

/* ===================================================
   Responsive breakpoints
   =================================================== */

/* ---- Tablet / laptop (≤1024px): collapse to mobile nav ---- */
@media (max-width: 1024px) {
  .nav-primary, .nav-secondary { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: block; }

  .header-inner { padding: 0 24px; }

  .hero-inner { padding: 0 24px 90px; }
  .block-immersive-inner { padding: 0 24px; }
}

/* ---- Tablet (≤768px) ---- */
@media (max-width: 768px) {
  :root { --header-h: 68px; }

  .logo { font-size: 16px; }

  .hero-content { max-width: 100%; }
  .hero-dots { padding: 0 20px; bottom: 28px; }

  .block-immersive { height: auto; min-height: 100vh; padding: 140px 0 80px; }
  .block-immersive.is-sticky { position: relative; }
  .block-text { max-width: 100%; }

  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ---- Mobile (≤480px) ---- */
@media (max-width: 480px) {
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  p { font-size: 15px; }
  p.lead { font-size: 17px; }

  .btn-link { font-size: 12px; padding: 10px 18px; }

  .hero-inner { padding: 0 20px 70px; }
  .block-immersive-inner { padding: 0 20px; }
  .block-immersive { padding: 120px 0 60px; }

  .nav-mobile { padding: 16px 20px 32px; }
}
/* ===== Contact page ===== */
.contact-page { padding: calc(var(--header-h) + 64px) 0 100px; }
.contact-wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.contact-intro { max-width: 640px; margin-bottom: 56px; }
.contact-intro h1 { margin-bottom: 10px; }

.contact-group-title { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 20px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.08); }
.contact-group-title:first-of-type { padding-top: 0; border-top: none; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; overflow: hidden; }
.contact-card { background: var(--bg-dark); padding: 32px; transition: background 0.3s var(--ease-out-expo); }
.contact-card:hover { background: var(--bg-navy); }
.contact-card h3 { font-family: var(--font-display); font-size: 20px; letter-spacing: 0.01em; text-transform: uppercase; margin: 0 0 10px; }
.contact-card h3 a { color: var(--text-white); transition: color 0.3s ease; }
.contact-card:hover h3 a { color: var(--gold); }
.contact-card h3 .arrow { display: inline-block; margin-left: 6px; transition: transform 0.4s var(--ease-out-expo); }
.contact-card:hover h3 .arrow { transform: translateX(6px); color: var(--gold); }
.contact-card p { font-size: 15px; margin: 0; }

.contact-hq { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 48px; border-top: 1px solid rgba(255,255,255,0.08); }
.contact-hq img { width: 320px; border-radius: 6px; flex-shrink: 0; }
.contact-hq-text h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.contact-hq-text address { font-style: normal; color: var(--text-muted); font-size: 16px; line-height: 1.7; }

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-hq { flex-direction: column; align-items: flex-start; }
  .contact-hq img { width: 100%; }
  .contact-wrap { padding: 0 20px; }
}

/* ===== Contact form ===== */
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); background: none; border: none; cursor: pointer; padding: 0 0 32px; transition: color 0.3s ease; }
.back-link:hover { color: var(--gold); }

.contact-form-wrapper { background: var(--bg-navy); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 40px; }
.form-header { max-width: 640px; margin-bottom: 32px; transition: opacity 0.2s ease; }
.form-header h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.form-header p { font-size: 15px; margin-bottom: 0; }
.form-header.is-fading { opacity: 0; }

.form-success, .form-error { border-radius: 6px; padding: 14px 18px; font-size: 14px; margin-bottom: 28px; }
.form-success { background: rgba(255, 192, 0, 0.08); border: 1px solid rgba(255, 192, 0, 0.3); color: var(--text-white); }
.form-error { background: rgba(220, 60, 60, 0.08); border: 1px solid rgba(220, 60, 60, 0.35); color: var(--text-white); }
.form-error a { color: var(--gold); text-decoration: underline; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; margin-bottom: 28px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.form-group label .required { color: var(--gold); }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--text-white);
  background: var(--bg-dark); border: 1px solid rgba(255,255,255,0.14); border-radius: 5px;
  padding: 12px 14px; width: 100%; transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 192, 0, 0.12);
}
.form-group select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aab0bc' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.form-group textarea { min-height: 130px; resize: vertical; }

.phone-input-wrapper { display: flex; gap: 8px; }
.phone-input-wrapper select { flex: 0 0 110px; padding-right: 30px; background-position: right 10px center; }
.phone-input-wrapper input { flex: 1; }

.file-upload-wrapper { position: relative; }
.file-upload-label { display: flex; align-items: center; justify-content: center; text-align: center; font-size: 14px; color: var(--text-muted); border: 1px dashed rgba(255,255,255,0.2); border-radius: 5px; padding: 22px 16px; cursor: pointer; transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease; }
.file-upload-label:hover { border-color: var(--gold); color: var(--text-white); background: rgba(255, 192, 0, 0.04); }
.file-upload-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-info { font-size: 13px; color: var(--gold); margin-top: 8px; }

.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 28px; }
.checkbox-group input[type="checkbox"] { margin-top: 4px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--gold); }
.checkbox-group label { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
.checkbox-group label a { color: var(--gold); text-decoration: underline; }

.submit-btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bg-dark); background: var(--gold); border: 1px solid var(--gold); border-radius: 4px; padding: 14px 32px; cursor: pointer; transition: all 0.4s var(--ease-out-expo); }
.submit-btn:hover { background: transparent; color: var(--gold); box-shadow: 0 4px 16px rgba(255,192,0,0.15); }

@media (max-width: 720px) {
  .contact-form-wrapper { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .phone-input-wrapper { flex-direction: column; }
  .phone-input-wrapper select { flex: 1; }
}

/* ===== Updates page (accordion blog list) ===== */
.updates-page { padding: calc(var(--header-h) + 64px) 0 100px; }
.updates-wrap { width: 100%; max-width: 900px; margin: 0 auto; padding: 0 40px; }
.updates-intro { max-width: 640px; margin-bottom: 48px; }
.updates-intro h1 { margin-bottom: 10px; }

.updates-list { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.08); }

.update-item { border-bottom: 1px solid rgba(255,255,255,0.08); }

.update-trigger { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; background: none; border: none; cursor: pointer; text-align: left; padding: 28px 4px; transition: background 0.3s ease; }
.update-trigger:hover { background: rgba(255,255,255,0.02); }

.update-trigger-text { flex: 1; }
.update-date { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.update-trigger-text h3 { font-family: var(--font-display); font-size: 24px; letter-spacing: 0.01em; text-transform: uppercase; color: var(--text-white); margin: 0 0 8px; transition: color 0.3s ease; }
.update-item.is-open .update-trigger-text h3,
.update-trigger:hover .update-trigger-text h3 { color: var(--gold); }
.update-subheading { font-size: 15px; color: var(--text-muted); margin: 0; }

.update-toggle-icon { flex-shrink: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 300; color: var(--text-white); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; transition: transform 0.4s var(--ease-out-expo), border-color 0.3s ease, color 0.3s ease; }
.update-item.is-open .update-toggle-icon { transform: rotate(135deg); border-color: var(--gold); color: var(--gold); }

.update-panel { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out-expo); }
.update-panel-inner { padding: 0 4px 32px; }
.update-panel-img { width: 100%; max-height: 280px; object-fit: cover; border-radius: 6px; margin-bottom: 20px; }
.update-panel-inner p { font-size: 15px; color: var(--text-muted); margin-bottom: 18px; }
.update-panel-inner .btn-link { margin-top: 0; }

@media (max-width: 600px) {
  .updates-wrap { padding: 0 20px; }
  .update-trigger { padding: 22px 2px; gap: 14px; }
  .update-trigger-text h3 { font-size: 19px; }
  .update-toggle-icon { width: 26px; height: 26px; font-size: 17px; }
}

/* ===== Update detail (single post) page ===== */
.update-detail-page { padding: calc(var(--header-h) + 64px) 0 100px; }
.update-detail-wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 40px; }

.update-detail-header { margin: 28px 0 32px; }
.update-detail-header .update-date { margin-bottom: 14px; }
.update-detail-header h1 { margin-bottom: 14px; }
.update-detail-header .lead { margin-bottom: 0; }

.update-detail-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 8px; margin-bottom: 36px; }

.update-detail-body p { font-size: 16px; color: var(--text-muted); margin-bottom: 20px; }
.update-detail-body p:first-of-type { color: var(--text-white); font-size: 17px; }

.update-detail-footer { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); }

@media (max-width: 600px) {
  .update-detail-wrap { padding: 0 20px; }
  .update-detail-img { max-height: 260px; }
}