:root {
    --cream: #fdfbf5;
    --cream-2: #f6efe1;
    --green: #159c5b;
    --green-dark: #0e7a46;
    --green-deep: #08331f;
    --green-soft: #e1f7ea;
    --pop: #cdfb5e;
    --pop-dark: #4c6b16;
    --sage: #a7d8b3;
    --slate: #16211b;
    --muted: #5f7368;
    --line: #e8ddca;
    --white: #ffffff;
    --danger: #dc2626;
    --danger-soft: #fee2e2;
    --shadow-sm: 0 10px 28px rgba(15, 40, 26, 0.09);
    --shadow-md: 0 26px 64px rgba(15, 40, 26, 0.16);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 30px;
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--slate);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

main {
    flex: 1;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

.container-narrow {
    width: min(900px, 90%);
    margin: 0 auto;
}

.site-header {
    background: #ffffff;
    padding: 10px 0;
    padding-top: max(10px, env(safe-area-inset-top));
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(229, 221, 210, 0.9);
    box-shadow: 0 6px 24px rgba(8, 51, 31, 0.05);
}

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

.brand-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.freshest-logo {
    display: block;
    width: 275px;
    height: auto;
    max-height: 76px;
    object-fit: contain;
}

.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    text-decoration: none;
}

.freshest-logo-footer {
    width: 250px;
    max-height: 72px;
}

@media (max-width: 800px) {
    .freshest-logo {
        width: 235px;
        max-height: 68px;
    }
}

@media (max-width: 520px) {
    .freshest-logo {
        width: 210px;
        max-height: 62px;
    }
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-mark-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--green);
    box-shadow: 0 8px 18px rgba(21, 156, 91, 0.32);
}

.brand-mark-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: var(--white);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-mark-word {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 25px;
    letter-spacing: -0.02em;
    color: var(--slate);
    line-height: 1;
}

.brand-mark-word span {
    color: var(--green);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex: 1;
}

.main-nav a {
    color: var(--slate);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
}

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

.nav-cta {
    background: var(--green);
    color: var(--white) !important;
    padding: 11px 17px;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 24px rgba(21, 156, 91, 0.22);
}

.nav-cta:hover {
    background: var(--green-dark);
}

.logout-form {
    margin: 0;
    display: inline-flex;
    align-items: center;
}

.logout-form button {
    background: transparent;
    color: var(--slate);
    border: none;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
}

.logout-form button:hover {
    color: var(--green);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    border: 1px solid var(--green);
    padding: 15px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 12px 28px rgba(21, 156, 91, 0.22);
    transition: 0.2s ease;
    box-sizing: border-box;
}

.btn-full {
    width: 100%;
}

.btn:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-1px);
}

.btn-light {
    background: rgba(255, 255, 255, 0.82);
    color: var(--green-dark);
    border: 1px solid rgba(21, 156, 91, 0.35);
    box-shadow: none;
}

.btn-light:hover {
    background: var(--green-soft);
    color: var(--green-dark);
    border-color: var(--green);
}

