/* LIVORK Solutions — Homepage v2 (mockup layout) */

.home-v2 {
    --home-navy: #0a2744;
    --home-navy-deep: #071c33;
    --home-gold: #e89a1a;
    --home-gold-bright: #f5b034;
    --home-gold-glow: rgba(232, 154, 26, 0.55);
    --home-ink: #121820;
    --home-muted: #4e5864;
    --home-wash: #f2ebe3;
    --home-line: #e4ddd3;
    background: var(--home-wash);
}

.is-home-v2 {
    --header-h: 74px;
    scroll-padding-top: 74px;
    background: #f2ebe3;
}

.is-home-v2 .site-backdrop {
    display: none;
}

/* ---- Header v2 — beige bar, dark labels, soft light & shadow ---- */
.site-header--v2 {
    --header-h: 74px;
    height: 74px;
    background:
        linear-gradient(180deg, #fffaf3 0%, #f2ebe3 48%, #ebe2d6 100%);
    border-bottom: 1px solid rgba(18, 24, 32, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 10px 28px rgba(10, 39, 68, 0.10),
        0 2px 8px rgba(18, 24, 32, 0.06);
}

.site-header--v2.site-header--hero {
    background:
        linear-gradient(180deg, #fffaf3 0%, #f2ebe3 48%, #ebe2d6 100%);
}

.site-header--v2.site-header--hero.is-scrolled {
    background:
        linear-gradient(180deg, #fffaf3 0%, #f2ebe3 55%, #e8dfd3 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 12px 32px rgba(10, 39, 68, 0.14),
        0 2px 10px rgba(18, 24, 32, 0.08);
}

.site-header__inner--v2 {
    grid-template-columns: minmax(160px, 210px) 1fr auto;
    gap: 12px;
    max-width: 1240px;
}

.site-header--v2 .site-header__logo {
    line-height: 0;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.65));
}

.site-header--v2 .livork-logo--header {
    height: 46px;
    width: auto;
    max-width: 230px;
    aspect-ratio: 818 / 193;
    object-fit: contain;
    object-position: left center;
    background: transparent;
}

.site-footer--v2 .livork-logo--footer {
    height: auto;
    width: min(100%, 220px);
    max-width: 220px;
    aspect-ratio: 818 / 193;
    object-fit: contain;
    object-position: left top;
    background: transparent;
}

/* About + video under Creating Better... */
.home-v2 .home-about-video {
    background: #f2ebe3;
    padding: clamp(48px, 7vw, 80px) 0;
}

.home-v2 .home-about-video .section-head__label span:not(.section-head__line) {
    color: #e89a1a;
    font-weight: 700;
}

.home-v2 .home-about-video .section-head__title {
    color: #0f1a2a;
}

.home-v2 .home-about-video .intro-video__text {
    color: #3a4450;
    font-size: 0.92rem;
}

.home-v2 .home-about-video .intro-video__player {
    border: 1px solid rgba(232, 154, 26, 0.28);
    box-shadow:
        0 16px 40px rgba(10, 22, 40, 0.12),
        0 0 24px rgba(232, 154, 26, 0.12);
    background: var(--home-navy-deep);
}

.home-v2 .home-about-video .btn--outline {
    color: #0a1622;
    border-color: #e89a1a;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 6px 18px rgba(232, 154, 26, 0.18);
}

.home-v2 .home-about-video .btn--outline:hover {
    background: #e89a1a;
    color: #071018;
}

.site-header--v2 .site-nav--v2 {
    gap: 0;
    justify-self: center;
    align-items: center;
}

.site-header--v2 .site-nav--v2 > * {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-inline: clamp(8px, 1.1vw, 14px);
}

/* Barrinha dourada entre os nomes do menu */
.site-header--v2 .site-nav--v2 > *:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5px;
    height: 14px;
    border-radius: 1px;
    background: linear-gradient(180deg, #f5b034, #e89a1a 55%, #c57a12);
    box-shadow: 0 0 6px rgba(232, 154, 26, 0.45);
    pointer-events: none;
    z-index: 1;
}

.site-header--v2 .site-nav__link {
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    color: #1a2430 !important;
    padding: 7px 10px !important;
    border-radius: 4px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) !important;
    transition: color 0.2s ease, background 0.2s ease, text-shadow 0.2s ease !important;
}

.site-header--v2 .site-nav__link:hover,
.site-header--v2 .site-nav__link.is-active {
    color: var(--home-gold-bright, #f5b034) !important;
    background: var(--home-navy, #0a2744) !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

/* Desativa o underline antigo; a barrinha usa ::after nos itens do nav */
.site-header--v2 .site-nav__link::after {
    display: none;
}

.site-header--v2 .site-nav--v2 > .site-nav__link:not(:last-child)::after {
    display: block;
    bottom: auto;
    left: auto;
    width: 1.5px;
    height: 14px;
    background: linear-gradient(180deg, #f5b034, #e89a1a 55%, #c57a12);
    box-shadow: 0 0 6px rgba(232, 154, 26, 0.45);
}

.site-header--v2 .site-nav__item--has-submenu .site-nav__link--trigger::before {
    content: ' ▾';
    font-size: 0.55rem;
    opacity: 0.75;
}

.site-header__actions--v2 {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
}

.site-header--v2 .site-header__toggle {
    display: none;
}

.site-header--v2 .site-header__dashboard {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.58rem;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 3px;
    min-height: 34px;
    box-shadow: 0 4px 14px rgba(232, 154, 26, 0.28);
}

.site-header--v2 .lang-switcher__toggle {
    width: 30px;
    height: 30px;
    color: #1a2430;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(18, 24, 32, 0.1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 2px 6px rgba(10, 39, 68, 0.08);
}

.site-header--v2 .site-header__toggle span {
    background: #1a2430;
}

.is-home-v2 .site-header--v2 .site-nav__submenu {
    background: #fffaf3;
    border: 1px solid rgba(18, 24, 32, 0.1);
    box-shadow: 0 14px 30px rgba(10, 39, 68, 0.14), 0 1px 0 rgba(255,255,255,0.8) inset;
}

.is-home-v2 .site-header--v2 .site-nav__submenu .site-nav__link,
.is-home-v2 .site-header--v2 .site-nav__sublink {
    color: #0a2744 !important;
}

.is-home-v2 .site-header--v2 .site-nav__sublink:hover,
.is-home-v2 .site-header--v2 .site-nav__sublink.is-active {
    color: #e89a1a !important;
    background: rgba(10, 39, 68, 0.06) !important;
}

.is-home-v2 .site-header--v2 .lang-switcher__menu {
    background: #fffaf3;
    border: 1px solid rgba(18, 24, 32, 0.1);
    box-shadow: 0 10px 24px rgba(10, 39, 68, 0.12);
}

.is-home-v2 .site-header--v2 .lang-switcher__option {
    color: #1a2430;
}

.site-nav__link--mobile {
    display: none;
}


/* ---- Classic banner slider on home v2 ---- */
.home-v2 > .hero--cube {
    padding-top: 0;
    padding-bottom: 0;
}

.home-v2 > .hero--cube.section-block::before,
.home-v2 > .hero--cube.section-block::after {
    display: none;
}

.home-v2 .hero__intro {
    background: var(--home-navy);
}

.home-v2 .hero__intro-title {
    color: #fff;
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 12px;
}

.home-v2 .hero__lead {
    color: rgba(255, 255, 255, 0.78);
}

/* ---- Legacy split hero (unused) ---- */
.home-hero {
    margin-top: var(--header-h);
    background: var(--home-navy);
    overflow: hidden;
    padding: 0;
}

.home-hero.section-block::before,
.home-hero.section-block::after {
    display: none;
}

.home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    min-height: clamp(480px, 72vh, 640px);
    align-items: stretch;
}

.home-hero__copy {
    padding: clamp(48px, 8vw, 88px) clamp(24px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    position: relative;
    z-index: 2;
}

.home-hero__copy::after {
    content: '';
    position: absolute;
    top: 0;
    right: -80px;
    bottom: 0;
    width: 160px;
    background: var(--home-navy);
    transform: skewX(-8deg);
    z-index: -1;
}

.home-hero__title {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.home-hero__title span {
    display: block;
}

.home-hero__accent {
    color: var(--home-gold-bright);
}

.home-hero__lead {
    margin: 0 0 28px;
    max-width: 34ch;
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

.home-hero__features {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
}

.home-hero__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.9);
}

.home-hero__feat-ico {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(197, 160, 89, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--home-gold);
}

.home-hero__feat-ico svg {
    width: 18px;
    height: 18px;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-hero__cta-secondary.btn--outline {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.home-hero__cta-secondary.btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
    color: #fff;
}

.home-hero__visual {
    position: relative;
    min-height: 320px;
}

.home-hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- Services grid (mockup) ---- */
.home-services {
    background: #f2ebe3;
    padding: clamp(64px, 9vw, 110px) 0 clamp(56px, 8vw, 88px);
}

.home-services.section-block::before,
.home-services.section-block::after {
    display: none;
}

.home-services .container {
    max-width: 1240px;
}

.home-services__head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 44px;
}

.home-services__label {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e89a2e;
}

.home-services__title {
    margin: 0;
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 700;
    line-height: 1.28;
    color: #1a2433;
}

.home-services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 10px;
}

.home-service-card {
    border-radius: 14px;
    overflow: visible;
    background: var(--home-navy);
    box-shadow: 0 12px 28px rgba(10, 22, 34, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(10, 22, 34, 0.2);
}

.home-service-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: #fff;
    border-radius: 14px;
    overflow: visible;
    background: var(--home-navy);
    position: relative;
}

.home-service-card__media {
    position: relative;
    overflow: visible;
    z-index: 3;
}

.home-service-card__photo {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    background: #111;
}

.home-service-card__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

.home-service-card:hover .home-service-card__bg {
    transform: scale(1.04);
}

.home-service-card__icon {
    position: absolute;
    left: 16px;
    bottom: -34px;
    width: 64px;
    height: 64px;
    object-fit: contain;
    z-index: 8;
    pointer-events: none;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
}

.home-service-card__body {
    position: relative;
    z-index: 2;
    background: var(--home-navy);
    padding: 40px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    border-radius: 0 0 14px 14px;
}

.home-service-card h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

.home-service-card p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
    flex: 1;
}

.home-service-card__more {
    margin-top: 4px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #e89a2e;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: none;
    letter-spacing: 0;
}

.home-service-card__more svg {
    width: 14px;
    height: 14px;
}

/* ---- Why choose banner (inside services) ---- */
.home-why-banner {
    margin-top: 34px;
    background: var(--home-navy);
    border-radius: 14px;
    padding: 20px 22px;
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
    gap: 16px 20px;
    align-items: center;
    color: #fff;
    box-shadow: 0 12px 28px rgba(10, 22, 34, 0.14);
    width: 100%;
    box-sizing: border-box;
}

.home-why-banner__label {
    margin: 0 0 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e89a2e;
}

.home-why-banner__title {
    margin: 0;
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
    font-weight: 600;
    line-height: 1.3;
    max-width: 16ch;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0;
}

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

@media (max-width: 700px) {
    .home-why-banner__title-line {
        white-space: normal;
    }
}

.home-why-banner__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.home-why-banner__item {
    text-align: center;
    padding: 6px 12px;
    border-left: 1px solid rgba(232, 154, 46, 0.35);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.25;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.home-why-banner__item:first-child {
    border-left: 0;
}

.home-why-banner__text {
    display: block;
    line-height: 1.25;
}

.home-why-banner__ico {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e89a2e;
    width: 52px;
    height: 52px;
}

.home-why-banner__ico img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.home-why-banner__ico svg {
    width: 48px;
    height: 48px;
}

/* legacy why block kept hidden if present */
.home-why {
    display: none;
}

/* ---- Projects carousel ---- */
.home-projects {
    background: var(--home-wash);
    padding: clamp(56px, 8vw, 88px) 0 clamp(40px, 6vw, 56px);
}

.home-projects .section-head {
    margin-bottom: 28px;
}

.home-projects .section-head__label span:not(.section-head__line) {
    color: #d4a03c;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.home-projects .section-head__line {
    background: rgba(212, 160, 60, 0.35);
    max-width: 72px;
}

.home-projects .section-head__title {
    color: #1a1a1a;
    font-weight: 700;
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
}

.home-projects__carousel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    margin-top: 28px;
}

.home-projects__track-wrap {
    overflow: hidden;
    container-type: inline-size;
    container-name: projects-track;
}

.home-projects__track {
    display: flex;
    gap: 0;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.home-projects__track.is-marquee {
    /* Continuous loop — JS drives transform; class kept for reduced-motion hooks */
    animation: none;
}

.home-projects__carousel.is-paused .home-projects__track.is-marquee {
    /* pause handled in JS */
}

@keyframes homeProjectsMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.home-project-card {
    flex: 0 0 clamp(200px, 20vw, 260px);
    min-width: 0;
    max-width: none;
    border-radius: 0;
    overflow: hidden;
    background: #111;
    box-shadow: none;
}

.home-project-card a {
    display: block;
    position: relative;
    text-decoration: none;
    color: #fff;
}

.home-project-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.home-project-card__title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 14px 14px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.28) 55%, transparent 100%);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

.home-projects__nav {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #d0d0d0;
    background: #fff;
    color: #4a4a4a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.home-projects__nav:hover {
    border-color: #b0b0b0;
    color: #1a1a1a;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.home-projects__nav svg {
    width: 16px;
    height: 16px;
}

.home-projects .section-cta {
    margin-top: 28px;
    text-align: center;
}

.home-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--home-navy);
    text-decoration: none;
}

