:root {
    --color-ink: #1f2a24;
    --color-forest: #29443a;
    --color-sage: #8da99a;
    --color-cream: #f7f4ee;
    --color-white: #ffffff;
    --color-gold: #b89962;
    --color-border: #dfe5e1;
    --color-muted: #66736d;

    --max-width: 1200px;
    --radius-lg: 24px;
    --radius-md: 14px;

    --shadow-soft: 0 18px 45px rgba(31, 42, 36, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--color-ink);
    background: var(--color-white);
    line-height: 1.6;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
}

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

.brand {
    flex-shrink: 0;
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-forest);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    font-size: 0.95rem;
    font-weight: 600;
}

.main-nav a {
    transition: color 180ms ease;
}

.main-nav a:hover {
    color: var(--color-gold);
}

.nav-cta {
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--color-forest);
    color: var(--color-white) !important;
}

.nav-cta:hover {
    background: var(--color-ink);
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    padding: 9px;
}

.mobile-menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--color-ink);
    border-radius: 999px;
}

.hero {
    background:
            radial-gradient(circle at top right, rgba(141, 169, 154, 0.22), transparent 34%),
            var(--color-cream);
    padding: 96px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: 72px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--color-gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    max-width: 760px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.2rem, 6vw, 5.9rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 700;
}

.hero h1 span {
    display: block;
    color: var(--color-forest);
}

.hero-copy {
    max-width: 680px;
    margin: 28px 0 0;
    color: var(--color-muted);
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    transition:
            transform 180ms ease,
            background 180ms ease,
            color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--color-forest);
    color: var(--color-white);
}

.button-primary:hover {
    background: var(--color-ink);
}

.button-secondary {
    border: 1px solid var(--color-forest);
    color: var(--color-forest);
    background: transparent;
}

.button-secondary:hover {
    background: var(--color-white);
}

.hero-card {
    padding: 34px;
    border: 1px solid rgba(41, 68, 58, 0.11);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.hero-card-label {
    margin: 0 0 12px;
    color: var(--color-gold);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-card h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.08;
    color: var(--color-forest);
}

.hero-card > p:not(.hero-card-label) {
    color: var(--color-muted);
    margin: 18px 0 0;
}

.hero-stat-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--color-border);
}

.hero-stat-grid div {
    padding: 20px 14px 0 0;
}

.hero-stat-grid strong,
.hero-stat-grid span {
    display: block;
}

.hero-stat-grid strong {
    color: var(--color-forest);
    margin-bottom: 4px;
}

.hero-stat-grid span {
    color: var(--color-muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

@media (max-width: 1050px) {
    .main-nav {
        gap: 14px;
        font-size: 0.88rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-card {
        max-width: 760px;
    }
}

@media (max-width: 900px) {
    .nav-container {
        min-height: 72px;
    }

    .mobile-menu-button {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px 20px 24px;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 16px 30px rgba(31, 42, 36, 0.08);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 13px 10px;
    }

    .nav-cta {
        margin-top: 8px;
        text-align: center;
    }
}

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

    .hero {
        padding: 72px 0;
    }

    .hero h1 {
        font-size: clamp(2.85rem, 15vw, 4.5rem);
    }

    .hero-copy {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-card {
        padding: 26px;
    }

    .hero-stat-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hero-stat-grid div {
        padding-top: 18px;
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 18px;
    }

    .hero-stat-grid div:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }
}

.services-section {
    padding: 110px 0;
    background: var(--color-white);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 58px;
}

.section-heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 4.5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--color-ink);
}

.section-heading h2 span {
    display: block;
    color: var(--color-forest);
}

.section-heading > p:last-child {
    max-width: 650px;
    margin: 22px 0 0;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 510px;
    padding: 36px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    transition:
            transform 180ms ease,
            box-shadow 180ms ease,
            border-color 180ms ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-sage);
    box-shadow: var(--shadow-soft);
}