.btn-dark {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.btn-dark:hover {
    background: var(--green-deep);
    border-color: var(--green-deep);
}

.btn-full {
    width: 100%;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.card-pad {
    padding: 30px;
}

.card-pad-lg {
    padding: 46px 52px;
}

.page-section {
    padding: 72px 0;
}

.page-section-tight {
    padding: 48px 0;
}

.section {
    padding: 78px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.05;
    margin: 0 0 14px;
    color: var(--green-deep);
    letter-spacing: -0.01em;
}

.eyebrow {
    color: var(--green);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
    margin: 0 0 12px;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.02;
    margin: 0 0 12px;
    color: var(--green-deep);
    letter-spacing: -0.02em;
}

.page-meta {
    color: var(--muted);
    margin: 0 0 32px;
    font-size: 15px;
}

.page-intro {
    color: #51665b;
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 34px;
    max-width: 760px;
}

.content-card {
    max-width: 900px;
    margin: 0 auto;
}

.content-block {
    padding: 26px 0;
    border-top: 1px solid var(--line);
}

.content-block:first-of-type {
    border-top: none;
    padding-top: 0;
}

.content-block h2 {
    text-align: left;
    font-family: var(--font-body);
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--green-deep);
    margin: 0 0 12px;
}

.content-block p {
    color: #56685f;
    line-height: 1.75;
    margin: 0 0 12px;
    font-size: 15.5px;
}

.content-block p:last-child {
    margin-bottom: 0;
}

.content-link-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.auth-card {
    max-width: 560px;
    margin: 30px auto;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.auth-head {
    margin-bottom: 24px;
    text-align: center;
}

.auth-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: var(--green-soft);
    color: var(--green);
    margin-bottom: 16px;
}

.auth-card h2 {
    margin: 0 0 10px;
    color: var(--green-deep);
    font-size: 30px;
    text-align: center;
}

.auth-card p {
    color: var(--muted);
    line-height: 1.6;
}

.auth-card label {
    display: block;
    font-weight: 800;
    margin-bottom: 7px;
    color: var(--green-deep);
}

.auth-card input {
    width: 100%;
    padding: 13px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    box-sizing: border-box;
    font: inherit;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.auth-bottom {
    margin: 24px 0 0;
    text-align: center;
}

.form-row {
    margin: 0 0 16px;
}

.form-row-tight {
    margin: 0;
}

.checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 15px;
    margin-bottom: 20px;
    cursor: pointer;
}

.checkbox-card input {
    width: auto;
    margin-top: 3px;
    flex: 0 0 auto;
}

.checkbox-card span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.inline-link {
    color: var(--green);
    font-weight: 900;
    text-decoration: none;
}

.inline-link:hover {
    color: var(--green-dark);
}

.error {
    display: block;
    color: var(--danger);
    margin-top: 6px;
    font-size: 14px;
    font-weight: 700;
}

.alert-error {
    background: var(--danger-soft);
    color: #991b1b;
    padding: 13px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    border: 1px solid #fecaca;
}

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

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

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

.service-card {
    background: var(--white);
    color: var(--slate);
    text-decoration: none;
    display: block;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: 0.2s ease;
    min-height: 170px;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(21, 156, 91, 0.35);
}

.service-icon {
    display: block;
    font-size: 34px;
    margin-bottom: 14px;
}

.service-card strong {
    display: block;
    color: var(--green-deep);
    font-size: 17px;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    font-weight: 400;
}

.home-hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 79px);
    display: flex;
    align-items: stretch;
    background: var(--cream);
}

.home-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    z-index: 0;
}

.home-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(253, 251, 245, 0.88) 0%, rgba(253, 251, 245, 0.78) 31%, rgba(253, 251, 245, 0.42) 54%, rgba(8, 51, 31, 0.24) 100%),
        radial-gradient(circle at 76% 26%, rgba(255, 255, 255, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(253, 251, 245, 0.05), rgba(253, 251, 245, 0.55));
    z-index: 1;
}

@media (max-width: 800px) {
    .home-hero-shade {
        background:
            linear-gradient(
                180deg,
                rgba(253, 251, 245, 0.58) 0%,
                rgba(253, 251, 245, 0.34) 48%,
                rgba(253, 251, 245, 0.62) 100%
            ),
            linear-gradient(
                90deg,
                rgba(253, 251, 245, 0.52) 0%,
                rgba(8, 51, 31, 0.16) 100%
            );
    }

    .home-hero-video {
        object-position: 62% center;
    }
}

.home-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
    align-items: center;
    gap: 70px;
    padding: 38px 0 56px;
}

.home-hero-copy {
    max-width: 680px;
}

.home-kicker {
    color: var(--green);
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.03em;
    margin-bottom: 18px;
}

.home-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(44px, 5.4vw, 70px);
    line-height: 0.98;
    margin: 0 0 22px;
    color: #252826;
    letter-spacing: -0.02em;
    max-width: 760px;
}

.home-hero-line {
    display: block;
    white-space: nowrap;
}

.home-hero-line-green {
    color: var(--green);
    font-size: 0.82em;
    margin-top: 10px;
}

.home-hero-copy p {
    font-size: 18px;
    line-height: 1.8;
    color: #56685f;
    margin: 0 0 34px;
    max-width: 590px;
}

.home-hero-actions,
.home-final-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.home-trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
    max-width: 760px;
}

.home-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #51665b;
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
}

.home-trust-item span {
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    background: rgba(231, 241, 232, 0.9);
    color: var(--green);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(21, 156, 91, 0.16);
}

.home-trust-item svg,
.home-step-icon svg,
.home-brief-icon svg,
.home-score-card svg,
.home-service-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-brief-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(229, 221, 210, 0.95);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
}

.home-brief-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.home-brief-head small,
.home-section-head span,
.home-why-card > div > span {
    display: inline-flex;
    align-items: center;
    color: var(--green);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-brief-head small {
    display: block;
    margin-bottom: 8px;
}

.home-brief-head h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.15;
    color: var(--green-deep);
}

.home-brief-head span {
    background: var(--green-soft);
    color: var(--green);
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 13px;
}

.home-brief-list {
    display: grid;
    gap: 14px;
}

.home-brief-row {
    background: rgba(253, 251, 245, 0.9);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.home-brief-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--green-soft);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-brief-row small {
    display: block;
    color: var(--green);
    font-weight: 800;
    margin-bottom: 5px;
}

