/* Essentiv Tech production stylesheet */

/* 1. Tokens and typography */
@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 500 800;
    font-display: swap;
    src: url('../assets/fonts/fraunces-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
}

:root {
    --font-body: 'Manrope', sans-serif;
    --font-heading: 'Fraunces', serif;
    --ink: #1e2b2f;
    --ink-strong: #142124;
    --text: #26363a;
    --text-muted: #526267;
    --text-subtle: #5f6d71;
    --canvas: #f8fafb;
    --surface: #ffffff;
    --surface-soft: #eef3f5;
    --surface-sage: #edf5ef;
    --sage-text: var(--smart-ink);
    --border: rgba(30, 43, 47, 0.16);
    --brand-text: #076b6b;
    --brand-hover: #045655;
    --business-surface: #eaf5f4;
    --smart-ink: #38594b;
    --smart-hover: #274235;
    --smart-accent: #52735a;
    --personal-hover: #264f67;
    --personal-accent: #85b3ca;
    --personal-ink: #326581;
    --personal-surface: #f7fbfd;
    --accent: #8bb8b8;
    --accent-text: var(--brand-text);
    --business: #08cfcc;
    --business-text: var(--brand-text);
    --nav: #0f1a1d;
    --white: #fff;
    --content: 1120px;
    --reading: 680px;
    --nav-height: 92px;
    --section: 88px;
    --section-small: 64px;
    --radius-card: 10px;
    --radius-control: 6px;
    --shadow: 0 16px 38px rgba(20, 33, 36, 0.09);
}

/* 2. Base elements */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 16px);
}
html:has(.business-local-nav) {
    scroll-padding-top: calc(var(--nav-height) + 62px);
}
body {
    margin: 0;
    background: var(--canvas);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
    font-family: var(--font-body);
}
img,
svg {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select,
textarea {
    font: inherit;
}
button {
    border: 0;
}
h1,
h2,
h3,
p,
ul,
figure {
    margin: 0;
}
h1,
h2,
h3 {
    color: var(--ink-strong);
    font-family: var(--font-body);
    line-height: 1.15;
}
ul {
    padding: 0;
    list-style: none;
}
[hidden] {
    display: none;
}
:focus-visible {
    outline: 3px solid var(--business-text);
    outline-offset: 3px;
}
.nav :focus-visible,
.nav-mobile :focus-visible,
.footer :focus-visible {
    outline-color: var(--business);
}
::selection {
    background: rgba(8, 207, 204, 0.28);
}

/* 3. Shared layout */
.container {
    width: min(100% - 48px, var(--content));
    margin-inline: auto;
}
.section {
    padding-block: var(--section);
}
.section-sm {
    padding-block: var(--section-small);
}
.section-compact {
    padding-block: 64px;
}
.section-alt {
    background: var(--surface-soft);
}
.reading-width,
.section-desc,
.page-subtitle {
    max-width: var(--reading);
}
img {
    height: auto;
}
.layout-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    gap: clamp(48px, 7vw, 80px);
    align-items: start;
}
.grid-3,
.service-category-grid,
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.section-header {
    max-width: var(--reading);
    margin-bottom: 42px;
}
.section-label,
.hero-kicker,
.editorial-number {
    display: inline-block;
    color: var(--accent-text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.section-label {
    margin-bottom: 12px;
}
.section-title {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4vw, 3.5rem);
}
.section-desc {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}
.reading-width p + p {
    margin-top: 12px;
}
.gradient-text {
    color: var(--accent-text);
}
.audience-text-business {
    color: var(--business-text);
}
.reveal-enabled [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}
.reveal-enabled [data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}
/* 4. Navigation */
.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 2000;
    padding: 10px 14px;
    background: var(--white);
    color: var(--ink);
    transform: translateY(-150%);
}
.skip-link:focus {
    transform: none;
}
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 26, 29, 0.96);
    backdrop-filter: blur(14px);
}
.nav-inner {
    display: flex;
    width: min(100% - 48px, var(--content));
    height: 100%;
    margin-inline: auto;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-logo {
    display: flex;
    min-height: 44px;
    min-width: 0;
    flex: 0 1 260px;
    align-items: center;
}
.nav-logo-image {
    width: 260px;
    height: auto;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}
.nav-link {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    padding-inline: 11px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
    color: var(--white);
}
.nav-link.active:not(.nav-portal)::after {
    position: absolute;
    right: 11px;
    bottom: 5px;
    left: 11px;
    height: 2px;
    border-radius: 2px;
    background: var(--business);
    content: '';
}
.nav-business {
    position: relative;
}
.nav-business-trigger,
.nav-mobile-business-trigger {
    display: flex;
    align-items: center;
}
.nav-business-link {
    padding-right: 0;
}
.nav-business-toggle {
    display: inline-flex;
    width: 24px;
    height: 44px;
    flex: 0 0 24px;
    align-items: center;
    justify-content: flex-start;
    padding-left: 4px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.76);
    cursor: pointer;
}
.nav-business-toggle:hover,
.nav-business-toggle[aria-expanded='true'],
.nav-business.business-active .nav-business-toggle,
.nav-business.business-active .nav-business-link,
.nav-mobile-business.business-active .nav-business-toggle,
.nav-mobile-business.business-active .nav-business-link {
    color: var(--white);
}
.nav-business-toggle svg {
    width: 9px;
    height: 9px;
    opacity: 0.65;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 160ms ease;
}
.nav-business-toggle[aria-expanded='true'] svg {
    transform: rotate(180deg);
}
.nav-business.business-active .nav-business-trigger::after {
    position: absolute;
    right: 11px;
    bottom: 5px;
    left: 11px;
    height: 2px;
    border-radius: 2px;
    background: var(--business);
    content: '';
}
.nav-business-menu {
    position: absolute;
    top: calc(100% + (var(--nav-height) - 44px) / 2);
    left: 50%;
    z-index: 1100;
    width: min(224px, calc(100vw - 32px));
    transform: translateX(-50%);
    overflow: visible;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--white);
    box-shadow: 0 18px 40px rgba(15, 26, 29, 0.2);
}
/* Bridges the gap below the trigger so hovering down to the menu keeps it open */
.nav-business-menu::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: calc((var(--nav-height) - 44px) / 2 + 2px);
    content: '';
}
@media (prefers-reduced-motion: no-preference) {
    .nav-business-menu:not([hidden]) {
        animation: nav-business-menu-in 150ms ease-out;
    }
}
@keyframes nav-business-menu-in {
    from {
        opacity: 0;
        transform: translate(-50%, -6px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
.nav-business-menu a,
.nav-mobile-business-menu a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding-inline: 14px;
    border-radius: var(--radius-control);
    font-size: 14px;
    font-weight: 700;
}
.nav-business-menu a {
    color: var(--text-muted);
}
.nav-business-menu a:hover {
    background: var(--surface-soft);
    color: var(--ink);
}
.nav-business-menu a.active {
    background: rgba(8, 207, 204, 0.1);
    color: var(--business-text);
}
.nav-portal {
    gap: 9px;
    margin-left: 6px;
    padding-inline: 16px;
    border: 1px solid var(--business);
    border-radius: var(--radius-control);
    background: var(--business-text);
    color: var(--white);
}
.nav-portal:hover,
.nav-portal.active {
    border-color: var(--business);
    background: #09817f;
    color: var(--white);
}
.nav-portal-icon {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.nav-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: var(--radius-control);
    background: transparent;
    cursor: pointer;
}
.nav-menu-btn span {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--white);
}
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--nav-height);
    right: 0;
    left: 0;
    z-index: 999;
    max-height: calc(100vh - var(--nav-height));
    overflow-x: hidden;
    overflow-y: auto;
    padding: 12px 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--nav);
}
.nav-mobile.open {
    display: grid;
}
.nav-mobile .nav-link {
    min-height: 48px;
    padding-inline: 14px;
}
.nav-mobile .nav-link.active:not(.nav-portal) {
    border-left: 2px solid var(--business);
}
.nav-mobile .nav-link.active:not(.nav-portal)::after {
    content: none;
}
.nav-mobile-business-trigger .nav-business-link {
    min-width: 0;
    flex: 0 0 auto;
    padding-right: 0;
}
.nav-mobile-business-trigger .nav-business-toggle {
    width: 44px;
    height: 48px;
    flex-basis: 44px;
}
.nav-mobile-business.business-active {
    border-left: 2px solid var(--business);
}
.nav-mobile-business.business-active .nav-business-link {
    border-left: 0;
}
.nav-mobile-business-menu {
    display: grid;
    overflow: visible;
    margin: 0 0 8px 14px;
    padding: 4px 0 4px 12px;
    border-left: 1px solid rgba(8, 207, 204, 0.45);
}
.nav-mobile-business-menu[hidden] {
    display: none;
}
.nav-mobile-business-menu a {
    min-width: 0;
    color: rgba(255, 255, 255, 0.72);
    overflow-wrap: anywhere;
}
.nav-mobile-business-menu a:hover,
.nav-mobile-business-menu a.active {
    background: rgba(8, 207, 204, 0.1);
    color: var(--white);
}
.nav-mobile .nav-portal {
    justify-content: center;
    margin: 8px 0 0;
}
.business-local-nav {
    position: sticky;
    top: var(--nav-height);
    z-index: 900;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}