.service-number {
    margin-bottom: 40px;
    color: var(--color-gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.service-card h3 {
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    color: var(--color-forest);
}

.service-card > p {
    margin: 0;
    color: var(--color-muted);
}

.service-card ul {
    margin: 28px 0 34px;
    padding: 24px 0 0;
    list-style: none;
    border-top: 1px solid var(--color-border);
}

.service-card li {
    position: relative;
    padding: 7px 0 7px 20px;
    color: var(--color-ink);
    font-size: 0.94rem;
}

.service-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

.service-link {
    margin-top: auto;
    color: var(--color-forest);
    font-weight: 800;
}

.service-link:hover {
    color: var(--color-gold);
}

@media (max-width: 900px) {
    .services-section {
        padding: 80px 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }
}

@media (max-width: 700px) {
    .services-section {
        padding: 68px 0;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .service-card {
        padding: 28px;
    }
}

.why-section {
    padding: 110px 0;
    background: var(--color-forest);
    color: var(--color-white);
}

.why-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
}

.why-section .eyebrow {
    color: var(--color-gold);
}

.why-heading h2 {
    margin: 0;
    max-width: 540px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 4.5vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.why-heading h2 span {
    display: block;
    color: #c9d9d1;
}

.why-intro {
    margin: 4px 0 46px;
    max-width: 650px;
    color: #d7e0dc;
    font-size: 1.12rem;
    line-height: 1.75;
}

.why-list {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.why-item {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 18px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.why-number {
    padding-top: 5px;
    color: var(--color-gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.why-item h3 {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    color: var(--color-white);
}

.why-item p {
    margin: 0;
    max-width: 580px;
    color: #c9d4cf;
    font-size: 0.96rem;
}

@media (max-width: 900px) {
    .why-section {
        padding: 80px 0;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .why-heading h2 {
        max-width: 680px;
    }
}

@media (max-width: 700px) {
    .why-section {
        padding: 68px 0;
    }

    .why-grid {
        gap: 38px;
    }

    .why-intro {
        margin-bottom: 30px;
    }

    .why-item {
        grid-template-columns: 42px 1fr;
        gap: 12px;
        padding: 24px 0;
    }
}

.process-section {
    padding: 110px 0;
    background: var(--color-cream);
}

.process-heading {
    margin-bottom: 52px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.process-card {
    padding: 34px;
    border-top: 3px solid var(--color-gold);
    background: var(--color-white);
    box-shadow: 0 10px 28px rgba(31, 42, 36, 0.05);
}

.process-number {
    display: block;
    margin-bottom: 44px;
    color: var(--color-gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.process-card h3 {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    line-height: 1.15;
    color: var(--color-forest);
}

.process-card p {
    margin: 0;
    color: var(--color-muted);
}

@media (max-width: 900px) {
    .process-section {
        padding: 80px 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .process-section {
        padding: 68px 0;
    }

    .process-card {
        padding: 28px;
    }

    .process-number {
        margin-bottom: 28px;
    }
}

.about-preview {
    padding: 120px 0;
    background: var(--color-white);
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 110px;
    align-items: start;
}

.about-preview-intro h2 {
    max-width: 560px;
    margin: 18px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5vw, 5.3rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: var(--color-forest);
}

.about-preview-intro h2 span {
    display: block;
    color: var(--color-sage);
}

.about-preview-content {
    max-width: 590px;
    padding-top: 34px;
}

.about-preview-content p {
    margin: 0 0 22px;
    color: var(--color-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-preview-content .about-lead {
    margin-bottom: 30px;
    color: var(--color-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    line-height: 1.45;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--color-forest);
    color: var(--color-forest);
    font-weight: 700;
    transition: gap 0.2s ease;
}

.text-link:hover {
    gap: 18px;
}

@media (max-width: 900px) {
    .about-preview {
        padding: 85px 0;
    }

    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-preview-content {
        padding-top: 0;
        max-width: 680px;
    }
}

@media (max-width: 700px) {
    .about-preview {
        padding: 70px 0;
    }

    .about-preview-intro h2 {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }

    .about-preview-content .about-lead {
        font-size: 1.4rem;
    }

    .about-preview .text-link {
        border: 0;
        border-bottom: 1px solid var(--color-forest);
        border-radius: 0;
        padding: 0 0 5px;
        background: transparent;
        box-shadow: none;
    }
}

.faq-section {
    padding: 120px 0;
    background: var(--color-cream);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 120px;
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: 130px;
}

.faq-intro h2 {
    margin: 18px 0 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--color-forest);
}

.faq-intro h2 span {
    display: block;
    color: var(--color-sage);
}

.faq-intro > p:not(.eyebrow) {
    max-width: 430px;
    margin: 0 0 26px;
    color: var(--color-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.faq-list {
    border-top: 1px solid var(--color-border);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 28px 0;
    border: 0;
    background: transparent;
    color: var(--color-forest);
    text-align: left;
    cursor: pointer;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 700;
}

.faq-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    transition: transform 0.25s ease;
}

.faq-answer {
    display: none;
    max-width: 650px;
    padding: 0 55px 28px 0;
}

.faq-answer p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

@media (max-width: 900px) {
    .faq-section {
        padding: 85px 0;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .faq-intro {
        position: static;
    }
}

@media (max-width: 700px) {
    .faq-section {
        padding: 70px 0;
    }

    .faq-question {
        padding: 23px 0;
        font-size: 1.25rem;
    }

    .faq-answer {
        padding-right: 20px;
    }
}

.contact-section {
    padding: 120px 0;
    background: var(--color-forest);
    color: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 120px;
    align-items: start;
}

.contact-section .eyebrow {
    color: var(--color-gold);
}

.contact-intro h2 {
    margin: 18px 0 28px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.2rem, 5vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: var(--color-white);
}

.contact-intro h2 span {
    display: block;
    color: var(--color-sage);
}

.contact-intro > p {
    max-width: 500px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-details {
    display: grid;
    gap: 25px;
    margin-top: 55px;
}

.contact-details > div {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-label {
    display: block;
    margin-bottom: 6px;
    color: var(--color-gold);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-details a,
.contact-details p {
    margin: 0;
    color: var(--color-white);
    font-size: 1rem;
}

.contact-form-wrap {
    padding: 48px;
    border-radius: var(--radius-lg);
    background: var(--color-white);
    color: var(--color-ink);
}

.contact-form {
    display: grid;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    color: var(--color-forest);
    font-size: 0.85rem;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    outline: none;
    background: transparent;
    color: var(--color-ink);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-bottom-color: var(--color-forest);
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: fit-content;
    margin-top: 10px;
    padding: 15px 24px;
    border: 1px solid var(--color-forest);
    border-radius: 999px;
    background: var(--color-forest);
    color: var(--color-white);
    font-weight: 700;
    cursor: pointer;
}

.form-submit:hover {
    background: var(--color-ink);
}

.form-note {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.78rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .contact-section {
        padding: 85px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }
}

@media (max-width: 700px) {
    .contact-section {
        padding: 70px 0;
    }

    .contact-form-wrap {
        padding: 30px 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-submit {
        width: 100%;
    }
}
.site-footer {
    padding: 80px 0 30px;
    background: var(--color-ink);
    color: var(--color-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand .brand-name {
    color: var(--color-white);
}

.footer-brand p {
    max-width: 390px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.7;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h3 {
    margin: 0 0 10px;
    color: var(--color-gold);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
}

.footer-column a:hover,
.footer-legal a:hover {
    color: var(--color-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.82rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.52);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding-top: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* =========================================================
   SERVICE PAGE
   ========================================================= */

.page-hero {
    background: var(--color-cream);
    padding: 120px 0 110px;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 100px;
    align-items: end;
}

.page-hero .eyebrow {
    margin: 0 0 24px;
    color: var(--color-gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-hero h1 {
    max-width: 720px;
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.5rem, 6vw, 6.4rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;

    color: var(--color-forest);
}

.page-hero h1 span {
    color: var(--color-sage);
}

.page-hero-copy {
    max-width: 520px;
    padding-bottom: 8px;
}

.page-hero-copy p {
    margin: 0 0 32px;

    color: var(--color-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}


/* =========================================================
   TAX SERVICE CARDS
   ========================================================= */

.detail-section {
    padding: 110px 0 130px;
    background: var(--color-white);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.detail-card {
    min-height: 330px;
    padding: 42px 38px;

    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-gold);

    background: var(--color-white);
}

.detail-card > span {
    display: block;
    margin-bottom: 55px;

    color: var(--color-gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.detail-card h2 {
    margin: 0 0 20px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.75rem;
    line-height: 1.1;

    color: var(--color-forest);
}

.detail-card p {
    margin: 0;

    color: var(--color-muted);
    line-height: 1.7;
}


/* =========================================================
   SERVICE PAGE RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .page-hero {
        padding: 90px 0;
    }

    .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .page-hero-copy {
        max-width: 650px;
    }

    .detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 650px) {

    .page-hero {
        padding: 70px 0;
    }

    .page-hero h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .detail-section {
        padding: 70px 0;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-card {
        min-height: auto;
        padding: 32px 28px;
    }

    .detail-card > span {
        margin-bottom: 35px;
    }
}

.deadline-note-section {
    padding: 90px 0;
    background: var(--color-cream);
}

.deadline-note {
    max-width: 760px;
}

.deadline-note h2 {
    margin: 16px 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: var(--color-forest);
}

.deadline-note > p:not(.eyebrow) {
    margin: 0 0 28px;
    color: var(--color-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.portal-section {
    padding: 110px 0 130px;
    background: var(--color-white);
}

.portal-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: stretch;
}

.portal-card,
.portal-help {
    padding: 48px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.portal-card {
    background: var(--color-cream);
}

.portal-help {
    background: var(--color-white);
}

.portal-card h2,
.portal-help h2 {
    margin: 14px 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    color: var(--color-forest);
}

.portal-card > p:not(.eyebrow):not(.portal-note),
.portal-help > p:not(.eyebrow) {
    margin: 0 0 28px;
    color: var(--color-muted);
    line-height: 1.8;
}

.portal-note {
    margin: 20px 0 0;
    color: var(--color-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

@media (max-width: 850px) {
    .portal-section {
        padding: 80px 0;
    }

    .portal-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .portal-card,
    .portal-help {
        padding: 30px 24px;
    }
}

.legal-hero {
    padding-bottom: 70px;
}

.legal-hero h1 {
    max-width: 900px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.4rem, 6vw, 6rem);
    line-height: 1;
    color: var(--color-forest);
}

.legal-updated {
    margin: 24px 0 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.legal-section {
    padding: 90px 0 120px;
    background: var(--color-white);
}

.legal-content {
    max-width: 840px;
}

.legal-content h2 {
    margin: 52px 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    color: var(--color-forest);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin: 0 0 20px;
    color: var(--color-muted);
    line-height: 1.85;
}

.legal-content a {
    color: var(--color-forest);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 700px) {
    .legal-section {
        padding: 65px 0 90px;
    }

    .legal-content h2 {
        margin-top: 42px;
        font-size: 1.7rem;
    }
}
.form-status {
    min-height: 24px;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
}

.form-status.success {
    color: var(--color-forest);
}

.form-status.error {
    color: #a13a3a;
}