.home-brief-row strong {
    color: var(--green-deep);
    line-height: 1.35;
}

.home-score-card {
    margin-top: 18px;
    background: linear-gradient(135deg, var(--green-dark), var(--green-deep));
    color: var(--white);
    border-radius: 18px;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.home-score-card strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    margin-bottom: 6px;
}

.home-score-card span {
    color: #d9eadc;
}

.home-score-card svg {
    width: 34px;
    height: 34px;
    color: #d9eadc;
}

.home-section {
    padding: 84px 0;
    background: var(--cream);
}

.home-section:nth-of-type(even),
.home-services-section,
.home-why-section,
.home-final-cta {
    background: #fffdf9;
}

.home-section-head {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.home-section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.08;
    margin: 0 0 12px;
    color: #252826;
    letter-spacing: -0.01em;
}

.home-section-head p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
    margin: 0;
}

.home-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
}

.home-step-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 34px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.home-step-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 22px;
    border-radius: 20px;
    background: var(--green-soft);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-step-icon svg,
.home-service-icon svg {
    width: 30px;
    height: 30px;
}

.home-step-card h3 {
    margin: 0 0 12px;
    color: var(--green-deep);
    font-size: 20px;
}

.home-step-card p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.home-service-card {
    background: var(--white);
    color: var(--slate);
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    min-height: 188px;
    transition: 0.2s ease;
}

.home-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(21, 156, 91, 0.35);
}

.home-service-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 15px;
    border-radius: 18px;
    background: var(--green-soft);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.home-service-card h3 {
    color: var(--green-deep);
    margin: 0 0 9px;
    font-size: 17px;
}

.home-service-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.home-centered-action {
    text-align: center;
    margin-top: 32px;
}

.empty-public {
    background: var(--white);
    border: 1px dashed #cfc5b8;
    border-radius: var(--radius-md);
    padding: 34px;
    text-align: center;
    color: var(--muted);
}

.home-why-section {
    padding: 46px 0 30px;
}

.home-why-card {
    background:
        linear-gradient(135deg, rgba(8, 51, 31, 0.94), rgba(15, 47, 35, 0.92)),
        radial-gradient(circle at top right, rgba(159, 188, 166, 0.4), transparent 34%);
    border-radius: 28px;
    color: var(--white);
    padding: 44px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 44px;
    box-shadow: var(--shadow-md);
}

.home-why-card > div > span {
    color: #d9eadc;
}

.home-why-card h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.08;
    margin: 18px 0 14px;
    letter-spacing: -0.01em;
}

.home-why-card p {
    color: #d9eadc;
    line-height: 1.75;
    margin: 0;
}

.home-why-list {
    display: grid;
    gap: 16px;
}

.home-why-list div {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 20px;
}

.home-why-list strong {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
}

.home-final-cta {
    padding: 42px 0 80px;
}

.home-final-card {
    background:
        linear-gradient(90deg, rgba(8, 51, 31, 0.94), rgba(8, 51, 31, 0.68)),
        url("/static/img/tmj.webp");
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--green-deep);
    border-radius: 26px;
    padding: 38px 44px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: var(--shadow-md);
}

.home-final-card h2 {
    font-family: var(--font-display);
    font-size: 34px;
    line-height: 1.1;
    margin: 0 0 10px;
}

.home-final-card p {
    color: #d9eadc;
    margin: 0;
    line-height: 1.65;
    max-width: 560px;
}

.cta {
    text-align: center;
    background: linear-gradient(135deg, var(--green-dark), var(--green-deep));
    color: var(--white);
    padding: 76px 34px;
    border-radius: 28px;
    margin: 72px auto;
    width: min(1120px, 90%);
    box-shadow: var(--shadow-md);
}

