/* 🌙 TaxTech Financial Solutions — Full Style.css (Final Services Banner Fit Version) */

/* ---------- Base Theme Colors ---------- */
:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --card: #ffffff;
  --border: #e5e7eb;
  --navy: #0A1A2F;
  --emerald: #007F5F;
  --gold: #D4AF37;
}
html.dark {
  --bg: #0b1220;
  --text: #e5e7eb;
  --muted: #a3b0c2;
  --card: #0f1b2e;
  --border: #1e2a3d;
}

/* ---------- Base Reset ---------- */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald); text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--emerald);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: .8rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
}
.btn.light {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

/* ---------- Header / Navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 260px;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}
.brand .nm { font-weight: 800; }
.links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.links a {
  padding: 6px 8px;
  color: var(--muted);
}
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--muted);
}

/* ---------- Typography ---------- */
h1 {
  font-size: clamp(26px, 4.2vw, 42px);
  line-height: 1.22;
  margin: 0 0 10px;
}
h2 {
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.25;
  margin: 0 0 8px;
}
h3 {
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.3;
  margin: 0 0 6px;
}
p {
  margin: 8px 0;
  max-width: 75ch;
  overflow-wrap: break-word;
}

/* ---------- Hero (Home Page) ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy), #0A1A2F 58%, var(--bg) 58%);
  color: #fff;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  padding: 64px 0;
}
.hero .subtitle {
  color: #dbeafe;
  max-width: 62ch;
}
.hero .cta {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero .kpis {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 520px;
}
.hero-img {
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card);
}

/* ---------- Layout Utilities ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, .06);
  padding: 18px;
}
.section { padding: 56px 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.kpi {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  color: --var(--text);
}
.kpi .v { font-weight: 900; font-size: 26px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #ffffff1a;
  border: 1px solid #ffffff2e;
  color: #fff;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: 12px;
}
figure { margin: 0; }
figure img {
  border-radius: 16px;
  border: 1px solid var(--border);
}
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  margin-top: 36px;
}
.success {
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
  padding: 14px;
  border-radius: 12px;
  margin-top: 10px;
  display: none;
}

/* ---------- Responsive Adjustments ---------- */
@media(max-width:1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 18px; }
  .hero .kpis { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width:640px) {
  .links { gap: 6px; }
  .hero { background: linear-gradient(180deg, var(--navy), #0A1A2F 62%, var(--bg) 62%); }
  .hero .kpis { grid-template-columns: 1fr 1fr; }
}

/* ---------- SERVICES BANNER (Shows entire image, matches services.html) ---------- */
.services-banner {
 
  width: 100%;
  aspect-ratio: 3 / 2;
  background-image: url("services-hero.jpg"); /* fixed relative path */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* ensures image fills the section */
  background-color: #0B1A2B;
  display: block;
  overflow: hidden;
  margin: 0 auto;
}



/* optional: slightly shorter on small screens */
@media (max-width: 640px) {
  .services-banner {
    aspect-ratio: 3 / 2.2;             /* trims height a touch on phones */
    background-position: center top;
  }
}