.business-local-nav-inner {
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
    overflow: visible;
}
.business-local-nav a {
    position: relative;
    display: inline-flex;
    min-height: 46px;
    flex: 0 0 auto;
    align-items: center;
    padding-inline: 18px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
.business-local-nav a:hover {
    color: var(--business-text);
}
.business-local-nav a.active {
    background: rgba(8, 207, 204, 0.08);
    color: var(--business-text);
}
.business-local-nav a.active::after {
    position: absolute;
    right: 18px;
    bottom: 0;
    left: 18px;
    height: 3px;
    background: var(--business);
    content: '';
}

/* 5. Buttons and controls */
.btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-control);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    cursor: pointer;
}
.btn-lg {
    min-height: 50px;
    padding-inline: 24px;
    font-size: 16px;
}
.btn-primary {
    background: var(--accent-text);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--brand-hover);
}
.btn-secondary {
    background: var(--business-text);
    color: var(--white);
}
.btn-outline {
    border-color: var(--border);
    background: transparent;
    color: var(--ink);
}
.btn-outline:hover {
    border-color: var(--ink);
    background: rgba(255, 255, 255, 0.4);
}
.w-full {
    width: 100%;
}
.form-hint {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 14px;
}
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}
.form-control {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-control);
    background: var(--white);
    color: var(--ink);
    font-size: 16px;
}
.form-control::placeholder {
    color: var(--text-subtle);
}
.form-control:focus {
    border-color: var(--business-text);
    outline: 2px solid var(--business-text);
}
textarea.form-control {
    min-height: 140px;
    resize: vertical;
}
.form-control.has-error,
.form-control[aria-invalid='true'] {
    border-color: #a83c35;
}
.field-error,
#formError {
    margin-top: 7px;
    color: #8f302a;
    font-size: 14px;
    font-weight: 700;
}
#formError {
    margin-bottom: 16px;
    padding: 12px;
    border-left: 3px solid #a83c35;
    background: #fff1ef;
}

/* 6. Homepage */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(64px, 7vw, 92px) clamp(76px, 8vw, 110px);
    background: var(--surface-soft);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, var(--canvas), var(--surface-soft));
}
.hero-content {
    position: relative;
}
.hero-copy {
    max-width: 980px;
}
.hero-kicker {
    margin-bottom: 18px;
}
.hero-title {
    max-width: 760px;
    font-family: var(--font-heading);
    font-size: clamp(3.4rem, 6.6vw, 5.8rem);
    letter-spacing: 0;
}
.hero-title .gradient-text {
    color: var(--sage-text);
    font-style: italic;
    font-weight: 600;
}
.hero-tagline {
    margin-top: 16px;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 700;
}
.hero-subtitle {
    max-width: 650px;
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 18px;
}
.hero-proof-line {
    margin-top: 14px;
    color: var(--accent-text);
    font-size: 14px;
    font-weight: 800;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}
