:root {
  --background: #ffffff;
  --foreground: #141414;
  --surface: #f7f7f7;
  --muted: #676767;
  --border: #e4e4e4;
  --primary: #d91b1b;
  --primary-dark: #a20f0f;
  --on-primary: #ffffff;
  --dark: #0f0f0f;
  --dark-muted: #b4b4b4;
  --shadow: 0 8px 28px rgba(0, 0, 0, .08);
  --radius: 8px;
  --header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; color: var(--foreground); background: var(--background); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-height); background: var(--background); border-bottom: 1px solid var(--border); transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: var(--shadow); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: auto; height: 52px; }
.main-menu { display: flex; align-items: center; gap: 30px; }
.main-menu a { color: var(--muted); font-size: .9rem; font-weight: 700; transition: color .2s ease; }
.main-menu a:hover, .main-menu a:focus-visible { color: var(--primary); }
.main-menu .nav-cta { padding: 10px 20px; color: var(--on-primary); background: var(--primary); border-radius: var(--radius); }
.main-menu .nav-cta:hover, .main-menu .nav-cta:focus-visible { color: var(--on-primary); background: var(--primary-dark); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--foreground); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; min-height: 100svh; padding: calc(var(--header-height) + 56px) 0 64px; display: grid; place-items: center; overflow: hidden; color: var(--on-primary); }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; }
.hero-overlay { background: rgba(8, 8, 8, .64); }
.hero-content { position: relative; z-index: 1; text-align: center; }
.eyebrow { margin: 0 0 14px; color: var(--primary); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.hero h1 { max-width: 930px; margin: 0 auto 24px; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.08; letter-spacing: 0; }
h1, h2, h3 { font-family: Arial, Helvetica, sans-serif; }
h1 strong, h2 strong { color: var(--primary); }
.hero-copy { max-width: 720px; margin: 0 auto 34px; color: #d0d0d0; font-size: clamp(1rem, 2vw, 1.22rem); }
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.button { min-width: 180px; padding: 14px 24px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 800; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--on-primary); background: var(--primary); }
.button.primary:hover { background: var(--primary-dark); }
.button.secondary { color: var(--on-primary); border-color: #666; background: rgba(255,255,255,.05); }
.button.secondary:hover { background: rgba(255,255,255,.12); }
.scroll-cue { position: absolute; z-index: 1; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--dark-muted); font-size: 1.6rem; animation: bounce 2s infinite; }

.section { padding: 96px 0; }
.section.alternate { background: var(--surface); }
.section-heading { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-heading h2 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; letter-spacing: 0; }
.section-heading > p:last-child:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 1.06rem; }
.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-inline: auto; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { min-width: 0; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--background); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(217,27,27,.35); box-shadow: 0 10px 30px rgba(217,27,27,.1); }
.card .icon { width: 54px; height: 54px; margin-bottom: 20px; display: grid; place-items: center; border-radius: var(--radius); color: var(--primary); background: rgba(217,27,27,.09); font-size: 1.65rem; font-weight: 700; }
.card .icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card .brand-icon img { width: 29px; height: 29px; filter: invert(17%) sepia(96%) saturate(4030%) hue-rotate(353deg) brightness(91%) contrast(90%); }
.card h3 { margin: 0 0 10px; font-size: 1.18rem; line-height: 1.3; overflow-wrap: anywhere; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }
.tool { text-align: center; }
.tool .icon, .contact .icon { margin-inline: auto; }
.tool span { display: inline-block; margin-top: 16px; color: var(--primary); font-size: .9rem; font-weight: 800; }
.contact { text-align: center; padding-inline: 20px; }
.contact small { display: block; margin-bottom: 5px; color: var(--muted); }
.contact h3 { margin: 0; font-size: .9rem; font-weight: 700; }

.footer { padding: 42px 0; border-top: 1px solid var(--border); background: var(--surface); text-align: center; }
.footer img { width: auto; height: 58px; margin: 0 auto 12px; }
.footer p { margin: 4px 0; color: var(--muted); font-size: .86rem; }
.footer-bottom { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.social-links { display: flex; align-items: center; gap: 8px; }
.social-links a { width: 34px; height: 34px; display: grid; place-items: center; color: var(--primary); border: 1px solid var(--border); border-radius: var(--radius); background: var(--background); transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.social-links a:hover, .social-links a:focus-visible { color: var(--primary-dark); border-color: var(--primary); transform: translateY(-2px); }
.social-links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-links a:last-child svg { fill: currentColor; stroke: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

@media (max-width: 900px) {
  .grid.three, .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-toggle { display: block; }
  .main-menu { position: fixed; top: var(--header-height); right: 0; bottom: 0; width: min(320px, 88vw); padding: 28px; align-items: stretch; flex-direction: column; gap: 0; background: var(--background); border-left: 1px solid var(--border); box-shadow: var(--shadow); transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility .25s ease; }
  .main-menu.open { transform: translateX(0); visibility: visible; }
  .main-menu a { padding: 14px 8px; border-bottom: 1px solid var(--border); }
  .main-menu .nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; }
}

@media (max-width: 640px) {
  :root { --header-height: 68px; }
  .container { width: min(100% - 32px, 1160px); }
  .brand img { height: 44px; }
  .hero { min-height: 92svh; padding-top: calc(var(--header-height) + 42px); }
  .hero h1 { font-size: 2.48rem; }
  .hero-copy { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 310px; margin-inline: auto; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 38px; }
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
  .card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
