:root{
  --mti-primary:#0090D0;
  --mti-primary-2:#2BB2E6;
  --mti-ink:#0B1220;
  --mti-muted:#5C6B80;
  --mti-border:rgba(11,18,32,.10);
  --mti-surface:#ffffff;
  --mti-soft:#F5F8FC;
  --mti-radius:18px;
}

html, body { height: 100%; }

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--mti-ink);
  background:
    radial-gradient(1200px 600px at 15% 0%, rgba(0,144,208,.12), transparent 60%),
    radial-gradient(900px 500px at 85% 10%, rgba(43,178,230,.10), transparent 55%),
    linear-gradient(180deg, #ffffff, #fbfdff 40%, #f6f9fd 100%);
}

a{ color: inherit; text-decoration: none; }
a:hover{ color: var(--mti-primary); }

.container-narrow{ max-width: 1040px; }

.section{
  padding: 90px 0;
}
@media (max-width: 991px){
  .section{ padding: 72px 0; }
}

.kicker{
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mti-muted);
}

.display-tight{
  letter-spacing: -0.02em;
}

.text-muted-2{ color: var(--mti-muted); }

.navbar.mti-nav{
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(11,18,32,.06);
  transition: box-shadow .25s ease, background .25s ease;
}
.navbar.mti-nav.is-scrolled{
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 30px rgba(11,18,32,.06);
}
.navbar-brand img{ height: 40px; width: auto; }

/* Slightly larger brand logo */
@media (max-width: 575px){
  .navbar-brand img{ height: 36px; }
}

.nav-link{
  color: rgba(11,18,32,.78) !important;
  font-weight: 500;
}
.nav-link:hover{ color: var(--mti-primary) !important; }

.btn-mti{
  border-radius: 999px;
  padding: .78rem 1.05rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.btn-mti-primary{
  background: var(--mti-primary);
  border-color: var(--mti-primary);
  color: white !important;
  box-shadow: 0 12px 26px rgba(0,144,208,.22);
}
.btn-mti-primary:hover{
  background: #007fb8;
  border-color: #007fb8;
  box-shadow: 0 14px 30px rgba(0,144,208,.26);
}
.btn-mti-ghost{
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(11,18,32,.12);
}
.btn-mti-ghost:hover{
  background: rgba(255,255,255,.95);
  border-color: rgba(11,18,32,.18);
}

.hero{
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before{
  content:\" \";
  position:absolute;
  inset:-40px -40px auto -40px;
  height: 540px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.95)),
    url(\"../images/hero-bg.jpg\") center/cover no-repeat;
  opacity: .35;
  filter: saturate(1.05);
  border-bottom: 1px solid rgba(11,18,32,.06);
}
.hero .container{ position: relative; z-index: 1; }

.hero-card{
  border-radius: var(--mti-radius);
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.82);
  box-shadow: 0 20px 55px rgba(11,18,32,.10);
  overflow: hidden;
}
.hero-card .img-wrap{
  background: linear-gradient(180deg, rgba(0,144,208,.08), rgba(255,255,255,.0));
  padding: 20px;
}
.hero-card img{
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(11,18,32,.08);
  background: white;
}

.soft-panel{
  border-radius: var(--mti-radius);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(11,18,32,.08);
  box-shadow: 0 14px 34px rgba(11,18,32,.06);
}

.feature-card{
  border-radius: var(--mti-radius);
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(11,18,32,.08);
  box-shadow: 0 18px 40px rgba(11,18,32,.06);
  transition: transform .18s ease, box-shadow .18s ease;
  height: 100%;
}
.feature-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(11,18,32,.10);
}
.icon-badge{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,144,208,.10);
  border: 1px solid rgba(0,144,208,.18);
}
.icon-badge img{ width: 22px; height: 22px; }

.image-tile{
  border-radius: var(--mti-radius);
  overflow: hidden;
  border: 1px solid rgba(11,18,32,.08);
  background: #fff;
}
.image-tile img{
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
  padding: 18px;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(0,144,208,.06), rgba(255,255,255,0));
}
@media (max-width: 575px){
  .image-tile img{ height: 190px; padding: 14px; }
}
.image-tile .meta{
  padding: 16px 18px 18px;
}
.pill{
  font-size: .78rem;
  padding: .22rem .55rem;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.65);
  color: rgba(11,18,32,.75);
}

