
/* ========================================
   01. GLOBAL SETTINGS
======================================== */

:root {
  color-scheme: dark;

  /* TYPOGRAPHY */
  --font-body: "Inter", sans-serif;
  --font-heading: "Sora", sans-serif;
  --font-subheading: "Manrope", sans-serif;

  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* WEBSITE COLORS - DEEP OCEAN / INDUSTRIAL BLUE */

  /* Main backgrounds */
  --background-color: #163648;
  --surface-color: #1D4054;
  --surface-light: #2A5268;

  /* Typography */
  --text-color: #F4F8FB;
  --secondary-text: #F4F8FB;

  /* Accents */
  --accent-color: #38B9CF;
  --accent-light: #83DCE8;

  /* Borders and transparent layers */
  --border-color: #38B9CF;
  --transparent-color: transparent;

  /* SECTION SETTINGS */
  --challenge-padding: 12px;
}


/* ========================================
   GLOBAL TYPOGRAPHY
======================================== */

body {
  font-family: var(--font-body);
}

.site-header,
button,
input {
  font-family: var(--font-body);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
}

.hero-title,
.challenge-title,
.solution-title,
.advantages-title {
  font-family: var(--font-heading);
}

.challenge-slide-title,
.advantage-card-title {
  font-family: var(--font-subheading);
}


/* ========================================
   02. GLOBAL RESET
======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--background-color);
  color: var(--text-color);
}

button,
input {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ========================================
   03. HEADER / NAVIGATION
======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;

  background-color: var(--transparent-color);
  border-bottom: 1px solid var(--transparent-color);

  transition:
    background-color 300ms ease,
    border-color 300ms ease;
}

/* Background appears when scrolling */
.site-header.is-scrolled {
  background-color: var(--background-color);
  border-bottom: 1px solid color-mix(
    in srgb,
    var(--text-color) 10%,
    var(--transparent-color)
  );
}


/* COMPANY NAME */

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;

  font-family: var(--font-heading);
  color: var(--text-color);

  font-size: 20px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.site-logo-text {
  display: inline-block;
}


/* CENTERED BRAND SYMBOL */

.header-center-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 2;
  text-decoration: none;
}

.header-center-logo img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}


/* HEADER CONTACT BUTTON */

.header-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;
  padding: 10px 20px;

  border: 1px solid color-mix(
    in srgb,
    var(--text-color) 48%,
    var(--transparent-color)
  );
  border-radius: 999px;

  color: var(--text-color);
  background: color-mix(
    in srgb,
    var(--text-color) 7%,
    var(--transparent-color)
  );

  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.header-contact-link:hover {
  background: color-mix(
    in srgb,
    var(--text-color) 18%,
    var(--transparent-color)
  );
  border-color: var(--text-color);
  transform: translateY(-2px);
}


/* ========================================
   04. MAIN CONTENT
======================================== */

.main-content {
  position: relative;
  width: 100%;
}


/* ========================================
   05. HERO SECTION
======================================== */

/* Shared background behind Hero and Partners */

.hero-partners-wrapper {
  position: relative;
  width: 100%;

  background-color: var(--background-color);

  background-image:
    linear-gradient(
      to bottom,
      var(--transparent-color) 65%,
      var(--background-color) 100%
    ),
    url("images/hero-partner.png");

  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}


/* HERO CONTENT */

.hero-section {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 100svh;
  padding: 96px 24px 120px;

  text-align: center;
  isolation: isolate;
  background: var(--transparent-color);
}


/* HERO LABEL */

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin: 0 0 28px;
  color: var(--secondary-text);

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-label::before {
  width: 7px;
  height: 7px;
  flex-shrink: 0;

  border-radius: 50%;
  background: var(--accent-light);

  box-shadow:
    0 0 14px color-mix(
      in srgb,
      var(--accent-light) 85%,
      var(--transparent-color)
    );

  content: "";
}


/* HERO HEADING */

.hero-title {
  max-width: 1100px;
  margin: 0 auto;

  font-size: clamp(1.5rem, 3.5vw, 3.5rem);
  font-weight: 550;
  letter-spacing: -0.040em;
  line-height: 1.1;
}

.hero-title-line {
  display: block;
}

