/* Phones: keep contact actions in the page instead of covering content. */
.ka-contact-float {
    position: static;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px 36px;
}

.ka-contact-float a,
.ka-contact-float button {
    min-height: 44px;
    padding: 8px 16px;
    font-size: 13px;
    box-shadow: none;
}

.ka-contact-float a {
    background: #167c41;
}

#header .header-top {
    padding: 12px 16px 8px;
}

#header .header-top > .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin: 0;
}

#header .header-top > .row > div {
    width: auto;
    padding: 0;
}

#header .header-top img {
    width: min(132px, 100%);
    height: auto;
}

#header .header-top .top-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin: 0;
    white-space: nowrap;
}

#header .header-top .top-links > :not(.language-group):not([href^="tel:"]) {
    display: none;
}

#header .header-top .top-links > [href^="tel:"] {
    margin: 0;
    color: #454b51;
    font-size: 12px;
}

#header .header-top .language-group {
    display: inline-flex;
    gap: 4px;
    margin: 0;
}

#header .header-top .language-group > .language-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 30px;
    margin: 0;
}

#header .header-menu {
    padding-top: 6px;
    padding-bottom: 6px;
}

#header .mobile-menu-toggle {
    min-height: 44px;
    padding: 8px 13px;
}

main .legacy-slider {
    height: clamp(315px, 90vw, 420px);
}

main .hero-slide-office::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(180deg, #11192335, #1119239c);
    content: '';
    pointer-events: none;
}

main .hero-copy {
    top: 0;
    left: 48px;
    right: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    height: 100%;
    padding-bottom: 26px;
}

main .hero-copy strong {
    margin: 7px 0;
    font-size: clamp(24px, 6.4vw, 35px);
    line-height: 1.16;
}

main .hero-copy span,
main .hero-copy small,
main .hero-price-copy small {
    font-size: 14px;
    line-height: 1.45;
}

main .hero-arrow {
    top: calc(50% - 22px);
    width: 44px;
    height: 44px;
}

main .hero-prev { left: 2px; }
main .hero-next { right: 2px; }
main .hero-dots { bottom: 14px; }

main .legacy-callout {
    padding: 18px 0;
}

main .callout-lead {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.4;
}

main .callout-lead > span {
    font-size: 22px;
}

main .callout-action {
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 14px;
}

main .legacy-intro,
main .legacy-closing {
    padding: 32px 18px;
}

main .legacy-intro > p {
    margin: 10px auto 20px;
}

main .legacy-intro > h2,
main .legacy-services h2,
main .legacy-seo-copy h2,
main .legacy-closing h2,
main .legacy-news h2 {
    margin-bottom: 12px;
    font-size: 23px;
    line-height: 1.28;
}

main .legacy-intro .intro-copy h1 {
    margin: 0 0 12px;
    font-size: 26px;
    line-height: 1.23;
}

main .legacy-intro .word-rotator {
    padding: 0 4px;
}

main .original-concept {
    min-height: 0;
    margin: 0 0 20px;
    padding: 0 4px;
}

main .original-concept .row {
    display: grid;
    gap: 8px;
    margin: 0;
}

main .original-concept .row > div {
    max-width: none;
    padding: 0;
}

main .original-concept .process-image,
main .original-concept .project-image {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 60px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fff;
    text-align: left;
}

main .original-concept .process-image img {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    margin: 0;
    object-fit: contain;
}

main .original-concept .process-image strong,
main .original-concept .our-work {
    position: static;
    display: block;
    margin: 0;
    color: #9e0010;
    font: 700 14px/1.35 "Noto Sans", Arial, sans-serif;
}

main .original-concept .project-image::before,
main .original-concept .project-image::after {
    display: none;
}

main .original-concept .project-image .concept-project,
main .original-concept .project-image .concept-project img {
    width: 42px !important;
    height: 42px !important;
}

main .original-concept .project-image .concept-project {
    flex: 0 0 42px;
    margin: 0 !important;
}

main .legacy-services hr,
main .legacy-seo-copy hr {
    margin: 12px 0 24px;
}

main .service-item {
    gap: 10px;
    margin-bottom: 16px;
}

main .service-item i {
    flex: 0 0 26px;
    font-size: 21px;
    text-align: center;
}

main .service-item h3 {
    margin: 0 0 4px;
    font-size: 16px;
    line-height: 1.3;
    text-transform: none;
}

main .service-item p,
main .legacy-seo-copy p,
main .legacy-intro p {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.55;
}

main .legacy-seo-copy {
    padding-bottom: 25px;
}

main .legacy-seo-copy h3 {
    margin-top: 18px;
    font-size: 19px;
    line-height: 1.35;
}

main .home-guides-news {
    padding: 32px 4px;
    background-size: min(580px, 130%) auto;
}

main .home-guides-news .testimonial-carousel {
    margin-top: 24px;
}

main .home-guides-news .testimonial-carousel blockquote {
    padding: 20px 20px 20px 35px;
    font-size: 16px;
    line-height: 1.5;
}

main .home-guides-news .testimonial-carousel blockquote::before {
    left: 10px;
    top: 4px;
    font-size: 37px;
}

main .legacy-closing h2 strong {
    display: inline;
    padding: 0 4px;
}