.home-link-arrow--projects {
    color: #3d6eb5;
    letter-spacing: 0.08em;
}

.home-link-arrow--projects:hover {
    color: #2b5590;
}

.home-link-arrow:hover {
    color: var(--home-gold-bright);
}

/* ---- Process ---- */
.home-process {
    background: var(--home-wash);
    padding: clamp(40px, 6vw, 64px) 0 clamp(56px, 8vw, 88px);
}

.home-process .section-head {
    margin-bottom: 36px;
}

.home-process .section-head__label span:not(.section-head__line) {
    color: #d4a03c;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.home-process .section-head__line {
    background: rgba(212, 160, 60, 0.35);
    max-width: 72px;
}

.home-process .section-head__title {
    color: #1a1a1a;
    font-weight: 700;
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
}

.home-process__steps {
    list-style: none;
    margin: 48px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.home-process__steps::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 12.5%;
    right: 12.5%;
    border-top: 2px dotted rgba(229, 161, 31, 0.45);
    z-index: 0;
}

.home-process__step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 10px;
}

.home-process__bubble {
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 2px solid #e5a11f;
    background: var(--home-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5a11f;
    box-shadow:
        0 0 0 4px rgba(10, 22, 34, 0.2),
        0 0 18px rgba(229, 161, 31, 0.35),
        inset 0 0 16px rgba(229, 161, 31, 0.08);
}

.home-process__bubble img,
.home-process__bubble svg {
    width: 46px;
    height: 46px;
    display: block;
    object-fit: contain;
    filter:
        brightness(0)
        saturate(100%)
        invert(72%)
        sepia(68%)
        saturate(650%)
        hue-rotate(358deg)
        brightness(1.05);
}

.home-process__step h3 {
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.home-process__num {
    display: inline;
    font-size: inherit;
    font-weight: 700;
    letter-spacing: 0;
    color: #d4a03c;
    margin: 0 0.28em 0 0;
}

.home-process__step p {
    margin: 0 auto;
    max-width: 220px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #555;
}

/* ---- CTA banner ---- */
.home-cta-banner {
    position: relative;
    background: var(--home-navy);
    border-top: 3px solid var(--home-gold);
    padding: clamp(36px, 5.5vw, 52px) 0;
    color: #fff;
    overflow: hidden;
    box-shadow:
        0 -8px 28px rgba(232, 154, 26, 0.18),
        0 12px 36px rgba(0, 0, 0, 0.28);
}

.home-cta-banner__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 18% 50%, rgba(232, 154, 26, 0.2), transparent 55%),
        linear-gradient(90deg, rgba(4, 16, 32, 0.92) 0%, rgba(4, 16, 32, 0.78) 48%, rgba(4, 16, 32, 0.88) 100%),
        var(--cta-bg) center / cover no-repeat;
}