.hero-title-highlight {
  display: block;
  width: max-content;
  max-width: none;

  color: var(--accent-color);
  white-space: nowrap;

  position: relative;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}


/* MOVE HERO TEXT UP - DESKTOP */

.hero-label,
.hero-title {
  position: relative;
  top: auto;
  transform: translateY(-85px);
}


/* ========================================
   06. PARTNERS & INVESTORS
======================================== */

/* PARTNERS */

.partners-section {
  position: relative;
  width: 100%;

  margin: 0;
  padding: 15px 5%;

  background: var(--transparent-color);

  border: none;
  border-radius: 0;
}


/* LOGO BOXES */
.partners-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  gap: clamp(12px, 5vw, 70px);

  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}


/* LOGO BOXES */

.partner-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 1 1 0;
  min-width: 0;

  height: 200px;

  background: var(--transparent-color);
  border: none;
}


/* LOGO IMAGES */

.partner-logo-box img {
  display: block;

  width: 100%;
  max-width: 230px;
  max-height: 140px;
  height: auto;

  object-fit: contain;
}


/* NATO LOGO - SIZE ADJUSTMENT */

.partner-logo-box:nth-child(1) img {
  transform: scale(0.7);
}

/* ========================================
   07. CHALLENGE SECTION
======================================== */

.challenge-section {
  position: relative;

  width: calc(100% - 45px);
  max-width: 1440px;

  margin: 80px auto 100px;
  padding: var(--challenge-padding);

  border: 1px solid var(--border-color);
  border-radius: 20px;

  background: linear-gradient(
    145deg,
    var(--surface-light) 0%,
    var(--surface-color) 65%,
    var(--background-color) 100%
  );
}


/* CHALLENGE LAYOUT */

.challenge-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 2fr);

  grid-template-areas:
    "intro slideshow";

  gap: 0;
  align-items: stretch;
  width: 100%;
}


/* CHALLENGE INTRO */

.challenge-intro {
  grid-area: intro;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;

  padding: 28px 34px 24px 24px;
  text-align: left;
}


/* CHALLENGE LABEL */

.challenge-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin: 0 0 26px;
  color: var(--secondary-text);

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.challenge-label::before {
  width: 7px;
  height: 7px;
  flex-shrink: 0;

  border-radius: 50%;
  background: var(--accent-light);

  box-shadow:
    0 0 14px color-mix(
      in srgb,
      var(--accent-light) 85%,
      var(--transparent-color)
    );

  content: "";
}


/* CHALLENGE HEADING */

.challenge-title {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;

  color: var(--text-color);

  font-size: clamp(2rem, 3vw, 4rem);
  font-weight: 550;
  letter-spacing: -0.065em;
  line-height: 1.12;
}

.challenge-title-line {
  display: block;
  white-space: nowrap;
}

.challenge-title-highlight {
  color: var(--accent-color);
}


/* CHALLENGE DESCRIPTION */

.challenge-description {
  max-width: 350px;
  margin: 26px 0 0;

  color: var(--secondary-text);
  font-size: 16px;
  line-height: 1.8;
}


/* ========================================
   08. CHALLENGE SLIDESHOW
======================================== */

.challenge-slideshow {
  grid-area: slideshow;
  position: relative;

  display: flex;
  flex-direction: column;

  width: 100%;
  min-width: 0;
  min-height: 560px;

  margin: 0;
  padding: 0;
}

.challenge-slides {
  position: relative;
  flex: 1;

  display: grid;
  grid-template-columns: minmax(0, 1fr);

  width: 100%;
}


/* INDIVIDUAL SLIDES */

