* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: #1e2b2c;
    background: #f7f4ef;
}
a { color: inherit; text-decoration: none; }
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: rgba(251, 248, 241, .9);
    border-bottom: 1px solid rgba(30, 43, 44, .1);
    backdrop-filter: blur(18px);
}
.contact-strip {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
    padding: 8px clamp(18px, 5vw, 72px);
    color: #56706d;
    font-size: 13px;
}
.contact-strip a { color: #a1742f; font-weight: 800; }
.nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 14px clamp(18px, 5vw, 72px);
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #172526;
}
.logo-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #f5e7c8;
    background: linear-gradient(145deg, #174345, #0d2728);
    box-shadow: inset 0 0 0 4px rgba(255,255,255,.08), 0 12px 30px rgba(23,67,69,.24);
    font: 900 24px/1 Georgia, serif;
}
.logo strong,
.logo em {
    display: block;
    line-height: 1;
}
.logo strong {
    font: 800 25px/1 Georgia, "Times New Roman", serif;
}
.logo em {
    margin-top: 3px;
    color: #a1742f;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.nav nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    font-weight: 800;
}
.nav-cta,
.button,
button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    color: #fff;
    background: #174345;
    font: 900 13px/1 Inter, Arial, sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: end;
    gap: 34px;
    padding: 190px clamp(18px, 6vw, 96px) 86px;
    color: #fff;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(12, 31, 32, .92), rgba(12, 31, 32, .58) 48%, rgba(12, 31, 32, .18)),
        url('../assets/photos/captree-hero.jpg') center/cover;
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 180px;
    background: linear-gradient(transparent, #f7f4ef);
}
.hero > * { position: relative; z-index: 1; }
.eyebrow {
    margin: 0 0 14px;
    color: #b88a3d;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.hero h1,
h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    letter-spacing: 0;
}
.hero h1 {
    max-width: 920px;
    font-size: clamp(48px, 7vw, 96px);
    line-height: .95;
}
.hero-copy > p:not(.eyebrow) {
    max-width: 660px;
    color: rgba(255,255,255,.86);
    font-size: 19px;
    line-height: 1.8;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}
