/* Trio Miles - modern styling on top of Bootstrap */
:root{
  --tm-bg0:#F8FAFF;
  --tm-bg1:#EEF4FF;
  --tm-card: rgba(255,255,255,.86);
  --tm-card-border: rgba(15, 23, 42, .10);
  --tm-text:#0B1220;
  --tm-muted: rgba(11, 18, 32, .70);
  --tm-brand:#62E6FF;
  --tm-brand2:#78FFB6;
  --tm-warn:#FFCC66;
}

html, body { height: 100%; }

body{
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(98,230,255,.22), transparent 62%),
    radial-gradient(900px 500px at 85% 20%, rgba(120,255,182,.18), transparent 58%),
    linear-gradient(180deg, var(--tm-bg0), var(--tm-bg1));
  color: var(--tm-text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

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

.tm-topbar{
  border-bottom: 1px solid rgba(15, 23, 42, .10);
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(10px);
}

.tm-brandlink{
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.tm-brandmark{
  height: 56px;
  width: auto;
  border-radius: 0;
  background: transparent;
  border: 0;
  object-fit: contain;
  object-position: center;
  max-width: min(280px, 60vw);
  display: block;
  image-rendering: auto;
}

.tm-brandmark--footer{
  height: 34px;
  max-width: min(220px, 70vw);
}

.tm-nav-link{
  color: rgba(11, 18, 32, .78);
  transition: transform .15s ease, color .15s ease, background .15s ease;
  border-radius: 12px;
  padding: .55rem .8rem;
}
.tm-nav-link:hover{
  color: rgba(11, 18, 32, 1);
  background: rgba(15, 23, 42, .05);
  transform: translateY(-1px);
}
.tm-nav-link.active{
  color: #02121B;
  background: linear-gradient(90deg, rgba(98,230,255,.95), rgba(120,255,182,.95));
  box-shadow: 0 10px 30px rgba(98,230,255,.14);
}

.tm-hero{
  padding: 78px 0 44px;
  position: relative;
}
.tm-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(700px 280px at 25% 20%, rgba(98,230,255,.22), transparent 60%),
    radial-gradient(600px 260px at 85% 15%, rgba(120,255,182,.18), transparent 55%);
  pointer-events:none;
}

.tm-hero-inner{
  position:relative;
  z-index:1;
}

.tm-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: .4rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: rgba(255,255,255,.80);
  color: rgba(11, 18, 32, .86);
  box-shadow: 0 14px 40px rgba(15, 23, 42, .10);
}
.tm-dot{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(90deg, var(--tm-brand), var(--tm-brand2));
  box-shadow: 0 0 0 6px rgba(98,230,255,.12);
}

.tm-h1{
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  letter-spacing: -.02em;
  line-height:1.12;
  margin: 14px 0 14px;
}

.tm-h1 .tm-gradient{
  background: linear-gradient(90deg, var(--tm-brand), var(--tm-brand2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tm-lead{
  color: var(--tm-muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

.tm-btn{
  border-radius: 14px;
  padding: .7rem 1rem;
  border: 1px solid rgba(15, 23, 42, .12);
  background: rgba(255,255,255,.78);
  color: var(--tm-text);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.tm-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.92);
}

.tm-btn-primary{
  border-color: rgba(98,230,255,.38);
  background: linear-gradient(90deg, rgba(98,230,255,.95), rgba(120,255,182,.95));
  color: #02121B;
  box-shadow: 0 16px 50px rgba(98,230,255,.18);
}
.tm-btn-primary:hover{
  background: linear-gradient(90deg, rgba(98,230,255,1), rgba(120,255,182,1));
}

.tm-section{
  padding: 40px 0;
}

.tm-section-title{
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}

.tm-card{
  background: var(--tm-card);
  border: 1px solid var(--tm-card-border);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 22px 70px rgba(15, 23, 42, .10);
}

.tm-feature{
  padding: 18px 18px;
  height: 100%;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.tm-feature:hover{
  transform: translateY(-2px);
  border-color: rgba(98,230,255,.45);
  background: rgba(255,255,255,.95);
}

.tm-ico{
  width: 44px; height: 44px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(15, 23, 42, .04);
  border: 1px solid rgba(15, 23, 42, .10);
  color: rgba(98,230,255,.95);
}

.tm-muted{
  color: var(--tm-muted);
}

.tm-divider{
  height:1px;
  background: rgba(15, 23, 42, .10);
  margin: 28px 0;
}

.tm-footer{
  padding: 26px 0;
  border-top: 1px solid rgba(15, 23, 42, .10);
  background: rgba(255,255,255,.70);
}

.tm-footer a:hover{
  color: #0B1220;
}

/* Contact form helpers */
.tm-result{
  border-radius: 16px;
  border: 1px solid rgba(120,255,182,.35);
  background: rgba(120,255,182,.09);
  color: rgba(11, 18, 32, .92);
}

