/* KORVA™ CSS — BHI /korva microsite
   Upload/replace this file at: /korva/css/korva.css
*/

@font-face {
  font-family: "Allomira";
  src: url("/resources/fonts/ALLOMIRA%20REGULAR.OTF") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "Allomira";
  src: url("/resources/fonts/ALLOMIRA%20BOLD.OTF") format("opentype");
  font-weight: 700;
}

@font-face {
  font-family: "Allomira";
  src: url("/resources/fonts/ALLOMIRA%20BLACK.OTF") format("opentype");
  font-weight: 900;
}

:root {
  --korva-red: #C43C27;
  --korva-red-orange: #E84624;
  --korva-orange: #F69324;
  --korva-navy: #14385F;
  --korva-blue: #4E81A2;
  --korva-dark: #04080D;
  --korva-text: rgba(255,255,255,.88);
  --korva-gradient: linear-gradient(90deg, #C43C27, #E84624, #F69324);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  background: var(--korva-dark);
  color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Allomira", Roboto, Arial, Helvetica, sans-serif;
}

img { max-width: 100%; }

.korva-site {
  width: 100%;
  overflow-x: hidden;
  background: var(--korva-dark);
}
/* BHI HEADER */

.bhi-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 24px 56px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.bhi-logo-link img {
  width: 430px;
  max-width: 42vw;
  height: auto;
  display: block;
}

.bhi-nav {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 42px;
}

.bhi-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
  line-height: 1;
  padding: 12px 16px;
  border-radius: 3px;
  border: 1px solid transparent;
  background: transparent;
}

.bhi-nav a:hover {
  border-color: rgba(255,255,255,.75);
}

.bhi-nav a.active {
  background: #f37000;
  border-color: #f37000;
  color: #ffffff;
}

/* push Korva hero down so it does not hide behind BHI header */
.korva-hero {
  padding-top: 300px;
}

@media (max-width: 850px) {
  .bhi-header {
    position: relative;
    padding: 22px 18px;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    background: rgba(6,19,32,.92);
  }

  .bhi-logo-link img {
    width: 300px;
    max-width: 90vw;
  }

  .bhi-nav {
    margin-top: 0;
    gap: 8px;
  }

  .bhi-nav a {
    font-size: 15px;
    padding: 10px 12px;
  }

  .korva-hero {
    padding-top: 70px;
  }
}
/* HERO */

.korva-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 92px 5%;
  background-image:
    linear-gradient(rgba(2,6,12,.85), rgba(2,6,12,.95)),
    url("/resources/images/page_backgrounds/sweep_earth_galaxy.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.korva-hero-inner {
  width: min(980px, 100%);
  margin: 0 auto;
}

.korva-tag {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.18);
  color: var(--korva-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.korva-logo {
  width: 650px;
  max-width: 96%;
  display: block;
  margin: 0 auto 18px;
  filter: drop-shadow(0 24px 45px rgba(0,0,0,.35));
}

.bhi-logo {
  width: 260px;
  max-width: 65%;
  display: block;
  margin: 0 auto 52px;
  opacity: .9;
}

.korva-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(48px, 7vw, 92px);
  line-height: .98;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-weight: 900;
}

.fade1,
.fade2 {
  display: inline-block;
  opacity: 0;
  animation: korvaFadeUp .9s ease forwards;
}

.fade2 { animation-delay: .75s; }

@keyframes korvaFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.korva-hero p {
  max-width: 760px;
  margin: 44px auto 34px;
  color: var(--korva-text);
  font-size: 20px;
  line-height: 1.7;
}

.korva-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.korva-hero,
.korva-products,
.korva-why-section{
    position: relative;
    overflow: hidden;
}

/* Fade in from previous section */
.korva-products::before,
.korva-why-section::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:120px;
    pointer-events:none;
    z-index:2;

    background:linear-gradient(
        to bottom,
        rgba(2,6,12,1),
        rgba(2,6,12,0)
    );
}

/* Fade out into next section */
.korva-hero::after,
.korva-products::after{
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:120px;
    pointer-events:none;
    z-index:2;

    background:linear-gradient(
        to bottom,
        rgba(2,6,12,0),
        rgba(2,6,12,1)
    );
}

/* BUTTONS */

.korva-button,
.korva-button-solid {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .04em;
  transition: .22s ease;
}

.korva-button {
  border: 1px solid var(--korva-orange);
  background: rgba(0,0,0,.20);
  color: #ffffff;
}

.korva-button:hover {
  background: var(--korva-orange);
  color: var(--korva-navy);
  transform: translateY(-2px);
}

.korva-button-solid {
  background: var(--korva-gradient);
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(196,60,39,.25);
}

.korva-button-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(246,147,36,.32);
}

.product-content .korva-button {
    display: inline-block;
    width: fit-content;
    align-self: flex-start;
    padding: 12px 22px;
    margin-top: 28px; 
}

/* PRODUCT SECTION */

.korva-products {
  padding: 96px 5%;
  background-image:
    linear-gradient(rgba(2,6,12,.85), rgba(2,6,12,.95)),
    url("/resources/images/page_backgrounds/module_with_sweep.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section-title {
  max-width: 860px;
  margin: 78px auto 34px;
  text-align: center;
}

.section-title:first-child { margin-top: 0; }

.section-title h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: .02em;
}

