:root{
  --brand:#0d004c;
  --ink:#333232;
  --bg:#f7f7fb;
  --card:#ffffff;
  --muted:#6b6b75;
  --border:rgba(0,0,0,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius:18px;
  --max:1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--ink);
  background:var(--bg);
  line-height:1.55;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.container{ width:min(var(--max), calc(100% - 2rem)); margin:0 auto; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.85rem 1.1rem;
  border-radius:12px;
  border:1px solid transparent;
  font-weight:700;
  transition:transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor:pointer;
  gap:.55rem;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }

.btn-primary{
  background:var(--brand);
  color:white;
  box-shadow: var(--shadow);
}
.btn-primary:hover{ filter:brightness(1.05); }

.btn-ghost{
  background:transparent;
  border-color:var(--border);
}
.btn-ghost:hover{
  background:rgba(13,0,76,.06);
  border-color:rgba(13,0,76,.18);
}

/* FineTech logo button – fill height, keep proportions */
.nav-cta .btn-logo{
  height: 44px;                 /* same as Schedule button */
  padding: 0 .75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  line-height: 1;
}

.nav-cta .btn-logo img{
  height: 100%;                 /* fill button height */
  max-height: 28px;             /* visual cap so it doesn’t overpower */
  width: auto;
  display: block;
  object-fit: contain;
}

/* Subtle hover effects for FineTech logo button */
.nav-cta .btn-logo{
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.nav-cta .btn-logo:hover{
  background: rgba(13,0,76,.06);
  border-color: rgba(13,0,76,.18);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}
.nav-cta .btn-logo:active{
  transform: translateY(0px);
  box-shadow: none;
}
.nav-cta .btn-logo:hover img{
  filter: brightness(1.03);
}

/* ---------- Badge ---------- */
.badge{
  display:inline-flex;
  gap:.5rem;
  align-items:center;
  padding:.45rem .75rem;
  border:1px solid var(--border);
  border-radius:999px;
  background:rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  font-size:.92rem;
  color:var(--muted);
}

/* ---------- Accessibility ---------- */
.skip-link{
  position:absolute;
  left:-999px;
  top:0;
  background:#fff;
  padding:.75rem 1rem;
  border-radius:10px;
  border:1px solid var(--border);
}
.skip-link:focus{
  left:1rem;
  top:1rem;
  z-index:9999;
}

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:200;
  background:rgba(247,247,251,.78);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--border);
}

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.9rem 0;
  gap:1rem;
}

.brand{
  display:flex;
  align-items:center;
  gap:.75rem;
  font-weight:900;
}

/* FineLogix logo-only brand normalization */
.brand-logo-only{
  height:44px;                 /* align with CTA button height */
  display:inline-flex;
  align-items:center;
}
.brand-logo-only img{
  height:32px;                 /* wordmark height inside header row */
  width:auto;
  max-width:200px;
  object-fit:contain;
  display:block;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:1rem;
}
.nav-links a{
  padding:.5rem .65rem;
  border-radius:10px;
  font-weight:700;
  opacity:.92;
}
.nav-links a:hover{
  background:rgba(13,0,76,.06);
}
.nav-links a.active{
  background:rgba(13,0,76,.08);
  border:1px solid rgba(13,0,76,.16);
  opacity:1;
}

.nav-cta{
  display:flex;
  gap:.6rem;
  align-items:center;
}

.menu-btn{
  display:none;
  border:1px solid var(--border);
  background:white;
  border-radius:12px;
  padding:.55rem .7rem;
}

@media (max-width: 900px){
  .nav-links{ display:none; }
  .menu-btn{ display:inline-flex; align-items:center; gap:.5rem; }
  .nav-cta .btn-ghost{ display:none; }
}

/* ---------- Mobile Drawer ---------- */
.mobile-drawer{
  display:none;
  border-top:1px solid var(--border);
  background:rgba(247,247,251,.9);
  backdrop-filter: blur(12px);
}
.mobile-drawer.open{ display:block; }
.mobile-drawer a{
  display:block;
  padding:1rem 0;
  border-bottom:1px solid var(--border);
  font-weight:750;
}
.mobile-drawer a.active{ color:var(--brand); }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--border);
  background:linear-gradient(180deg, rgba(13,0,76,.06), rgba(255,255,255,0));
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:2rem;
  padding:3.25rem 0;
  align-items:center;
}
@media (max-width: 900px){
  .hero-inner{
    grid-template-columns:1fr;
    padding:2.25rem 0;
  }
}

.hero h1{
  font-size: clamp(2.05rem, 3.6vw, 3.2rem);
  line-height:1.06;
  margin:.65rem 0 1rem 0;
  color:var(--brand);
  letter-spacing:-.6px;
  opacity:0;
  animation: fadeIn 1.6s ease forwards;
}
.hero p{
  font-size:1.08rem;
  color:rgba(51,50,50,.92);
  max-width:62ch;
  opacity:0;
  animation: fadeIn 1.6s ease .35s forwards;
}

