/* Visual refinements only: preserve the homepage's content and section layout. */
.homepage-polish {
    --home-ink: #223629;
    --home-copy: #465149;
    --home-line: #dce5dc;
    --home-soft: #f5f8f4;
}

.homepage-polish > :is(.industry-slider-area, .counter-brand-logo-area, .support-footer__area, .testimonial-brand-slider-area, .blog-grid-area) .section-title {
    margin-bottom: 32px;
}
.homepage-polish > :is(.industry-slider-area, .counter-brand-logo-area, .support-footer__area, .testimonial-brand-slider-area, .blog-grid-area) .section-title .title {
    color: var(--home-ink);
    font-size: clamp(1.65rem, 2.3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.025em;
    text-wrap: balance;
}
.homepage-polish > .industry-slider-area.section-space--inner--60 {
    background-color: #fff;
    border-bottom: 1px solid var(--home-line);
}
.homepage-polish > .industry-slider-area h1 {
    margin-bottom: 26px;
    color: var(--home-ink);
    font-size: clamp(1.9rem, 3vw, 2.75rem);
    line-height: 1.2;
    letter-spacing: -.03em;
    font-weight: 600;
    text-wrap: balance;
}
.homepage-polish > .industry-slider-area p {
    color: var(--home-copy);
    font-size: 1rem;
    line-height: 1.85;
    text-align: left;
    text-wrap: pretty;
    margin-bottom: 18px;
}
.homepage-polish > .industry-slider-area p:last-child { margin-bottom: 0; }
.homepage-polish > .industry-slider-area p b { color: var(--home-ink); font-weight: 600; }
.homepage-polish .homepage-roller-grid a { border-radius: 6px; }

.homepage-polish > .feature-background__wrapper .feature-background__content-wrapper {
    padding-bottom: 44px;
}
.homepage-polish > .feature-background__wrapper h2 {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    line-height: 1.2;
    letter-spacing: -.025em;
    text-wrap: balance;
}
.homepage-polish > .feature-background__wrapper p {
    line-height: 1.8;
    text-align: left;
    text-wrap: pretty;
}
.homepage-polish > .counter-brand-logo-area {
    background-color: var(--home-soft);
}
.homepage-polish > .counter-brand-logo-area .project-counter-single-content {
    padding: 20px 8px;
    margin-bottom: 0;
}
.homepage-polish > .counter-brand-logo-area .project-counter-single-content__image {
    margin-bottom: 20px;
}
.homepage-polish > .counter-brand-logo-area .project-counter-single-content__image img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}
.homepage-polish > .counter-brand-logo-area .project-counter-single-content__content {
    font-variant-numeric: tabular-nums;
}
.homepage-polish > .counter-brand-logo-area .project-counter-single-content__project-title {
    margin-top: 12px;
    color: var(--home-copy);
    font-size: .9375rem;
    line-height: 1.5;
    font-weight: 500;
    text-wrap: balance;
}
.homepage-polish > .cta-area .cta-content__title {
    font-size: clamp(1.85rem, 3.2vw, 2.9rem);
    line-height: 1.25;
    letter-spacing: -.025em;
    margin-bottom: 28px;
}
.homepage-polish > .cta-area .cta-content__subtitle {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 16px;
}
.homepage-polish > .support-footer__area.lineart-bg .contact-form-area {
    padding: clamp(24px, 3vw, 40px);
    background: #fff;
    border: 1px solid var(--home-line);
    border-top: 3px solid var(--green1, #3fab3c);
    border-radius: 6px;
    box-shadow: 0 12px 32px rgb(34 54 41 / 5%);
}
.homepage-polish > .support-footer__area .contact-form-area .section-title .title {
    font-size: clamp(1.5rem, 2vw, 1.875rem);
}
.homepage-polish > .support-footer__area .contact-form-area p {
    color: var(--home-copy);
    line-height: 1.75;
    text-align: left;
}
.homepage-polish > .support-footer__area .contact-form-wrapper :is(input:not([type="hidden"]), textarea) {
    background: #f8faf7;
    border: 1px solid #cdd9cd;
    border-radius: 4px;
    padding: 14px 16px;
    color: var(--home-ink);
    margin-bottom: 18px;
    transition: border-color .2s, box-shadow .2s;
}
.homepage-polish > .support-footer__area .contact-form-wrapper textarea {
    min-height: 140px;
    resize: vertical;
}
.homepage-polish > .support-footer__area .contact-form-wrapper :is(input, textarea):focus {
    background: #fff;
    border-color: #287b2b;
    box-shadow: 0 0 0 3px rgb(40 123 43 / 12%);
}
.homepage-polish > :is(.cta-area, .support-footer__area) .ht-btn {
    border-radius: 4px;
    min-height: 48px;
    letter-spacing: .025em;
    transition: background-color .2s, border-color .2s, transform .2s;
}
.homepage-polish > .support-footer__area .contact-form-wrapper button {
    background: #287b2b;
    border-color: #287b2b;
    color: #fff;
}
.homepage-polish > .support-footer__area .contact-form-wrapper button:hover {
    background: #205f23;
    border-color: #205f23;
}
.homepage-polish > :is(.cta-area, .support-footer__area) .ht-btn:active { transform: translateY(1px); }
.homepage-polish > .testimonial-brand-slider-area .testimonial-name {
    color: var(--home-ink);
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 600;
}
.homepage-polish > .testimonial-brand-slider-area .designation {
    color: var(--home-copy);
    font-size: .875rem;
    font-weight: 400;
}
.homepage-polish > .testimonial-brand-slider-area .testimonial-slider__single-item__content .text {
    color: var(--home-copy);
    font-size: 1rem;
    line-height: 1.85;
    text-align: left;
}
.homepage-polish > .blog-grid-area .single-grid-blog-post {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgb(34 54 41 / 6%);
    background: #fff;
}
.homepage-polish > .blog-grid-area .single-grid-blog-post__content { padding: 24px; }
.homepage-polish > .blog-grid-area .post-title {
    font-size: 1.25rem;
    line-height: 1.4;
    letter-spacing: -.015em;
    text-wrap: balance;
}
.homepage-polish > .blog-grid-area .post-title a { color: var(--home-ink); }
.homepage-polish > .blog-grid-area .post-title a:hover { color: #287b2b; }
.homepage-polish > .blog-grid-area .post-excerpt {
    color: var(--home-copy);
    line-height: 1.75;
}
@media (max-width: 767px) {
    .homepage-polish > :is(.industry-slider-area, .counter-brand-logo-area, .support-footer__area, .testimonial-brand-slider-area, .blog-grid-area).section-space--inner--60 {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .homepage-polish > :is(.industry-slider-area, .counter-brand-logo-area, .support-footer__area, .testimonial-brand-slider-area, .blog-grid-area) .section-title { margin-bottom: 24px; }
    .homepage-polish > .industry-slider-area p { line-height: 1.75; }
    .homepage-polish > .blog-grid-area .single-grid-blog-post__content { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .homepage-polish > :is(.cta-area, .support-footer__area) .ht-btn,
    .homepage-polish > .support-footer__area .contact-form-wrapper :is(input, textarea) { transition: none; }
}

/* ---- v2 refinements (CSS only; markup and copy untouched) ---------------- */

/* Section titles: theme sets grey with !important; give homepage headings real ink. */
.homepage-polish .section-title .title {
    color: var(--home-ink) !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}
.homepage-polish .section-title .title.text-white,
.homepage-polish .feature-background__wrapper .title { color: #fff !important; }

/* Stats: keep every figure on one line and on a shared scale. */
.homepage-polish > .counter-brand-logo-area .project-counter-single-content {
    height: 100%;
    padding: 28px 12px;
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 6px;
    transition: border-color .2s, box-shadow .2s;
}
.homepage-polish > .counter-brand-logo-area .project-counter-single-content:hover {
    border-color: #a9cfa9;
    box-shadow: 0 8px 22px rgb(34 54 41 / 7%);
}
.homepage-polish > .counter-brand-logo-area .project-counter-single-wrapper,
.homepage-polish > .counter-brand-logo-area .project-counter-single-content-wrapper > .row { row-gap: 24px; }
.homepage-polish > .counter-brand-logo-area .project-counter-single-content__content {
    white-space: nowrap;
}
.homepage-polish > .counter-brand-logo-area :is(.project-counter-single-content__project-count, .plus) {
    font-size: clamp(2rem, 2.6vw, 2.75rem) !important;
    line-height: 1.15 !important;
    font-weight: 600;
    letter-spacing: -.02em;
}
.homepage-polish > .counter-brand-logo-area .plus sup { font-size: .5em; top: -.9em; }
.homepage-polish > .counter-brand-logo-area .project-counter-single-content__project-title {
    white-space: normal;
}
.homepage-polish > .counter-brand-logo-area .project-counter-single-content__project-title::first-letter {
    text-transform: uppercase;
}

/* Events: show the date badge, remove dead space under the banner images. */
.homepage-polish .single-grid-blog-post--style2 {
    height: calc(100% - 30px);
    border: 1px solid var(--home-line);
    transition: box-shadow .2s, transform .2s;
}
.homepage-polish .single-grid-blog-post--style2:hover {
    box-shadow: 0 12px 28px rgb(34 54 41 / 10%);
    transform: translateY(-3px);
}
.homepage-polish .single-grid-blog-post__image { position: relative; }
.homepage-polish .single-grid-blog-post__image .post-date {
    top: 12px;
    right: 12px;
    bottom: auto;
    z-index: 2;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 18%);
}
.homepage-polish .single-grid-blog-post__image .post-image { margin-bottom: 0; }
.homepage-polish .single-grid-blog-post__image .post-image a img {
    aspect-ratio: 3 / 2;
    width: 100%;
    object-fit: cover !important;
}
.homepage-polish .single-grid-blog-post__content .post-categories a {
    color: #287b2b;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Blog: equal-height cards, aligned read-more buttons, no justified rivers. */
.homepage-polish .blog-grid-wrapper--style6 > .row:first-child { row-gap: 30px; }
.homepage-polish .blog-post-slider__single-slide--grid-view--style2 {
    height: 100%;
    margin-bottom: 0;
    border: 1px solid var(--home-line);
    border-radius: 6px;
    overflow: visible;
    background: #fff;
    transition: box-shadow .2s, transform .2s;
}
.homepage-polish .blog-post-slider__single-slide--grid-view--style2:hover { transform: translateY(-3px); }
.homepage-polish .blog-post-slider__single-slide--grid-view--style2 .blog-post-slider__image {
    overflow: hidden;
    border-radius: 6px 6px 0 0;
}
.homepage-polish .blog-post-slider__single-slide--grid-view--style2 .blog-post-slider__image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .4s;
}
.homepage-polish .blog-post-slider__single-slide--grid-view--style2:hover .blog-post-slider__image img { transform: scale(1.04); }
.homepage-polish .blog-post-slider__content--style2 .post-excerpt {
    text-align: left !important;
    word-spacing: normal;
    hyphens: auto;
}
.homepage-polish .blog-grid-wrapper--style6 .col-lg-12.text-center { margin-top: 56px; }

/* Testimonials + client logos. */
.homepage-polish > .testimonial-brand-slider-area .testimonial-slider__single-item--style2 {
    height: 100%;
    padding: 8px 8px 20px;
    border-radius: 6px;
}
.homepage-polish > .testimonial-brand-slider-area .designation { font-style: normal; }
.homepage-polish .brand-logo-slider__single .image img { opacity: .8; transition: opacity .2s; }
.homepage-polish .brand-logo-slider__single:hover .image img { opacity: 1; }

/* Feature band: comfortable measure on the green panel. */
.homepage-polish > .feature-background__wrapper .feature-background__single-content-wrapper p {
    max-width: 68ch;
    font-size: .975rem;
}

@media (max-width: 767px) {
    .homepage-polish > .counter-brand-logo-area .project-counter-single-content { padding: 22px 10px; }
    .homepage-polish .blog-grid-wrapper--style6 .col-lg-12.text-center { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .homepage-polish :is(.single-grid-blog-post--style2, .blog-post-slider__single-slide--grid-view--style2, .project-counter-single-content),
    .homepage-polish .blog-post-slider__image img { transition: none; transform: none !important; }
}

/* ---- v3: readability + scroll reveal ------------------------------------ */

/* Intro + range: clean white instead of the cropped section-bg smear. */
.homepage-polish > .industry-slider-area { background-image: none; }
.homepage-polish > .industry-slider-area.section-space--top--60 { background-color: #fff; padding-bottom: 60px; }

/* Intro copy: keep lines to a readable measure on wide screens. */
.homepage-polish > .industry-slider-area.section-space--inner--60 p {
    max-width: 900px;
    margin-inline: auto;
}

/* About panel: white text on brand green1 is ~2.9:1; deepen the panel to ~5.3:1. */
.homepage-polish > .feature-background__wrapper .green-bg {
    background-color: #287b2b;
    opacity: .96;
}
.homepage-polish > .feature-background__wrapper .section-title-area h3.title {
    font-size: .9375rem;
    letter-spacing: .12em;
    opacity: .85;
}
@media (max-width: 767px) {
    .homepage-polish > .feature-background__wrapper .green-bg { opacity: .93; }
    .homepage-polish > .feature-background__wrapper .feature-background__single-content-wrapper p {
        font-size: .9375rem;
        line-height: 1.75;
        padding-top: 0;
    }
    .homepage-polish > .industry-slider-area.section-space--top--60 { padding-bottom: 40px; }
}

/* Scroll reveal (classes added by assets/js/homepage-reveal.js only to
   elements that start below the fold, so nothing visible ever flickers). */
.homepage-polish .reveal-pending {
    opacity: 0;
    transform: translateY(18px);
}
.homepage-polish .reveal-pending.is-revealed {
    opacity: 1;
    transform: none;
    transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .6s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}
@media (prefers-reduced-motion: reduce) {
    .homepage-polish .reveal-pending { opacity: 1; transform: none; }
}

/* v3.1 fixes */
/* Blog: theme margin-bottom (60px !important) was being absorbed by height:100%,
   leaving a gap above the arrow. Space cards with row-gap instead. */
.homepage-polish .blog-grid-wrapper--style6 .blog-post-slider__single-slide--extra-space { margin-bottom: 0 !important; }
.homepage-polish .blog-grid-wrapper--style6 > .row:first-child { row-gap: 56px; }
.homepage-polish .blog-post-slider__content--style2 { padding-bottom: 48px; }

/* About panel eyebrow: theme forces a large mobile size; keep it a small label. */
.homepage-polish > .feature-background__wrapper .section-title-area h3.title {
    font-size: clamp(.8125rem, 1.1vw, .9375rem) !important;
    line-height: 1.4 !important;
    letter-spacing: .1em !important;
}

/* ---- v5: stats alignment, CTA, client tiles, testimonials, sliders ------- */

/* Stats: bottom-align labels so "India's Largest" lines up with the numbers. */
.homepage-polish > .counter-brand-logo-area .project-counter-single-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.homepage-polish > .counter-brand-logo-area .project-counter-single-content__content {
    flex: 1;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    align-content: space-between;
    white-space: normal;
}
.homepage-polish > .counter-brand-logo-area .project-counter-single-content__content > span { white-space: nowrap; }
.homepage-polish > .counter-brand-logo-area .project-counter-single-content__project-title { flex-basis: 100%; margin-top: 0; padding-top: 12px; }

/* CTA: richer overlay for legible type, bigger primary button. */
.homepage-polish > .cta-area.cta-area-bg:after {
    background: linear-gradient(180deg, rgb(10 24 14 / 72%), rgb(10 24 14 / 58%)) !important;
    opacity: 1 !important;
}
.homepage-polish > .cta-area.section-space--inner--60 { padding-top: 88px; padding-bottom: 88px; }
.homepage-polish > .cta-area .cta-content__subtitle {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid rgb(255 255 255 / 35%);
    border-radius: 999px;
    font-size: .875rem !important;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.homepage-polish > .cta-area .ht-btn {
    padding: 15px 34px !important;
    font-size: .9375rem !important;
    border-radius: 4px;
    box-shadow: 0 8px 22px rgb(0 0 0 / 25%);
}
.homepage-polish > .cta-area .ht-btn:hover { transform: translateY(-2px); }

/* Form section: quieter line art so the form leads. */
.homepage-polish > .support-footer__area.lineart-bg { background-color: #fbfcfa; }

/* Client logos: uniform white tiles. */
.homepage-polish .brand-logo-slider__container { padding: 6px 2px 10px; }
.homepage-polish .brand-logo-slider__single {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 112px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 6px;
    transition: border-color .2s, box-shadow .2s;
}
.homepage-polish .brand-logo-slider__single:hover {
    border-color: #a9cfa9;
    box-shadow: 0 8px 20px rgb(34 54 41 / 8%);
}
.homepage-polish .brand-logo-slider__single img { max-height: 72px; width: auto; object-fit: contain; }

/* Testimonials: each quote as a card. */
.homepage-polish > .testimonial-brand-slider-area .testimonial-slider__single-item--style2 {
    background: #f7faf6;
    border: 1px solid var(--home-line);
    border-left: 3px solid #287b2b;
    padding: 12px 20px 24px;
}
.homepage-polish > .testimonial-brand-slider-area .testimonial-slider__single-item--style2 .row > .col-4 img {
    max-width: 72px;
    border-radius: 50%;
    background: #fff;
}
.homepage-polish > .testimonial-brand-slider-area .testimonial-slider__single-item__content { padding: 0 16px; }

/* Slider dots in brand green. */
.homepage-polish .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: #b9c9b9;
    opacity: 1;
    transition: width .25s, background-color .25s;
}
.homepage-polish .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 5px;
    background: #287b2b;
}

@media (max-width: 767px) {
    .homepage-polish > .cta-area.section-space--inner--60 { padding-top: 60px; padding-bottom: 60px; }
    .homepage-polish .brand-logo-slider__single { height: 92px; padding: 12px; }
    .homepage-polish .brand-logo-slider__single img { max-height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
    .homepage-polish .brand-logo-slider__single,
    .homepage-polish .swiper-pagination-bullet { transition: none; }
    .homepage-polish > .cta-area .ht-btn:hover { transform: none; }
}
/* v5.1 */
/* only "40,000 Ft²+" has a leading space in markup that flex drops */
.homepage-polish > .counter-brand-logo-area .project-counter-single-content-wrapper > .row > div:first-child .counter + .plus { margin-left: .22em; }
.homepage-polish > .cta-area .ht-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: auto !important;
    line-height: 1.2 !important;
}
/* Testimonial cards: equal height to the tallest quote (no empty band below). */
.homepage-polish > .testimonial-brand-slider-area .testimonial-slider__wrapper { align-items: stretch; }
.homepage-polish > .testimonial-brand-slider-area .testimonial-slider__wrapper .swiper-slide { height: auto; }
.homepage-polish > .testimonial-brand-slider-area .testimonial-slider__single-item--style2 { height: 100%; }
.homepage-polish > .testimonial-brand-slider-area .swiper-pagination { position: static; margin-top: 24px; }