.home-cta-banner.section-block::before {
    display: none;
}

.home-cta-banner > .container {
    position: relative;
    z-index: 1;
}

.home-cta-banner__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
}

.home-cta-banner__icon {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 10px rgba(245, 176, 52, 0.55));
}

.home-cta-banner__icon img,
.home-cta-banner__icon svg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.home-cta-banner__copy h2 {
    margin: 0 0 8px;
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.home-cta-banner__copy p {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.88);
}

.home-cta-banner__copy strong {
    color: var(--home-gold-bright);
    font-weight: 700;
    text-shadow: 0 0 12px rgba(245, 176, 52, 0.45);
}

.home-cta-banner__btn {
    background: var(--home-gold) !important;
    border-color: var(--home-gold) !important;
    color: #071018 !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 22px !important;
    border-radius: 8px !important;
    box-shadow:
        0 0 0 1px rgba(255, 210, 120, 0.35),
        0 8px 24px rgba(232, 154, 26, 0.45),
        0 2px 0 rgba(255, 220, 140, 0.35) inset;
}

.home-cta-banner__btn:hover {
    background: var(--home-gold-bright) !important;
    box-shadow:
        0 0 0 1px rgba(255, 220, 150, 0.5),
        0 10px 28px rgba(245, 176, 52, 0.55);
}

/* ---- Info grid (reviews / about / contact) ---- */
.home-info {
    background: #f7f4ef;
    padding: clamp(56px, 8vw, 84px) 0;
    border-top: none;
}

.home-info__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    align-items: start;
}

.home-info__col {
    padding: 8px 28px;
    position: relative;
}

.home-info__col + .home-info__col::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--home-gold) 12%, var(--home-gold-bright) 50%, var(--home-gold) 88%, transparent);
    box-shadow:
        0 0 10px var(--home-gold-glow),
        0 0 2px rgba(232, 154, 26, 0.8);
    border-radius: 2px;
}

.home-info__heading {
    margin: 0 0 22px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--home-gold);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 16px rgba(232, 154, 26, 0.25);
}

.home-testimonial {
    margin: 0 0 16px;
    padding: 18px 18px 16px;
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow:
        0 8px 22px rgba(20, 30, 45, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.home-testimonial__quote {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--home-navy);
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

.home-testimonial p {
    margin: 0 0 14px;
    font-size: 0.82rem;
    line-height: 1.55;
    color: #3a4450;
    font-style: normal;
}

.home-testimonial footer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
}

.home-testimonial__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--home-navy);
    color: #e89a2e;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(232, 154, 26, 0.45);
}

.home-testimonial__stars {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 1px;
    line-height: 1.2;
}

.home-testimonial__star.is-on {
    color: var(--home-gold);
    text-shadow: 0 0 8px rgba(232, 154, 26, 0.45);
}

.home-testimonial__star.is-off {
    color: #cfcfcf;
}

.home-info__text {
    font-size: 0.86rem;
    line-height: 1.65;
    color: #3a4450;
    margin: 0 0 24px;
}

.home-about-pills {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px;
}

.home-about-pills li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--home-ink);
}

.home-about-pills__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.home-about-pills__icon img,
.home-about-pills svg {
    width: 36px;
    height: 36px;
    color: var(--home-navy);
    flex-shrink: 0;
}

.home-contact-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.home-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    color: var(--home-ink);
}

.home-contact-list__icon {
    width: 20px;
    height: 20px;
    color: var(--home-navy);
    flex-shrink: 0;
    display: grid;
    place-items: center;
}

.home-contact-list__icon svg,
.home-contact-list svg {
    width: 18px;
    height: 18px;
}

.home-contact-list a {
    color: inherit;
    text-decoration: none;
}

.home-contact-list a:hover {
    color: var(--home-gold);
}

.home-contact-form__stack {
    display: grid;
    gap: 10px;
}

.home-contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.home-contact-form__stack input,
.home-contact-form__stack select,
.home-contact-form__stack textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    font: inherit;
    font-size: 0.82rem;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) inset;
}

.home-contact-form__stack input:focus,
.home-contact-form__stack select:focus,
.home-contact-form__stack textarea:focus {
    outline: none;
    border-color: var(--home-gold);
    box-shadow: 0 0 0 3px rgba(232, 154, 26, 0.18);
}

.home-contact-form__stack textarea {
    resize: vertical;
    min-height: 96px;
}

.home-contact-form__submit {
    background: var(--home-gold) !important;
    border-color: var(--home-gold) !important;
    color: #071018 !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em;
    min-height: 46px;
    border-radius: 6px !important;
    box-shadow: 0 8px 20px rgba(232, 154, 26, 0.35);
}

.btn--block {
    width: 100%;
    justify-content: center;
}

/* ---- App bottom nav (phone / tablet) ---- */
.site-app-nav {
    display: none;
}

@media (max-width: 1024px) {
    .site-app-nav {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        position: fixed;
        left: 50%;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        transform: translateX(-50%);
        width: min(calc(100% - 20px), 560px);
        z-index: 1200;
        padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px) * 0.15);
        border-radius: 22px;
        background: rgba(10, 39, 68, 0.96);
        border: 1px solid rgba(232, 154, 26, 0.35);
        box-shadow:
            0 12px 36px rgba(0, 0, 0, 0.35),
            0 0 24px rgba(232, 154, 26, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    body {
        padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    }

    html.is-vision-embed .site-app-nav,
    body.is-crm-panel .site-app-nav {
        display: none !important;
    }

    .site-app-nav__tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-width: 0;
        padding: 6px 2px;
        color: rgba(255, 255, 255, 0.62);
        text-decoration: none;
        font-size: 0.58rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        border-radius: 14px;
        transition: color 0.2s, background 0.2s, box-shadow 0.2s;
    }

    .site-app-nav__tab svg {
        width: 22px;
        height: 22px;
    }

    .site-app-nav__tab.is-active {
        color: var(--home-gold-bright, #f5b034);
        background: rgba(232, 154, 26, 0.14);
        box-shadow: 0 0 16px rgba(232, 154, 26, 0.22);
    }

    .site-app-nav__tab:active {
        transform: scale(0.96);
    }
}

button.site-app-nav__tab {
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.site-nav__link--appt {
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.site-header__appt {
    border: 1px solid rgba(229, 161, 31, 0.5);
    color: #e5a11f;
    background: rgba(229, 161, 31, 0.08);
}


/* ---- Footer mockup (LIVORK Solutions) ---- */
.site-footer--mock {
    position: relative;
    isolation: isolate;
    background-color: var(--home-navy-deep);
    background-image: url('../images/hd/hero.jpg?v=22');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-top: 3px solid #e5a11f;
    padding: clamp(40px, 6vw, 64px) 0 clamp(28px, 4vw, 40px);
    color: #fff;
    box-shadow: 0 -10px 36px rgba(229, 161, 31, 0.12);
    overflow: hidden;
}

.site-footer--mock::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(7, 28, 51, 0.72) 0%, rgba(7, 28, 51, 0.55) 45%, rgba(5, 18, 36, 0.78) 100%),
        radial-gradient(ellipse at 50% 0%, rgba(45, 140, 255, 0.18), transparent 55%);
}

