:root {
    --home-accent: #e3e142;
    --home-accent-soft: rgba(227, 225, 66, 0.22);
    --home-ink: #171717;
    --home-muted: rgba(23, 23, 23, 0.72);
    --home-card-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

.home-shell {
    max-width: 1120px;
    width: calc(100% - 32px);
    margin: 0 auto;
}

.home-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: flex-start;
    margin-bottom: 34px;
}

.home-hero-panel,
.home-highlight,
.home-services,
.home-info-panel,
.home-map-heading {
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--home-card-shadow);
    overflow: hidden;
}

.home-hero-panel {
    flex: 1 1 600px;
    padding: 48px 46px;
}

.home-hero-anniversary {
    max-width: 620px;
    margin: 26px auto 0;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
}

.home-highlight {
    flex: 1 1 360px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(227, 225, 66, 0.95) 0%, rgba(255, 255, 255, 0.97) 100%);
    align-self: flex-start;
}

.home-kicker,
.home-panel-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--home-accent-soft);
    color: #5f5a00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-hero-title {
    margin: 18px 0;
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.08;
    color: var(--home-ink);
    font-weight: 500;
}

.home-hero-copy,
.home-highlight-copy,
.home-section-heading p,
.home-info-text,
.home-map-heading p {
    margin: 0;
    font-size: 17px;
    line-height: 1.75;
    color: var(--home-muted);
}

.home-hero-actions,
.home-client-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.home-hero-actions {
    gap: 18px 26px;
}

.home-hero-actions .btn,
.home-service-link,
.home-client-actions .btn {
    min-height: 56px;
    padding: 16px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.home-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 16px 28px;
    border-radius: 999px;
    border: 2px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.7);
    color: var(--home-ink);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.home-btn-secondary:hover,
.home-btn-secondary:focus {
    color: var(--home-ink);
    text-decoration: none;
    border-color: rgba(0, 0, 0, 0.26);
    transform: translateY(-2px);
}

.home-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 230px;
    min-height: 62px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.home-hero-button:hover,
.home-hero-button:focus {
    text-decoration: none;
    transform: translateY(-2px);
}

.home-hero-button-solid {
    background: #efe92d;
    color: #fff;
    box-shadow: 0 16px 28px rgba(214, 209, 23, 0.24);
}

.home-hero-button-solid:hover,
.home-hero-button-solid:focus {
    color: #fff;
    background: #d7d124;
}

