:root {
--bg-light: #f2f3f5;
--bg-card: #ffffff;
--ink-900: #111827;
--ink-700: #2b3340;
--ink-500: #5d6678;
--line: #d9dde4;
--brand: #e32424;
--brand-dark: #bf1717;
--container: 1140px;
--shadow-soft: 0 20px 44px rgba(22, 30, 48, 0.12);
--radius-lg: 20px;
--radius-md: 12px;
}

* {
box-sizing: border-box;
}

html,
body {
margin: 0;
padding: 0;
}

body {
font-family: "Poppins", sans-serif;
color: var(--ink-700);
background: #fff;
line-height: 1.6;
}

a {
color: inherit;
text-decoration: none;
}

.container {
width: min(100% - 48px, var(--container));
margin-inline: auto;
}

#navbar,
#footer {
min-height: 80px;
}

.site-header {
position: fixed;
top: 0;
left: 0;
right: 0;
width: 100%;
z-index: 1000;
background: transparent;
backdrop-filter: none;
-webkit-backdrop-filter: none;
border-bottom: 1px solid transparent;
box-shadow: none;
transition: background 0.28s ease, backdrop-filter 0.28s ease, -webkit-backdrop-filter 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.site-header.scrolled {
background: rgba(0, 0, 0, 0.78);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
box-shadow: 0 10px 28px rgba(3, 6, 11, 0.32);
border-bottom-color: rgba(255, 255, 255, 0.12);
}

.nav-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
height: 80px;
}

.brand {
display: inline-flex;
align-items: flex-start;
justify-content: flex-start;
line-height: 1;
height: 50px;
width: 270px;
overflow: hidden;
}

.brand-image {
display: block;
height: 225px;
width: auto;
max-width: 100%;
transform: translate(-20px, -74px);
}

.site-nav {
display: flex;
align-items: center;
gap: 28px;
margin-left: auto;
}

.site-links {
display: flex;
align-items: center;
gap: 40px;
}

.site-links a,
.services-toggle {
color: rgba(255, 255, 255, 0.94);
font-weight: 700;
font-size: 1.01rem;
padding: 8px 0;
transition: color 0.2s ease, transform 0.22s ease;
position: relative;
white-space: nowrap;
}

.site-links a:hover,
.site-links a.active,
.services-toggle:hover,
.services-toggle.active {
color: #ffffff;
transform: translateY(-2px);
}

.site-links a::before,
.services-toggle::before {
content: "";
position: absolute;
left: 0;
bottom: -10px;
width: 100%;
height: 2px;
background: #ff4949;
transform: scaleX(0);
transform-origin: left;
transition: transform 0.24s ease;
}

.site-links a:hover::before,
.site-links a:focus-visible::before,
.services-toggle:hover::before,
.services-toggle:focus-visible::before,
.services-toggle.active::before {
transform: scaleX(1);
}

.site-links a.active::after {
content: "";
position: absolute;
left: 0;
bottom: -10px;
width: 100%;
height: 2px;
background: #ff4949;
}

.services-link {
display: inline-flex;
align-items: center;
gap: 8px;
}

.services-menu {
position: relative;
}

.services-toggle {
display: inline-flex;
align-items: center;
gap: 8px;
border: none;
background: transparent;
cursor: pointer;
font-family: inherit;
}

.services-toggle::after {
content: "";
display: inline-block;
width: 8px;
height: 8px;
border-right: 2px solid currentColor;
border-bottom: 2px solid currentColor;
transform: rotate(45deg) translateY(-2px);
transition: transform 0.2s ease;
}

.services-menu.open .services-toggle::after {
transform: rotate(225deg) translateY(-1px);
}

.services-menu:hover .services-toggle::after,
.services-menu:focus-within .services-toggle::after {
transform: rotate(225deg) translateY(-1px);
}