.site-footer--mock > .container {
    position: relative;
    z-index: 1;
}

.site-footer__mock-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.85fr 0.9fr minmax(240px, 1.2fr);
    grid-template-areas: "brand links services contact";
    gap: 0;
    align-items: start;
}

.site-footer__col--brand { grid-area: brand; }
.site-footer__col--links { grid-area: links; }
.site-footer__col--services { grid-area: services; }
.site-footer__col--contact { grid-area: contact; }

.site-footer__col {
    padding: 8px clamp(16px, 2.2vw, 28px);
    position: relative;
    min-height: 100%;
}

.site-footer__col + .site-footer__col::before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    box-shadow: 0 0 10px rgba(229, 161, 31, 0.2);
}

/* Company info: phone → email → location → estimate, stacked */
.site-footer__col--contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.site-footer__col--contact .site-footer__phone,
.site-footer__col--contact .site-footer__meta,
.site-footer__col--contact .site-footer__estimate {
    margin: 0;
}

.site-footer__col--contact .site-footer__phone {
    font-size: 0.95rem;
    white-space: nowrap;
}

.site-footer__phone-number {
    white-space: nowrap;
}

.site-footer__col--contact .site-footer__rule,
.site-footer__col--contact .site-footer__legal {
    width: 100%;
}

.site-footer__col--contact .site-footer__rule {
    margin: 12px 0 10px;
}

.site-footer__brand-lockup {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    gap: 8px;
    margin-bottom: 14px;
}

.site-footer--mock .livork-logo--footer {
    width: min(100%, 240px);
    max-width: 240px;
    height: auto;
    aspect-ratio: 818 / 193;
    object-fit: contain;
    object-position: left center;
    background: transparent !important;
    filter: drop-shadow(0 0 10px rgba(229, 161, 31, 0.18));
}

.site-footer__solutions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: #fff;
    width: min(100%, 210px);
    justify-content: center;
}

.site-footer__solutions-line {
    flex: 1;
    height: 1px;
    background: #e5a11f;
    box-shadow: 0 0 8px rgba(229, 161, 31, 0.55);
}

.site-footer__mock-tagline {
    margin: 0 0 22px;
    font-size: 0.86rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    max-width: 28ch;
}

.site-footer__social-circles {
    display: flex;
    gap: 12px;
}

.site-footer__social-circles a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.site-footer__social-circles a:hover {
    border-color: #e5a11f;
    color: #e5a11f;
    box-shadow: 0 0 16px rgba(229, 161, 31, 0.35);
}

.site-footer__social-circles svg {
    width: 16px;
    height: 16px;
}

.site-footer__mock-heading {
    margin: 0 0 18px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #e5a11f;
    text-shadow: 0 0 14px rgba(229, 161, 31, 0.28);
}

.site-footer__mock-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.site-footer__mock-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.site-footer__mock-links a:hover {
    color: #f5b034;
}

.site-footer__phone {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0;
    white-space: nowrap;
}

.site-footer__phone svg {
    width: 20px;
    height: 20px;
    color: #e5a11f;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(229, 161, 31, 0.45));
}

.site-footer__estimate {
    display: block;
    color: #e5a11f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(229, 161, 31, 0.35);
}

.site-footer__estimate:hover {
    color: #f5b034;
}

.site-footer__rule {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    margin: 22px 0 16px;
}

.site-footer__legal {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
    .site-footer__mock-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "brand brand"
            "links services"
            "contact contact";
        gap: 24px 0;
    }

    .site-footer__col + .site-footer__col::before {
        display: none;
    }

    /* Keep Quick Links | Services as a paired row with a soft divider */
    .site-footer__col--services {
        border-left: 1px solid rgba(255, 255, 255, 0.18);
    }

    .site-footer__col--contact {
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }
}

@media (max-width: 640px) {
    .site-footer__mock-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "brand brand"
            "links services"
            "contact contact";
        gap: 22px 0;
    }

    .site-footer__col {
        padding-inline: 8px;
    }

    .site-footer__col--brand {
        padding-inline: 0;
    }

    .site-footer__col + .site-footer__col::before {
        display: none;
    }

    .site-footer__col--services {
        border-left: 1px solid rgba(255, 255, 255, 0.16);
    }

    .site-footer__mock-heading {
        margin-bottom: 12px;
        font-size: 0.72rem;
    }

    .site-footer__mock-links {
        gap: 8px;
    }

    .site-footer__mock-links a {
        font-size: 0.8rem;
    }

    .site-footer__col--contact {
        padding-inline: 0;
    }

    .site-footer__col--contact .site-footer__phone {
        font-size: 0.88rem;
        gap: 6px;
    }

    .site-footer__col--contact .site-footer__meta,
    .site-footer__col--contact .site-footer__estimate {
        font-size: 0.72rem;
    }

    .site-footer__col--contact .site-footer__phone svg,
    .site-footer__col--contact .site-footer__meta svg {
        width: 14px;
        height: 14px;
    }
}

/* legacy footer v2 leftovers kept for other pages */
.site-footer--v2 {
    background: var(--home-navy-deep);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .home-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-why-banner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .home-why-banner__title {
        max-width: 18ch;
        font-size: clamp(1.02rem, 2.4vw, 1.2rem);
    }
    .home-why-banner__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .home-process__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }
    .home-process__steps::before {
        display: none;
    }
    .home-project-card {
        flex: 0 0 calc(100cqw / 2);
        max-width: none;
    }
}