.hero-actions{
  display:flex;
  gap:.75rem;
  margin-top:1.35rem;
  flex-wrap:wrap;
  opacity:0;
  animation: fadeIn 1.6s ease .6s forwards;
}

.hero-card{
  background:rgba(255,255,255,.88);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:1.1rem;
  box-shadow: var(--shadow);
  opacity:0;
  animation: fadeIn 1.6s ease .55s forwards;
}

/* ---------- Video ---------- */
.video-wrap{
  position:absolute;
  inset:0;
  z-index:-2;
}
.video-wrap video{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.9) contrast(1.05);
}
.video-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(247,247,251,.95) 0%,
    rgba(247,247,251,.84) 45%,
    rgba(247,247,251,.62) 100%
  );
  z-index:-1;
}

/* ---------- Sections ---------- */
.section{ padding:3.25rem 0; }

.section h2{
  margin:0 0 .65rem;
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
  letter-spacing:-.3px;
}
.section p.lead{
  color:var(--muted);
  max-width:78ch;
  margin:0 0 1.75rem;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:1.15rem;
}
@media (max-width: 900px){
  .grid-3{ grid-template-columns:1fr; }
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:1.25rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}
.card h3{
  margin:.2rem 0 .5rem;
  color:var(--brand);
}
.card p{ color:var(--muted); margin:0; }

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:1.5rem;
  align-items:center;
}
@media (max-width: 900px){
  .split{ grid-template-columns:1fr; }
}

/* ---------- Image Frames ---------- */
.media-frame{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
  background:#fff;
}
.media-frame img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.media-frame.tall{ min-height:320px; }
.media-frame.short{ min-height:260px; }

/* ---------- Utilities ---------- */
.list{ margin:.6rem 0 0; padding-left:1.15rem; color:var(--muted); }
.small{ color:var(--muted); font-size:.95rem; }

.kpi-row{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  margin-top:1rem;
}
.kpi{
  background: rgba(255,255,255,.9);
  border:1px solid var(--border);
  border-radius: 16px;
  padding:.9rem 1rem;
  min-width:170px;
}
.kpi strong{
  display:block;
  font-size:1.15rem;
  color:var(--brand);
}
.kpi span{
  color:var(--muted);
  font-size:.95rem;
}

.legal-box{
  background: rgba(255,255,255,.92);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:1rem 1.1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.03);
}
.legal-box p{ margin:.5rem 0 0; color:var(--muted); }

/* ---------- Footer ---------- */
.site-footer{
  border-top:1px solid var(--border);
  background:#ffffff;
  padding:2.25rem 0;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap:1.25rem;
}
@media (max-width: 900px){
  .footer-grid{ grid-template-columns:1fr; }
}
.footer-title{
  font-weight:900;
  color:var(--brand);
  margin:.1rem 0 .6rem;
}
.footer-links a{
  display:block;
  padding:.2rem 0;
  color:rgba(51,50,50,.88);
}
.footer-links a:hover{ color:var(--brand); }

/* ---------- Animations ---------- */
@keyframes fadeIn{
  to{ opacity:1; }
}
/* ===== HEADER LOGO BUTTON OVERRIDES (place at end of style.css) ===== */

/* Force both CTA buttons to the same height */
.site-header .nav-cta .btn{
  height: 44px;
  padding: 0 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* FineTech logo button: same height, slightly tighter padding */
.site-header .nav-cta .btn.btn-logo{
  padding: 0 .85rem;
  line-height: 1;
}

/* Make the image fill the available button height */
.site-header .nav-cta .btn.btn-logo img{
  height: 100%;
  max-height: 34px;     /* visually matches the Schedule button */
  width: auto;
  max-width: none;      /* important: don't artificially shrink it */
  object-fit: contain;
  display: block;
}

/* Subtle hover effect */
.site-header .nav-cta .btn.btn-logo{
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.site-header .nav-cta .btn.btn-logo:hover{
  background: rgba(13,0,76,.06);
  border-color: rgba(13,0,76,.18);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}
.site-header .nav-cta .btn.btn-logo:active{
  transform: translateY(0);
  box-shadow: none;
}
/* FINAL FineTech wordmark fix — removes visual padding */
.site-header .nav-cta .btn.btn-logo{
  height: 44px;
  padding: 0 .85rem;
  overflow: hidden;          /* allows visual cropping */
}

/* Zoom the image slightly to eliminate transparent padding */
.site-header .nav-cta .btn.btn-logo img{
  height: 100%;
  max-height: 34px;
  width: auto;
  object-fit: contain;
  display: block;

  /* This is the key line */
  transform: scale(1.18);    /* adjust between 1.12–1.22 as needed */
  transform-origin: center;
}
