/* ============================================================
   TFV SOLUTIONS — Premium redesign
   Palette : ink #0E0F11 · panel #141619 · soft white #F5F6F7
             steel silver #A9B0B8 · brand red #D42B2B (logo #AC0505)
   Type    : Archivo (display) · Manrope (body) · IBM Plex Mono (labels)
   ============================================================ */

:root {
  --ink: #0E0F11;
  --panel: #141619;
  --panel-2: #1A1D21;
  --white: #F5F6F7;
  --silver: #A9B0B8;
  --silver-dim: #7A828C;
  --line: rgba(169, 176, 184, 0.14);
  --red: #D42B2B;
  --red-soft: rgba(212, 43, 43, 0.12);
  --red-grad: linear-gradient(135deg, #E23A3A 0%, #C01010 55%, #8F0505 100%);
  --font-display: "Archivo", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --radius: 14px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--silver);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
em { font-style: normal; color: var(--red); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  will-change: transform;
}
.btn-red {
  background: var(--red-grad);
  color: #FFFFFF;
  box-shadow: 0 10px 30px -12px rgba(212, 43, 43, 0.55), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(212, 43, 43, 0.65), inset 0 1px 0 rgba(255,255,255,0.35); }
.btn-ghost {
  color: var(--white);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: rgba(212, 43, 43, 0.5); background: var(--red-soft); transform: translateY(-2px); }
.btn-sm { padding: 11px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--red);
  font-weight: 600;
  border-bottom: 1px solid rgba(212, 43, 43, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.3s;
}
.text-link:hover { border-color: var(--red); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(14, 15, 17, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  height: 52px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}
.site-footer .brand-logo { height: 58px; }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--silver);
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(169,176,184,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169,176,184,0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 35%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 35%, black 30%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.hero-glow-1 {
  width: 520px; height: 520px;
  top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(212,43,43,0.14), transparent 65%);
}
.hero-glow-2 {
  width: 640px; height: 640px;
  bottom: -260px; left: -200px;
  background: radial-gradient(circle, rgba(140,148,158,0.16), transparent 65%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  font-weight: 800;
  margin-bottom: 26px;
}
.hero-sub {
  font-size: 1.12rem;
  max-width: 34em;
  margin-bottom: 36px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.hero-note {
  font-size: 0.88rem;
  color: var(--silver-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-note .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3FBF77;
  box-shadow: 0 0 0 4px rgba(63,191,119,0.15);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(63,191,119,0.18); }
  50% { box-shadow: 0 0 0 7px rgba(63,191,119,0.05); }
}

/* --- Hero dashboard panel (signature) --- */
.hero-panel { position: relative; }
.panel-glass {
  background: linear-gradient(160deg, rgba(28,31,35,0.85), rgba(20,22,25,0.65));
  border: 1px solid var(--line);
  border-top-color: rgba(212,43,43,0.28);
  border-radius: 18px;
  padding: 26px 26px 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8);
  transform: rotate(-1.2deg);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}
.panel-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  font-size: 0.98rem;
}
.panel-range {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
}
.growth-chart { width: 100%; height: 190px; }
.chart-grid line { stroke: rgba(169,176,184,0.12); stroke-width: 1; stroke-dasharray: 3 6; }
.chart-line {
  stroke: var(--red);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  filter: drop-shadow(0 0 8px rgba(212,43,43,0.4));
}
.chart-area { opacity: 0; transition: opacity 1.2s ease 1.4s; }
.chart-point { fill: var(--red); opacity: 0; transition: opacity 0.5s ease 2s; }
.hero-panel.chart-on .chart-line { animation: draw 2.2s var(--ease) 0.4s forwards; }
.hero-panel.chart-on .chart-area { opacity: 1; }
.hero-panel.chart-on .chart-point { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.panel-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.kpi { display: flex; flex-direction: column; gap: 2px; }
.kpi-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-dim);
}
.kpi-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}

