:root {
  --header-height: 76px;
  --text-light: rgba(255, 255, 255, 0.9);
  --text-muted: rgba(255, 255, 255, 0.65);
  --orange: #f17f03;
  --qyntar-font-body: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --qyntar-font-hero: "Tektur", "Heebo", sans-serif;
  --qyntar-font-heading: "Orbitron", "Heebo", sans-serif;
  --qyntar-type-h1: clamp(2.25rem, calc(-0.2rem + 5.6vw), 4rem);
  --qyntar-type-h2: clamp(1.75rem, calc(1.05rem + 1.6vw), 2.25rem);
  --qyntar-type-h3: clamp(1.375rem, calc(1.2rem + 0.4vw), 1.5rem);
  --qyntar-type-body: 1.125rem;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height, 76px) + 10px);
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
}

body {
  padding-top: var(--header-height);
  font-family: var(--qyntar-font-body);
  color: var(--text-light);
  background: #253030;
  line-height: 1.6;
  overflow-x: clip;
}

.site-page {
  width: 100%;
  min-width: 0;
}

img,
video,
picture {
  max-width: 100%;
}

img {
  display: block;
}

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

p {
  margin-top: 0;
  font-family: var(--qyntar-font-body);
  font-size: clamp(1rem, 1vw, 2.2rem);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
}