.brand-strip{
  border-top: 1px solid rgba(11,18,32,.06);
  border-bottom: 1px solid rgba(11,18,32,.06);
  background: rgba(255,255,255,.7);
}
.brand-strip img{
  height: 26px;
  width: auto;
  opacity: .8;
  filter: grayscale(1);
  transition: opacity .2s ease, filter .2s ease;
}
.brand-strip img:hover{ opacity: 1; filter: grayscale(0); }

.cta{
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(0,144,208,.16), transparent 60%),
    radial-gradient(700px 420px at 85% 30%, rgba(43,178,230,.14), transparent 55%),
    linear-gradient(180deg, #ffffff, #f4f9ff);
  border-top: 1px solid rgba(11,18,32,.06);
  border-bottom: 1px solid rgba(11,18,32,.06);
}
.cta-card{
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(11,18,32,.10);
  box-shadow: 0 22px 70px rgba(11,18,32,.10);
  overflow: hidden;
}

.footer{
  background: #08101d;
  color: rgba(255,255,255,.82);
}
.footer a{ color: rgba(255,255,255,.82); }
.footer a:hover{ color: white; }
.footer .small{ color: rgba(255,255,255,.60); }

.reveal{
  opacity: 0;
  transform: translateY(14px);
}


/* --- Hero (immersive, like reference) --- */
.hero.hero-immersive{
  padding: 128px 0 70px;
  color: #fff;
}
.hero.hero-immersive::before{ display: none; }

.hero-immersive .hero-bg{
  position: absolute;
  inset: 0;
  background: url("../images/hero-bg.jpg") center/cover no-repeat;
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.02);
}
.hero-immersive .hero-overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 18% 22%, rgba(0,144,208,.35), transparent 62%),
    radial-gradient(700px 420px at 90% 10%, rgba(43,178,230,.20), transparent 55%),
    linear-gradient(90deg, rgba(11,18,32,.88) 0%, rgba(11,18,32,.62) 55%, rgba(11,18,32,.28) 100%);
}
.hero-immersive .kicker{ color: rgba(255,255,255,.78); }
.hero-immersive .text-muted-2{ color: rgba(255,255,255,.78); }
.hero-immersive h1 span{ color: var(--mti-primary-2); }

.hero-immersive .pill{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.20);
  color: rgba(255,255,255,.88);
}
.hero-immersive .btn-mti-ghost{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
  color: #fff !important;
}
.hero-immersive .btn-mti-ghost:hover{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.28);
}

.hero-strip{
  margin-top: 56px;
  padding: 14px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-strip ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-strip li{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.90);
}
.hero-strip li::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mti-primary);
  box-shadow: 0 0 0 4px rgba(0,144,208,.18);
}

@media (max-width: 991px){
  .hero.hero-immersive{ padding: 108px 0 60px; }
}
@media (max-width: 575px){
  .hero-strip{ border-radius: 22px; }
  .hero-strip ul{ justify-content: flex-start; }
}


/* Contact page: avoid stretched cards */
.contact-stack .feature-card{height:auto;}

/* ===========================
   Cookie banner (MTI)
   =========================== */
.mti-cookie-banner{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1055; /* above navbar */
  padding: 12px 0;
}
.mti-cookie-banner__card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(2,8,23,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 14px;
}
.mti-cookie-banner__title{
  font-weight: 700;
  letter-spacing: .2px;
  margin-bottom: 4px;
}
.mti-cookie-banner__desc{
  font-size: .92rem;
  color: rgba(15,23,42,.78);
  line-height: 1.35;
}
.mti-cookie-banner__desc a{
  color: var(--mti-primary, #0090D0);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mti-cookie-banner__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.mti-cookie-banner__prefs{
  color: rgba(15,23,42,.72);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-left: 6px;
  padding-right: 6px;
}
.mti-cookie-banner__prefs:hover{ color: rgba(15,23,42,.92); }
@media (max-width: 768px){
  .mti-cookie-banner__card{ flex-direction: column; }
  .mti-cookie-banner__actions{ width: 100%; justify-content: flex-start; }
}

/* Modal tweaks */
.mti-cookie-modal .modal-header{
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.mti-cookie-modal .modal-footer{
  border-top: 1px solid rgba(15,23,42,.08);
}