.challenge-slide {
  position: relative;
  grid-area: 1 / 1;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  width: 100%;
  min-height: 560px;
  padding: 36px 42px 110px;

  overflow: hidden;
  border-radius: 12px;
  color: var(--text-color);

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.challenge-slide[hidden] {
  display: none;
}

.challenge-slide:not([hidden]) {
  animation: slide-fade-in 350ms ease both;
}

@keyframes slide-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

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


/* SLIDE BACKGROUND IMAGES */

.challenge-slide-energy {
  background-color: var(--surface-color);

  background-image:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--background-color) 15%, var(--transparent-color)) 0%,
      color-mix(in srgb, var(--background-color) 35%, var(--transparent-color)) 45%,
      color-mix(in srgb, var(--background-color) 85%, var(--transparent-color)) 100%
    ),
    url("images/slide1.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.challenge-slide-cooling {
  background-color: var(--surface-color);

  background-image:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--background-color) 15%, var(--transparent-color)) 0%,
      color-mix(in srgb, var(--background-color) 35%, var(--transparent-color)) 45%,
      color-mix(in srgb, var(--background-color) 85%, var(--transparent-color)) 100%
    ),
    url("images/slide2.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.challenge-slide-scalability {
  background-color: var(--surface-color);

  background-image:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--background-color) 15%, var(--transparent-color)) 0%,
      color-mix(in srgb, var(--background-color) 35%, var(--transparent-color)) 45%,
      color-mix(in srgb, var(--background-color) 85%, var(--transparent-color)) 100%
    ),
    url("images/chip.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.challenge-slide-four {
  background-color: var(--surface-light);

  background-image:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--background-color) 15%, var(--transparent-color)) 0%,
      color-mix(in srgb, var(--background-color) 35%, var(--transparent-color)) 45%,
      color-mix(in srgb, var(--background-color) 85%, var(--transparent-color)) 100%
    ),
    url("images/slide4.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* SLIDE TOP INFORMATION */

.challenge-slide-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.challenge-slide-number {
  color: color-mix(
    in srgb,
    var(--text-color) 90%,
    var(--transparent-color)
  );

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.challenge-slide-symbol {
  color: color-mix(
    in srgb,
    var(--text-color) 80%,
    var(--transparent-color)
  );

  font-size: 24px;
  line-height: 1;
}


/* SLIDE CONTENT */

.challenge-slide-content {
  max-width: 620px;
  margin-top: 50px;
}

.challenge-slide-category {
  margin: 0 0 18px;

  color: color-mix(
    in srgb,
    var(--text-color) 80%,
    var(--transparent-color)
  );

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.challenge-slide-title {
  max-width: 610px;
  margin: 0 0 22px;

  color: var(--text-color);

  font-size: clamp(2.5rem, 4.1vw, 4.5rem);
  font-weight: 550;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.challenge-slide-title span {
  display: block;

  color: color-mix(
    in srgb,
    var(--text-color) 78%,
    var(--transparent-color)
  );
}

.challenge-slide-description {
  max-width: 540px;
  margin: 0;

  color: var(--secondary-text);
  font-size: 16px;
  line-height: 1.75;
}


/* ========================================
   09. SLIDESHOW NAVIGATION
======================================== */

.challenge-slideshow-navigation {
  position: absolute;
  z-index: 2;

  bottom: 36px;
  left: 42px;
  right: 42px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  pointer-events: none;
}

.challenge-slideshow-navigation > * {
  pointer-events: auto;
}


/* INDICATORS */

.challenge-slide-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
}

.challenge-slide-indicator {
  width: 28px;
  height: 4px;
  padding: 0;

  border: none;
  border-radius: 999px;

  background: color-mix(
    in srgb,
    var(--text-color) 35%,
    var(--transparent-color)
  );

  cursor: pointer;

  transition:
    width 200ms ease,
    background-color 200ms ease;
}

.challenge-slide-indicator.is-active {
  width: 48px;
  background: var(--text-color);
}

.challenge-slide-indicator:hover {
  background: color-mix(
    in srgb,
    var(--text-color) 75%,
    var(--transparent-color)
  );
}


/* ARROWS */

.challenge-slide-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.challenge-slide-arrow {
  display: flex;
  width: 44px;
  height: 44px;

  align-items: center;
  justify-content: center;
  padding: 0;

  border: 1px solid color-mix(
    in srgb,
    var(--text-color) 40%,
    var(--transparent-color)
  );
  border-radius: 50%;

  background: color-mix(
    in srgb,
    var(--text-color) 8%,
    var(--transparent-color)
  );
  color: var(--text-color);

  font-size: 20px;
  cursor: pointer;

  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.challenge-slide-arrow:hover {
  background: color-mix(
    in srgb,
    var(--text-color) 22%,
    var(--transparent-color)
  );

  transform: translateY(-2px);
}


/* ========================================
   10. THE SOLUTION
======================================== */

.solution-section {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;

  width: 100%;
  min-height: 700px;

  margin: 0;
  padding: 100px 6%;

  /* BACKGROUND IMAGE WITH DARK BLUE TINT */

  background-color: var(--surface-color);

  background-image:
    linear-gradient(
      270deg,
      color-mix(in srgb, var(--background-color) 15%, var(--transparent-color)) 0%,
      color-mix(in srgb, var(--background-color) 50%, var(--transparent-color)) 100%
    ),
    url("images/container.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border: none;
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
}


/* ========================================
   12. SOLUTION OVERLAY
======================================== */

.solution-section::before {
  position: absolute;
  content: "";

  inset: 0;
  z-index: 1;

  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--background-color) 65%, var(--transparent-color)) 0%,
    color-mix(in srgb, var(--background-color) 30%, var(--transparent-color)) 50%,
    var(--transparent-color) 100%
  );

  pointer-events: none;
}


/* ========================================
   13. SOLUTION INTRODUCTION
======================================== */

.solution-intro {
  position: relative;
  z-index: 5;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  width: 100%;
  max-width: 750px;

  margin: 0;
  padding: 0;
  text-align: left;

  pointer-events: none;
}


/* SOLUTION LABEL */

.solution-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin: 0 0 26px;
  color: var(--secondary-text);

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.solution-label::before {
  width: 7px;
  height: 7px;
  flex-shrink: 0;

  border-radius: 50%;
  background: var(--accent-light);

  box-shadow:
    0 0 14px color-mix(
      in srgb,
      var(--accent-light) 85%,
      var(--transparent-color)
    );

  content: "";
}


/* SOLUTION HEADING */

.solution-title {
  max-width: 80%;
  margin: 0;

  color: var(--text-color);

  font-size: clamp(1.5rem, 3.5vw, 4rem);
  font-weight: 550;
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.solution-title-highlight {
  display: block;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;

  color: var(--accent-color);
}


/* SOLUTION TITLE - DESKTOP */

@media (min-width: 1001px) {

  .solution-intro {
    max-width: 70%;
  }

  .solution-title {
    width: max-content;
    max-width: 100%;
    font-size: clamp(1.5rem, 2.8vw, 3rem);
    line-height: 1.12;
    text-align: left;
  }

  .solution-title-line {
    display: block;
    white-space: nowrap;
  }

  .solution-title-highlight {
    display: block;
    white-space: normal;
    font-size: inherit;
  }

  .solution-description {
    max-width: 75%;
  }
}


/* SOLUTION DESCRIPTION */

.solution-description {
  max-width: 80%;
  margin: 28px 0 0;

  color: var(--secondary-text);
  font-size: 17px;
  line-height: 1.8;
}


/* ========================================
   15. KEY ADVANTAGES SECTION
======================================== */

.advantages-section {
  position: relative;

  display: flex;
  flex-direction: column;

  width: 100%;
  min-height: 680px;
  margin: 0;
  padding: 100px 5% 80px;

  background:
    radial-gradient(
      ellipse at 50% 100%,
      color-mix(
        in srgb,
        var(--surface-light) 15%,
        var(--transparent-color)
      ),
      var(--transparent-color) 65%
    ),
    var(--background-color);
}


/* ADVANTAGES INTRODUCTION */

.advantages-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;

  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}


/* LABEL */

.advantages-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin: 0 0 26px;
  color: var(--secondary-text);

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.advantages-label::before {
  width: 7px;
  height: 7px;
  flex-shrink: 0;

  border-radius: 50%;
  background: var(--accent-light);

  box-shadow:
    0 0 14px color-mix(
      in srgb,
      var(--accent-light) 85%,
      var(--transparent-color)
    );

  content: "";
}


/* HEADING */

.advantages-title {
  max-width: 80%;
  margin: 0;

  color: var(--text-color);

  font-size: clamp(1.5rem, 3vw, 3.5rem);
  font-weight: 550;
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.advantages-title-highlight {
  color: var(--accent-color);
}


/* ========================================
   16. ADVANTAGES GRID
======================================== */

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;

  gap: 20px;
  width: 100%;
  margin-top: auto;
  padding-top: 80px;
}


/* ========================================
   17. ADVANTAGE CARDS
======================================== */

.advantage-card {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;

  width: 100%;
  min-width: 0;
  min-height: 300px;

  margin: 0;
  padding: 0;
  gap: 0;

  border: 1px solid var(--border-color);

  border-radius: 16px;

  background: linear-gradient(
    145deg,
    var(--surface-light) 0%,
    var(--surface-color) 75%,
    var(--background-color) 100%
  );

  transition:
    transform 200ms ease,
    border-color 200ms ease;
}


.advantage-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-light);
}