.hero-contact {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 14px;
}
.hero-contact a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hero-actions .btn-primary {
    background: var(--smart-ink);
}
.hero-actions .btn-primary:hover {
    background: var(--smart-hover);
}
.hero-division-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 44px;
}
.hero-division-link {
    position: relative;
    display: grid;
    min-height: 300px;
    overflow: hidden;
    border-radius: var(--radius-card);
    isolation: isolate;
}
.hero-division-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}
.hero-division-link::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        180deg,
        rgba(12, 23, 27, 0.08),
        rgba(12, 23, 27, 0.84)
    );
    content: '';
}
.hero-division-link-home::after {
    background: linear-gradient(
        180deg,
        rgba(38, 79, 103, 0.08),
        rgba(27, 58, 77, 0.96)
    );
}
.hero-division-link-business::after {
    background: linear-gradient(
        180deg,
        rgba(3, 46, 49, 0.05),
        rgba(4, 72, 74, 0.94)
    );
}
.hero-division-link:hover .hero-division-image {
    transform: scale(1.025);
}
.hero-division-link-home {
    border-bottom: 4px solid var(--accent);
}
.hero-division-link-business {
    border-bottom: 4px solid var(--business);
}
.hero-division-copy {
    display: flex;
    align-self: end;
    flex-direction: column;
    padding: 28px;
    color: var(--white);
}
.hero-division-context {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.hero-division-name {
    margin-top: 4px;
    min-height: 2.4em;
    font-family: var(--font-heading);
    font-size: clamp(23px, 2.3vw, 28px);
    font-weight: 700;
    line-height: 1.2;
}
.hero-division-detail {
    margin-top: 5px;
    min-height: 3.3em;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}
.trust-strip {
    border-block: 1px solid var(--border);
    background: var(--surface);
}
.relationship-statement {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    padding-block: 28px;
}
.relationship-statement p {
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 600;
}
.relationship-detail {
    max-width: 370px;
    color: var(--text-muted);
    font-size: 14px;
}
.marketing-service-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    gap: clamp(48px, 8vw, 96px);
    align-items: center;
}
.marketing-service-reversed {
    grid-template-columns: minmax(380px, 1.1fr) minmax(0, 0.9fr);
}
.marketing-service-reversed .marketing-service-copy {
    order: 2;
}
.marketing-service-reversed .marketing-service-visual {
    order: 1;
}
.marketing-service-copy .section-desc,
.service-story-note {
    margin-bottom: 18px;
}
.service-story-note {
    max-width: 590px;
    color: var(--text-muted);
}
.marketing-service-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    color: var(--accent-text);
    font-weight: 800;
}
.business-solutions-section {
    background: var(--business-surface);
}
.service-story-business .marketing-service-link,
.business-solutions-section .section-label {
    color: var(--business-text);
}
.marketing-service-visual {
    overflow: hidden;
    border-radius: var(--radius-card);
}
.marketing-service-visual img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* 7. Interior heroes */
.page-header {
    position: relative;
    overflow: hidden;
    padding-block: 68px;
    background: var(--surface-soft);
}
.page-header-bg {
    position: absolute;
    inset: 0;
    opacity: 0.25;
    background: linear-gradient(
        110deg,
        rgba(7, 107, 107, 0.12),
        rgba(8, 207, 204, 0.14)
    );
}
.page-header-content {
    position: relative;
}
.page-title {
    max-width: 760px;
    margin-bottom: 16px;
    font-size: clamp(2.35rem, 4.2vw, 4rem);
}
.page-subtitle {
    color: var(--text-muted);
    font-size: 17px;
}
.page-header-contact .contact-intake-status {
    width: fit-content;
    margin-top: 16px;
    padding: 7px 11px;
    border-left: 3px solid var(--accent);
    background: rgba(255, 255, 255, 0.52);
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}
.audience-header {
    color: var(--text);
    background: var(--surface-soft);
}
.audience-header .page-title {
    color: var(--ink-strong);
}
.audience-header .page-subtitle,
.audience-header .audience-switch-link {
    color: var(--text-muted);
}
.audience-header-home .page-header-bg {
    opacity: 1;
    background: linear-gradient(
        110deg,
        rgba(50, 101, 129, 0.12),
        transparent 68%
    );
}
.audience-header-business .page-header-bg {
    opacity: 1;
    background: linear-gradient(
        110deg,
        rgba(8, 207, 204, 0.1),
        transparent 68%
    );
}
.audience-header-home .section-label,
.audience-header-home .gradient-text {
    color: var(--accent-text);
}
.audience-header-business .section-label,
.audience-header-business .gradient-text,
.audience-header-business .audience-switch-link a {
    color: var(--business-text);
}
.audience-header-business .btn-primary {
    background: var(--business-text);
}
.audience-header-business .btn-primary:hover {
    background: var(--brand-hover);
}
.audience-switch-link {
    margin-top: 14px;
    font-size: 14px;
}
.audience-switch-link a,
.contact-switch-service a,
.customer-contact-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* 8. Cards and page components */
.card,
.editorial-card,
.action-card,
.pricing-card,
.form-card,
.customer-form-card,
.auth-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
}
.card,
.editorial-card,
.form-card,
.customer-form-card {
    padding: 30px;
}
.card-title,
.editorial-card h3,
.action-card h3 {
    margin-bottom: 10px;
    font-size: 21px;
}
.card-desc,
.editorial-card p,
.action-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
}
.card-icon,
.ui-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--accent-text);
}
.ui-icon {
    width: 26px;
    height: 26px;
}
.card-icon svg,
.ui-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.action-card {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 32px;
}
.action-card-personal {
    border-top: 4px solid var(--accent);
}
.action-card-business {
    background: var(--business-surface);
    border-top: 4px solid var(--business);
}
.action-card-smart {
    background: var(--surface-sage);
    border-top: 4px solid var(--smart-accent);
}
.action-card-smart .card-action {
    color: var(--smart-ink);
}
.action-card-business .ui-icon,
.action-card-business .card-action {
    color: var(--business-text);
}
.card-action {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--accent-text);
    font-weight: 800;
}
.editorial-list,
.process-list {
    border-top: 1px solid var(--border);
}
.editorial-row,
.process-row {
    display: grid;
    grid-template-columns: 48px minmax(180px, 0.6fr) minmax(0, 1fr);
    gap: 20px;
    align-items: baseline;
    padding-block: 28px;
    border-bottom: 1px solid var(--border);
}
.editorial-row h3,
.process-row h3 {
    font-size: 19px;
}
.editorial-row p,
.process-row p {
    color: var(--text-muted);
    font-size: 16px;
}
.process-list-business .editorial-number {
    color: var(--business-text);
}