.home-hero-button-soft {
    background: linear-gradient(135deg, #fffdf0 0%, #ffffff 100%);
    color: #111;
    border: 1px solid rgba(227, 225, 66, 0.38);
    box-shadow: 0 14px 28px rgba(227, 225, 66, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.92);
    padding-right: 18px;
}

.home-hero-button-soft:hover,
.home-hero-button-soft:focus {
    color: #111;
    background: linear-gradient(135deg, #fff9cc 0%, #ffffff 100%);
}

.home-hero-button-soft::after {
    content: "\2192";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: 14px;
    border-radius: 999px;
    background: #efe92d;
    color: #111;
    font-size: 18px;
    line-height: 1;
    box-shadow: 0 8px 16px rgba(214, 209, 23, 0.24);
}

.home-hero-button-outline {
    background: #fff;
    color: #111;
    border: 3px solid #111;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.home-hero-button-outline:hover,
.home-hero-button-outline:focus {
    color: #111;
    background: #fafafa;
}

.home-fact-list,
.home-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.home-fact-list li,
.home-facts span {
    padding: 12px 16px;
    border-radius: 18px;
    background: #f8f8f8;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
    color: #2b2b2b;
    font-size: 15px;
    font-weight: 700;
}

.home-highlight-media {
    border-radius: 24px;
    overflow: hidden;
    min-height: 0;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

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

.home-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.home-anniversary-image {
    display: block;
    width: 100%;
    height: auto;
}

.home-stat-card {
    padding: 18px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}

.home-stat-card strong {
    display: block;
    font-size: 28px;
    line-height: 1;
    color: #111;
}

.home-stat-card span {
    display: block;
    margin-top: 8px;
    color: rgba(0, 0, 0, 0.56);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-services {
    padding: 38px 34px 18px;
}

.home-section-heading {
    max-width: 740px;
    margin: 0 auto 30px;
    text-align: center;
}

.home-section-heading .home-panel-label {
    justify-content: center;
}

.home-section-heading h2 {
    margin: 14px 0 12px;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.15;
    color: var(--home-ink);
}

.home-service-item {
    margin-bottom: 30px;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.home-services-grid > [class*="col-"] {
    width: auto;
    float: none;
    padding-left: 0;
    padding-right: 0;
}

.home-services-grid .home-service-item {
    margin-bottom: 0;
}

.home-service-card {
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    padding: 32px 24px 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.16);
}

.home-service-icon {
    width: 94px;
    height: 94px;
    object-fit: contain;
    margin: 0 auto 20px;
}

.home-service-card h3 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.3;
    color: var(--home-ink);
}

.home-service-card p {
    margin: 0;
    min-height: 78px;
    color: var(--home-muted);
    font-size: 15px;
    line-height: 1.65;
}

.home-link-emphasis {
    color: #b10d0d;
    font-weight: 700;
}

.home-link-emphasis:hover,
.home-link-emphasis:focus {
    color: #8f0909;
    text-decoration: none;
}

.home-service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    margin-top: auto;
}

.home-info {
    margin-top: 24px;
}

.home-legacy-grid {
    display: flex;
    flex-wrap: wrap;
}

.home-legacy-grid > [class*="col-"] {
    display: flex;
}

.home-legacy-card {
    width: 100%;
    min-height: 590px;
    padding: 56px 38px 44px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 28px 48px rgba(55, 13, 34, 0.24);
    text-align: center;
}

.home-legacy-title {
    margin: 0 0 48px;
    font-size: clamp(32px, 3.3vw, 50px);
    line-height: 1.08;
    color: #111;
    font-weight: 500;
}

.home-legacy-copy {
    max-width: 430px;
    margin: 0 auto;
    color: #1f1f1f;
    font-size: 14px;
    line-height: 1.8;
}

.home-legacy-copy-short {
    max-width: 340px;
    font-size: 17px;
    line-height: 1.45;
}

.home-legacy-card-clients {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.home-legacy-card-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-legacy-card-about {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-client-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 18px 20px;
    width: min(250px, 100%);
    margin: 32px auto 34px;
}

.home-client-preview img {
    max-width: 110px;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.home-about-media {
    width: 100%;
    max-width: 340px;
    margin: 0 auto 28px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 34px rgba(55, 13, 34, 0.18);
    aspect-ratio: 4 / 3;
}

.home-about-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 42%;
}

.home-legacy-card-clients .home-card-button {
    margin-top: auto;
}

.home-legacy-card-contact .home-card-button {
    margin-top: auto;
}

.home-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 14px 34px;
    border-radius: 999px;
    background: linear-gradient(90deg, #c8d142 0%, #4ca2cb 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 16px 28px rgba(76, 162, 203, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.home-card-button:hover,
.home-card-button:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 20px 32px rgba(76, 162, 203, 0.34);
}

.home-contact-stack {
    color: #1f1f1f;
    font-size: 17px;
    line-height: 1.55;
}

.home-contact-stack p {
    margin: 0 0 4px;
}

.home-contact-stack a {
    color: #111;
    text-decoration: none;
}

.home-contact-stack a:hover,
.home-contact-stack a:focus {
    color: #111;
    text-decoration: none;
}

.home-contact-email {
    color: #d8cd1f !important;
}

.home-contact-hours {
    margin-top: 32px;
}

.home-contact-hours strong {
    display: block;
    margin-bottom: 14px;
    font-size: 17px;
    font-weight: 500;
}

.home-info-panel {
    height: 100%;
    padding: 36px 34px;
}

.home-info-title {
    margin: 14px 0 18px;
    font-size: clamp(28px, 3.5vw, 38px);
    line-height: 1.18;
    color: var(--home-ink);
}

.home-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.home-contact-card {
    padding: 18px 18px 20px;
    border-radius: 20px;
    background: #fbfbfb;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
    text-align: left;
}

.home-contact-card span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: rgba(0, 0, 0, 0.54);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-contact-card span i {
    color: #807b00;
}

.home-contact-card a,
.home-contact-card p {
    margin: 0;
    color: #111;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.home-contact-card a:hover,
.home-contact-card a:focus {
    color: #111;
    text-decoration: none;
}

.home-map-heading {
    margin: 10px 0 40px;
    padding: 30px 34px 34px;
}

.home-map-copy {
    max-width: 860px;
}

.home-map-copy .home-info-title,
.home-map-copy p {
    margin-left: 0;
}

.home-map-copy .home-info-title {
    padding: 0;
}

.home-map-frame {
    position: relative;
    overflow: hidden;
    height: 520px;
    margin-top: 28px;
    border-radius: 26px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.home-map-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 991px) {
    .home-hero-panel,
    .home-highlight,
    .home-services,
    .home-info-panel,
    .home-map-heading {
        padding-left: 26px;
        padding-right: 26px;
    }

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

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

    .home-legacy-grid {
        display: block;
    }

    .home-legacy-grid > [class*="col-"] {
        display: block;
        float: none;
        width: 100%;
    }

    .home-legacy-card {
        min-height: 0;
        padding: 42px 28px 34px;
    }

    .home-legacy-title {
        margin-bottom: 34px;
    }

    .home-service-card p {
        min-height: 0;
    }

    .home-service-card {
        min-height: 0;
    }

    .home-hero-anniversary {
        max-width: 700px;
        border-radius: 28px;
    }

    .home-map-frame {
        height: 440px;
    }
}

@media (max-width: 767px) {
    .home-shell {
        width: calc(100% - 22px);
    }

    .home-kicker,
    .home-map-heading .home-panel-label {
        display: flex;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero-panel,
    .home-highlight,
    .home-services,
    .home-info-panel,
    .home-map-heading {
        border-radius: 26px;
        padding: 24px 20px;
        text-align: center;
    }

    .home-hero {
        gap: 18px;
        margin-bottom: 22px;
    }

    .home-hero-title,
    .home-info-title,
    .home-section-heading h2,
    .home-legacy-title {
        word-break: break-word;
    }

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

    .home-fact-list,
    .home-facts {
        justify-content: center;
    }

    .home-hero-actions .btn,
    .home-btn-secondary,
    .home-hero-button,
    .home-client-actions .btn,
    .home-service-link {
        width: 100%;
    }

    .home-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-services-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home-service-item {
        margin-bottom: 0;
    }

    .home-legacy-grid > [class*="col-"] {
        margin-bottom: 22px;
    }

    .home-legacy-grid > [class*="col-"]:last-child {
        margin-bottom: 0;
    }

    .home-hero-anniversary {
        max-width: 100%;
        margin-top: 22px;
        border-radius: 22px;
    }

    .home-hero-button {
        min-width: 0;
        min-height: 58px;
        font-size: 16px;
    }

    .home-legacy-card {
        padding: 34px 24px 30px;
        border-radius: 30px;
    }

    .home-legacy-title {
        margin-bottom: 26px;
    }

    .home-legacy-copy,
    .home-legacy-copy-short,
    .home-contact-stack {
        font-size: 16px;
        line-height: 1.8;
        text-align: center;
    }

    .home-client-preview {
        gap: 16px;
        margin: 26px auto 28px;
    }

    .home-client-preview img {
        max-width: 96px;
        max-height: 52px;
    }

    .home-map-frame {
        height: 340px;
        margin-top: 22px;
        border-radius: 22px;
    }

    .home-map-copy {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .home-stat-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-copy,
    .home-highlight-copy,
    .home-section-heading p,
    .home-info-text,
    .home-map-heading p {
        font-size: 16px;
    }

    .home-contact-card a,
    .home-contact-card p {
        font-size: 17px;
    }
}
