:root {
    --navy: #0d1b2a;
    --navy-light: #14273d;
    --sky: #3da5d9;
    --white: #ffffff;
    --gray-100: #f2f5f9;
    --gray-300: #d9e2ec;
    --gray-600: #52606d;
    --gray-800: #1f2933;
    --max-width: 1120px;
    --shadow-lg: 0 24px 60px rgba(13, 27, 42, 0.18);
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--gray-100);
    color: var(--gray-800);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

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

main {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 0 1.5rem 5rem;
}

section {
    display: flex;
    justify-content: center;
    text-align: left;
}

section .content {
    width: 100%;
    max-width: var(--max-width);
}

h1, h2, h3 {
    color: var(--navy);
    line-height: 1.2;
    margin-top: 0;
}

h1 {
    font-size: clamp(2.5rem, 4vw + 1rem, 3.5rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 3vw + 1rem, 2.75rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin: 0 0 1.25rem;
    color: var(--gray-600);
}

.hero {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.95), rgba(20, 39, 61, 0.85));
    color: var(--white);
    padding: 1.5rem 1.5rem 6rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(61, 165, 217, 0.35), transparent 55%);
    z-index: 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 72px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.brand {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-btn {
    color: var(--white);
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-btn:hover,
.nav-btn:focus {
    background: rgba(255, 255, 255, 0.1);
}

.hero-content {
    max-width: 640px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn.primary {
    background: var(--sky);
    color: var(--white);
    box-shadow: 0 12px 32px rgba(61, 165, 217, 0.35);
}

.btn.primary:hover,
.btn.primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(61, 165, 217, 0.45);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn.secondary:hover,
.btn.secondary:focus {
    transform: translateY(-2px);
}

.intro {
    margin-top: -3rem;
}

.intro .content {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.lede {
    font-weight: 600;
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.service-grid,
.why-grid {
    display: grid;
    gap: 1.5rem;
}

.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 2rem;
}

.service-grid article,
.why-grid article {
    background: var(--white);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 16px 40px rgba(13, 27, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-grid article:hover,
.service-grid article:focus-within,
.why-grid article:hover,
.why-grid article:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(13, 27, 42, 0.12);
}

.why-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 2rem;
}

.icon {
    font-size: 2rem;
    display: inline-flex;
    margin-bottom: 1rem;
}

.promise .content,
.approach .content {
    background: linear-gradient(135deg, rgba(20, 39, 61, 0.08), rgba(61, 165, 217, 0.12));
    padding: 3rem;
    border-radius: 24px;
}

.cta {
    text-align: center;
}

.cta .content {
    background: var(--navy);
    color: var(--white);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
}

.cta .content h2,
.cta .content p,
.cta .content .location {
    color: var(--white);
}

.cta .location {
    font-weight: 500;
    margin-bottom: 2rem;
}

.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.75);
    padding: 2rem 1.5rem;
}

.footer .content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.footer-link {
    color: var(--white);
    opacity: 0.9;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero {
        padding: 1.5rem 1.25rem 5rem;
    }

    .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .logo {
        width: 60px;
    }

    main {
        padding: 0 1rem 4rem;
        gap: 3rem;
    }

    .intro .content,
    .approach .content,
    .promise .content,
    .cta .content {
        padding: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