/* Personal identity shared across service references */
.hero-division-link-home,
.service-story-personal,
.action-card-personal {
    --accent: var(--personal-accent);
    --accent-text: var(--personal-ink);
}
.service-story-personal,
.action-card-personal {
    background: var(--personal-surface);
}
.business-page .audience-switch-link .personal-service-link {
    color: var(--personal-ink);
}

/* Personal: soft blue surfaces and a reassuring slate-blue accent */
.personal-page main {
    --canvas: var(--personal-surface);
    --surface: #ffffff;
    --surface-soft: #eaf3f8;
    --accent: var(--personal-accent);
    --accent-text: var(--personal-ink);
    --border: #d5e3eb;
    background: var(--canvas);
}
.personal-page .service-hero-personal {
    background: linear-gradient(115deg, #f2f8fc 15%, #e1eff7 100%);
}
.personal-page .audience-card {
    background: var(--surface);
    border-color: #dce8ef;
    box-shadow: 0 5px 20px rgba(50, 101, 129, 0.04);
}
.personal-page .home-pricing-section {
    background: #f2f8fc;
}
.personal-page main .btn-primary:hover {
    background: var(--personal-hover);
    filter: none;
}
.personal-page .personal-smart-callout {
    --accent-text: var(--smart-ink);
    background: var(--surface-sage);
}
.personal-page .personal-smart-callout .btn-primary:hover {
    background: var(--smart-hover);
}

/* Personal and Business pages */
.audience-card {
    min-height: 230px;
}
@media (min-width: 701px) {
    .audience-card-wide {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 48px minmax(220px, 0.45fr) minmax(0, 1fr);
        column-gap: 24px;
        align-items: center;
        min-height: 0;
    }
    .audience-card-wide .card-icon,
    .audience-card-wide .card-title {
        margin-bottom: 0;
    }
}
.business-page main .section-label,
.business-page main .gradient-text,
.audience-header-business + .audience-orientation .section-label,
.audience-header-business ~ .audience-section .card-icon {
    color: var(--business-text);
}
.audience-orientation {
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}
.audience-orientation-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
    gap: 56px;
    padding-block: 46px;
}
.audience-orientation-copy {
    padding-left: 24px;
    border-left: 3px solid var(--business);
}
.audience-orientation-copy p + p {
    margin-top: 14px;
}
.home-pricing-section {
    padding-top: var(--section);
}
.home-pricing-panel {
    padding: 38px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-card);
    background: var(--surface);
}
.home-pricing-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: start;
}
.home-pricing-panel .section-title {
    font-size: clamp(2.25rem, 3.2vw, 3rem);
    line-height: 1.1;
}
.home-pricing-copy p {
    max-width: var(--reading);
    color: var(--text-muted);
}
.home-pricing-rate {
    text-align: right;
}
.home-pricing-rate .pricing-amount {
    color: var(--accent-text);
}
.audience-process-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
    gap: 70px;
}
.audience-process-layout .section-desc + .btn {
    margin-top: 22px;
}
.audience-steps {
    border-top: 1px solid var(--border);
}
.audience-steps-intro {
    margin-top: 11px;
    margin-bottom: 24px;
    color: var(--text-muted);
}
.audience-step {
    display: grid;
    grid-template-columns: 44px 180px minmax(0, 1fr);
    gap: 18px;
    padding-block: 24px;
    border-bottom: 1px solid var(--border);
}
.audience-step > strong {
    color: var(--accent-text);
    font-size: 12px;
}
.audience-step h3 {
    font-size: 18px;
}
.audience-step p {
    color: var(--text-muted);
    font-size: 15px;
}
.audience-process-business .gradient-text,
.audience-process-business .audience-step > strong,
.audience-process-business .audience-switch-link a {
    color: var(--business-text);
}
.audience-process-business .btn-primary {
    background: var(--business-text);
}
.audience-process-business .btn-primary:hover {
    background: var(--brand-hover);
}