h2 {
 font-family: var(--qyntar-font-heading);
  font-size: var(--qyntar-type-h2);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

h3 {
 font-family: var(--qyntar-font-heading);
  font-size: var(--qyntar-type-h3);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

@font-face {
  font-family: "Orbitron";
  src: url("/assets/fonts/Orbitron-Regular.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
.header-container,
.contact-container,
.footer-container {
  width: min(calc(100% - 50px), 1400px);
  margin-inline: auto;
}

/* =========================================================
   HEADER
   ========================================================= */

/* =========================================================
   HEADER
   ========================================================= */

.header-section {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  z-index: 1000;
  background: #253030;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
  padding: 0.85rem 0;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

.header-nav-toggle {
  display: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-nav a {
  position: relative;
  font-family: var(--qyntar-font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.header-nav a:hover {
  color: #ffffff;
}

.header-nav-sep {
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  user-select: none;
}

.header-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.header-lang-link {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  font-size: 0.92rem;
}

.header-lang-link.header-lang-active {
  color: #ffffff;
}

.header-lang-sep {
  color: var(--orange);
}

.header-nav-toggle-btn {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  z-index: 40;
}

.header-nav-toggle-btn span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-nav-toggle-btn span:nth-child(1) {
  transform: translateY(-6px);
}

.header-nav-toggle-btn span:nth-child(2) {
  transform: translateY(0);
}

.header-nav-toggle-btn span:nth-child(3) {
  transform: translateY(6px);
}

.header-nav-overlay {
  display: none;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
  position: relative;
  width: 100%;
  padding: 8rem 0 0;
  background: linear-gradient(180deg, #050505 0%, #253030 100%);
  color: #f5f5f5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-header {
  max-width: 760px;
  margin-bottom: 3rem;
}

.contact-index {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.contact-header h2 {
  margin: 0 0 1rem;
  color: #ffffff;
}

.contact-header p {
  max-width: 62ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.68);
}

.contact-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}


.contact-block {
  position: relative;
  min-height: 320px;
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;    
  text-align: center;   
}

.contact-block:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-block::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 28px;
  width: 40px;
  height: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.contact-label {
	    font-family: var(--qyntar-font-body);
    font-size: 0.875rem;
    line-height: 1.5;
  display: inline-block;
  margin-bottom: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.contact-block h3 {
  margin: 0 0 1rem;
  color: #ffffff;
}

.contact-text,
.contact-note-text {
  max-width: 44ch;
  font-size: var(--qyntar-type-body);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.contact-text {
  margin: 0 0 2rem;
}

.contact-note-text {
  margin: 0;
}

.contact-note {
  justify-content: space-between;
}

.contact-note-list {
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  list-style: none;
}

.contact-note-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
}

.contact-note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.contact-reveal {
  width: fit-content;
  margin-top: auto;
}

.contact-reveal summary,
.footer-reveal summary {
  list-style: none;
  cursor: pointer;
}

.contact-reveal summary::-webkit-details-marker,
.footer-reveal summary::-webkit-details-marker {
  display: none;
}

.contact-reveal summary {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.contact-reveal summary:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.28);
}

.contact-reveal[open] summary {
  margin-bottom: 1rem;
}

.contact-value {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.06rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.6;
  word-break: break-word;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer-section {
  position: relative;
  width: 100%;
  background: #253030;
  color: #f5f5f5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(0, 2fr);
  gap: 4rem;
  padding: 4rem 0 3rem;
}

.footer-brand img {
  width: clamp(150px, 18vw, 220px);
  height: auto;
  margin-bottom: 1.25rem;
}

.footer-tagline {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer-description {
  max-width: 42ch;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.66);
}

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

.footer-col h4 {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-col a,
.footer-col summary {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-col summary:hover {
  color: #ffffff;
}

.footer-reveal {
  width: fit-content;
}

.footer-reveal summary {
  padding: 0;
  min-height: auto;
  border: 0;
  background: transparent;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  font-weight: 400;
  text-transform: none;
}

.footer-reveal[open] summary {
  margin-bottom: 0.9rem;
}

.footer-email-value {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.06rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.6;
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* ---------------------------
   TABLET — 900px
   --------------------------- */

@media (max-width: 900px) {
  /* HEADER */
  .header-nav-toggle-btn {
    display: inline-flex;
  }

  .header-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(78vw, 340px);
    height: 100vh;
    padding: 6rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.2rem;
    z-index: 30;
    background: rgba(1, 1, 2, 0.96);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .header-nav a {
    font-size: 1.05rem;
  }

  .header-nav-sep {
    display: none;
  }

  .header-lang {
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header-nav-toggle:checked ~ .header-nav {
    transform: translateX(0);
  }

  .header-nav-toggle:checked ~ .header-nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .header-nav-toggle:checked + .header-nav-toggle-btn span:nth-child(1) {
    transform: rotate(45deg);
  }

  .header-nav-toggle:checked + .header-nav-toggle-btn span:nth-child(2) {
    opacity: 0;
  }

  .header-nav-toggle:checked + .header-nav-toggle-btn span:nth-child(3) {
    transform: rotate(-45deg);
  }

  /* CONTACT */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-block:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .contact-block {
    min-height: auto;
    padding: 2rem;
  }

  /* FOOTER */
  .footer-top,
  .footer-nav-wrap {
    grid-template-columns: 1fr;
  }

  .footer-top {
    gap: 2.5rem;
  }
}

@media (max-width: 700px) {
  .header-container,
  .contact-container,
  .footer-container {
    width: calc(100% - 36px);
  }

  /* HEADER */
  .header-brand img {
    max-width: 170px;
    height: auto;
  }

  /* CONTACT */
  .contact-section {
    padding-top: 6rem;
  }

  .contact-header {
    margin-bottom: 2rem;
  }

  .contact-header h2 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .contact-header p,
  .contact-text,
  .contact-note-text,
  .contact-note-list li {
    font-size: 0.92rem;
  }

  .contact-block {
    padding: 1.5rem;
  }

  .contact-block::after {
    top: 20px;
    right: 20px;
    width: 28px;
    height: 28px;
  }

  .contact-reveal {
    width: 100%;
  }

  .contact-reveal summary,
  .contact-value {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .contact-reveal summary {
    padding: 0.85rem 1rem;
  }

  /* FOOTER */
  .footer-top {
    padding: 3rem 0 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* contact: pages whose own stylesheet defines a two-column .contact-grid
   still get the single centred block of the homepage */
.contact-grid {
  display: block;
}