.panel-chip {
  position: absolute;
  background: rgba(20,22,25,0.92);
  border: 1px solid var(--line);
  border-left: 2px solid var(--red);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.7);
  animation: float 7s ease-in-out infinite;
}
.chip-a { top: -22px; right: -14px; }
.chip-b { bottom: -20px; left: -20px; animation-delay: 1.6s; }
.chip-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver-dim);
}
.chip-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--red);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Value strip ---------- */
.value-strip {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(212,43,43,0.045), transparent);
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 26px;
  padding-block: 26px;
}
.strip-item {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--white);
}
.strip-sep { color: var(--red); opacity: 0.7; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 64px;
}
.head-side p { color: var(--silver); }
.section-head h2 { max-width: 15em; }

/* ---------- About ---------- */
.about { border-bottom: 1px solid var(--line); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text p { margin-bottom: 20px; }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(28,31,35,0.5), transparent);
}
.stat {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat:nth-child(2n) { border-right: none; }
.stat:nth-child(n+3) { border-bottom: none; }
.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  color: var(--white);
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, transparent, rgba(20,22,25,0.55) 22%, rgba(20,22,25,0.55) 78%, transparent); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.service-card {
  grid-column: span 2;
  background: linear-gradient(165deg, rgba(28,31,35,0.7), rgba(15,16,18,0.7));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,43,43,0.6), transparent);
  opacity: 0;
  transition: opacity 0.45s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,43,43,0.35);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8);
}
.service-card:hover::after { opacity: 1; }
.card-wide { grid-column: span 3; }
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 40px;
}
.card-icon {
  width: 26px; height: 26px;
  color: var(--red);
  flex-shrink: 0;
}
.card-index {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver-dim);
  text-align: right;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.98rem; }

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.why-item {
  padding: 44px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s;
}
.why-item:nth-child(2n) { border-right: none; }
.why-item:nth-child(n+3) { border-bottom: none; }
.why-item:hover { background: rgba(212,43,43,0.045); }
.why-item h3 {
  margin-bottom: 12px;
  padding-left: 18px;
  border-left: 2px solid var(--red);
}
.why-item p { font-size: 0.99rem; }

/* ---------- Process ---------- */
.process { background: linear-gradient(180deg, transparent, rgba(20,22,25,0.55) 30%, rgba(20,22,25,0.55) 70%, transparent); }
.process-track {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
  counter-reset: step;
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 21px; left: 3%; right: 3%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
}
.process-step { position: relative; padding-top: 58px; }
.step-num {
  position: absolute;
  top: 0; left: 0;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--red);
  border: 1px solid rgba(212,43,43,0.45);
  border-radius: 50%;
  background: var(--ink);
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.93rem; }

/* ---------- Industries ---------- */
.industry-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.industry-tags li {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--white);
  padding: 13px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(28,31,35,0.4);
  transition: border-color 0.35s, background 0.35s, transform 0.35s var(--ease);
}
.industry-tags li:hover {
  border-color: rgba(212,43,43,0.45);
  background: var(--red-soft);
  transform: translateY(-3px);
}

/* ---------- Proof (testimonials + logos) ---------- */
.proof { border-top: 1px solid var(--line); }
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 70px;
}
.quote {
  background: linear-gradient(165deg, rgba(28,31,35,0.7), rgba(15,16,18,0.7));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.quote blockquote {
  font-size: 1.02rem;
  color: var(--white);
  line-height: 1.65;
  position: relative;
  padding-top: 26px;
}
.quote blockquote::before {
  content: "“";
  position: absolute;
  top: -14px; left: -4px;
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: var(--red);
  opacity: 0.6;
  line-height: 1;
}
.quote figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.quote figcaption strong { color: var(--white); font-family: var(--font-display); font-weight: 600; }
.quote figcaption span { font-size: 0.85rem; color: var(--silver-dim); }

.logo-row { text-align: center; }
.logo-row-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 30px;
}
.logo-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
}
.logo-items img {
  height: 44px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(1) brightness(1.6);
  transition: opacity 0.35s, filter 0.35s;
}
.logo-items img:hover { opacity: 1; filter: grayscale(0) brightness(1); }