.cta h2 {
    color: var(--white);
    text-align: center;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.05;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.cta p {
    color: #d9eadc;
    margin: 0 auto 30px;
    max-width: 620px;
    font-size: 18px;
    line-height: 1.7;
}

.site-footer {
    background: var(--green-deep);
    color: var(--white);
    padding: 60px 0 20px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    background: transparent;
    text-decoration: none;
}

.footer-brand-logo .brand-mark-icon {
    background: var(--pop);
    box-shadow: none;
}

.footer-brand-logo .brand-mark-icon svg {
    stroke: var(--green-deep);
}

.footer-brand-logo .brand-mark-word {
    color: var(--white);
}

.footer-brand-logo .brand-mark-word span {
    color: var(--pop);
}

.site-footer p {
    color: #d9eadc;
    max-width: 430px;
    line-height: 1.65;
}

.site-footer h4 {
    margin: 0 0 14px;
}

.site-footer a {
    display: block;
    color: #d9eadc;
    text-decoration: none;
    margin-bottom: 10px;
}

.site-footer a:hover {
    color: var(--sage);
}

.footer-logout-form {
    margin: 0;
}

.footer-logout-form button {
    display: block;
    background: transparent;
    color: #d9eadc;
    border: none;
    font: inherit;
    cursor: pointer;
    padding: 0;
    margin-bottom: 10px;
}

.footer-logout-form button:hover {
    color: var(--sage);
}

.footer-bottom {
    border-top: 1px solid rgba(217, 234, 220, 0.18);
    margin-top: 40px;
    padding-top: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 1000px) {
    .brand-mark-word {
        font-size: 23px;
    }

    .home-hero-grid {
        grid-template-columns: 1fr;
    }

    .home-brief-card {
        max-width: 560px;
    }

    .cards,
    .grid-3,
    .home-steps-grid,
    .home-why-card {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .grid-4,
    .home-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-final-card {
        align-items: flex-start;
        flex-direction: column;
        background-size: cover;
    }
}

@media (max-width: 800px) {
    .site-header {
        padding: 13px 0;
    }

    .nav-wrap {
        flex-direction: column;
        gap: 14px;
        min-height: 0;
    }

    .brand-mark-word {
        font-size: 22px;
    }

    .main-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px 18px;
    }

    .main-nav a,
    .logout-form button {
        font-size: 13px;
    }

    .page-section,
    .section,
    .home-section {
        padding: 58px 0;
    }

    .page-section-tight {
        padding: 42px 0;
    }

    .card-pad-lg,
    .content-card {
        padding: 30px 24px;
    }

    .page-title {
        font-size: 38px;
    }

    .content-block h2 {
        font-size: 21px;
    }

    .auth-grid,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .home-hero {
        min-height: auto;
    }

    .home-hero-grid {
        padding: 64px 0;
        gap: 38px;
    }

    .home-hero h1 {
    font-size: 42px;
    letter-spacing: -0.02em;
}

.home-hero-line {
    white-space: normal;
}

.home-hero-line-green {
    font-size: 0.88em;
    margin-top: 8px;
}

    .home-trust-row {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .home-trust-item {
        white-space: normal;
    }

    .home-hero-actions,
    .home-final-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        box-sizing: border-box;
    }

    .service-grid,
    .grid-4,
    .home-services-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .home-why-card,
    .home-final-card {
        padding: 30px;
    }
}

@media (max-width: 520px) {
    .container,
    .container-narrow {
        width: min(92%, 1120px);
    }

    .brand-mark-word {
        font-size: 20px;
    }

    .main-nav {
        gap: 12px 14px;
    }

    .nav-cta {
        padding: 10px 14px;
    }

    .auth-card {
        padding: 24px;
    }

    .home-hero h1 {
    font-size: 38px;
    line-height: 1;
    }

    .home-hero-line-green {
    font-size: 0.84em;
    }

    .home-hero-copy p {
        font-size: 16px;
    }

    .home-final-card h2 {
        font-size: 29px;
    }
}

.service-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 78% 16%, rgba(21, 156, 91, 0.16), transparent 34%),
        linear-gradient(135deg, var(--cream), #fffdf9);
}

.service-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}



.service-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(253, 251, 245, 0.94) 0%, rgba(253, 251, 245, 0.76) 42%, rgba(253, 251, 245, 0.18) 100%),
        linear-gradient(180deg, rgba(253, 251, 245, 0.02), rgba(253, 251, 245, 0.34));
    z-index: 1;
}

.service-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: center;
    gap: 64px;
    padding: 72px 0;
}

.service-hero-copy {
    max-width: 690px;
}

.service-eyebrow {
    color: var(--green);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
    margin: 0 0 16px;
}

.service-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(46px, 6vw, 74px);
    line-height: 0.96;
    margin: 0 0 22px;
    color: #252826;
    letter-spacing: -0.02em;
}

.service-hero-copy > p:not(.service-eyebrow) {
    font-size: 18px;
    line-height: 1.8;
    color: #56685f;
    margin: 0 0 32px;
    max-width: 620px;
}

.service-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.service-hero-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(229, 221, 210, 0.96);
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
}

.service-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    background: var(--green-soft);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin-bottom: 22px;
}

.service-hero-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-hero-card h2 {
    color: var(--green-deep);
    font-size: 27px;
    line-height: 1.12;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.service-hero-card p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 20px;
}

.service-hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 11px;
}

.service-hero-card li {
    color: #51665b;
    font-weight: 800;
    position: relative;
    padding-left: 24px;
}

.service-hero-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
}

.service-page-section {
    padding: 82px 0;
    background: var(--cream);
}

.service-page-section:nth-of-type(even),
.service-benefits-section,
.service-related-section {
    background: #fffdf9;
}