@media (max-width: 900px) {
    .is-home-v2 {
        --header-h: 72px;
        scroll-padding-top: 72px;
    }

    .site-header--v2 {
        --header-h: 72px;
        height: auto;
        min-height: calc(56px + env(safe-area-inset-top, 0px));
        padding-top: calc(12px + env(safe-area-inset-top, 0px));
        padding-bottom: 12px;
        box-sizing: border-box;
        overflow: visible;
    }

    .site-header__inner--v2 {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
        height: auto;
        min-height: 48px;
        width: 100%;
        max-width: 100%;
        padding-inline: 4px;
        box-sizing: border-box;
    }

    .site-header--v2 .site-header__logo {
        padding-top: 2px;
        align-self: center;
    }

    .site-header--v2 .livork-logo--header {
        height: 34px;
        max-width: min(148px, 42vw);
    }

    /* Bottom nav replaces top links on phone/tablet */
    .site-header--v2 .site-nav--v2 {
        display: none !important;
    }

    .site-header--v2 .site-header__toggle {
        display: none !important;
    }

    .site-header__actions--v2 {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        justify-self: end;
        margin-left: auto;
        flex-shrink: 0;
        max-width: 100%;
        position: relative;
        z-index: 2;
    }

    .site-header--v2 .lang-switcher {
        flex-shrink: 0;
    }

    .site-header--v2 .lang-switcher__toggle {
        width: 34px;
        height: 34px;
    }

    .site-header--v2 .site-header__dashboard {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 8px 11px;
        font-size: 0.52rem;
        letter-spacing: 0.06em;
        min-height: 34px;
        white-space: nowrap;
        flex-shrink: 0;
        line-height: 1;
    }

    .site-nav__link--mobile {
        display: none !important;
    }

    /* Compact sections + forms */
    .home-services {
        padding: 32px 0 28px;
    }

    .home-services__head {
        margin: 0 auto 18px;
        max-width: 100%;
    }

    .home-services__label {
        margin-bottom: 6px;
        font-size: 0.68rem;
    }

    .home-services__title {
        font-size: 1.2rem;
        line-height: 1.25;
    }

    .home-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 0;
    }

    .home-service-card {
        border-radius: 10px;
        box-shadow: 0 8px 18px rgba(10, 22, 34, 0.12);
    }

    .home-service-card__link,
    .home-service-card__photo {
        border-radius: 10px 10px 0 0;
    }

    .home-service-card__photo {
        aspect-ratio: 1 / 1;
    }

    .home-service-card__icon {
        width: 40px;
        height: 40px;
        left: 10px;
        bottom: -20px;
        filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
    }

    .home-service-card__body {
        padding: 26px 10px 10px;
        gap: 4px;
        border-radius: 0 0 10px 10px;
    }

    .home-service-card h3 {
        font-size: 0.78rem;
        line-height: 1.2;
    }

    .home-service-card p {
        font-size: 0.66rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-service-card__more {
        font-size: 0.64rem;
        margin-top: 2px;
    }

    .home-why-banner {
        margin-top: 18px;
        padding: 14px 14px;
        border-radius: 10px;
    }

    .home-v2 .home-about-video {
        padding: 28px 0;
    }

    .home-contact-form__stack {
        gap: 8px;
    }

    .home-contact-form__stack input,
    .home-contact-form__stack select,
    .home-contact-form__stack textarea {
        padding: 9px 11px;
        font-size: 0.82rem;
    }

    .home-contact-form__stack textarea {
        min-height: 88px;
    }

    .home-info__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-info__col {
        padding: 0;
    }

    .home-info__col + .home-info__col::before {
        display: none;
    }

    .home-cta-banner__inner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

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

@media (max-width: 600px) {
    .home-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .home-process__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 10px;
        margin-top: 28px;
    }

    .home-process__bubble {
        width: 72px;
        height: 72px;
        margin-bottom: 10px;
    }

    .home-process__bubble img,
    .home-process__bubble svg {
        width: 34px;
        height: 34px;
    }

    .home-process__step {
        padding: 0 4px;
    }

    .home-process__step h3 {
        font-size: 0.82rem;
    }

    .home-process__step p {
        font-size: 0.72rem;
        max-width: none;
    }

    .home-service-card__body {
        padding: 24px 8px 8px;
    }

    .home-service-card h3 {
        font-size: 0.72rem;
    }

    .home-service-card p {
        font-size: 0.62rem;
        -webkit-line-clamp: 2;
    }

    .home-project-card {
        flex: 0 0 70cqw;
        max-width: none;
    }

    .home-why-banner__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .home-why-banner__item {
        border-left: 0;
        border-top: 1px solid rgba(232, 154, 46, 0.25);
        padding-top: 14px;
    }

    .home-why-banner__item:nth-child(-n+2) {
        border-top: 0;
        padding-top: 8px;
    }

    .home-why-banner__item:nth-child(odd) {
        border-right: 1px solid rgba(232, 154, 46, 0.2);
    }
}


/* ---- Appointment modal + intro watermarks ---- */
.hero__intro {
    position: relative;
    overflow: hidden;
}

.hero__intro-watermarks {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero__intro-wm {
    position: absolute;
    width: clamp(72px, 12vw, 130px);
    height: auto;
    opacity: 0.09;
    object-fit: contain;
    filter: grayscale(0.15) brightness(1.2);
}

.hero__intro-wm--1 { left: 3%; top: 18%; transform: rotate(-14deg); }
.hero__intro-wm--2 { right: 6%; top: 12%; transform: rotate(10deg); }
.hero__intro-wm--3 { left: 18%; bottom: 10%; transform: rotate(8deg); }
.hero__intro-wm--4 { right: 16%; bottom: 14%; transform: rotate(-8deg); }

.hero__intro-wm-photo {
    width: clamp(120px, 18vw, 220px);
    opacity: 0.06;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    filter: grayscale(0.3);
}

.hero__intro-wm-photo--1 { left: 42%; top: 8%; transform: rotate(-4deg); }
.hero__intro-wm-photo--2 { right: 28%; bottom: 6%; transform: rotate(5deg); }

.hero__intro-inner,
.hero__intro .container {
    position: relative;
    z-index: 1;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-width: min(240px, 100%);
}

.hero__cta--appt {
    border: 1px solid rgba(229, 161, 31, 0.55);
    color: #e5a11f;
    background: rgba(229, 161, 31, 0.08);
    box-shadow: 0 0 18px rgba(229, 161, 31, 0.12);
}

.hero__cta--appt:hover {
    background: rgba(229, 161, 31, 0.16);
    color: #f5b034;
}

.appt-modal {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: min(860px, calc(100vw - 1rem));
    width: min(860px, calc(100vw - 1rem));
    max-height: none;
    margin: auto;
    overflow: visible;
}

.appt-modal::backdrop {
    background: rgba(5, 11, 24, 0.72);
    backdrop-filter: blur(4px);
}

.appt-modal__panel {
    background: linear-gradient(180deg, #0b1628 0%, #08111f 100%);
    border: 1px solid rgba(229, 161, 31, 0.28);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 30px rgba(229, 161, 31, 0.08);
    color: #fff;
    overflow: visible;
    display: flex;
    flex-direction: column;
    max-height: none;
}

.appt-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.appt-modal__eyebrow {
    margin: 0 0 4px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e5a11f;
    font-weight: 700;
}

.appt-modal__header h2 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
}

.appt-modal__close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.appt-modal__tabs {
    display: flex;
    gap: 0;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.appt-modal__tab {
    flex: 1;
    padding: 9px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.appt-modal__tab.is-active {
    color: #e5a11f;
    border-bottom-color: #e5a11f;
}

.appt-modal__body {
    padding: 10px 14px 12px;
    overflow: visible;
    flex: 0 1 auto;
    min-height: 0;
}

.appt-form__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.95fr);
    gap: 14px;
    align-items: start;
}

.appt-form__calendar .appt-field__label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 720px) {
    .appt-form__layout {
        grid-template-columns: 1fr;
    }
}

.appt-form__lead {
    margin: 0 0 10px;
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
}

.appt-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.appt-field {
    display: grid;
    gap: 6px;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

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

.appt-field input,
.appt-field select,
.appt-field textarea {
    width: 100%;
    border: 1px solid rgba(26, 26, 26, 0.16);
    border-radius: 7px;
    background: #f2ebe3;
    color: #121820;
    padding: 7px 10px;
    font-size: 0.84rem;
    text-transform: none;
    letter-spacing: normal;
    color-scheme: light;
}

.appt-field input::placeholder,
.appt-field textarea::placeholder {
    color: #6b6560;
}

.appt-field select option {
    background: #f2ebe3;
    color: #121820;
}

.appt-field textarea {
    resize: none;
    min-height: 88px;
    height: 88px;
    max-height: 88px;
}

.appt-field--notes textarea {
    min-height: 96px;
    height: 96px;
    max-height: 96px;
}

.appt-cal__toolbar {
    justify-content: center;
}

.appt-cal__nav[hidden] {
    display: none !important;
}

#apptManageCalendar.appt-cal--compact,
.appt-cal--compact {
    padding: 6px;
    max-width: 280px;
}

.appt-cal--compact .appt-cal__month {
    font-size: 0.72rem;
}

.appt-cal--compact .appt-cal__day {
    min-height: 22px;
    font-size: 0.66rem;
    border-radius: 5px;
}

.appt-cal--compact .appt-cal__weekdays {
    font-size: 0.52rem;
    gap: 2px;
    margin-bottom: 3px;
}

.appt-cal--compact .appt-cal__grid {
    gap: 2px;
}

.appt-cal--compact .appt-cal__times {
    margin-top: 6px;
    padding-top: 6px;
}

.appt-cal--compact .appt-cal__time {
    padding: 4px 8px;
    font-size: 0.68rem;
}

#apptManageForm .appt-field--full > .appt-cal {
    margin-top: 6px;
}