/* CLICKABLE TWO-SIDED CARDS */

.advantage-card {
  height: 300px;
  cursor: pointer;
  perspective: 1200px;
  outline-offset: 5px;
}

.advantage-card:focus-visible {
  outline: 2px solid var(--accent-color);
}

.advantage-card-inner {
  position: relative;
  width: 100%;
  height: 100%;

  border-radius: inherit;
  transform-style: preserve-3d;
  transition: transform 550ms ease;
}

.advantage-card.is-flipped .advantage-card-inner {
  transform: rotateY(180deg);
}

.advantage-card-face {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  padding: 32px;

  border-radius: inherit;
  overflow: auto;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.advantage-card-back {
  transform: rotateY(180deg);
}


/* CARD ARROWS */

.advantage-card-arrow {
  position: absolute;
  bottom: 18px;
  right: 22px;

  font-size: 24px;
  line-height: 1;
  color: var(--text-color);
}

.advantage-card-content {
  padding-top: 16px;
}


/* CARD CONTENT */

.advantage-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;

  flex: 0 0 auto;

  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}


/* CARD HEADING */

.advantage-card-title {
  width: 100%;
  margin: 0 0 16px;
  padding: 0;

  color: var(--accent-color);

  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.3;
  text-align: left;
}


/* CARD DESCRIPTION */

