/* =========================================================
   Tootker Solutions - Static Corporate Site
   Primary: Corporate Blue (#1F4E79)
   Accent : Deep Corporate Red (#8C1D18)
   Neutrals: Charcoal (#1F1F1F), Soft White (#F6F6F6)
   ========================================================= */

:root{
  --blue:#1F4E79;
  --red:#8C1D18;
  --charcoal:#1F1F1F;
  --steel:#5E6468;
  --soft:#F6F6F6;
  --white:#FFFFFF;

  --max:1100px;
  --radius:14px;
  --shadow:0 10px 30px rgba(0,0,0,0.08);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height:1.6;
}

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

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:20px; top:20px; width:auto; height:auto; padding:10px 14px;
  background: var(--charcoal); color: var(--white); border-radius:10px;
  z-index:9999;
}

/* Top restructure banner */
.top-note{
  background: var(--soft);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.top-note .container{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  padding:10px 0;
}
.top-note .dot{
  width:8px; height:8px; border-radius:50%;
  background: var(--red);
}
.top-note p{
  margin:0;
  font-size: 13px;
  color: var(--steel);
}
.top-note b{ color: var(--charcoal); }

/* Header */
header{
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 1000;
}

header .container{
  display:flex;
  align-items:center;
}

.navbar{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 0;
}

/* Brand */
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 0;
  margin: 0;
}