.appt-form__status {
    margin: 12px 0 0;
    font-size: 0.82rem;
    color: #8dffb8;
}

.appt-form__status.is-error { color: #fc8181; }

.appt-form__actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
}

.appt-form__actions--split { justify-content: space-between; }

.appt-btn-danger { color: #fc8181 !important; border-color: rgba(252, 129, 129, 0.4) !important; }

.appt-success {
    text-align: center;
    padding: 12px 4px 4px;
}

.appt-success h3 {
    margin: 0 0 8px;
    color: #e5a11f;
}

.appt-success__token {
    margin: 14px 0 18px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    word-break: break-all;
}

.crm-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.crm-subtabs__link {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(16, 24, 40, 0.12);
    background: #fff;
    color: #344054;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
}

.crm-subtabs__link.is-active {
    background: #0b1b33;
    color: #fff;
    border-color: #0b1b33;
}

.crm-appt__actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
}

.crm-appt__token {
    display: block;
    font-size: 0.72rem;
    color: #667085;
    word-break: break-all;
}

.crm-slot-preview {
    margin: 0;
    padding-left: 18px;
    columns: 2;
    gap: 24px;
    font-size: 0.85rem;
    color: #475467;
}

.crm-card__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

@media (max-width: 640px) {
    .appt-form__grid { grid-template-columns: 1fr; }
    .crm-slot-preview { columns: 1; }
}


/* Appointment calendar picker — beige / black */
.appt-cal {
    background: #f2ebe3;
    color: #1a1a1a;
    border-radius: 10px;
    padding: 8px;
    border: 1px solid rgba(26, 26, 26, 0.08);
}

.appt-cal__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 6px;
}

.appt-cal__month {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.02em;
}

.appt-cal__nav {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    border: 1px solid rgba(26, 26, 26, 0.15);
    background: #fff;
    color: #1a1a1a;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.appt-cal__nav:hover {
    background: #e8dfd4;
}

.appt-cal__weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 4px;
    text-align: center;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4a4a4a;
}

.appt-cal__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.appt-cal__day {
    aspect-ratio: 1;
    min-height: 26px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #1a1a1a;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
}

.appt-cal__day.is-empty {
    visibility: hidden;
    pointer-events: none;
}

.appt-cal__day.is-disabled {
    color: #b0a89f;
    cursor: default;
    opacity: 0.55;
}

.appt-cal__day.is-today {
    box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.35);
}

.appt-cal__day.is-selected,
.appt-cal__day:not(.is-disabled):hover {
    background: #1a1a1a;
    color: #f2ebe3;
}

.appt-cal__times {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
    max-height: none;
    overflow: visible;
}

.appt-cal__times-label {
    margin: 0 0 6px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3a3a3a;
}

.appt-cal__times-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.appt-cal__time {
    border: 1px solid rgba(26, 26, 26, 0.18);
    background: #fff;
    color: #1a1a1a;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
}

.appt-cal__time:hover,
.appt-cal__time.is-selected {
    background: #1a1a1a;
    color: #f2ebe3;
    border-color: #1a1a1a;
}

.appt-cal__hint {
    margin: 0;
    font-size: 0.84rem;
    color: #4a4a4a;
}

.appt-field > span {
    color: rgba(255, 255, 255, 0.72);
}


.site-footer__meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 0.82rem;
    margin: 0 0 8px;
}

.site-footer__meta svg {
    width: 16px;
    height: 16px;
    color: #e5a11f;
    flex-shrink: 0;
}

.site-footer__meta--static {
    margin-bottom: 12px;
}

.site-footer__meta:hover {
    color: #f5b034;
}

/* ---- Home app download ---- */
.home-app {
    background:
        radial-gradient(ellipse at 78% 35%, rgba(229, 161, 31, 0.22), transparent 46%),
        radial-gradient(ellipse at 62% 70%, rgba(229, 161, 31, 0.12), transparent 40%),
        radial-gradient(ellipse at 18% 20%, rgba(229, 161, 31, 0.1), transparent 42%),
        linear-gradient(160deg, var(--home-navy-deep, #071c33) 0%, #0c1a2e 48%, #081424 100%);
    color: #fff;
    padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 88px);
    overflow: hidden;
}

.home-app__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
    gap: clamp(28px, 5vw, 48px);
    align-items: center;
}

.home-app__eyebrow {
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #e5a11f;
}

.home-app__copy h2 {
    margin: 0 0 12px;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}

.home-app__text {
    margin: 0 0 16px;
    max-width: 42ch;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    font-size: 0.95rem;
}

.home-app__perks {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.home-app__perks li {
    position: relative;
    padding-left: 18px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.88);
}

.home-app__perks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e5a11f;
    box-shadow: 0 0 10px rgba(229, 161, 31, 0.45);
}

.home-app .store-badges {
    justify-content: flex-start;
    margin-bottom: 14px;
}

.home-app__web {
    color: #e5a11f;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.home-app__web:hover { color: #f5b034; }

.home-app__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 0;
    margin-top: 0;
}

.home-app__visual::before,
.home-app__visual::after {
    display: none;
}

.home-app__showcase {
    position: relative;
    width: min(100%, 600px);
    height: auto;
    margin: 0 auto;
    z-index: 1;
}

.home-app__showcase--collage {
    margin: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

.home-app__showcase--collage img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: transparent;
}

.home-app__shot {
    display: none;
}

@media (max-width: 800px) {
    .home-app__inner {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .home-app__visual { order: -1; }
    .home-app__showcase {
        width: min(100%, 460px);
    }
}


/* ---- Welcome agent greeting (mini / discreet) ---- */
/* TEMP off — remove this rule + set $enableWelcomeAgent=true to bring back */
.welcome-agent,
.welcome-agent.is-visible {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.welcome-agent {
    position: fixed;
    right: max(8px, env(safe-area-inset-right));
    bottom: max(6px, env(safe-area-inset-bottom));
    z-index: 12050;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 0;
    max-width: min(220px, calc(100vw - 16px));
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px) scale(0.94);
    transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.welcome-agent.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.welcome-agent__glow {
    position: absolute;
    right: 4%;
    bottom: -2%;
    width: 42%;
    height: 18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 154, 26, 0.18), transparent 68%);
    filter: blur(6px);
    z-index: 0;
    pointer-events: none;
    animation: welcomeGlowPulse 5s ease-in-out infinite alternate;
}

.welcome-agent__figure {
    position: relative;
    z-index: 1;
    width: min(56px, 15vw);
    flex-shrink: 0;
    margin-bottom: -2px;
    background: transparent;
    filter: drop-shadow(0 3px 6px rgba(7, 28, 51, 0.28));
    animation: welcomeBob 4.8s ease-in-out infinite;
    transform-origin: 50% 100%;
}

.welcome-agent__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    background: transparent !important;
    mix-blend-mode: normal;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    animation: welcomeNatural 5s ease-in-out infinite;
    transform-origin: 70% 38%;
}

.welcome-agent__svg {
    display: none;
}

.welcome-agent__figure .wa-arm-wave,
.welcome-agent__figure .wa-hand,
.welcome-agent__figure .wa-eyes,
.welcome-agent__figure .wa-head {
    animation: none;
}

.welcome-agent__bubble {
    position: relative;
    z-index: 2;
    margin: 0 0 18px 0;
    max-width: min(128px, 42vw);
    padding: 8px 9px 7px;
    border-radius: 12px 12px 3px 12px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, transparent 42%),
        linear-gradient(180deg, #122338 0%, #0a1524 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(232, 154, 26, 0.32);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 8px 20px rgba(4, 12, 24, 0.35);
    color: #fff;
    animation: welcomeBubbleIn 0.38s 0.08s both cubic-bezier(0.22, 1, 0.36, 1);
}