.advantage-card-description {
  width: 100%;
  margin: 0;
  padding: 0;

  color: var(--secondary-text);

  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  text-align: left;
}


/* ========================================
   18. TABLET RESPONSIVE
======================================== */

@media (max-width: 1000px) {

  /* HERO */

  .hero-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
  }

  .hero-title-highlight {
    width: 100%;
    max-width: 100%;

    white-space: normal;
    position: static;
    left: auto;
    transform: none;
    text-align: center;
  }


  /* CHALLENGE */

  .challenge-intro {
    padding: 24px 24px 20px 18px;
  }

  .challenge-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
  }

  .challenge-description {
    font-size: 15px;
  }

  .challenge-slide {
    padding: 30px 30px 100px;
  }

  .challenge-slide-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
  }

  .challenge-slideshow-navigation {
    left: 30px;
    right: 30px;
  }


  /* SOLUTION */

  .solution-section {
    min-height: 600px;
    padding: 80px 5%;
  }

  .solution-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.12;
  }

  .solution-title-highlight {
    font-size: inherit;
  }

  .solution-description {
    font-size: 16px;
  }

  /* Allow title to wrap naturally on tablets */

  .solution-title {
    max-width: 600px;
  }

  .solution-title-line,
  .solution-title-highlight {
    display: inline;
    white-space: normal;
  }


  /* KEY ADVANTAGES */

  .advantages-section {
    min-height: 620px;
    padding: 80px 5% 70px;
  }

  .advantages-title {
    font-size: clamp(2rem, 3.5vw, 4rem);
    line-height: 1.12;
  }

  .advantages-grid {
    gap: 14px;
    padding-top: 65px;
  }

  .advantage-card {
    min-height: 280px;
    height: 300px;
  }

  .advantage-card-face {
    padding: 24px;
  }

  .advantage-card-description {
    font-size: 14px;
  }

}


/* ========================================
   19. MOBILE RESPONSIVE
======================================== */