.brand .wordmark{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.brand img{
  height: 100px;
  width: auto;
  display: block;
}

.brand .wordmark .name{
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.2px;
  margin: 0;
}

.brand .wordmark .tag{
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Mobile scaling */
@media (max-width: 640px){
  .brand img{ height: 72px; }
  .brand .wordmark .name{ font-size: 18px; }
  .brand .wordmark .tag{ font-size: 11px; }
}

.nav-links{
  display:flex;
  align-items:center;
  gap: 18px;
}

.nav-links a{
  font-weight:600;
  font-size: 14px;
  color: var(--blue);                 /* default = primary */
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
}

/* Hover = secondary accent */
.nav-links a:hover{
  background: rgba(31,78,121,0.08);   /* keep your soft blue pill */
  color: var(--red);                  /* change text to secondary */
}

/* Active/current page */
.nav-links a.active{
  background: rgba(31,78,121,0.10);   /* slightly stronger pill */
  color: var(--red);                  /* active text in secondary */
}

/* Keyboard accessibility */
.nav-links a:focus-visible{
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
/* Desktop default: hide toggle */
.nav-toggle{
  display: none !important;
}

/* Mobile only: show toggle and collapse links */
@media (max-width: 820px){
  .nav-toggle{
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
  }

  .nav-links{
    display: none;
  }

  .nav-links.open{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.96);
  }
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight:700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor:pointer;
  text-decoration:none !important;
}
.btn-primary{
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover{ filter: brightness(0.96); }
.btn-outline{
  background: transparent;
  border-color: rgba(31,78,121,0.28);
  color: var(--blue);
}
.btn-outline:hover{
  background: rgba(31,78,121,0.08);
}

/* Hero */
.hero{
  position: relative;
  padding: 56px 0 30px;
  background:
    radial-gradient(900px 360px at 12% 10%, rgba(31,78,121,0.08), transparent 60%),
    radial-gradient(800px 340px at 88% 18%, rgba(31,78,121,0.06), transparent 60%),
    linear-gradient(180deg, rgba(31,78,121,0.05), transparent 62%);
  overflow: hidden;
}

.hero::after{
  content:"";
  position:absolute;
  right:-120px;
  top:-80px;
  width:520px;
  height:520px;
  background:
    radial-gradient(circle at 30% 30%, rgba(31,78,121,0.10) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 50%, rgba(31,78,121,0.08) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 80%, rgba(31,78,121,0.07) 0 2px, transparent 3px);
  background-size: 26px 26px;
  opacity: 0.28;
  pointer-events: none;
  transform: rotate(10deg);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31,78,121,0.18);
  background: rgba(31,78,121,0.06);
  color: var(--blue);
  font-weight:700;
  font-size: 12px;
  letter-spacing: 0.2px;
}
.kicker .kdot{ width:8px; height:8px; border-radius:50%; background: var(--red); }

.hero h1{
  margin: 14px 0 10px;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: var(--charcoal);
}

.hero h1 strong{
  color: var(--blue);
}
.hero p.lead{
  margin: 0 0 18px;
  color: var(--steel);
  font-size: 16px;
  max-width: 62ch;
}
.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-card{
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(31,78,121,0.14);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(0,0,0,0.10);
  padding: 18px;
}
.hero-card h3{
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 16px;
}
.hero-card ul{
  margin: 0;
  padding-left: 18px;
  color: var(--steel);
  font-size: 14px;
}
.hero-card li{ margin: 6px 0; }
.hero-card ul li::marker {
  color: var(--steel);
}
.hero-card hr {
  border-color: rgba(0,0,0,0.08);
}
.hero-card .note{
  margin-top: 12px;
  font-size: 12px;
  color: var(--steel);
  border-top: 1px dashed rgba(0,0,0,0.12);
  padding-top: 12px;
}

/* Sections */
.section{
  padding: 40px 0;
}
.section.alt{
  background: var(--soft);
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.section h2{
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 26px;
  letter-spacing:-0.2px;
}
.section p.sub{
  margin: 0 0 18px;
  color: var(--steel);
  max-width: 70ch;
}

.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.card{
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 16px;
}
.card h4{
  margin: 0 0 6px;
  font-size: 16px;
}
.card p{
  margin: 0;
  color: var(--steel);
  font-size: 14px;
}
.card .mini{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom: 10px;
  color: var(--blue);
  font-weight:800;
  font-size: 12px;
}
.card .mini .bar{
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: var(--red);
}

/* Partner strip */
.partner-strip{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.pill{
  border: 1px solid rgba(0,0,0,0.10);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 13px;
  color: var(--charcoal);
}
.pill em{
  font-style: normal;
  color: var(--steel);
  font-weight: 600;
}

/* CTA */
.cta{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(31,78,121,0.22);
  background:
    linear-gradient(90deg,
      rgba(31,78,121,0.10),
      rgba(255,255,255,0.98) 65%
    );
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Subtle brand accent stripe */
.cta::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:5px;
  height:100%;
  background: linear-gradient(
    180deg,
    var(--blue),
    rgba(31,78,121,0.65)
  );
}

/* Text block */
.cta h3{
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.cta p{
  margin: 0;
  color: var(--steel);
  font-size: 14px;
  max-width: 60ch;
}

/* Actions */
.cta .actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Make primary CTA feel decisive */
.cta .btn-primary{
  box-shadow: 0 8px 20px rgba(178,34,34,0.25);
}

/* Mobile behavior */
@media (max-width: 820px){
  .cta{
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .cta .actions{
    margin-top: 10px;
  }
}

/* Footer */
footer{
  padding: 20px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: var(--white);
}

/* Footer layout */
.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

/* Footer brand (logo + wordmark) */
.footer-brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Footer logo */
.footer-brand img{
  height: 56px;        /* upgraded from 34px */
  width: auto;
  display: block;
  opacity: 0.95;
}

/* Footer brand name (Tootker Solutions)
   This targets the first text line without changing HTML */
.footer-brand > div > div:first-child{
  font-weight: 800;
  font-size: 16px;
  color: var(--blue);
  letter-spacing: 0.2px;
  line-height: 1.2;
}

/* Footer tagline */
.footer-brand .meta{
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Optional underline accent under tagline */
.footer-brand .meta::after{
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  margin-top: 6px;
  border-radius: 2px;
}

/* Footer navigation links */
.footer-links{
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-links a{
  font-weight: 700;
  color: var(--blue);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover{
  text-decoration: underline;
}

/* Footer small print */
.smallprint{
  margin-top: 10px;
  color: var(--steel);
  font-size: 12px;
}

/* Mobile adjustments */
@media (max-width: 640px){
  .footer-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-links{
    justify-content: flex-start;
  }

  .footer-brand img{
    height: 48px;
  }
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-links{ justify-content:flex-start; }
}

@media (max-width: 720px){
  .nav-toggle{ display:inline-flex; }
  .nav-links{
    position: absolute;
    top: 68px;
    right: 20px;
    left: 20px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap: 8px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow);
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ padding: 10px 12px; }
  .cards{ grid-template-columns: 1fr; }
  .hero h1{ font-size: 32px; }
  .cta{ flex-direction: column; align-items:flex-start; }
}