* {
    box-sizing: border-box;
}

:root {
    --ink: #17202a;
    --muted: #53616f;
    --line: #d9e0e6;
    --paper: #ffffff;
    --soft: #f4f7f8;
    --navy: #1d3548;
    --teal: #287271;
    --gold: #b7791f;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: var(--teal);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
}

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

.logo {
    color: var(--ink);
    font-weight: 700;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 600;
}

section {
    padding: 84px 0;
}

.hero {
    padding: 104px 0 88px;
    background: linear-gradient(135deg, #1d3548, #287271);
    color: #fff;
}

.hero .container {
    max-width: 940px;
    margin-left: max(20px, calc((100% - 1120px) / 2));
}

h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: 1.15;
}

h1,
h2 {
    font-family: "Playfair Display", Georgia, serif;
}

h1 {
    max-width: 900px;
    font-size: clamp(2.55rem, 5vw, 4.9rem);
    letter-spacing: 0;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(2rem, 3.4vw, 3.15rem);
}

h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

p {
    margin: 0 0 16px;
}

.hero-subtitle {
    max-width: 790px;
    color: rgba(255, 255, 255, 0.91);
    font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.hero-subtitle:first-of-type {
    margin-top: 28px;
}

.hero-cta,
.contact-options {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.button-primary,
.button-secondary,
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 700;
    line-height: 1.2;
}

.button-primary,
.cta-button {
    color: #fff;
    background: var(--teal);
}

.button-secondary {
    color: var(--navy);
    background: #fff;
    border-color: var(--line);
}

.hero .button-secondary {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.65);
}

.section-intro {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.08rem;
}

.services,
.team {
    background: var(--soft);
}

.services-grid,
.team-grid,
.approach-content,
.contact-options,
.footer-content {
    display: grid;
    gap: 24px;
}

.services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 36px;
}

.service-card,
.approach-principles,
.team-member,
.contact-method {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 28px;
}

.service-card.featured {
    border-top: 4px solid var(--teal);
}

.badge,
.tagline,
.title,
.bio-note,
.pricing-note {
    color: var(--muted);
}

.badge {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.tagline,
.title {
    font-weight: 700;
}

.features {
    padding-left: 20px;
    margin: 20px 0 24px;
}

.features li,
.approach-principles li {
    margin-bottom: 10px;
}

.implementation-note {
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.approach-content {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: start;
    margin-top: 34px;
}

.approach-text h3:not(:first-child) {
    margin-top: 34px;
}

.team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 36px;
}

.team-member {
    text-align: center;
}

.team-member img {
    display: block;
    width: 220px;
    height: 220px;
    margin: 0 auto 22px;
    border: 4px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 28px rgba(23, 32, 42, 0.16);
}

.team-member .bio {
    text-align: left;
}

.team-email {
    margin-top: 10px;
}

.contact-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 34px;
}

.pricing-note {
    margin-top: 26px;
}

.footer {
    padding: 54px 0 28px;
    color: rgba(255, 255, 255, 0.82);
    background: var(--navy);
}

.footer h4,
.footer a {
    color: #fff;
}

.footer-content {
    grid-template-columns: 1.5fr 1fr 1fr;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 860px) {
    .nav .container {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    .nav-links {
        gap: 12px;
    }

    .services-grid,
    .team-grid,
    .approach-content,
    .contact-options,
    .footer-content {
        grid-template-columns: 1fr;
    }

    section,
    .hero {
        padding: 64px 0;
    }

    .team-member img {
        width: 180px;
        height: 180px;
    }
}