@media (max-width: 700px) {

  /* HEADER */

  .site-header {
    height: 68px;
    padding: 0 22px;
  }

  .site-logo {
    font-size: 17px;
  }

  .header-center-logo img {
    width: 36px;
    height: 36px;
  }


  /* HERO - MOBILE */

  .hero-section {
    min-height: 100svh;
    padding: 130px 22px 80px;
  }

  .hero-title {
    width: 100%;
    max-width: 100%;

    font-size: clamp(1.6rem, 6vw, 2.4rem);
    line-height: 1.15;
  }

  .hero-title-highlight {
    width: 100%;
    max-width: 100%;
    white-space: normal;

    position: static;
    left: auto;
    transform: none;
  }

  .hero-label {
    max-width: 100%;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.1em;
  }

  /* MOVE HERO TEXT UP - MOBILE */

.hero-label,
.hero-title {
  top: auto;
  transform: translateY(-75px);
}


/* HERO BACKGROUND POSITION - MOBILE */

.hero-partners-wrapper {
  /* Keep both background layers covering the header area. */
  background-position: center top, center top;

  /* Make the image 60px taller so its subject sits lower,
     without leaving a solid-colored strip above it. */
  background-size: cover, auto calc(100% + 60px);
}


  /* PARTNERS - MOBILE */

.partners-section {
  padding: 15px 16px 25px;
}

.partners-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  gap: clamp(8px, 3vw, 20px);

  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.partner-logo-box {
  flex: 1 1 0;
  min-width: 0;
  height: 110px;
}

.partner-logo-box img {
  width: 100%;
  max-width: 100%;
  max-height: 80px;
  height: auto;

  object-fit: contain;
}

/* NATO SIZE - MOBILE */

.partner-logo-box:nth-child(1) img {
  transform: scale(0.70);
}


  /* CHALLENGE */

  .challenge-section {
    width: calc(100% - 24px);

    margin: 20px auto 80px;
    padding: 12px;
    border-radius: 16px;
  }

  .challenge-layout {
    grid-template-columns: minmax(0, 1fr);

    grid-template-areas:
      "intro"
      "slideshow";

    gap: 24px;
  }

  .challenge-intro {
    padding: 20px 14px 12px;
  }

  .challenge-title {
    font-size: clamp(1.7rem, 6vw, 2.5rem);
  }

  .challenge-description {
    max-width: 480px;
    margin-top: 20px;
  }

  .challenge-slideshow {
    min-height: 480px;
  }

  .challenge-slide {
    min-height: 480px;
    padding: 28px 24px 100px;
    border-radius: 10px;
  }

  .challenge-slide-title {
    font-size: clamp(2.2rem, 8vw, 3.3rem);
  }

  .challenge-slide-description {
    font-size: 14px;
  }

  .challenge-slideshow-navigation {
    bottom: 28px;
    left: 24px;
    right: 24px;
  }

  .challenge-slide-arrow {
    width: 40px;
    height: 40px;
  }


  /* SOLUTION */

  .solution-section {
    min-height: 550px;
    padding: 70px 24px;
  }

  .solution-intro {
    max-width: 100%;
  }

  .solution-title {
    font-size: clamp(1.65rem, 5.5vw, 2.3rem);
    line-height: 1.15;
  }

  .solution-title-line,
  .solution-title-highlight {
    display: inline;
    white-space: normal;
    font-size: inherit;
    line-height: inherit;
  }

  .solution-description {
    font-size: 15px;
    line-height: 1.75;
  }

  .solution-section::before {
    background: linear-gradient(
      180deg,
      color-mix(
        in srgb,
        var(--background-color) 75%,
        var(--transparent-color)
      ) 0%,
      color-mix(
        in srgb,
        var(--background-color) 35%,
        var(--transparent-color)
      ) 65%,
      var(--transparent-color) 100%
    );
  }


  /* KEY ADVANTAGES */

  .advantages-section {
    min-height: auto;
    padding: 80px 22px 90px;
  }

  .advantages-title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    line-height: 1.15;
  }

  .advantages-grid {
    grid-template-columns: minmax(0, 1fr);

    gap: 14px;
    margin-top: 0;
    padding-top: 55px;
  }

  .advantage-card {
    min-height: 240px;
    height: 260px;
  }

  .advantage-card-face {
    padding: 24px;
  }

  .advantage-card-title {
    font-size: 22px;
  }

  .advantage-card-description {
    font-size: 15px;
  }

}


/* ========================================
   20. SMALL MOBILE SCREENS
======================================== */

@media (max-width: 380px) {

  .challenge-slide {
    padding: 24px 20px 100px;
  }

  .challenge-slide-title {
    font-size: 2rem;
  }

  .challenge-slideshow-navigation {
    left: 20px;
    right: 20px;
    gap: 10px;
  }

  .challenge-slide-indicator {
    width: 20px;
  }

  .challenge-slide-indicator.is-active {
    width: 30px;
  }

  .advantage-card-face {
    padding: 24px;
  }

  .advantage-card-title {
    font-size: 20px;
  }

}