.section-title p {
  max-width: 780px;
  margin: 0 auto;
  color: rgba(255,255,255,.82);
  font-size: 17px;
  line-height: 1.6;
}

.product-card {
  width: 100%;
  max-width: 1080px;
  min-height: 410px;
  margin: 32px auto;
  display: grid;
  grid-template-columns: 48% 52%;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(20,56,95,.82);
  border: 1px solid rgba(255,255,255,.22);
  border-left: 6px solid var(--korva-orange);
  box-shadow: 0 24px 70px rgba(0,0,0,.36);
}

.product-card.reverse {
  grid-template-columns: 52% 48%;
  border-left: 1px solid rgba(255,255,255,.22);
  border-right: 6px solid var(--korva-orange);
}

.product-image {
  min-height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(255,255,255,.055);
}

.product-image img {
  width: 100%;
  max-height: 350px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 26px 44px rgba(0,0,0,.42));
}

.product-content {
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-content h3 {
  margin: 0 0 8px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  font-weight: 900;
}

.product-spec {
  color: var(--korva-orange);
  font-size: 31px;
  font-weight: 900;
  margin-bottom: 18px;
}

.product-content p {
  max-width: 460px;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 17px;
  line-height: 1.58;
}

/* WHY SECTION — sharper; no backdrop blur */

.korva-why-section {
  padding: 96px 5%;
  background-image:
    linear-gradient(rgba(2,6,12,.85), rgba(2,6,12,.95)),
    url("/resources/images/page_backgrounds/sweep_map.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.why-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.why-wrap h2 {
  text-align: center;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
  margin: 0 0 18px;
  font-weight: 900;
}

.why-intro {
  max-width: 860px;
  text-align: center;
  margin: 0 auto 40px;
  color: rgba(255,255,255,.86);
  font-size: 18px;
  line-height: 1.6;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why-card {
  background: rgba(10,18,28,.94);
  border: 1px solid rgba(255,255,255,.22);
  border-top: 5px solid var(--korva-orange);
  padding: 28px;
  min-height: 220px;
  box-shadow: 0 18px 45px rgba(0,0,0,.30);
}

.why-card h3 {
  font-size: 23px;
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 900;
  letter-spacing: 0.05em; 
}

.why-card p {
  margin: 0;
  color: rgba(255,255,255,.84);
  line-height: 1.55;
  font-size: 16px;
}

/* CTA */

.korva-cta {
  margin: 54px auto 0;
  max-width: 1120px;
  padding: 38px;
  background: var(--korva-gradient);
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  box-shadow: 0 18px 45px rgba(0,0,0,.26);
}

.korva-cta h3 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 900;
}

.korva-cta p {
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 16px;
  line-height: 1.5;
}

.korva-cta a {
  background: #ffffff;
  color: var(--korva-navy);
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

/* FOOTER */

.korva-footer {
  padding: 34px 5%;
  background: #050f19;
  color: rgba(255,255,255,.62);
  text-align: center;
  font-size: 14px;
}

.korva-footer a {
  color: #ffffff;
  text-decoration: none;
}

.korva-footer a:hover { color: var(--korva-orange); }

/* RESPONSIVE */

@media (max-width: 850px) {
  .korva-hero,
  .korva-products {
    background-attachment: scroll;
  }

  .korva-hero {
    min-height: auto;
    padding: 62px 18px 76px;
  }

  .korva-tag {
    font-size: 11px;
    letter-spacing: .12em;
    margin-bottom: 34px;
  }

  .korva-logo {
    width: 390px;
    max-width: 95%;
    margin-bottom: 18px;
  }

  .bhi-logo {
    width: 190px;
    max-width: 70%;
    margin-bottom: 40px;
  }

  .korva-hero h1 {
    font-size: 38px;
    line-height: 1.06;
  }

  .korva-hero p {
    font-size: 16px;
    line-height: 1.55;
    margin-top: 34px;
  }

  .korva-products,
  .korva-why-section {
    padding: 70px 18px;
  }

  .product-card,
  .product-card.reverse {
    grid-template-columns: 1fr;
    border-left: 6px solid var(--korva-orange);
    border-right: 1px solid rgba(255,255,255,.22);
    min-height: auto;
  }

  .product-image {
    min-height: 270px;
    padding: 24px;
  }

  .product-content {
    padding: 32px;
  }

  .product-content h3 {
    font-size: 34px;
  }

  .product-spec {
    font-size: 26px;
  }

  .product-content p {
    font-size: 16px;
  }

  .why-grid { grid-template-columns: 1fr; }

  .why-card { min-height: auto; }

  .korva-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .korva-logo { width: 310px; }

  .korva-hero h1 { font-size: 31px; }

  .section-title h2,
  .why-wrap h2 { font-size: 32px; }

  .product-card { border-radius: 20px; }

  .korva-button,
  .korva-button-solid,
  .korva-cta a {
    width: 100%;
    text-align: center;
  }
}