/* ---------- CTA band ---------- */
.cta-band {
  margin: 40px 0;
  border-block: 1px solid rgba(212,43,43,0.25);
  background:
    radial-gradient(ellipse 60% 120% at 85% 50%, rgba(212,43,43,0.1), transparent 70%),
    linear-gradient(180deg, rgba(28,31,35,0.75), rgba(15,16,18,0.75));
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  padding-block: 84px;
}
.cta-sub { margin-top: 16px; max-width: 32em; }
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.contact-lede { margin: 18px 0 34px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 34px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver-dim);
}
.contact-list a, .contact-list li > span:not(.contact-label) {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.3s;
}
.contact-list a:hover { color: var(--red); }

.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--silver);
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.socials a:hover { color: var(--red); border-color: rgba(212,43,43,0.45); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

.contact-form-wrap {
  background: linear-gradient(165deg, rgba(28,31,35,0.75), rgba(15,16,18,0.75));
  border: 1px solid var(--line);
  border-top-color: rgba(212,43,43,0.3);
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.7);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-dim);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--white);
  background: rgba(14,15,17,0.6);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--silver) 50%), linear-gradient(135deg, var(--silver) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--silver-dim); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: rgba(212,43,43,0.55);
  box-shadow: 0 0 0 3px rgba(212,43,43,0.12);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-privacy {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--silver-dim);
  text-align: center;
}
.form-banner {
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 600;
}
.form-banner.ok { background: rgba(63,191,119,0.12); border: 1px solid rgba(63,191,119,0.4); color: #7FDCA8; }
.form-banner.err { background: rgba(220,80,80,0.1); border: 1px solid rgba(220,80,80,0.4); color: #F2A0A0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20,22,25,0.5), var(--ink));
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 56px;
}
.footer-brand p { margin-top: 16px; max-width: 26em; font-size: 0.95rem; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  align-self: flex-start;
}
.footer-col a, .footer-col span {
  font-size: 0.94rem;
  color: var(--silver);
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--silver-dim);
}
.footer-social { display: flex; gap: 22px; }
.footer-social a { color: var(--silver-dim); transition: color 0.3s; }
.footer-social a:hover { color: var(--red); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.6);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 20px 40px -10px rgba(37, 211, 102, 0.7); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .hero { min-height: 0; padding-top: 130px; }
  .hero-panel { max-width: 540px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card, .card-wide { grid-column: span 1; }
  .process-track { grid-template-columns: repeat(2, 1fr); gap: 40px 26px; }
  .process-track::before { display: none; }
  .quotes-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 18px; margin-bottom: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .main-nav {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(14, 15, 17, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 24px;
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.35s, visibility 0.35s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }

  .hero { padding-top: 112px; }
  .hero-cta .btn { width: 100%; }
  .panel-chip { display: none; }
  .panel-glass { transform: none; }

  .about-grid, .contact-grid, .cta-inner { grid-template-columns: 1fr; gap: 44px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .why-item:last-child { border-bottom: none !important; }
  .services-grid, .process-track { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-form-wrap { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .logo-items { gap: 30px; }
  .logo-items img { height: 34px; }

  /* Header logo sizing on mobile */
  .brand-logo { height: 42px; }
  .site-footer .brand-logo { height: 48px; }
  .header-inner { padding: 12px 18px; }

  /* WhatsApp float: smaller, tucked in, never covers content */
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 26px; height: 26px; }
  .footer-bottom { padding-bottom: 88px; }
  .contact-form .btn-block { margin-bottom: 4px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .chart-line { stroke-dashoffset: 0; }
  .chart-area, .chart-point { opacity: 1; }
}

/* ============================================================
   SUBPAGES — service pages, legal pages, business proposal
   ============================================================ */

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: 170px 0 80px;
  overflow: hidden;
}
.page-hero .hero-bg { position: absolute; inset: 0; pointer-events: none; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 22px;
  position: relative;
}
.breadcrumb a { color: var(--red); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }
.page-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 800;
  max-width: 16em;
  margin-bottom: 20px;
  position: relative;
}
.page-hero .hero-sub { position: relative; margin-bottom: 34px; }
.page-hero .hero-cta { position: relative; margin-bottom: 0; }

/* ---------- Service overview ---------- */
.overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: start;
}
.overview-text p { margin-bottom: 20px; }
.facts-card {
  background: linear-gradient(165deg, rgba(28,31,35,0.8), rgba(15,16,18,0.8));
  border: 1px solid var(--line);
  border-top-color: rgba(212,43,43,0.35);
  border-radius: var(--radius);
  padding: 32px 30px;
  position: sticky;
  top: 100px;
}
.facts-card h3 { margin-bottom: 20px; font-size: 1.05rem; }
.fact-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.fact-row:last-of-type { border-bottom: none; margin-bottom: 8px; }
.fact-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver-dim);
}
.fact-value {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  font-size: 1.02rem;
}
.fact-value.red { color: var(--red); }
.facts-card .btn { margin-top: 14px; }