/* ========================================
   21. ACCESSIBILITY
======================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .advantage-card:hover {
    transform: none;
  }

  .advantage-card-inner {
    transition: none;
  }

}


/* ========================================
   22. INFORMATION / CONTACT - FOOTER
======================================== */

.information-section {
  width: 100%;
  margin: 0;
  padding: 76px 5% 26px;

  color: var(--text-color);

  background: linear-gradient(
    112deg,
    var(--background-color) 0%,
    var(--surface-color) 55%,
    var(--surface-light) 100%
  );

  border-top: 1px solid color-mix(
    in srgb,
    var(--text-color) 12%,
    var(--transparent-color)
  );
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-main {
  display: grid;

  grid-template-columns:
    minmax(0, 1.3fr)
    minmax(0, 1fr);

  gap: clamp(40px, 8vw, 140px);
  padding-bottom: 74px;
}

.footer-eyebrow,
.footer-group-title {
  margin: 0 0 18px;
  color: var(--secondary-text);

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.footer-title {
  margin: 0 0 16px;

  font-size: clamp(2.4rem, 4.1vw, 4.5rem);
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.footer-title span {
  color: var(--accent-color);
}


.footer-description {
  max-width: 440px;
  margin: 0 0 28px;

  color: var(--secondary-text);
  font-size: 16px;
  line-height: 1.75;
}


/* FOOTER CONTACT BUTTON */

.footer-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;

  min-height: 48px;
  padding: 12px 20px;

  border: 1px solid color-mix(
    in srgb,
    var(--text-color) 48%,
    var(--transparent-color)
  );
  border-radius: 999px;

  color: var(--text-color);
  background: color-mix(
    in srgb,
    var(--text-color) 7%,
    var(--transparent-color)
  );

  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.footer-contact-button:hover {
  background: color-mix(
    in srgb,
    var(--text-color) 18%,
    var(--transparent-color)
  );

  border-color: var(--text-color);
  transform: translateY(-2px);
}


/* FOOTER DETAILS */

.footer-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 44px;
  padding-top: 9px;
}

.footer-email {
  color: var(--text-color);

  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 160ms ease;
}

.footer-email:hover {
  color: var(--accent-light);
}


/* SOCIAL LINKS */

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;

  color: var(--text-color);

  background: color-mix(
    in srgb,
    var(--text-color) 7%,
    var(--transparent-color)
  );

  border: 1px solid color-mix(
    in srgb,
    var(--text-color) 30%,
    var(--transparent-color)
  );

  border-radius: 12px;

  transition:
    background 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.footer-social-link svg {
  width: 21px;
  height: 21px;
}

.footer-social-link:hover {
  background: color-mix(
    in srgb,
    var(--text-color) 20%,
    var(--transparent-color)
  );

  border-color: var(--text-color);
  transform: translateY(-2px);
}


/* FOOTER BOTTOM */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
  padding-top: 24px;

  border-top: 1px solid color-mix(
    in srgb,
    var(--text-color) 22%,
    var(--transparent-color)
  );

  color: var(--secondary-text);
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.footer-wordmark {
  color: var(--text-color);
  font-family: var(--font-heading);

  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.footer-back-to-top {
  color: var(--text-color);

  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.footer-back-to-top:hover {
  color: var(--text-color);
}


/* FOOTER ACCESSIBILITY */

.footer-contact-button:focus-visible,
.footer-social-link:focus-visible,
.footer-email:focus-visible,
.footer-wordmark:focus-visible,
.footer-back-to-top:focus-visible {
  outline: 2px solid var(--text-color);
  outline-offset: 4px;
}


/* FOOTER MOBILE */

@media (max-width: 700px) {

  .information-section {
    padding: 60px 22px 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 54px;
  }

  .footer-details {
    gap: 32px;
    padding-top: 0;
  }

  .footer-description {
    font-size: 15px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 16px;
  }

  .footer-bottom p {
    order: 3;
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {

  .footer-contact-button,
  .footer-social-link {
    transition: none;
  }

}