/* Services and About */
.division-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.division-switch-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-area-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
    gap: 40px;
    align-items: start;
}
.service-area-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--border);
}
.service-area-list li {
    padding-block: 10px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 15px;
}
.service-area-map {
    --map-header: 68px;
    height: 480px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface-soft);
}
/* My Maps has no option to hide its title bar, so shift it out of the clipped frame */
.service-area-map iframe {
    display: block;
    height: calc(100% + var(--map-header));
    margin-top: calc(var(--map-header) * -1);
    pointer-events: none;
}
.service-area-map-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 15px;
}
.service-category {
    min-height: 200px;
}
.service-category .ui-icon {
    margin-bottom: 18px;
}
/* About: a short mission and scannable experience highlights */
.about-story {
    gap: clamp(32px, 5vw, 64px);
}
.about-mission .section-title {
    max-width: 16ch;
    font-size: clamp(32px, 3.6vw, 46px);
}
.mission-points {
    margin-top: 28px;
    padding: 0;
    list-style: none;
}
.mission-points li {
    padding-block: 18px;
    border-top: 1px solid var(--border);
}
.mission-points h3,
.experience-facts dt {
    color: var(--ink-strong);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
}
.mission-points p {
    margin-top: 6px;
    color: var(--text-muted);
}
.about-experience {
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid var(--border);
    border-top: 4px solid var(--accent);
    border-radius: var(--radius-card);
    background: var(--surface-soft);
}
.about-experience h2 {
    font-size: 24px;
    line-height: 1.3;
}
.experience-emphasis {
    display: block;
    margin-bottom: 4px;
    color: var(--accent-text);
    font-family: var(--font-heading);
    font-size: clamp(40px, 4vw, 52px);
    line-height: 1.1;
}
.experience-intro {
    margin-top: 16px;
    color: var(--text-muted);
}
.experience-facts {
    margin: 24px 0 0;
}
.experience-facts > div {
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.experience-facts > div + div {
    margin-top: 18px;
}
.experience-facts dd {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
}
.cta-section {
    border-block: 1px solid var(--border);
    background: var(--surface-soft);
}
.cta-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.cta-layout > div {
    max-width: var(--reading);
}

/* Pricing */
.pricing-context {
    max-width: 820px;
    margin: 0 auto 34px;
    color: var(--text-muted);
    text-align: center;
}
.pricing-section-title {
    margin-bottom: 10px;
    text-align: center;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-top: 4px solid var(--business);
}
.pricing-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}
@supports (grid-template-rows: subgrid) {
    @media (min-width: 1025px) {
        .pricing-card {
            display: grid;
            grid-template-rows: subgrid;
            grid-row: span 6;
            row-gap: 0;
        }
        .pricing-card .pricing-desc,
        .pricing-card .pricing-price {
            min-height: 0;
        }
    }
}
.pricing-name {
    margin-bottom: 9px;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
}
.pricing-name:has(+ .pricing-tagline) {
    margin-bottom: 2px;
}
.pricing-tagline {
    margin-bottom: 12px;
    color: var(--business-text);
    font-size: 14px;
    font-weight: 700;
}
.pricing-desc {
    min-height: 130px;
    margin-bottom: 22px;
    color: var(--text-muted);
    font-size: 14px;
}
.pricing-price {
    min-height: 98px;
    margin-bottom: 22px;
}
.pricing-amount {
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}
.pricing-amount span {
    font-size: 24px;
}
.pricing-period {
    margin-top: 6px;
    color: var(--text-subtle);
    font-size: 14px;
}
.pricing-eyebrow {
    margin-bottom: 6px;
    color: var(--text-subtle);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.pricing-note {
    margin-top: 4px;
    color: var(--text-subtle);
    font-size: 12px;
    font-style: italic;
}
.pricing-tiers {
    width: 100%;
    margin: -8px 0 22px;
    border-collapse: collapse;
    font-size: 13px;
}
.pricing-tiers caption {
    margin-bottom: 6px;
    color: var(--text-subtle);
    font-size: 12px;
    font-weight: 700;
    text-align: left;
}
.pricing-tiers th,
.pricing-tiers td {
    padding: 6px 4px;
    border-bottom: 1px solid var(--border);
    text-align: right;
}
.pricing-tiers th:first-child {
    text-align: left;
}
.pricing-tiers thead th {
    color: var(--text-subtle);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.pricing-tiers tbody th {
    color: var(--ink);
    font-weight: 700;
}
.pricing-tiers td {
    color: var(--text-muted);
}
.pricing-tiers td:last-child {
    color: var(--business-text);
    font-weight: 700;
}
.pricing-tiers:has(+ .pricing-tiers-note) {
    margin-bottom: 6px;
}
.pricing-tiers-note {
    margin-bottom: 22px;
    color: var(--text-subtle);
    font-size: 12px;
}
.pricing-features {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}
.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.45;
}
.pricing-feature .check,
.pricing-feature .cross {
    display: grid;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    place-items: center;
    margin-top: 1px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
}
.pricing-feature .check {
    background: rgba(8, 207, 204, 0.16);
    color: var(--business-text);
}
.pricing-feature .cross {
    background: rgba(30, 43, 47, 0.09);
    color: var(--text-subtle);
}
.pricing-feature.dimmed {
    color: var(--text-subtle);
}
.pricing-details {
    display: block;
    margin-top: 4px;
    border-top: 1px solid var(--border);
}
.pricing-details summary {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    color: var(--business-text);
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    list-style: none;
}
.pricing-more {
    display: grid;
    gap: 10px;
    padding-bottom: 10px;
}
.pricing-details:not([open]) .pricing-more {
    display: none;
}
.pricing-details summary::after {
    content: '+';
    font-size: 20px;
}
.pricing-details[open] summary::after {
    content: '−';
}
.pricing-cta {
    margin-top: auto;
}
.custom-note {
    margin-top: 30px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface-soft);
    text-align: center;
}
.custom-note p {
    color: var(--text-muted);
    font-size: 14px;
}
.custom-note a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--business-text);
    font-weight: 800;
}
.package-situations-section,
.package-focused-section,
.package-faq-section,
.package-final-cta-section {
    padding-block: 82px;
}
.package-situations-section {
    border-top: 1px solid var(--border);
}

.package-faq-section {
    border-block: 1px solid var(--border);
    background: var(--surface-soft);
}
.package-situations-section .section-header,
.package-focused-section .section-header {
    max-width: 780px;
}
.package-situations-section .section-label,
.package-focused-section .section-label,
.package-faq-section .section-label,
.package-final-cta-section .section-label {
    color: var(--business-text);
}
.package-situation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.package-situation-card {
    display: grid;
    min-width: 0;
    grid-template-rows: auto auto auto 1fr auto;
    align-items: start;
    padding: 30px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--business);
    border-radius: var(--radius-card);
    background: var(--surface);
}
.package-story-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    color: var(--business-text);
}
.package-story-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.package-situation-card > h3 {
    margin: 18px 0 10px;
    font-size: 23px;
}
.package-situation-card > p,
.package-recommendation p,
.package-focused-card p,
.package-custom-callout p,
.package-faq-answer p,
.package-final-cta p {
    color: var(--text-muted);
}
.package-recommendation {
    width: 100%;
    margin-top: 24px;
    padding: 20px 0 4px;
    border-top: 1px solid var(--border);
}
.package-recommendation > span {
    display: block;
    margin-bottom: 7px;
    color: var(--business-text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.package-recommendation > strong {
    display: block;
    margin-bottom: 9px;
    color: var(--ink);
    font-size: 20px;
}
.package-situation-card > .btn {
    align-self: start;
    margin-top: 24px;
}

.package-custom-callout h3 {
    font-size: 20px;
}
.package-focused-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.package-focused-card {
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
}
.package-focused-card .package-story-icon {
    width: 36px;
    height: 36px;
}
.package-focused-card h3 {
    margin: 17px 0 9px;
    font-size: 19px;
}
.package-focused-card p,
.package-recommendation p,
.package-custom-callout p {
    font-size: 14px;
}
.package-custom-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 32px;
    padding: 24px 28px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--business);
    background: var(--surface-soft);
}
.package-custom-callout > div:first-child {
    max-width: 600px;
}
.package-custom-callout h3 {
    margin-bottom: 7px;
}
.package-custom-links {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 4px 22px;
}
.package-custom-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--business-text);
    font-size: 14px;
    font-weight: 800;
}
.package-faq-section .container {
    max-width: 820px;
}
.package-faq-list {
    border-top: 1px solid var(--border);
}
.package-faq-item {
    border-bottom: 1px solid var(--border);
}
.package-faq-item h3 {
    font-size: 16px;
}
.package-faq-item button {
    display: flex;
    width: 100%;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    font-weight: 800;
}
.package-faq-item button::after {
    flex: 0 0 auto;
    color: var(--business-text);
    content: '+';
    font-size: 22px;
}
.package-faq-item button[aria-expanded='true']::after {
    content: '−';
}
.package-faq-answer p {
    max-width: 760px;
    padding-bottom: 22px;
}
.package-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding-block: 42px;
    border-block: 1px solid var(--border);
}
.package-final-cta > div:first-child {
    max-width: 680px;
}
.package-final-cta h2 {
    margin: 7px 0 12px;
    font-size: clamp(2rem, 4vw, 3.2rem);
}
.package-final-actions {
    display: grid;
    flex: 0 0 auto;
    justify-items: center;
    gap: 6px;
}

