:root {
  --red: #f11212;
  --black: #0a0a0b;
  --ink: #171717;
  --ash: #f2f2f2;
  --grey: #777;
  --line: #dedede;
  --white: #fff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.progress { position: fixed; inset: 0 auto auto 0; z-index: 1000; width: 0%; height: 3px; background: var(--red); }
.site-header { position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,.88); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.nav { max-width: 1220px; margin: auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-transform: uppercase; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.nav-links a { color: #333; }
.nav-cta, .btn { border-radius: var(--radius); font-weight: 800; transition: .2s ease; }
.nav-cta { padding: 11px 15px; background: var(--black); color: white !important; }
.menu-toggle { display: none; border: 1px solid var(--line); background: white; padding: 10px 12px; border-radius: var(--radius); }
.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr);
  gap: 44px;
  align-items: center;
  max-width: 1220px;
  margin: auto;
  padding: 56px 20px 44px;
}
.eyebrow { color: var(--red); text-transform: uppercase; font-size: 12px; letter-spacing: .12em; font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(44px, 6vw, 86px); line-height: .92; max-width: 850px; letter-spacing: 0; }
h2 { font-size: clamp(32px, 4vw, 58px); line-height: 1; letter-spacing: 0; }
h3 { font-size: 20px; }
.hero-text, .section-heading p, .boi-copy p, .split p, .contact-copy p { color: #4c4c4c; font-size: 18px; line-height: 1.7; }
.hero-actions, .hero-proof, .boi-stats, .share-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 18px; border: 1px solid var(--black); cursor: pointer; }
.btn.primary { background: var(--red); color: white; border-color: var(--red); box-shadow: 0 14px 35px rgba(241,18,18,.24); }
.btn.secondary { background: white; color: var(--black); }
.btn:hover, .nav-cta:hover { transform: translateY(-2px); }
.hero-proof { margin-top: 28px; color: #555; }
.hero-proof span { border-left: 3px solid var(--red); padding-left: 10px; font-size: 14px; font-weight: 700; }
.hero-visual { position: relative; min-height: 560px; background: linear-gradient(145deg, #121212, #050505); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); padding: 32px; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 18%, rgba(241,18,18,.36), transparent 32%), linear-gradient(90deg, transparent 49%, rgba(255,255,255,.08) 50%, transparent 51%); }
.hero-logo { position: relative; z-index: 2; width: min(360px, 88%); background: white; padding: 22px; border-radius: var(--radius); }
.metric-panel { position: absolute; z-index: 3; right: 26px; bottom: 28px; width: min(330px, calc(100% - 52px)); background: white; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.metric-panel span, .metric-panel small { color: #666; display: block; }
.metric-panel strong { display: block; margin: 8px 0; font-size: 38px; }
.signal-grid { position: absolute; inset: auto 24px 150px 24px; display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; opacity: .75; }
.signal-grid i { height: 130px; background: linear-gradient(var(--red), #aaa); border-radius: 5px 5px 0 0; transform-origin: bottom; animation: lift 3s ease-in-out infinite alternate; }
.signal-grid i:nth-child(2n) { animation-delay: .4s; height: 190px; }
.signal-grid i:nth-child(3n) { animation-delay: .8s; height: 240px; }
@keyframes lift { to { transform: scaleY(.72); opacity: .6; } }
.trust-strip { background: var(--black); color: white; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 16px; }
.trust-strip span { border: 1px solid #333; padding: 10px 14px; border-radius: var(--radius); color: #ddd; }
.section { max-width: 1220px; margin: auto; padding: 92px 20px; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.about-grid, .case-grid, .team-grid, .blog-grid, .testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card, .case-card, .team-grid article, .blog-card, .referral-form, .lead-form {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: white; box-shadow: 0 16px 42px rgba(0,0,0,.05);
}
.feature-card.dark { background: var(--black); color: white; border-color: var(--black); }
.card-kicker, .case-card span, .blog-card span { color: var(--red); font-weight: 900; font-size: 12px; text-transform: uppercase; }
.dark-section { max-width: none; background: var(--black); color: white; padding-left: max(20px, calc((100vw - 1220px)/2)); padding-right: max(20px, calc((100vw - 1220px)/2)); }
.dark-section .section-heading p, .dark-section article p { color: #bdbdbd; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.services-grid article { min-height: 205px; border: 1px solid #2a2a2a; border-radius: var(--radius); padding: 20px; background: #111; transition: .22s ease; }
.services-grid article:hover { transform: translateY(-5px); border-color: var(--red); background: #181818; }
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.approach-grid article { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-height: 220px; background: linear-gradient(180deg, #fff, #f7f7f7); }
.approach-grid span { color: var(--red); font-weight: 900; font-size: 13px; }
.boi { display: grid; grid-template-columns: .85fr 1fr; gap: 40px; align-items: start; }
.boi-stats span { flex: 1 1 150px; background: var(--ash); border-radius: var(--radius); padding: 16px; }
.boi-stats strong { display: block; font-size: 24px; color: var(--black); }
.timeline { display: grid; gap: 14px; }
.timeline div { position: relative; border: 1px solid var(--line); padding: 22px 22px 22px 78px; border-radius: var(--radius); background: white; }
.timeline span { position: absolute; left: 20px; top: 22px; color: var(--red); font-weight: 900; }
.split, .contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.referral-form, .lead-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
label { display: grid; gap: 8px; font-weight: 800; font-size: 13px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 12px; font: inherit; background: #fff; }
.full { grid-column: 1 / -1; }
.team-grid article { background: #121212; border-color: #2a2a2a; }
.team-grid span { width: 52px; height: 52px; display: grid; place-items: center; background: var(--red); border-radius: 50%; font-weight: 900; margin-bottom: 18px; }
.testimonials { background: var(--ash); max-width: none; padding-left: max(20px, calc((100vw - 1220px)/2)); padding-right: max(20px, calc((100vw - 1220px)/2)); }
.testimonial-grid article { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 16px 42px rgba(0,0,0,.05); }
.testimonial-grid p { font-size: 21px; line-height: 1.5; color: #161616; }
.testimonial-grid span { color: var(--red); font-weight: 900; font-size: 13px; text-transform: uppercase; }
.referral-notes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.referral-notes span { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; font-weight: 800; font-size: 13px; background: white; }
.insight-tools { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.insight-tools input { max-width: 420px; }
.share-row button { border: 1px solid var(--line); background: white; border-radius: var(--radius); padding: 10px 12px; cursor: pointer; }
.blog-card { display: grid; gap: 10px; }
.blog-card img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--ash); }
.badge-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.badge-row span { min-height: 110px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 900; font-size: 24px; background: var(--ash); }
.faq-list { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: white; }
summary { cursor: pointer; font-weight: 900; }
.contact { background: var(--ash); max-width: none; padding-left: max(20px, calc((100vw - 1220px)/2)); padding-right: max(20px, calc((100vw - 1220px)/2)); }
.contact-lines { display: grid; gap: 10px; font-weight: 800; }
.floating-socials { position: fixed; left: 16px; bottom: 82px; z-index: 800; display: grid; gap: 8px; }
.floating-socials a { width: 36px; height: 36px; display: grid; place-items: center; background: white; border: 1px solid var(--line); border-radius: 50%; font-size: 12px; font-weight: 900; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.sticky-whatsapp { position: fixed; right: 16px; bottom: 18px; z-index: 900; background: #0baa4b; color: white; border-radius: var(--radius); padding: 13px 16px; font-weight: 900; box-shadow: var(--shadow); }
.chatbot { position: fixed; right: 16px; bottom: 76px; z-index: 920; }
.chatbot-toggle { background: var(--black); color: white; border: 0; border-radius: var(--radius); padding: 12px 14px; font-weight: 900; box-shadow: var(--shadow); }
.chat-panel { display: none; width: min(380px, calc(100vw - 32px)); background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.chat-panel.open { display: block; }
.chat-head { display: flex; justify-content: space-between; align-items: center; background: var(--black); color: white; padding: 14px; }
.chat-head button { background: transparent; color: white; border: 0; font-size: 24px; cursor: pointer; }
.chat-log { height: 230px; overflow: auto; padding: 14px; display: grid; gap: 10px; background: #fafafa; }
.msg { padding: 10px 12px; border-radius: var(--radius); max-width: 88%; font-size: 14px; line-height: 1.45; }
.bot { background: white; border: 1px solid var(--line); }
.user { background: var(--red); color: white; justify-self: end; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px; }
.quick-actions button { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 8px 10px; font-size: 12px; cursor: pointer; }
#chatForm { display: flex; border-top: 1px solid var(--line); }
#chatForm input { border: 0; border-radius: 0; }
#chatForm button { border: 0; background: var(--red); color: white; padding: 0 14px; font-weight: 900; }
.footer { background: var(--black); color: white; padding: 40px 20px; display: grid; place-items: center; text-align: center; gap: 14px; }
.footer img { width: 210px; background: white; padding: 12px; border-radius: var(--radius); }
.footer p { max-width: 720px; color: #ccc; }
.reveal { opacity: 0; transform: translateY(18px); transition: .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 16px; right: 16px; top: 66px; padding: 16px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .hero, .boi, .split, .contact { grid-template-columns: 1fr; }
  .hero { padding-top: 34px; }
  .hero-visual { min-height: 430px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .case-grid, .team-grid, .blog-grid, .testimonial-grid, .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .badge-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  h1 { font-size: 46px; }
  .section { padding: 68px 16px; }
  .services-grid, .about-grid, .case-grid, .team-grid, .blog-grid, .testimonial-grid, .approach-grid, .referral-form, .lead-form, .badge-row { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .insight-tools { display: grid; }
  .floating-socials { display: none; }
  .hero-visual { min-height: 390px; padding: 18px; }
  .metric-panel { left: 18px; right: 18px; bottom: 18px; width: auto; }
}