.services-dropdown {
position: absolute;
top: calc(100% + 18px);
left: 0;
min-width: 270px;
padding: 14px;
border-radius: 16px;
background: rgba(15, 20, 31, 0.98);
border: 1px solid rgba(255, 255, 255, 0.12);
box-shadow: 0 18px 40px rgba(3, 6, 11, 0.36);
display: grid;
gap: 8px;
opacity: 0;
visibility: hidden;
transform: translateY(8px);
transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.services-menu.open .services-dropdown {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.services-menu:hover .services-dropdown,
.services-menu:focus-within .services-dropdown {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.services-dropdown a {
display: block;
padding: 10px 12px;
border-radius: 10px;
color: rgba(255, 255, 255, 0.88);
font-size: 0.95rem;
font-weight: 600;
transform: translateX(0);
transition: background-color 0.2s ease, color 0.2s ease, transform 0.22s ease;
}

.services-dropdown a:hover {
background: rgba(255, 255, 255, 0.08);
color: #fff;
transform: translateX(6px);
}

.nav-cta {
background: #ef2828;
color: #fff;
border-radius: 13px;
padding: 12px 30px;
font-weight: 700;
font-size: 1rem;
box-shadow: 0 8px 16px rgba(239, 40, 40, 0.26);
}

.nav-cta:hover,
.nav-cta.active {
color: #fff;
background: #d81d1d;
}

.nav-cta.active::after {
display: none;
}

.nav-toggle {
display: none;
border: none;
background: transparent;
padding: 4px;
cursor: pointer;
}

.nav-toggle span {
display: block;
width: 26px;
height: 2px;
background: #ffffff;
margin: 5px 0;
transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
border-radius: 10px;
border: 1px solid transparent;
padding: 12px 24px;
font-size: 0.92rem;
font-weight: 600;
transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

.btn-primary {
background: var(--brand);
color: #fff;
box-shadow: 0 12px 24px rgba(227, 36, 36, 0.34);
}

.btn-primary:hover {
background: var(--brand-dark);
transform: translateY(-2px);
}

.btn-ghost {
background: rgba(255, 255, 255, 0.08);
border-color: rgba(255, 255, 255, 0.62);
color: #fff;
}

.btn-ghost:hover {
background: rgba(255, 255, 255, 0.16);
border-color: #fff;
transform: translateY(-2px);
}

.btn-outline {
background: #f8fafc;
border-color: #c8ced8;
color: #0f223d;
box-shadow: none;
}

.btn-outline:hover {
background: #ffffff;
border-color: #aeb8c7;
transform: translateY(-2px);
}

.reveal-up {
opacity: 0;
transform: translateY(22px);
transition: opacity 0.66s ease, transform 0.66s ease;
}

.reveal-up.visible {
opacity: 1;
transform: translateY(0);
}

.site-footer {
background: linear-gradient(180deg, #07101f 0%, #030814 100%);
color: rgba(255, 255, 255, 0.86);
padding: 72px 0 28px;
}

.footer-top {
display: grid;
grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
gap: 28px;
align-items: start;
}

.footer-brand {
display: inline-flex;
align-items: center;
gap: 14px;
}

.footer-logo-square {
width: 52px;
height: 52px;
border-radius: 14px;
display: grid;
place-items: center;
background: linear-gradient(135deg, #ef2828, #b91414);
color: #fff;
font-weight: 800;
letter-spacing: 0.04em;
}

.footer-brand-text {
display: grid;
gap: 2px;
}

.footer-brand-text strong {
font-size: 1.25rem;
color: #fff;
}

.footer-brand-text strong span {
color: #ff5757;
}

.footer-brand-text small {
font-size: 0.72rem;
letter-spacing: 0.14em;
color: rgba(255, 255, 255, 0.58);
}

.footer-brand-block p,
.footer-offices p {
margin: 18px 0 0;
font-size: 0.98rem;
color: rgba(255, 255, 255, 0.72);
}

.footer-links-col {
display: grid;
gap: 12px;
}

.footer-links-col h3 {
margin: 0 0 4px;
font-size: 1rem;
color: #fff;
}

.footer-links-col a {
color: rgba(255, 255, 255, 0.72);
transition: color 0.2s ease;
}

.footer-links-col a:hover,
.footer-policy-links a:hover {
color: #fff;
}

.footer-divider {
height: 1px;
margin: 34px auto 28px;
background: rgba(255, 255, 255, 0.12);
}

.footer-newsletter {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
padding-bottom: 28px;
}

.newsletter-label {
font-size: 1.2rem;
font-weight: 700;
color: #fff;
}

.newsletter-form {
display: flex;
align-items: center;
width: min(100%, 460px);
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 999px;
overflow: hidden;
}

.newsletter-form input {
flex: 1;
border: none;
background: transparent;
color: #fff;
padding: 16px 20px;
font: inherit;
outline: none;
}

.newsletter-form input::placeholder {
color: rgba(255, 255, 255, 0.44);
}

.newsletter-form button {
border: none;
background: #ef2828;
color: #fff;
width: 58px;
height: 58px;
display: grid;
place-items: center;
cursor: pointer;
font-size: 1.2rem;
}

.footer-bottom {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
padding-top: 24px;
border-top: 1px solid rgba(255, 255, 255, 0.12);
font-size: 0.94rem;
color: rgba(255, 255, 255, 0.64);
}

.footer-bottom p {
margin: 0;
}

.footer-policy-links {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 18px;
}

.footer-policy-links a {
color: rgba(255, 255, 255, 0.68);
}

.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}

@media (max-width: 768px) {
.container {
width: min(100% - 32px, var(--container));
}

#navbar,
#footer {
min-height: 62px;
}

.nav-inner {
height: 68px;
}

.brand {
width: 180px;
height: 34px;
}

.brand-image {
height: 150px;
width: auto;
transform: translate(-12px, -49px);
}

.nav-toggle {
display: inline-block;
}

.site-nav {
position: absolute;
top: 68px;
left: 0;
right: 0;
background: rgba(14, 16, 22, 0.96);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
padding: 18px 16px;
display: grid;
gap: 12px;
transform: translateY(-8px);
opacity: 0;
visibility: hidden;
transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
margin-left: 0;
}

.site-links {
display: grid;
gap: 8px;
}

.site-links a:hover,
.site-links a.active,
.services-toggle:hover,
.services-toggle.active {
transform: none;
}

.site-links a::before,
.services-toggle::before {
bottom: -4px;
}

.services-dropdown {
position: static;
min-width: 0;
padding: 10px 0 0;
border: none;
background: transparent;
box-shadow: none;
display: none;
opacity: 1;
visibility: visible;
transform: none;
}

.services-menu.open .services-dropdown {
display: grid;
}

.services-menu:hover .services-dropdown,
.services-menu:focus-within .services-dropdown {
display: none;
}

.services-menu.open:hover .services-dropdown,
.services-menu.open:focus-within .services-dropdown {
display: grid;
}

.services-dropdown a {
padding: 8px 0 8px 14px;
transform: none;
}

.site-nav.open {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.nav-cta {
text-align: center;
}

.footer-top,
.footer-newsletter,
.footer-bottom {
grid-template-columns: 1fr;
flex-direction: column;
align-items: flex-start;
}

.footer-bottom {
text-align: left;
}

.footer-policy-links {
justify-content: flex-start;
gap: 14px;
}

.btn {
width: 100%;
}
}