/* 9. Forms and access */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
    gap: 24px clamp(36px, 6vw, 72px);
    align-items: start;
}
.contact-layout .form-context {
    grid-column: 1;
}
.contact-layout .form-card {
    grid-column: 2;
    grid-row: 1;
}
body[data-audience='business'] .page-header-contact .section-label,
body[data-audience='business'] .page-header-contact .gradient-text,
body[data-audience='business'] .form-context .section-label {
    color: var(--business-text);
}
body[data-audience='business'] .page-header-contact .contact-intake-status,
body[data-audience='business'] .form-card {
    border-color: var(--business);
}
body[data-audience='business'] .form-card .btn-primary {
    background: var(--business-text);
}
body[data-audience='business'] .form-card .btn-primary:hover {
    background: var(--brand-hover);
}
.form-card h2,
.customer-form-card h2 {
    margin-bottom: 10px;
    font-size: 28px;
}
.form-card > p,
.customer-form-card > p {
    margin-bottom: 24px;
    color: var(--text-muted);
}
.form-context > * + * {
    margin-top: 20px;
}
.form-context-list {
    display: grid;
    gap: 15px;
}
.form-context-list li {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 10px;
    color: var(--text-muted);
}
.contact-phone {
    display: grid;
    gap: 2px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.contact-phone-label {
    color: var(--text-subtle);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.contact-phone a {
    width: fit-content;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
}
.contact-phone a:hover {
    color: var(--business-text);
}
.contact-phone-note {
    color: var(--text-muted);
    font-size: 14px;
}
#contactForm > .btn + .btn {
    margin-top: 12px;
}
.form-success {
    margin-bottom: 16px;
    padding: 16px;
    border-left: 3px solid var(--smart-ink);
    background: var(--surface-sage);
    color: var(--smart-hover);
    font-weight: 700;
}
.btn:disabled {
    opacity: 0.65;
    cursor: wait;
}
.contact-switch-service,
#contactForm > p {
    margin-top: 16px;
    color: var(--text-subtle);
    font-size: 14px;
    text-align: center;
}
.customer-section {
    padding-block: var(--section);
}
.customer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 64px;
    align-items: start;
}
.customer-intro,
.customer-side-intro,
.customer-note {
    color: var(--text-muted);
}
.customer-side {
    display: grid;
    gap: 20px;
}
.customer-contact-link {
    display: grid;
    min-height: 64px;
    grid-template-columns: 24px minmax(0, 1fr) 20px;
    gap: 14px;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-control);
    text-decoration: none;
}
.customer-contact-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.45;
}
.customer-contact-copy > span {
    overflow-wrap: anywhere;
    color: var(--text-muted);
    font-size: 14px;
}
.customer-contact-arrow {
    justify-self: end;
    color: var(--business-text);
}
.customer-note {
    padding: 20px;
    border-left: 3px solid var(--accent);
    background: var(--surface-soft);
    font-size: 14px;
}
/* Preserve the existing portal sign-in palette. */
.auth-page {
    --canvas: #f7f1e8;
    --surface: #fffaf4;
    --surface-soft: #f1e9de;
    --accent: #c98d6a;
    --accent-text: #92553f;
    padding: 64px 20px 72px;
    background: var(--surface);
}
.auth-panel {
    background: rgba(255, 250, 244, 0.88);
    width: min(100%, 480px);
    margin-inline: auto;
    padding: 38px;
    border-top: 4px solid var(--business);
    box-shadow: 0 18px 45px rgba(15, 26, 29, 0.1);
}
.auth-panel h1 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.12;
}
.auth-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid rgba(7, 107, 107, 0.28);
    border-radius: var(--radius-control);
    background: rgba(8, 207, 204, 0.1);
    color: var(--business-text);
}
.auth-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.auth-panel .section-label {
    display: block;
    color: var(--business-text);
}
.auth-intro {
    max-width: 400px;
    color: var(--text-muted);
}
.auth-form {
    margin-top: 30px;
}
.auth-form .form-group {
    margin-bottom: 18px;
}
.auth-submit {
    width: 100%;
    margin-top: 4px;
}
.auth-status {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(168, 60, 53, 0.3);
    border-left: 3px solid #a83c35;
    background: rgba(168, 60, 53, 0.06);
    color: var(--ink);
    font-size: 14px;
    line-height: 1.55;
}
.auth-support {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}
.auth-support-title {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.3;
}
.auth-support-options {
    display: grid;
    gap: 12px;
}
.auth-support-option {
    padding: 13px 15px;
    border-left: 3px solid var(--business);
    background: var(--surface-soft);
}
.auth-support-option strong {
    display: block;
    color: var(--ink);
    font-size: 14px;
}
.auth-support-option p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}
.auth-support-option a {
    color: var(--business-text);
    font-weight: 800;
}