.service-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: start;
}

.service-main-content {
    display: grid;
    gap: 24px;
}

.service-intro-card,
.service-rich-content,
.service-sidebar-card,
.service-benefit-card,
.service-process-card,
.service-faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
}

.service-intro-card {
    padding: 30px;
}

.service-intro-card p {
    color: #51665b;
    font-size: 18px;
    line-height: 1.85;
    margin: 0;
}

.service-rich-content {
    padding: 38px;
}

.service-rich-content h2,
.service-rich-content h3 {
    color: var(--green-deep);
    line-height: 1.16;
    letter-spacing: -0.01em;
}

.service-rich-content h2 {
    font-size: 32px;
    margin: 0 0 16px;
}

.service-rich-content h3 {
    font-size: 23px;
    margin: 30px 0 12px;
}

.service-rich-content p {
    color: #56685f;
    line-height: 1.78;
    margin: 0 0 16px;
    font-size: 16px;
}

.service-rich-content p:last-child {
    margin-bottom: 0;
}

.service-sidebar-card {
    padding: 26px;
    position: sticky;
    top: 96px;
}

.service-sidebar-card h3 {
    color: var(--green-deep);
    margin: 0 0 18px;
    font-size: 23px;
}

.service-check-list {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.service-check-list div {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    color: #51665b;
    font-weight: 800;
}

.service-check-list span {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: var(--green-soft);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-check-list svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.service-benefit-card,
.service-process-card {
    padding: 28px;
}

.service-benefit-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: var(--green-soft);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.service-benefit-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-benefit-card h3,
.service-process-card h3 {
    color: var(--green-deep);
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.18;
}

.service-benefit-card p,
.service-process-card p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

.service-process-number {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: var(--green);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 18px;
    box-shadow: 0 10px 24px rgba(21, 156, 91, 0.22);
}

.service-faq-list {
    display: grid;
    gap: 14px;
}

.service-faq-item {
    padding: 0;
    overflow: hidden;
}

.service-faq-item summary {
    list-style: none;
    cursor: pointer;
    color: var(--green-deep);
    font-weight: 900;
    font-size: 17px;
    padding: 20px 22px;
    position: relative;
}

.service-faq-item summary::-webkit-details-marker {
    display: none;
}

.service-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 18px;
    color: var(--green);
    font-size: 24px;
    line-height: 1;
}

.service-faq-item[open] summary::after {
    content: "–";
}

.service-faq-item p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    padding: 0 22px 22px;
}

.service-final-cta {
    padding: 42px 0 84px;
    background: #fffdf9;
}

@media (max-width: 1000px) {
    .service-hero-grid,
    .service-content-grid {
        grid-template-columns: 1fr;
    }

    .service-hero-card {
        max-width: 620px;
    }

    .service-sidebar-card {
        position: static;
    }

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

@media (max-width: 800px) {
    .service-hero {
        min-height: auto;
    }

    .service-hero-grid {
        padding: 58px 0;
        gap: 34px;
    }

    .service-hero h1 {
        font-size: 42px;
        letter-spacing: -0.02em;
    }

    .service-hero-copy > p:not(.service-eyebrow) {
        font-size: 16px;
    }

    .service-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .service-page-section {
        padding: 58px 0;
    }

    .service-rich-content,
    .service-intro-card,
    .service-sidebar-card,
    .service-benefit-card,
    .service-process-card {
        padding: 24px;
    }

    .service-rich-content h2 {
        font-size: 27px;
    }
}

.field-help {
    display: block;
    margin-top: 7px;
    color: #6f7f76;
    font-size: 13px;
    line-height: 1.45;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.breadcrumbs a {
    color: var(--green);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--green-dark);
}

.breadcrumbs span {
    color: #7c8b83;
}

.services-list-hero {
    padding: 82px 0 58px;
    background:
        radial-gradient(circle at 78% 12%, rgba(21, 156, 91, 0.14), transparent 32%),
        linear-gradient(135deg, var(--cream), #fffdf9);
}

.services-list-hero-copy {
    max-width: 780px;
}

.services-list-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(44px, 6vw, 72px);
    line-height: 0.98;
    margin: 0 0 20px;
    color: #252826;
    letter-spacing: -0.02em;
}

.services-list-hero-copy > p:not(.service-eyebrow) {
    color: #56685f;
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
}

.services-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.services-list-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 26px;
    color: var(--slate);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    transition: 0.2s ease;
}

.services-list-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(21, 156, 91, 0.35);
}

.services-list-card h2 {
    color: var(--green-deep);
    margin: 0 0 9px;
    font-size: 21px;
    line-height: 1.15;
}

.services-list-card p {
    color: var(--muted);
    margin: 0 0 14px;
    line-height: 1.65;
    font-size: 15px;
}