.welcome-agent__bubble::before {
    content: '';
    position: absolute;
    right: -3px;
    bottom: 10px;
    width: 7px;
    height: 7px;
    background: #0d1a2c;
    border-right: 1px solid rgba(232, 154, 26, 0.32);
    border-bottom: 1px solid rgba(232, 154, 26, 0.32);
    transform: rotate(-45deg);
}

.welcome-agent__eyebrow {
    display: inline-block;
    margin: 0 14px 4px 0;
    padding: 1px 5px;
    font-size: 0.48rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0a1524;
    font-weight: 750;
    background: linear-gradient(90deg, #f5b034, #e89a1a);
    border-radius: 999px;
    line-height: 1.45;
}

.welcome-agent__bubble h2 {
    margin: 0 14px 2px 0;
    font-size: 0.7rem;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.welcome-agent__bubble > p:not(.welcome-agent__eyebrow) {
    margin: 0 0 6px;
    font-size: 0.6rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.62);
}

.welcome-agent__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
}

.welcome-agent__actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.38em 0.5em;
    min-height: 0;
    border-radius: 6px;
    box-shadow: none;
}

.welcome-agent__actions .welcome-agent__appt {
    width: 100%;
    margin: 0;
    padding: 0.2em 0;
    border: none;
    background: transparent;
    color: rgba(245, 176, 52, 0.92);
    font-size: 0.54rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s ease;
}

.welcome-agent__actions .welcome-agent__appt:hover {
    color: #fff;
}

.welcome-agent__close {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 3;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    font-size: 0.72rem;
    line-height: 1;
    padding: 0;
    display: grid;
    place-items: center;
    transition: color 0.15s ease, background 0.15s ease;
}

.welcome-agent__close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

@keyframes welcomeBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@keyframes welcomeNatural {
    0%, 100% { transform: rotate(0deg) translate3d(0, 0, 0); }
    25% { transform: rotate(-0.7deg) translate3d(0, -1px, 0); }
    50% { transform: rotate(0.5deg) translate3d(0, 0, 0); }
    75% { transform: rotate(-0.4deg) translate3d(0, -0.5px, 0); }
}

@keyframes welcomeWaveSoft {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    35% { transform: rotate(-2.4deg) translateY(-2px); }
    70% { transform: rotate(1.8deg) translateY(1px); }
}

@keyframes welcomeWave {
    0%, 100% { transform: rotate(8deg); }
    50% { transform: rotate(-28deg); }
}

@keyframes welcomeHand {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-12deg); }
}

@keyframes welcomeBlink {
    0%, 42%, 46%, 100% { opacity: 1; transform: scaleY(1); }
    44% { opacity: 1; transform: scaleY(0.12); }
}

@keyframes welcomeNod {
    0%, 100% { transform: rotate(0deg); }
    40% { transform: rotate(-2deg); }
    60% { transform: rotate(2deg); }
}

@keyframes welcomeGlowPulse {
    from { opacity: 0.55; transform: scale(0.97); }
    to { opacity: 0.85; transform: scale(1.04); }
}