.button.ghost {
    border: 1px solid rgba(255,255,255,.42);
    background: rgba(255,255,255,.08);
}
.hero-panel {
    padding: 28px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 18px;
    background: rgba(247,244,239,.13);
    backdrop-filter: blur(18px);
}
.hero-panel span {
    color: #f0c57d;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.hero-panel strong {
    display: block;
    margin: 16px 0;
    font: 700 34px/1.1 Georgia, serif;
}
.hero-panel p { color: rgba(255,255,255,.82); line-height: 1.7; }
.about-section,
.way-section,
.services-section,
.testimonials,
.insights-section,
.contact-section {
    padding: 92px clamp(18px, 6vw, 96px);
}
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: end;
}
h2 {
    color: #172526;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.02;
}
.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.proof-grid article,
.pillar-grid article,
.quote-grid article,
.insight-grid article {
    border: 1px solid rgba(23, 67, 69, .1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(23,67,69,.08);
}
.proof-grid article { padding: 24px; }
.proof-grid strong {
    display: block;
    color: #174345;
    font: 800 44px/1 Georgia, serif;
}
.proof-grid span { color: #657674; line-height: 1.5; }
.way-section {
    color: #fff;
    background: #102f31;
}
.way-section h2,
.way-section .section-head h2 { color: #fff; }
.section-head {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 34px;
}
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.pillar-grid article {
    min-height: 310px;
    padding: 28px;
    color: #fff;
    background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
    border-color: rgba(255,255,255,.14);
}
.pillar-grid span {
    color: #d0a158;
    font-weight: 900;
}
h3 {
    margin: 18px 0 12px;
    font: 750 27px/1.15 Georgia, serif;
}
.pillar-grid p,
.service-grid p,
.approach-copy p,
.portal-section p,
.quote-grid p,
.contact-section p,
footer p {
    color: #657674;
    line-height: 1.75;
}
.pillar-grid p { color: rgba(255,255,255,.74); }
.service-grid,
.quote-grid,
.insight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.service-grid article {
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(23,67,69,.08);
}
.service-grid h3,
.service-grid p,
.service-grid a {
    margin-left: 24px;
    margin-right: 24px;
}
.service-grid a {
    display: inline-block;
    margin-bottom: 28px;
    color: #a1742f;
    font-weight: 900;
}
.service-image {
    min-height: 230px;
    background-size: cover;
    background-position: center;
}
.image-office { background-image: url('../assets/photos/captree-office.jpg'); }
.image-family {
    background:
        linear-gradient(145deg, rgba(23,67,69,.14), rgba(161,116,47,.18)),
        url('../assets/photos/captree-hero.jpg') center/cover;
}
.image-chart {
    background:
        radial-gradient(circle at 20% 25%, rgba(184,138,61,.3), transparent 34%),
        linear-gradient(145deg, #173f41, #f2e8d8);
}
.approach-section {
    display: grid;
    grid-template-columns: .9fr 1fr;
    gap: 58px;
    align-items: center;
    padding: 96px clamp(18px, 6vw, 96px);
    background: #efe8dc;
}
.approach-photo {
    min-height: 560px;
    border-radius: 26px;
    background: url('../assets/photos/captree-office.jpg') center/cover;
    box-shadow: 0 26px 70px rgba(23,67,69,.18);
}
.check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
}
.check-list span {
    padding: 14px 16px;
    border-radius: 999px;
    color: #174345;
    background: #fff;
    font-weight: 800;
}
.portal-section {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 52px;
    align-items: center;
    padding: 92px clamp(18px, 6vw, 96px);
    color: #fff;
    background: #174345;
}
.portal-section h2 { color: #fff; }
.portal-section p { color: rgba(255,255,255,.76); }
.portal-card {
    padding: 28px;
    border-radius: 24px;
    background: #f7f4ef;
    color: #172526;
}
.bar {
    height: 12px;
    border-radius: 99px;
    background: linear-gradient(90deg, #174345 62%, #d0a158 62%);
}
.chart {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    align-items: end;
    height: 190px;
    margin: 28px 0;
}
.chart span {
    border-radius: 14px 14px 0 0;
    background: linear-gradient(180deg, #d0a158, #174345);
}
.chart span:nth-child(1) { height: 42%; }
.chart span:nth-child(2) { height: 65%; }
.chart span:nth-child(3) { height: 52%; }
.chart span:nth-child(4) { height: 78%; }
.chart span:nth-child(5) { height: 90%; }
.portal-card a { color: #a1742f; font-weight: 900; }
.quote-grid article,
.insight-grid article {
    padding: 28px;
}
.quote-grid p {
    color: #233637;
    font: 500 22px/1.5 Georgia, serif;
}
.quote-grid strong,
.quote-grid span {
    display: block;
}
.quote-grid span,
.insight-grid span {
    color: #a1742f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.insights-section { background: #fbf8f1; }
.insight-grid h3 { margin-bottom: 0; }
.contact-section {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 48px;
    align-items: start;
}
form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 24px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(23,67,69,.08);
}
input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(23,67,69,.16);
    border-radius: 12px;
    padding: 15px 16px;
    color: #172526;
    background: #fbf8f1;
    font: inherit;
}
textarea {
    grid-column: 1 / -1;
    min-height: 120px;
    resize: vertical;
}
form button { justify-self: start; }
footer {
    display: grid;
    grid-template-columns: 1.2fr .7fr .9fr 1fr;
    gap: 34px;
    padding: 64px clamp(18px, 6vw, 96px);
    color: rgba(255,255,255,.78);
    background: #0d2728;
}
footer .logo { color: #fff; margin-bottom: 18px; }
footer h3 {
    margin: 0 0 16px;
    color: #d0a158;
    font: 900 13px/1 Inter, Arial, sans-serif;
    letter-spacing: .13em;
    text-transform: uppercase;
}
footer a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255,255,255,.86);
    font-weight: 700;
}
footer p { color: rgba(255,255,255,.7); margin: 0; }
@media (max-width: 980px) {
    .contact-strip { display: none; }
    .nav { grid-template-columns: 1fr auto; }
    .nav nav { display: none; }
    .hero,
    .about-section,
    .approach-section,
    .portal-section,
    .contact-section,
    footer { grid-template-columns: 1fr; }
    .hero { padding-top: 130px; }
    .proof-grid,
    .pillar-grid,
    .service-grid,
    .quote-grid,
    .insight-grid,
    form { grid-template-columns: 1fr; }
    .section-head { display: block; }
    .check-list { grid-template-columns: 1fr; }
    .portal-section { gap: 24px; }
    .portal-card { max-width: 100%; }
}
@media (max-width: 620px) {
    .nav { padding: 12px 16px; }
    .logo-mark { width: 42px; height: 42px; }
    .logo strong { font-size: 21px; }
    .nav-cta { display: none; }
    .hero { min-height: 760px; padding-left: 16px; padding-right: 16px; }
    .hero h1 { font-size: 44px; }
    .about-section,
    .way-section,
    .services-section,
    .testimonials,
    .insights-section,
    .contact-section,
    .approach-section,
    .portal-section,
    footer { padding-left: 16px; padding-right: 16px; }
    h2 { font-size: 34px; }
}