.services-list-card span {
    color: var(--green);
    font-weight: 900;
    font-size: 14px;
}

@media (max-width: 1000px) {
    .services-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .services-list-hero {
        padding: 58px 0 42px;
    }

    .services-list-hero h1 {
        font-size: 42px;
        letter-spacing: -0.02em;
    }

    .services-list-grid {
        grid-template-columns: 1fr;
    }

    .services-list-card {
        grid-template-columns: 54px minmax(0, 1fr);
        padding: 22px;
    }
}

.pro-list-hero,
.pro-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 12%, rgba(21, 156, 91, 0.14), transparent 32%),
        linear-gradient(135deg, var(--cream), #fffdf9);
}

.pro-list-hero {
    padding: 82px 0 58px;
}

.pro-list-hero-copy {
    max-width: 780px;
}

.pro-list-hero h1,
.pro-hero h1 {
    font-family: var(--font-display);
    line-height: 0.98;
    margin: 0 0 20px;
    color: #252826;
    letter-spacing: -0.02em;
}

.pro-list-hero h1 {
    font-size: clamp(44px, 6vw, 72px);
}

.pro-list-hero-copy > p:not(.service-eyebrow) {
    color: #56685f;
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
}

.pro-page-section {
    padding: 82px 0;
    background: var(--cream);
}

.pro-page-section:nth-of-type(even),
.pro-featured-section,
.pro-related-section {
    background: #fffdf9;
}

.pro-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pro-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    color: var(--slate);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: 0.2s ease;
}

.pro-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(21, 156, 91, 0.35);
}

.pro-card-media {
    height: 190px;
    position: relative;
    background:
        radial-gradient(circle at 70% 20%, rgba(21, 156, 91, 0.16), transparent 34%),
        linear-gradient(135deg, var(--green-soft), var(--cream-2));
}

.pro-card-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pro-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-card-placeholder span {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    background: var(--green);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 900;
}

.pro-card-logo {
    position: absolute;
    left: 20px;
    bottom: -28px;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    padding: 8px;
    box-sizing: border-box;
}

.pro-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pro-card-body {
    padding: 42px 24px 24px;
}

.pro-card-topline,
.pro-list-meta {
    color: var(--green);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 9px;
}

.pro-card-body h3,
.pro-list-content h2 {
    color: var(--green-deep);
    margin: 0 0 10px;
    line-height: 1.15;
}

.pro-card-body h3 {
    font-size: 22px;
}

.pro-list-content h2 {
    font-size: 23px;
}

.pro-card-body p,
.pro-list-content p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 16px;
    font-size: 15px;
}

.pro-card-body > strong,
.pro-list-content > strong {
    display: inline-flex;
    color: var(--green);
    font-weight: 900;
    font-size: 14px;
    margin-top: 4px;
}

.pro-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 12px;
}

.pro-service-tags span,
.pro-service-tags a {
    display: inline-flex;
    align-items: center;
    background: var(--green-soft);
    color: var(--green-dark);
    border: 1px solid rgba(21, 156, 91, 0.16);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    margin: 0;
}

.pro-service-tags a:hover {
    background: var(--green);
    color: var(--white);
}

.pro-list-grid {
    display: grid;
    gap: 18px;
}

.pro-list-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
    color: var(--slate);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    transition: 0.2s ease;
}

.pro-list-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(21, 156, 91, 0.35);
}

.pro-list-logo {
    width: 86px;
    height: 86px;
    border-radius: 24px;
    background: var(--green-soft);
    border: 1px solid rgba(21, 156, 91, 0.16);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-list-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 8px;
    box-sizing: border-box;
    background: var(--white);
}

.pro-list-logo span {
    color: var(--green);
    font-size: 34px;
    font-weight: 900;
}

.pro-hero {
    min-height: 600px;
    display: flex;
    align-items: center;
}

.pro-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

.pro-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(253, 251, 245, 0.94) 0%, rgba(253, 251, 245, 0.76) 42%, rgba(253, 251, 245, 0.18) 100%),
        linear-gradient(180deg, rgba(253, 251, 245, 0.02), rgba(253, 251, 245, 0.34));
    z-index: 1;
}

.pro-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: center;
    gap: 64px;
    padding: 72px 0;
}

.pro-hero-copy {
    max-width: 690px;
}

.pro-hero h1 {
    font-size: clamp(46px, 6vw, 74px);
}

.pro-hero-copy > p:not(.service-eyebrow) {
    font-size: 18px;
    line-height: 1.8;
    color: #56685f;
    margin: 0 0 32px;
    max-width: 620px;
}

.pro-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.pro-profile-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(229, 221, 210, 0.96);
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
}