@keyframes welcomeBubbleIn {
    from { opacity: 0; transform: translateX(8px) scale(0.97); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@media (max-width: 640px) {
    .welcome-agent {
        right: 4px;
        left: auto;
        bottom: calc(64px + env(safe-area-inset-bottom, 0px));
        max-width: min(190px, calc(100vw - 12px));
    }
    .welcome-agent__figure { width: min(48px, 13vw); }
    .welcome-agent__bubble {
        margin: 0 0 14px 0;
        max-width: min(118px, 40vw);
        padding: 7px 8px 6px;
    }
    .welcome-agent__bubble h2 { font-size: 0.66rem; }
    .welcome-agent__bubble > p:not(.welcome-agent__eyebrow) { font-size: 0.56rem; }
    .welcome-agent__actions .btn { font-size: 0.52rem; }
    .welcome-agent__actions .welcome-agent__appt { font-size: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    .home-projects__track.is-marquee {
        animation: none !important;
    }
    .welcome-agent,
    .welcome-agent__figure,
    .welcome-agent__img,
    .welcome-agent__figure .wa-arm-wave,
    .welcome-agent__figure .wa-hand,
    .welcome-agent__figure .wa-eyes,
    .welcome-agent__figure .wa-head,
    .welcome-agent__bubble,
    .welcome-agent__glow {
        animation: none !important;
        transition: none !important;
    }
}


/* ---- Service pages (home-v2 pattern) ---- */
.svc-main {
    background: var(--home-wash, #f2ebe3);
    min-height: 60vh;
}

.svc-page {
    color: var(--home-ink, #121820);
}

.svc-page__hero {
    position: relative;
    margin-top: var(--header-h, 70px);
    min-height: clamp(320px, 48vh, 520px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--home-navy, #0a2744);
}

.svc-page__hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.svc-page__hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.svc-page__hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 11, 24, 0.35) 0%, rgba(5, 11, 24, 0.82) 72%, rgba(5, 11, 24, 0.94) 100%),
        linear-gradient(90deg, rgba(5, 11, 24, 0.55) 0%, transparent 55%);
}

.svc-page__hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: clamp(48px, 8vw, 80px);
    padding-bottom: clamp(36px, 6vw, 64px);
}

.svc-page__back {
    display: inline-flex;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: color 0.2s;
}

.svc-page__back:hover {
    color: var(--home-gold-bright, #f5b034);
}

.svc-page__hero-copy {
    max-width: 720px;
}

.svc-page__hero-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
    border-radius: 50%;
    border: 1px solid rgba(229, 161, 31, 0.45);
    background: rgba(255, 255, 255, 0.06);
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.svc-page__hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.svc-page__eyebrow {
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--home-gold, #e89a1a);
}

.svc-page__title {
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 4vw, 2.55rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
}

.svc-page__lead {
    margin: 0 0 28px;
    max-width: 52ch;
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
}

.svc-page__hero-actions,
.svc-page__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.svc-page__btn-ghost {
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
}

.svc-page__btn-ghost:hover {
    border-color: var(--home-gold, #e89a1a) !important;
    color: var(--home-gold-bright, #f5b034) !important;
}

.svc-page__about {
    padding: clamp(48px, 7vw, 88px) 0;
    background: var(--home-wash, #f2ebe3);
}

.svc-page__about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
}

.svc-page__about-main .section-head {
    margin-bottom: 22px;
}

.svc-page__about-main .section-head__label span:not(.section-head__line) {
    color: var(--home-gold, #e89a1a);
    font-weight: 700;
}

.svc-page__about-main .section-head__title {
    color: var(--home-ink, #121820);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 500;
}

.svc-page__text-block p {
    margin: 0 0 16px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--home-muted, #4e5864);
}

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

.svc-page__features-card {
    padding: clamp(22px, 3vw, 28px);
    border: 1px solid var(--home-line, #e4ddd3);
    background: #fff;
    box-shadow: 0 10px 28px rgba(18, 24, 32, 0.06);
}

.svc-page__features-card h3 {
    margin: 0 0 16px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--home-navy, #0a2744);
}

.svc-page__features {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.svc-page__features li {
    margin: 0;
}

.svc-page__features span,
.svc-page__feature-btn {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--home-line, #e4ddd3);
    background: #faf7f2;
    color: var(--home-ink, #121820);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    text-align: left;
    line-height: 1.35;
    cursor: default;
}

.svc-page__feature-btn {
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.svc-page__feature-btn::before,
.svc-page__features span::before {
    content: '';
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--home-gold, #e89a1a);
}

.svc-page__feature-btn:hover {
    border-color: rgba(232, 154, 26, 0.55);
    background: #fff;
    color: var(--home-navy, #0a2744);
}

.svc-page__portfolio {
    padding: clamp(48px, 7vw, 88px) 0;
    background: #fff;
    border-top: 1px solid var(--home-line, #e4ddd3);
}

.svc-page__portfolio .section-head__label span:not(.section-head__line) {
    color: var(--home-gold, #e89a1a);
    font-weight: 700;
}

.svc-page__portfolio .section-head__title {
    color: var(--home-ink, #121820);
    font-weight: 500;
}

.svc-page__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(18px, 2.5vw, 28px);
}

.svc-page__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.25s ease;
}

.svc-page__card.is-highlighted {
    outline: 2px solid var(--home-gold, #e89a1a);
    outline-offset: 6px;
}

.svc-page__card-media {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--home-navy, #0a2744);
    cursor: zoom-in;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.svc-page__card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.svc-page__card:hover .svc-page__card-media img {
    transform: scale(1.04);
}

.svc-page__card h3 {
    margin: 4px 0 0;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--home-ink, #121820);
}

.svc-page__card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--home-muted, #4e5864);
}

.svc-page__cta {
    padding: clamp(40px, 6vw, 64px) 0;
    background: var(--home-navy, #0a2744);
    border-top: 3px solid var(--home-gold, #e89a1a);
    color: #fff;
}

.svc-page__cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.svc-page__cta h2 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 500;
    color: #fff;
}

.svc-page__cta p {
    margin: 0;
    max-width: 42ch;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
}

/* Hero banner: cover + flat fade (sem distorção 3D) */
.home-v2 .hero-cube {
    height: clamp(280px, 52vw, 680px);
    max-height: 680px;
    background: var(--home-navy-deep);
}

.home-v2 .hero-cube__face img {
    object-fit: cover;
    object-position: center center;
    filter: none;
}

.home-v2 .hero-cube::after {
    height: 18%;
    background: linear-gradient(to top, rgba(5, 12, 24, 0.28), transparent);
}

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

    .svc-page__cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .svc-page__hero {
        min-height: 360px;
    }

    .svc-page__hero-actions,
    .svc-page__cta-actions {
        width: 100%;
    }

    .svc-page__hero-actions .btn,
    .svc-page__cta-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* ---- Shared assistant-style sheets: Book, Contact, Register ---- */
.home-contact-form {
    padding: 14px 12px 12px;
    border-radius: 16px;
    border: 1px solid rgba(61, 110, 181, 0.22);
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.98) 0%, rgba(242, 235, 227, 0.98) 100%);
    box-shadow:
        0 18px 40px rgba(8, 20, 40, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}

.home-contact-form__stack input,
.home-contact-form__stack select,
.home-contact-form__stack textarea {
    border: 1px solid rgba(61, 110, 181, 0.2);
    border-radius: 8px;
    background: #fff;
    color: #1a2433;
    font-size: 0.78rem;
    padding: 10px 12px;
    box-shadow: 0 1px 2px rgba(10, 22, 40, 0.04) inset;
}

.home-contact-form__stack input:focus,
.home-contact-form__stack select:focus,
.home-contact-form__stack textarea:focus {
    outline: none;
    border-color: #3d6eb5;
    box-shadow: 0 0 0 3px rgba(61, 110, 181, 0.16);
}

.home-contact-form__stack textarea {
    min-height: 72px;
}

.home-contact-form__submit {
    min-height: 42px;
    border-radius: 8px !important;
    font-size: 0.78rem !important;
}

.appt-modal {
    width: min(420px, calc(100vw - 0.8rem));
    max-width: calc(100vw - 0.8rem);
    max-height: min(88dvh, 640px);
    margin: auto;
    overflow: hidden;
}

.appt-modal__panel {
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.98) 0%, rgba(242, 235, 227, 0.98) 100%);
    border: 1px solid rgba(61, 110, 181, 0.22);
    border-radius: 16px;
    color: #1a2433;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: min(88dvh, 640px);
    box-shadow:
        0 22px 50px rgba(8, 20, 40, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}

.appt-modal__header {
    padding: 12px 14px 10px;
    border-bottom: 1px solid rgba(61, 110, 181, 0.14);
    background: linear-gradient(180deg, #12324f 0%, #0a1622 100%);
    color: #fff;
}

.appt-modal__eyebrow {
    color: #f5b034;
    font-size: 0.62rem;
}

.appt-modal__header h2 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

.appt-modal__close {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1.2rem;
}

.appt-modal__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.45);
    border-bottom: 0;
}

.appt-modal__tab {
    border: 1px solid rgba(61, 110, 181, 0.18);
    border-radius: 999px;
    background: #fff;
    color: #3a4450;
    padding: 7px 8px;
    font-size: 0.68rem;
    border-bottom: 0;
    box-shadow: 0 2px 8px rgba(10, 22, 40, 0.06);
}

.appt-modal__tab.is-active {
    color: #fff;
    background: linear-gradient(135deg, #3d6eb5, #1f456e);
    border-color: transparent;
    border-bottom: 0;
    box-shadow: 0 6px 14px rgba(61, 110, 181, 0.28);
}

.appt-modal__body {
    padding: 8px 12px 12px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-height: 0;
}

.appt-form__lead {
    margin: 0 0 8px;
    font-size: 0.72rem;
    line-height: 1.4;
    color: #5a6570;
}

.appt-form__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.appt-form__grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.appt-field {
    color: #3a4450;
    font-size: 0.66rem;
}

.appt-field > span,
.appt-form__calendar .appt-field__label {
    color: #3a4450;
}

.appt-field input,
.appt-field select,
.appt-field textarea {
    border: 1px solid rgba(61, 110, 181, 0.2);
    border-radius: 8px;
    background: #fff;
    color: #1a2433;
    padding: 8px 10px;
    font-size: 0.78rem;
}

.appt-field input:focus,
.appt-field select:focus,
.appt-field textarea:focus {
    outline: none;
    border-color: #3d6eb5;
    box-shadow: 0 0 0 3px rgba(61, 110, 181, 0.16);
}

.appt-field textarea,
.appt-field--notes textarea {
    min-height: 58px;
    height: 58px;
    max-height: 72px;
}

.appt-cal {
    padding: 6px;
}

.appt-cal__day {
    min-height: 28px;
    font-size: 0.7rem;
}

.appt-cal__times-list {
    max-height: 88px;
    overflow: auto;
}

.appt-form__status {
    color: #027a48;
}

.appt-form__status.is-error {
    color: #b42318;
}

.appt-form__actions {
    margin-top: 10px;
}

.appt-form__actions .btn {
    width: 100%;
    min-height: 40px;
    font-size: 0.78rem;
}

.appt-success {
    color: #1a2433;
}

.appt-success h3 {
    color: #0a1622;
}

.appt-success__token {
    color: #4e5864;
}

.appt-btn-danger {
    color: #b42318 !important;
}

@media (max-width: 560px) {
    .appt-modal {
        width: calc(100vw - 0.6rem);
        max-width: calc(100vw - 0.6rem);
        max-height: min(86dvh, calc(100dvh - 96px));
    }

    .appt-modal__panel {
        max-height: min(86dvh, calc(100dvh - 96px));
        border-radius: 14px;
    }

    .appt-form__grid {
        grid-template-columns: 1fr;
    }

    .appt-modal__header {
        padding: 10px 12px 8px;
    }

    .appt-modal__body {
        padding: 6px 10px 10px;
    }

    .appt-field textarea,
    .appt-field--notes textarea {
        min-height: 48px;
        height: 48px;
    }

    .home-contact-form {
        padding: 12px 10px;
    }
}