/* 10. Footer */
.footer {
    padding-block: 48px 28px;
    background: linear-gradient(180deg, #1c2b2f, var(--nav));
    color: rgba(255, 255, 255, 0.78);
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.5fr) repeat(4, minmax(120px, 0.7fr));
    gap: 32px;
    margin-bottom: 32px;
}
.footer-brand {
    min-width: 0;
    align-self: start;
}
.footer-logo {
    margin-bottom: 18px;
}
.footer-logo-image {
    width: min(100%, 210px);
    height: auto;
}
.footer-brand p {
    max-width: 30ch;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.7;
}
.footer-contact {
    margin-top: 24px;
    font-size: 14px;
    font-style: normal;
}
.footer-contact-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-contact-list li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
}
.footer-contact-list svg {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    fill: none;
    stroke: rgba(255, 255, 255, 0.66);
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.footer-contact-list a {
    color: rgba(255, 255, 255, 0.9);
    overflow-wrap: anywhere;
}
.footer-contact-list span > a {
    display: block;
    width: fit-content;
    color: var(--business);
}
.footer-contact-list span > a[href^='tel:'] {
    display: inline;
    color: rgba(255, 255, 255, 0.9);
}
.footer-contact-label {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}
.footer-contact-note {
    color: rgba(255, 255, 255, 0.65);
    white-space: nowrap;
}
.footer-contact-list a:hover {
    color: var(--white);
}
.footer-col-title {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.footer-links {
    display: grid;
}
.footer-links a,
.footer-bottom-links button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
}
.footer-links a:hover,
.footer-bottom-links button:hover {
    color: var(--white);
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
}
.footer-bottom-links {
    display: flex;
    gap: 16px;
}
.footer-bottom-links button {
    padding: 0;
    background: transparent;
    cursor: pointer;
}
.footer-dialog {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
}
.footer-dialog::backdrop {
    background: rgba(15, 26, 29, 0.62);
}
.footer-dialog-content {
    position: relative;
    width: min(420px, calc(100vw - 32px));
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow);
}
.footer-dialog-label {
    margin-bottom: 8px;
    color: var(--accent-text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.footer-dialog h2 {
    margin-bottom: 12px;
    font-size: 28px;
}
.footer-dialog-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    background: transparent;
    color: var(--text-muted);
    font-size: 26px;
    cursor: pointer;
}

/* 11. Responsive rules */
@media (max-width: 1080px) {
    :root {
        --nav-height: 78px;
    }
    .nav-links {
        display: none;
    }
    .nav-menu-btn {
        display: flex;
    }
}

@media (max-width: 1024px) {
    :root {
        --section: 72px;
    }
    .nav-logo {
        flex-basis: 220px;
    }
    .nav-logo-image {
        width: 220px;
    }
    .nav-link {
        padding-inline: 8px;
        font-size: 13px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .package-focused-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-desc,
    .pricing-price {
        min-height: 0;
    }
}

@media (max-width: 900px) {
    .division-switch-three {
        grid-template-columns: 1fr;
    }
    .hero-division-context {
        min-height: 3.3em;
    }
    .hero-division-name {
        min-height: 3.6em;
    }
    .hero-division-detail {
        min-height: 4.95em;
    }
    .grid-3,
    .service-category-grid,
    .audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .layout-2,
    .marketing-service-layout,
    .marketing-service-reversed,
    .audience-process-layout,
    .service-area-layout {
        grid-template-columns: 1fr;
    }
    .marketing-service-copy,
    .marketing-service-reversed .marketing-service-copy,
    .marketing-service-visual,
    .marketing-service-reversed .marketing-service-visual {
        order: initial;
    }
    .contact-layout,
    .customer-layout {
        grid-template-columns: 1fr;
    }
    .contact-layout .form-card,
    .contact-layout .form-context {
        grid-column: 1;
        grid-row: auto;
    }
    .contact-layout .form-card {
        order: 1;
    }
    .contact-layout .form-context {
        order: 2;
    }
}

@media (max-width: 700px) {
    :root {
        --section: 56px;
        --section-small: 48px;
    }
    .reveal-enabled [data-reveal] {
        transition-delay: 0ms;
    }
    .container,
    .nav-inner {
        width: min(100% - 40px, var(--content));
    }
    .section-compact {
        padding-block: 48px;
    }
    .business-local-nav-inner {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .business-local-nav a {
        min-height: 44px;
        justify-content: center;
        padding-inline: 6px;
        font-size: 12px;
        text-align: center;
        white-space: normal;
    }
    .business-local-nav a.active::after {
        right: 10px;
        left: 10px;
    }
    .grid-3,
    .service-category-grid,
    .audience-grid,
    .division-switch,
    .hero-division-links,
    .audience-orientation-layout {
        grid-template-columns: 1fr;
    }
    .hero {
        padding-block: 56px 64px;
    }
    .hero-title {
        font-size: clamp(3rem, 15vw, 4.5rem);
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .hero-division-links {
        margin-top: 32px;
    }
    .hero-division-link {
        min-height: 230px;
    }
    .hero-division-context,
    .hero-division-name,
    .hero-division-detail {
        min-height: 0;
    }
    .relationship-statement {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .page-header {
        padding-block: 44px;
    }
    .page-title {
        margin-bottom: 12px;
        font-size: 34px;
    }
    .page-subtitle {
        font-size: 16px;
        line-height: 1.55;
    }
    .section-title {
        font-size: 32px;
    }
    .editorial-row,
    .process-row {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 8px 14px;
        padding-block: 22px;
    }
    .editorial-row p,
    .process-row p {
        grid-column: 2;
    }
    .cta-layout,
    .package-final-cta {
        align-items: flex-start;
        flex-direction: column;
    }
    .home-pricing-heading-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .home-pricing-rate {
        text-align: left;
    }
    .audience-step {
        grid-template-columns: 36px minmax(0, 1fr);
    }
    .audience-step p {
        grid-column: 2;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-desc,
    .pricing-price {
        min-height: 0;
    }
    .package-situations-section,
    .package-focused-section,
    .package-faq-section,
    .package-final-cta-section {
        padding-block: 56px;
    }
    .package-situation-grid,
    .package-focused-grid {
        grid-template-columns: 1fr;
    }
    .package-situation-card,
    .package-focused-card {
        padding: 22px;
    }
    .package-custom-callout {
        padding: 22px;
    }
    .package-custom-callout {
        align-items: flex-start;
        flex-direction: column;
    }
    .package-custom-links {
        width: 100%;
        flex-direction: column;
        gap: 0;
    }
    .package-final-actions {
        width: 100%;
        justify-items: start;
    }
    .footer {
        padding-block: 36px 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px 18px;
        margin-bottom: 24px;
    }
    .footer-brand {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        align-items: center;
    }
    .footer-logo {
        margin: 0;
    }
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .auth-page {
        padding-block: 48px;
    }
    .auth-panel {
        padding: 28px;
    }
    .home-pricing-panel,
    .form-card {
        padding: 24px;
    }
    .home-pricing-panel .section-title {
        font-size: 32px;
    }
}

@media (max-width: 359px) {
    .container,
    .nav-inner {
        width: min(100% - 32px, var(--content));
    }
    .nav-logo-image {
        width: 40px;
    }
    .footer-brand {
        grid-template-columns: 1fr;
    }
}

/* Essentiv Smart Home */
.hero-division-link-smart {
    border-bottom: 4px solid var(--smart-accent);
    background: #a7c1ae;
}
.hero-division-link-smart::after {
    background: linear-gradient(
        180deg,
        transparent 10%,
        rgba(19, 43, 30, 0.92)
    );
}
.hero-division-link-smart .hero-division-image {
    object-position: center 25%;
}
.smart-home-page main,
.smart-home-feature {
    --accent: var(--smart-accent);
    --accent-text: var(--smart-ink);
}
.smart-home-feature {
    background: var(--surface-sage);
}
.smart-home-feature .section-label,
.smart-home-feature .gradient-text,
.smart-home-page .section-label,
.smart-home-page .gradient-text {
    color: var(--smart-ink);
}
.smart-home-feature .btn-primary,
.smart-home-page .btn-primary,
body[data-audience='smart-home'] .btn-primary {
    background: var(--smart-ink);
}
.smart-home-feature .btn-primary:hover,
.smart-home-page .btn-primary:hover,
body[data-audience='smart-home'] .btn-primary:hover {
    background: var(--smart-hover);
}
.service-hero {
    --service-accent: var(--accent-text);
    padding-block: 70px 76px;
    background: var(--canvas);
}
.service-hero-smart {
    --service-hover: var(--smart-hover);
    background: var(--surface-sage);
    --service-accent: var(--smart-ink);
}
.service-hero-business {
    background: var(--business-surface);
    --service-accent: var(--business-text);
}
.service-hero .section-label,
.service-hero .gradient-text {
    color: var(--service-accent);
}
.service-hero .btn-primary {
    background: var(--service-accent);
}
.service-hero .btn-primary:hover {
    background: var(--service-hover, var(--brand-hover));
    filter: none;
}
.service-hero-photo img {
    aspect-ratio: 9 / 7;
    object-fit: cover;
    border-radius: 28px;
}
.service-hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}
.service-hero .page-title {
    font-size: clamp(36px, 4.3vw, 56px);
    max-width: 650px;
}
.service-hero .page-subtitle {
    margin-top: 24px;
    font-size: 20px;
}
.service-intro {
    margin-top: 18px;
    max-width: 520px;
    color: var(--text-muted);
}
.service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
}
.service-text-link {
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.service-local {
    margin-top: 24px;
    font-size: 12px;
    color: var(--text-muted);
}
.service-local a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.service-hero-art {
    margin: 0;
}
.service-hero-art img {
    width: 100%;
    height: auto;
}
.service-hero-art figcaption {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--service-accent);
}
.smart-home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 32px;
}
.smart-home-service {
    padding-top: 22px;
    border-top: 1px solid #a5b5a7;
}
.smart-home-number {
    display: block;
    margin-bottom: 16px;
    color: var(--smart-accent);
    font-size: 13px;
    font-weight: 800;
}
.smart-home-service h3,
.smart-home-routines h3 {
    margin-bottom: 12px;
    font-size: 24px;
}
.smart-home-service p,
.smart-home-routines p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}
.smart-home-routines {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.smart-home-routines article {
    padding: 30px;
    background: var(--surface-sage);
    border-radius: var(--radius-card);
}
.smart-home-routines .section-label {
    margin-bottom: 28px;
}
.smart-home-callout {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}
.smart-home-callout > div {
    max-width: 700px;
}
.smart-home-callout > .btn {
    flex-shrink: 0;
}
.smart-home-faq {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 60px;
}
.smart-home-questions details {
    border-bottom: 1px solid var(--border);
}
.smart-home-questions details:first-child {
    border-top: 1px solid var(--border);
}
.smart-home-questions summary {
    padding: 22px 6px;
    cursor: pointer;
    font-weight: 700;
}
.smart-home-questions details p {
    padding: 0 6px 24px;
    color: var(--text-muted);
}
body[data-audience='smart-home'] .section-label,
body[data-audience='smart-home'] .gradient-text {
    color: var(--smart-ink);
}
body[data-audience='smart-home'] .form-card {
    border-color: var(--smart-accent);
}
@media (min-width: 1081px) and (max-width: 1200px) {
    .nav-logo {
        flex-basis: 210px;
    }
    .nav-logo-image {
        width: 210px;
    }
    .nav-link {
        padding-inline: 8px;
    }
}
@media (max-width: 900px) {
    .service-hero-layout,
    .smart-home-faq {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .service-hero-art {
        max-width: 600px;
        margin-inline: auto;
    }
    .smart-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .smart-home-routines {
        grid-template-columns: 1fr;
    }
    .smart-home-callout {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}
@media (max-width: 700px) {
    .hero-division-links {
        grid-template-columns: 1fr;
    }
    .hero-division-name {
        font-size: 27px;
    }
    .service-hero {
        padding-block: 48px;
    }
    .smart-home-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .service-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* 12. Reduced-motion rules */
@media (prefers-reduced-motion: reduce) {
    .reveal-enabled [data-reveal],
    .reveal-enabled [data-reveal].is-revealed {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        scroll-behavior: auto;
        transition-duration: 0.01ms;
    }
}