.pro-profile-card-top {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin-bottom: 24px;
}

.pro-profile-logo {
    width: 84px;
    height: 84px;
    border-radius: 24px;
    background: var(--green-soft);
    border: 1px solid rgba(21, 156, 91, 0.16);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 8px;
    box-sizing: border-box;
    background: var(--white);
}

.pro-profile-logo span {
    color: var(--green);
    font-size: 34px;
    font-weight: 900;
}

.pro-profile-card h2 {
    color: var(--green-deep);
    font-size: 26px;
    line-height: 1.12;
    margin: 0 0 6px;
}

.pro-profile-card p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.pro-profile-facts {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.pro-profile-facts div {
    background: rgba(253, 251, 245, 0.9);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
}

.pro-profile-facts strong {
    display: block;
    color: var(--green-deep);
    margin-bottom: 5px;
}

.pro-profile-facts span {
    color: var(--muted);
    line-height: 1.45;
    font-size: 14px;
}

.pro-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: start;
}

.pro-main-content {
    display: grid;
    gap: 24px;
}

.pro-content-card,
.pro-sidebar-card,
.pro-highlight-card,
.pro-gallery-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
}

.pro-content-card {
    padding: 38px;
}

.pro-content-card h2 {
    color: var(--green-deep);
    font-size: 31px;
    line-height: 1.16;
    letter-spacing: -0.01em;
    margin: 0 0 18px;
}

.pro-content-card p {
    color: #56685f;
    line-height: 1.78;
    margin: 0 0 16px;
    font-size: 16px;
}

.pro-content-card p:last-child {
    margin-bottom: 0;
}

.pro-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.pro-highlight-card {
    padding: 22px;
}

.pro-highlight-card h3 {
    color: var(--green-deep);
    margin: 0 0 9px;
    font-size: 19px;
}

.pro-specialty-list {
    display: grid;
    gap: 14px;
}

.pro-specialty-list div {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.pro-specialty-list span {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--green-soft);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pro-specialty-list svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pro-specialty-list strong {
    color: var(--green-deep);
}

.pro-specialty-list p {
    grid-column: 2;
    margin-top: -8px;
}

.pro-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.pro-gallery-card {
    overflow: hidden;
}

.pro-gallery-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.pro-gallery-card div {
    padding: 18px;
}

.pro-gallery-card h3 {
    color: var(--green-deep);
    margin: 0 0 8px;
    font-size: 18px;
}

.pro-sidebar-card {
    padding: 26px;
    position: sticky;
    top: 96px;
}

.pro-sidebar-card h3 {
    color: var(--green-deep);
    margin: 0 0 12px;
    font-size: 23px;
}

.pro-sidebar-card > p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 22px;
}

.pro-sidebar-divider {
    height: 1px;
    background: var(--line);
    margin: 24px 0;
}

.pro-sidebar-details {
    display: grid;
    gap: 16px;
}

.pro-sidebar-details div {
    display: grid;
    gap: 5px;
}

.pro-sidebar-details strong {
    color: var(--green-deep);
    font-size: 14px;
}

.pro-sidebar-details span,
.pro-sidebar-details a {
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px;
}

.pro-sidebar-details a {
    color: var(--green);
    font-weight: 900;
    text-decoration: none;
}

.pro-sidebar-details a:hover {
    color: var(--green-dark);
}

@media (max-width: 1000px) {
    .pro-card-grid {
        grid-template-columns: 1fr;
    }

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

    .pro-profile-card {
        max-width: 640px;
    }

    .pro-sidebar-card {
        position: static;
    }
}