/* ---------- Offer grid ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.offer-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  background: linear-gradient(165deg, rgba(28,31,35,0.55), rgba(15,16,18,0.55));
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.offer-item:hover { transform: translateY(-4px); border-color: rgba(212,43,43,0.35); }
.offer-item h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  padding-left: 16px;
  border-left: 2px solid var(--red);
}
.offer-item p { font-size: 0.96rem; }

/* ---------- Benefits / who it's for ---------- */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border: 1px solid rgba(212,43,43,0.6);
  border-radius: 50%;
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 8px;
  width: 8px; height: 5px;
  border-left: 1.6px solid var(--red);
  border-bottom: 1.6px solid var(--red);
  transform: rotate(-45deg);
}
.who-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.who-list li {
  border: 1px solid var(--line);
  border-left: 2px solid var(--red);
  border-radius: 10px;
  padding: 18px 22px;
  background: rgba(28,31,35,0.4);
  font-size: 0.98rem;
}
.mini-head { margin-bottom: 26px; }
.mini-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* ---------- Legal pages ---------- */
.legal-wrap { max-width: 820px; }
.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-dim);
  position: relative;
}
.legal-body h2 {
  font-size: 1.35rem;
  margin: 46px 0 16px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.legal-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-body h3 { font-size: 1.05rem; margin: 26px 0 10px; color: var(--white); }
.legal-body p { margin-bottom: 16px; }
.legal-body ul { margin: 0 0 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-body li strong { color: var(--white); font-weight: 600; }
.legal-body a { color: var(--red); border-bottom: 1px solid rgba(212,43,43,0.35); }
.legal-body strong { color: var(--white); }

/* ---------- Proposal page ---------- */
.proposal-areas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.area-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  background: linear-gradient(165deg, rgba(28,31,35,0.65), rgba(15,16,18,0.65));
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.area-card:hover { transform: translateY(-5px); border-color: rgba(212,43,43,0.35); }
.area-card .text-link { margin-top: auto; }

/* ---------- Print (proposal) ---------- */
@media print {
  body { background: #fff; color: #222; }
  .site-header, .wa-float, .cta-band, .site-footer, .hero-bg, .btn { display: none !important; }
  h1, h2, h3, h4 { color: #111; }
  .area-card, .why-item, .process-step { border-color: #ddd; background: none; }
}

/* ---------- Subpage responsive ---------- */
@media (max-width: 1020px) {
  .overview-grid, .split-2 { grid-template-columns: 1fr; gap: 44px; }
  .facts-card { position: static; }
}
@media (max-width: 760px) {
  .page-hero { padding: 130px 0 60px; }
  .offer-grid, .proposal-areas { grid-template-columns: 1fr; }
}
