/* Basic reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #222;
    background-color: #fafafa;
    line-height: 1.6;
}

/* Color palette approximated from logo
   --color-primary: dark blue
   --color-primary-light: light blue
*/
:root {
    --color-primary: #004a7c;
    --color-primary-dark: #003458;
    --color-primary-light: #7faad4;
    --color-bg-muted: #f3f4f6;
}

/* Layout helpers */

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.5rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 52px;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    gap: 1.25rem;
    font-size: 0.9rem;
}

.site-nav a {
    text-decoration: none;
    color: #374151;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus {
    color: #111827;
    border-bottom-color: var(--color-primary);
}

/* Hero */

.hero {
    padding: 3.5rem 0 3rem;
    background: radial-gradient(circle at top left, #eef3fa 0, #ffffff 55%, #f3f4f6 100%);
}

.hero-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2.5rem;
}

.hero-text {
    flex: 1 1 320px;
}

.hero-image {
    flex: 0 1 320px;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 280px;
    border-radius: 24px;
    display: block;
    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(0, 0, 0, 0.02);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.hero h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 3vw + 1rem, 2.6rem);
    line-height: 1.15;
    color: #111827;
}

.hero-subtitle {
    margin: 0 0 1.5rem;
    font-size: 0.98rem;
    color: #374151;
    max-width: 36rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 74, 124, 0.32);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--color-primary-dark), #002339);
}

.btn-outline {
    background-color: #fff;
    color: #374151;
    border-color: #d1d5db;
}

.btn-outline:hover,
.btn-outline:focus {
    border-color: var(--color-primary);
    color: #111827;
}

/* Sections */

.section {
    padding: 3.5rem 0;
}

.section-muted {
    background-color: var(--color-bg-muted);
}

.section-subtitle {
    margin-top: -0.25rem;
    font-size: 0.95rem;
    color: #6b7280;
}

.section-intro {
    max-width: 40rem;
    margin: 0.5rem auto 2rem;
    color: #4b5563;
}

/* Two-column layout */

.two-column {
    display: grid;
    gap: 2rem;
}

@media (min-width: 800px) {
    .two-column {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: flex-start;
    }
}

/* Pillars */

.centered {
    text-align: center;
}

.pillars {
    display: grid;
    gap: 1.75rem;
    margin-top: 2rem;
}

@media (min-width: 800px) {
    .pillars {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.pillar {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 1.4rem 1.3rem 1.25rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.pillar-number {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background-color: #dde9f6;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
}

/* Practice areas */

.practice-grid {
    display: grid;
    gap: 1.6rem;
    margin-top: 2rem;
}

.practice-column {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 1.2rem 1.3rem 1.1rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.practice-column h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.02rem;
    color: #0f172a;
}

.practice-column ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.92rem;
}

.practice-column li + li {
    margin-top: 0.2rem;
}

@media (min-width: 800px) {
    .practice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Testimonials */

.testimonials {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 900px) {
    .testimonials {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.testimonial {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 1.4rem 1.3rem 1.25rem;
    border: 1px solid #e5e7eb;
    position: relative;
}

.testimonial::before {
    content: "“";
    position: absolute;
    top: -10px;
    left: 16px;
    font-size: 3rem;
    color: rgba(0, 74, 124, 0.26);
    pointer-events: none;
}

.testimonial-text {
    margin: 0.4rem 0 0.8rem;
    font-size: 0.94rem;
    color: #374151;
}

.testimonial-meta {
    margin: 0;
    font-size: 0.82rem;
    color: #6b7280;
}

/* Contact */

.contact-layout {
    display: grid;
    gap: 2rem;
}

@media (min-width: 860px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        align-items: flex-start;
    }
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.contact-list li + li {
    margin-top: 0.3rem;
}

.contact-list a {
    color: var(--color-primary);
    text-decoration: none;
}

.contact-list a:hover,
.contact-list a:focus {
    text-decoration: underline;
}

.contact-form {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 1.4rem 1.4rem 1.3rem;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.form-row {
    margin-bottom: 0.9rem;
}

.form-row label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 0.5rem 0.55rem;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font: inherit;
    resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px rgba(0, 74, 124, 0.2);
}

/* Text utilities */

.small-note {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.75rem;
}

/* Footer */

.site-footer {
    padding: 2rem 0 2.25rem;
    background-color: #0b1220;
    color: #e5e7eb;
    font-size: 0.86rem;
}

.footer-inner {
    text-align: center;
}

.footer-note {
    max-width: 50rem;
    margin: 0.5rem auto 0;
    color: #9ca3af;
}

/* Responsive tweaks */

@media (max-width: 720px) {
    .site-nav {
        display: none;
    }

    .hero {
        padding-top: 3rem;
    }

    .header-inner {
        justify-content: space-between;
    }
}