@media (max-width: 800px) {
    .pro-list-hero {
        padding: 58px 0 42px;
    }

    .pro-list-hero h1,
    .pro-hero h1 {
        font-size: 42px;
        letter-spacing: -0.02em;
    }

    .pro-hero {
        min-height: auto;
    }

    .pro-hero-grid {
        padding: 58px 0;
        gap: 34px;
    }

    .pro-hero-copy > p:not(.service-eyebrow),
    .pro-list-hero-copy > p:not(.service-eyebrow) {
        font-size: 16px;
    }

    .pro-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pro-page-section {
        padding: 58px 0;
    }

    .pro-list-card {
        grid-template-columns: 64px minmax(0, 1fr);
        padding: 20px;
    }

    .pro-list-logo {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .pro-content-card,
    .pro-sidebar-card,
    .pro-profile-card {
        padding: 24px;
    }

    .pro-profile-card-top {
        grid-template-columns: 68px minmax(0, 1fr);
    }

    .pro-profile-logo {
        width: 68px;
        height: 68px;
        border-radius: 20px;
    }

    .pro-content-card h2 {
        font-size: 27px;
    }

    .pro-highlight-grid,
    .pro-gallery-grid {
        grid-template-columns: 1fr;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.pro-apply-hero {
    padding: 82px 0 64px;
    background:
        radial-gradient(circle at 78% 12%, rgba(21, 156, 91, 0.14), transparent 32%),
        linear-gradient(135deg, var(--cream), #fffdf9);
}

.pro-apply-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 54px;
    align-items: center;
}

.pro-apply-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(44px, 6vw, 72px);
    line-height: 0.98;
    margin: 0 0 20px;
    color: #252826;
    letter-spacing: -0.02em;
}

.pro-apply-hero p {
    color: #56685f;
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
    max-width: 640px;
}

.pro-apply-hero-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(229, 221, 210, 0.96);
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
}

.pro-apply-hero-card h2 {
    color: var(--green-deep);
    font-size: 27px;
    line-height: 1.12;
    margin: 0 0 22px;
    letter-spacing: -0.01em;
}

.pro-apply-benefits {
    display: grid;
    gap: 14px;
}

.pro-apply-benefits div {
    background: rgba(253, 251, 245, 0.9);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
}

.pro-apply-benefits strong {
    display: block;
    color: var(--green-deep);
    margin-bottom: 6px;
}

.pro-apply-benefits span {
    display: block;
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px;
}

.pro-apply-grid {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.pro-apply-copy {
    position: sticky;
    top: 96px;
}

.pro-apply-copy h2 {
    font-family: var(--font-display);
    color: var(--green-deep);
    font-size: 38px;
    line-height: 1.08;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.pro-apply-copy > p {
    color: var(--muted);
    line-height: 1.75;
    margin: 0 0 22px;
}

.pro-apply-note {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.pro-apply-note strong {
    display: block;
    color: var(--green-deep);
    margin-bottom: 8px;
}

.pro-apply-note p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

.pro-apply-form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 34px;
    box-shadow: var(--shadow-sm);
}

.form-alert {
    background: var(--danger-soft);
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 22px;
}

.pro-apply-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

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

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--green-deep);
    font-weight: 900;
    font-size: 14px;
}

.required {
    color: var(--danger);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 13px 14px;
    font: inherit;
    color: var(--slate);
    background: var(--white);
    box-sizing: border-box;
}

.form-field textarea {
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(21, 156, 91, 0.11);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
    border-color: var(--danger);
}

.pro-service-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.pro-service-checkbox {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.pro-service-checkbox input {
    width: auto;
    margin: 0;
}

.pro-service-checkbox span {
    color: var(--green-deep);
    font-weight: 800;
    font-size: 14px;
}

.form-actions {
    margin-top: 24px;
}

.pro-apply-success-section {
    padding: 92px 0;
    background:
        radial-gradient(circle at 78% 12%, rgba(21, 156, 91, 0.14), transparent 32%),
        linear-gradient(135deg, var(--cream), #fffdf9);
}

.pro-apply-success-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 48px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.pro-apply-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: var(--green-soft);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.pro-apply-success-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pro-apply-success-card h1 {
    font-family: var(--font-display);
    color: var(--green-deep);
    font-size: clamp(40px, 5vw, 58px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}

.pro-apply-success-card > p:not(.service-eyebrow) {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
    margin: 0 auto 30px;
    max-width: 680px;
}

.pro-apply-success-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 34px 0;
    text-align: left;
}

.pro-apply-success-steps div {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
}

.pro-apply-success-steps strong {
    display: block;
    color: var(--green-deep);
    margin-bottom: 8px;
}

.pro-apply-success-steps span {
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px;
}

.pro-apply-success-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 1000px) {
    .pro-apply-hero-grid,
    .pro-apply-grid {
        grid-template-columns: 1fr;
    }

    .pro-apply-copy {
        position: static;
    }

    .pro-apply-success-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .pro-apply-hero {
        padding: 58px 0 42px;
    }

    .pro-apply-hero h1 {
        font-size: 42px;
        letter-spacing: -0.02em;
    }

    .pro-apply-form-card,
    .pro-apply-success-card,
    .pro-apply-hero-card {
        padding: 24px;
    }

    .pro-apply-form-grid,
    .pro-service-checkbox-grid {
        grid-template-columns: 1fr;
    }

    .pro-apply-success-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.pro-apply-hero-photo {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 82px 0 72px;
}

.pro-apply-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

.pro-apply-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(253, 251, 245, 0.96) 0%, rgba(253, 251, 245, 0.86) 44%, rgba(8, 51, 31, 0.35) 100%),
        linear-gradient(180deg, rgba(253, 251, 245, 0.12), rgba(253, 251, 245, 0.56));
    z-index: 1;
}

.pro-apply-hero-photo .pro-apply-hero-grid {
    position: relative;
    z-index: 2;
}