html { scroll-behavior: smooth; }

.grid-lines { background-image: linear-gradient(rgba(27,32,68,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(27,32,68,.06) 1px,transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(90deg,#000,transparent 90%); }

nav a { color: #1b2044; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
nav a:hover { color: #df302f; }

/* Navigation: a simple text colour and underline signal. */
nav .service-navigation a,
nav > div > div a:not(:has(img)) { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 2px; transition: color .18s ease; }
nav .service-navigation a::after,
nav > div > div a:not(:has(img))::after { content: ""; position: absolute; right: 2px; bottom: 4px; left: 2px; height: 2px; border-radius: 2px; background: #df302f; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
nav .service-navigation a:hover,
nav > div > div a:not(:has(img)):hover { color: #df302f; }
nav .service-navigation a:hover::after,
nav > div > div a:not(:has(img)):hover::after { transform: scaleX(1); }
nav .service-navigation a.active,
nav > div > div.hidden.md\:flex a:first-child { color: #df302f; }
nav .service-navigation a.active::after,
nav > div > div.hidden.md\:flex a:first-child::after { transform: scaleX(1); }

.label { margin: 0 0 18px; color: #df302f; font-size: 10px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.heading { margin: 0; color: #1b2044; font-family: Montserrat,sans-serif; font-size: clamp(2.4rem,4vw,4.2rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.06; }

/* Button labels remain high contrast in every interaction state. */
a.btn-pulse, a.bg-primary, a.bg-secondary, button.btn-pulse, button.bg-primary, button.bg-secondary { color: #fff !important; text-decoration: none; }
a.btn-pulse span, a.bg-primary span, a.bg-secondary span, button.btn-pulse span, button.bg-primary span, button.bg-secondary span { color: inherit !important; }
.btn-pulse { position: relative; overflow: hidden; transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; }
.btn-pulse:hover { color: #fff !important; transform: translateY(-2px); box-shadow: 0 12px 25px rgba(27,32,68,.22); }
a.bg-primary:hover, button.bg-primary:hover { background: #df302f !important; color: #fff !important; }
a.bg-secondary:hover, button.bg-secondary:hover { background: #1b2044 !important; color: #fff !important; }

.bg-primary small { display: block; margin-top: 4px; color: rgba(255,255,255,.55); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.divide-y > div { display: grid; grid-template-columns: 50px 1fr; column-gap: 15px; }
.divide-y small { color: #d9a72e; font: 700 10px Montserrat; }
.divide-y b { font: 700 18px Montserrat; }
.divide-y p { grid-column: 2; margin: 8px 0 0; color: rgba(255,255,255,.6); font-size: 14px; }

form label { display: flex; flex-direction: column; gap: 9px; color: #60677a; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
input,textarea { border: 0; border-bottom: 1px solid rgba(27,32,68,.22); background: transparent; padding: 11px 0; color: #1b2044; font: 400 15px Inter; letter-spacing: 0; text-transform: none; outline-color: #df302f; }
textarea { min-height: 84px; resize: vertical; }

@media(max-width:767px) { .heading { font-size: 2.4rem; } }
