/* RE-Solve — Thai typography + language switch (loaded after the template CSS) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;600;700;800&family=Sarabun:wght@300;400;500;600;700&display=swap');

body.lang-th,
body.lang-th h1, body.lang-th h2, body.lang-th h3,
body.lang-th h4, body.lang-th h5, body.lang-th h6,
body.lang-th p, body.lang-th a, body.lang-th div,
body.lang-th span, body.lang-th li, body.lang-th button,
body.lang-th input, body.lang-th textarea, body.lang-th label {
    font-family: 'Noto Sans Thai', 'Sarabun', sans-serif !important;
}

/* Article detail: center long-form copy and prevent CMS tables from collapsing. */
.blog-template-wrapper {
    width: 100%;
    max-width: 1120px;
    margin: -20px auto 0;
}

.blog-template-wrapper .rich-text-style {
    display: block;
    width: 100%;
    color: #444;
    font-size: 17px;
    line-height: 1.8;
}

.blog-template-wrapper .rich-text-style > p,
.blog-template-wrapper .rich-text-style > h2,
.blog-template-wrapper .rich-text-style > h3,
.blog-template-wrapper .rich-text-style > h4,
.blog-template-wrapper .rich-text-style > ol,
.blog-template-wrapper .rich-text-style > ul,
.blog-template-wrapper .rich-text-style > blockquote {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.blog-template-wrapper .rich-text-style h2 {
    margin-top: 46px;
    margin-bottom: 16px;
    color: #101814;
    font-size: clamp(28px, 2.3vw, 38px);
    line-height: 1.3;
}

.blog-template-wrapper .rich-text-style h3 {
    margin-top: 30px;
    color: #173e32;
    line-height: 1.4;
}

.blog-template-wrapper .rich-text-style ul,
.blog-template-wrapper .rich-text-style ol {
    padding-left: 28px;
}

.blog-template-wrapper .rich-text-style li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.blog-template-wrapper .rich-text-style table {
    width: 100%;
    margin: 24px auto 34px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #d9e2dd;
    border-radius: 10px;
    background: #fff;
    font-size: 16px;
    line-height: 1.55;
}

.blog-template-wrapper .rich-text-style th,
.blog-template-wrapper .rich-text-style td {
    min-width: 150px;
    padding: 15px 18px;
    border-right: 1px solid #d9e2dd;
    border-bottom: 1px solid #d9e2dd;
    text-align: left;
    vertical-align: top;
}

.blog-template-wrapper .rich-text-style th {
    background: #eaf2ed;
    color: #0a5d34;
    font-weight: 700;
}

.blog-template-wrapper .rich-text-style tr:last-child td { border-bottom: 0; }
.blog-template-wrapper .rich-text-style th:last-child,
.blog-template-wrapper .rich-text-style td:last-child { border-right: 0; }

.blog-template-wrapper .rich-text-style blockquote {
    margin-top: 32px;
    margin-bottom: 32px;
    padding: 26px 30px;
    border-left: 5px solid #0a6738;
    border-radius: 0 10px 10px 0;
    background: #eef6f1;
    color: #294038;
    text-align: left;
}

.blog-template-wrapper .rich-text-style blockquote p { margin: 0; }

.blog-template-pagination {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 36px;
    width: 100%;
    max-width: 1120px;
    margin: 70px auto 0;
    padding-top: 36px;
    border-top: 1px solid #d8dedb;
}

.blog-template-prev-button,
.blog-template-next-button { min-width: 0; }
.blog-template-pagination-link { max-width: 430px; }
.blog-template-next-button { justify-self: end; }
.blog-details-link-title { line-height: 1.45; }

@media (max-width: 767px) {
    .blog-template-wrapper .rich-text-style {
        font-size: 16px;
        line-height: 1.75;
    }

    .blog-template-wrapper .rich-text-style h2 {
        margin-top: 36px;
        font-size: 27px;
    }

    .blog-template-wrapper .rich-text-style table {
        display: block;
        overflow-x: auto;
        white-space: normal;
        -webkit-overflow-scrolling: touch;
    }

    .blog-template-wrapper .rich-text-style blockquote { padding: 20px; }

    .blog-template-pagination {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 48px;
    }

    .blog-template-pagination-icon { display: none; }

    .blog-template-prev-button,
    .blog-template-next-button,
    .blog-template-pagination-link {
        width: 100%;
        max-width: none;
    }

    .blog-template-next-button { justify-self: stretch; }
}

/* FAQ: a single, centered reading column keeps each question and answer in a
   predictable sequence while retaining the existing accordion interaction. */
.faq-accordion-container {
    width: calc(100% - 40px);
    max-width: 1040px;
    margin-right: auto;
    margin-left: auto;
}

.faq-accordion-container .accordion-wrapper {
    display: block;
}

.faq-accordion-container .accordion-wrap {
    width: 100%;
    margin-right: 0;
}

.faq-accordion-container .accordion-item,
.faq-accordion-container .accordion-item.last {
    margin-bottom: 20px;
}

.faq-accordion-container .accordion-wrap:last-child .accordion-item:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .faq-accordion-container {
        width: calc(100% - 32px);
    }
}

.founder-image .founder-text {
    text-shadow: 0 2px 5px rgba(0, 0, 0, .9), 0 1px 2px rgba(0, 0, 0, .75);
    position: absolute;
    top: 24px;
    right: 24px;
    text-align: right;
    z-index: 2;
}

.founder-image {
    position: relative;
    background-image: url("../img/generated/founder-tanapon.webp");
    background-position: center top;
}

@media screen and (max-width: 767px) {
    .founder-image .founder-text {
        top: 16px;
        right: 16px;
    }
}

.founder-name-wrap .large-text.text-white {
    font-size: 38px;
    white-space: nowrap;
}

.founder-identity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

@media screen and (max-width: 767px) {
    .founder-name-wrap .large-text.text-white {
        font-size: 38px;
        white-space: normal;
    }

}

.inner-banner-text-wrap.blog-post-page .inner-banner-paragraph {
    width: 100%;
    max-width: none;
}

.nav-dropdown-list.megamenu-two-columns .nav-dropdown-column {
    width: 50%;
}

.nav-dropdown-list.megamenu-two-columns.w--open {
    width: 360px;
}

.legal-page-banner {
    padding-bottom: 64px;
}

.legal-banner-wrap {
    max-width: 760px;
}

.legal-page-section {
    background: #f6f8f7;
}

.legal-content-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 48px 56px;
    border: 1px solid #e3e9e5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(0, 55, 30, .06);
}

.legal-content-card h2 {
    margin-top: 34px;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.legal-content-card h3 {
    margin-top: 22px;
    margin-bottom: 8px;
    font-size: 21px;
}

.legal-content-card p {
    line-height: 1.85;
}

.legal-content-card a {
    color: var(--primary);
}

.legal-updated {
    color: var(--paragraph-gray);
    font-size: 14px;
}

@media screen and (max-width: 767px) {
    .legal-content-card {
        padding: 30px 24px;
        border-radius: 14px;
    }
}

.footer-policy-links {
    gap: 0;
    align-items: center;
}

.footer-policy-link {
    color: var(--paragraph-gray);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.footer-policy-link:hover {
    color: #fff;
}

.footer-cookie-settings {
    appearance: none;
    padding: 0;
    background: transparent;
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

.footer-cookie-settings:focus-visible {
    outline: 3px solid #ffd66b;
    outline-offset: 4px;
}

.footer-policy-link + .footer-policy-link::before {
    content: "|";
    color: var(--paragraph-gray);
    margin: 0 10px;
}

@media screen and (max-width: 767px) {
    .footer-policy-links {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 8px;
    }
}

/* Keep the short gallery headline together on tablet and desktop. */
.gallery-hero-title {
    white-space: nowrap;
}

@media screen and (max-width: 479px) {
    .gallery-hero-title {
        white-space: normal;
    }
}

/* Thai runs a little taller — give it breathing room */
body.lang-th p { line-height: 1.7; }

/* Homepage hero image (replaces the exported background video). */
.home-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
}

/* Language switcher */
.lang-switch {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    align-self: center;
    margin-left: 0;
    font-family: 'Instrument Sans', 'Lato', sans-serif !important;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    padding: 4px;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(2px);
}
.lang-switch::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc((100% - 10px) / 2);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateX(0);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease;
}
.lang-switch[data-active="en"]::before {
    transform: translateX(calc(100% + 2px));
}
.lang-switch a {
    position: relative;
    z-index: 1;
    min-width: 44px;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    padding: 5px 11px;
    border-radius: 999px;
    opacity: 0.75;
    transition: color 220ms ease, opacity 220ms ease, transform 220ms ease;
    font-family: 'Instrument Sans', 'Lato', sans-serif !important;
}
.lang-switch a:hover { opacity: 1; }
.lang-switch a.is-active {
    background: transparent;
    color: #14524f;
    opacity: 1;
}
.lang-switch.is-switching a { transform: scale(0.98); }

/* Inner-page hero copy sits on the white half of the split banner. */
.inner-page-header .inner-banner-text-wrap h1,
.inner-page-header .inner-banner-text-wrap p,
.inner-page-header .inner-banner-text-wrap .section-label,
.inner-page-header .inner-banner-text-wrap .section-label * {
    color: #000000 !important;
}

.inner-banner-image-with-overlay {
    overflow: hidden;
}

.inner-banner-image-with-overlay > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0%;
}

.inner-banner-image-with-overlay.faq-page > img {
  object-position: 50% 50%;
}

.inner-banner-image-with-overlay::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 35%, rgba(0, 0, 0, 0) 72%);
    pointer-events: none;
}

/* Keep the sustainability heading on one line on desktop layouts. */
@media (min-width: 992px) {
    .home-green-title {
        width: max-content;
        max-width: none;
        white-space: nowrap;
        font-size: clamp(34px, 3.25vw, 54px);
    }
}

/* Services page: place the section heading below its label. */
.services-1-title-wrap.services-page-title-wrap {
    flex-flow: column;
    align-items: flex-start;
    gap: 32px;
}

/* Add breathing room between the blog list and its CTA card. */
.blog-cta-card {
    margin-top: 20px;
}

/* Stronger liquid-glass treatment for blog cards. */
.blog-grid-post-wrapper {
    background: rgba(225, 231, 227, 0.82);
    border: 1px solid rgba(0, 89, 37, 0.22);
    box-shadow: 0 12px 32px rgba(0, 44, 17, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.blog-grid-content-wrapper {
    background: linear-gradient(145deg, rgba(235, 240, 237, 0.94), rgba(218, 226, 221, 0.86));
    -webkit-backdrop-filter: blur(14px) saturate(125%);
    backdrop-filter: blur(14px) saturate(125%);
}

/* Keep the per-site quote label on a single line in pricing cards. */
.pricing-plan-price {
    display: inline-block;
    white-space: nowrap;
    font-size: clamp(36px, 3vw, 48px);
    line-height: 1.05;
}

@media (max-width: 479px) {
    .pricing-plan-price {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .blog-grid-content-wrapper {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

@media (min-width: 992px) {
    .services-page-title-wrap .services-1-title {
        width: max-content;
        max-width: none;
    }

    .services-page-title-wrap .services-1-title h2 {
        white-space: nowrap;
        font-size: clamp(28px, 2.45vw, 42px);
    }
}

@media (min-width: 992px) {
    .header-button-wrapper:not(.tablet) {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .inner-page-header .inner-labels-wrapper {
        flex-flow: row nowrap;
        max-width: none;
    }

    .inner-page-header .inner-labels-wrapper .video-label.inner-page {
        flex: none;
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lang-switch::before,
    .lang-switch a { transition: none; }
}

/* Brand logo sizing (RE-Solve wordmark is wide) */
.brand .logo,
.brand-tablet .logo {
    width: auto;
    height: 55px;
    max-height: 55px;
    transform: translateY(-16px);
    transition: filter 220ms ease;
}

/* Keep the navbar logo readable over the green scrolled navbar. */
.navbar-absolute.is-scrolled .brand .logo,
.navbar-absolute.is-scrolled .brand-tablet .logo {
    filter: brightness(0) invert(1) !important;
}

/* Base (all widths, incl. the mobile slide-out menu panel): keep dark nav items
   so they stay readable inside the light mobile menu. */
.navbar-absolute:not(.is-scrolled) .nav-item-title {
    color: #000000 !important;
}

.navbar-absolute:not(.is-scrolled) .nav-arrow,
.navbar-absolute:not(.is-scrolled) .nav-dropdown-toggle .button-text-wrap img {
    filter: brightness(0);
}

/* Desktop, DARK-topped pages only (home hero + dark-primary banners such as
   gallery / career-detail): the navbar overlays a dark area, so use white items
   + a soft top scrim + white logo. Light-banner pages keep the dark rules above
   (black reads well on their bright banners). Page type is detected from the
   DOM via :has(), so career (light) and career-detail (dark) resolve correctly.
   :where() keeps specificity equal to the base rules, so source order wins. */
@media (min-width: 992px) {
    :where(body:has(.home-1-banner-section), body:has(.dark-primary-banner-section), body:has(.photo-bg-inner-section)) .navbar-absolute:not(.is-scrolled) {
        background: linear-gradient(180deg, rgba(6, 12, 22, .60) 0%,
            rgba(6, 12, 22, .18) 62%, rgba(6, 12, 22, 0) 100%);
    }

    :where(body:has(.home-1-banner-section), body:has(.dark-primary-banner-section), body:has(.photo-bg-inner-section)) .navbar-absolute:not(.is-scrolled) .brand .logo {
        filter: brightness(0) invert(1) !important;
    }

    :where(body:has(.home-1-banner-section), body:has(.dark-primary-banner-section), body:has(.photo-bg-inner-section)) .navbar-absolute:not(.is-scrolled) .nav-item-title {
        color: #ffffff !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
    }

    :where(body:has(.home-1-banner-section), body:has(.dark-primary-banner-section), body:has(.photo-bg-inner-section)) .navbar-absolute:not(.is-scrolled) .nav-arrow,
    :where(body:has(.home-1-banner-section), body:has(.dark-primary-banner-section), body:has(.photo-bg-inner-section)) .navbar-absolute:not(.is-scrolled) .nav-dropdown-toggle .button-text-wrap img {
        filter: brightness(0) invert(1);
    }
}

.navbar-absolute:not(.is-scrolled) .lang-switch {
    border-color: rgba(0, 0, 0, 0.28);
    background: rgba(255, 255, 255, 0.72);
}

.navbar-absolute:not(.is-scrolled) .lang-switch a {
    color: #000000;
    opacity: 0.72;
}

.navbar-absolute:not(.is-scrolled) .lang-switch a.is-active {
    color: #14524f;
    opacity: 1;
}

.navbar-absolute:not(.is-scrolled) .header-button-wrapper:not(.tablet) .secondary-button {
    border: 1px solid rgba(0, 0, 0, 0.28);
    background-color: rgba(255, 255, 255, 0.72);
    color: #000000;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.navbar-absolute:not(.is-scrolled) .header-button-wrapper:not(.tablet) .secondary-button .button-text-wrap {
    color: #000000;
}

.navbar-absolute:not(.is-scrolled) .header-button-wrapper:not(.tablet) .secondary-button img {
    filter: brightness(0) !important;
}

.navbar-absolute:not(.is-scrolled) .header-button-wrapper:not(.tablet) .secondary-button:hover,
.navbar-absolute:not(.is-scrolled) .header-button-wrapper:not(.tablet) .secondary-button:focus-visible {
    border-color: #035925;
    background-color: #035925;
    color: #ffffff;
}

.navbar-absolute:not(.is-scrolled) .header-button-wrapper:not(.tablet) .secondary-button:hover .button-text-wrap,
.navbar-absolute:not(.is-scrolled) .header-button-wrapper:not(.tablet) .secondary-button:focus-visible .button-text-wrap {
    color: #ffffff;
}

.navbar-absolute:not(.is-scrolled) .header-button-wrapper:not(.tablet) .secondary-button:hover img,
.navbar-absolute:not(.is-scrolled) .header-button-wrapper:not(.tablet) .secondary-button:focus-visible img {
    filter: brightness(0) invert(1) !important;
}

/* Match the All Pages hover animation on every primary navbar link. */
.nav-link .button-text-wrap {
    transition: transform 280ms ease;
}

.nav-link:hover .button-text-wrap,
.nav-link:focus-visible .button-text-wrap {
    transform: translateY(-100%);
}

.footer-logo {
    width: auto;
    height: 100px;
    max-height: 100px;
}

.footer-text {
    width: max-content;
    max-width: none;
    white-space: nowrap;
}

.home-testimonials-heading {
    width: max-content;
    max-width: none;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .home-1-services .service-card-text-wrap {
        bottom: 36px;
        padding-right: 20px;
        padding-left: 20px;
    }
}

.home-1-cards-wrapper .black-card,
.home-1-cards-wrapper .light-gray-card,
.home-1-cards-wrapper .primary-card {
    isolation: isolate;
    justify-content: flex-end;
    overflow: hidden;
}

.home-1-cards-wrapper .black-card::after,
.home-1-cards-wrapper .light-gray-card::after,
.home-1-cards-wrapper .primary-card::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.58) 42%, rgba(0, 0, 0, 0) 78%);
    pointer-events: none;
}

.home-1-cards-wrapper .card-image {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    box-shadow: none;
    object-fit: cover;
}

.home-1-cards-wrapper .black-card > div,
.home-1-cards-wrapper .light-gray-card > div,
.home-1-cards-wrapper .primary-card > div {
    position: relative;
    z-index: 2;
}

.home-1-cards-wrapper .black-card h5,
.home-1-cards-wrapper .black-card p,
.home-1-cards-wrapper .light-gray-card h5,
.home-1-cards-wrapper .light-gray-card p,
.home-1-cards-wrapper .primary-card h5,
.home-1-cards-wrapper .primary-card p {
    color: #ffffff !important;
}

/* Homepage hero: dark gradient scrim so the white copy reads over the busy
   photo, while keeping the centre (the pig) bright. Tuned so every text zone
   clears WCAG contrast (small text >=4.5:1, headings >=3:1). */
.home-1-banner-overlay {
    background:
        linear-gradient(90deg, rgba(6,12,22,.90) 0%, rgba(6,12,22,.58) 32%,
            rgba(6,12,22,.20) 50%, rgba(6,12,22,.22) 60%, rgba(6,12,22,.66) 74%,
            rgba(6,12,22,.92) 100%),
        linear-gradient(180deg, rgba(6,12,22,.52) 0%, rgba(6,12,22,.10) 42%,
            rgba(6,12,22,.58) 100%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.home-1-banner-section .text-white,
.home-1-banner-section .home-1-banner-text,
.home-1-banner-section .underlined-link,
.home-1-banner-section .scroll-link-block,
.home-1-banner-section .button-text-wrap {
    color: #ffffff !important;
}

.home-1-banner-section .home-1-banner-text {
    max-width: 34ch;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
}

.home-1-h1-wrapper h1 {
    text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 2px 22px rgba(0, 0, 0, .7);
}

.home-1-banner-labels-wrap .label h6,
.home-1-banner-bottom-wrapper h6,
.home-1-banner-section .underlined-link-text-wrap div,
.home-1-banner-section .button-text-wrap div {
    text-shadow: 0 1px 5px rgba(0, 0, 0, .6);
}

.home-1-banner-section .home-1-banner-labels-wrap img,
.home-1-banner-section .underlined-link img,
.home-1-banner-section .scroll-link-block img {
    filter: brightness(0) invert(1) !important;
}

.home-1-banner-section .link-line {
    background-color: rgba(255, 255, 255, .85);
}

/* Accessibility: keyboard navigation, semantic typography and touch targets. */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.form-field {
    min-width: 0;
}

.form-field .contacts-input {
    width: 100%;
}

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 12px;
    padding: 12px 16px;
    border-radius: 6px;
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

body :where(a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])):focus-visible {
    outline: 3px solid #ffffff !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 5px #000000 !important;
}

.menu-button,
.close-menu-button {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.visual-h5 {
    color: var(--black);
    letter-spacing: -.4px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2em;
}

.visual-h6,
.footer-column-heading {
    display: block;
    color: var(--primary-dark);
    letter-spacing: -.48px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5em;
}

.footer-column-heading {
    text-align: left;
}

.home-1-banner-labels-wrap .visual-h6,
.home-1-banner-bottom-wrapper .visual-h6 {
    text-shadow: 0 1px 5px rgba(0, 0, 0, .6);
}

.home-1-cards-wrapper .visual-h5 {
    color: #ffffff !important;
}

@media (prefers-reduced-motion: reduce) {
    .skip-link {
        transition: none;
    }
}

/* Photo banner sections (services, blog, contact, career, our-team,
   testimonials): the template lays a light white wash over the photo, which
   drowns the white heading/subtitle. Add a dark scrim on top so the copy reads.
   These pages also get the white navbar (see the :has() gate above). */
.photo-bg-inner-section {
    position: relative;
}

.photo-bg-inner-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 12, 22, .64) 0%,
        rgba(6, 12, 22, .50) 48%, rgba(6, 12, 22, .70) 100%);
    pointer-events: none;
    z-index: 0;
}

.photo-bg-inner-section > .base-container {
    position: relative;
    z-index: 1;
}

/* Replace the off-topic stock backgrounds (greenhouse, generic farm, etc.) with
   on-topic imagery: real RE-Solve field photos where they fit, and licensed
   Pexels engineering-team photos for career / our-team. Overriding background
   with just the url also drops the template's light white wash. */
.photo-bg-inner-section.services-page { background-image: url("../img/site/banner-services.jpg?v=2026") !important; }
.photo-bg-inner-section.blog-1,
.photo-bg-inner-section.blog-1-copy { background-image: url("../img/site/banner-blog.jpg?v=2026") !important; }
.photo-bg-inner-section.contacts { background-image: url("../img/site/banner-farm.jpg?v=2026") !important; }
.photo-bg-inner-section.careers { background-image: url("../img/site/banner-career.jpg?v=2026") !important; }
.photo-bg-inner-section.our-team { background-image: url("../img/site/banner-team.jpg?v=2026") !important; }
.photo-bg-inner-section.faq { background-image: url("../img/site/banner-testimonials.jpg?v=2026") !important; }
.photo-bg-inner-section.gallery-page { background-image: url("../img/site/banner-gallery.jpg?v=2026") !important; }

.photo-bg-inner-section {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* About-us story band ("ที่มาของเรา"): same hero treatment as the photo banners
   — on-topic pig-farm image + dark scrim + white copy (replaces the light white
   wash over the generic green fields). */
.about-photo-wrapper {
    position: relative;
    background-image: url("../img/generated/about-story-tanapon.png") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.about-photo-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 12, 22, .64) 0%,
        rgba(6, 12, 22, .50) 48%, rgba(6, 12, 22, .72) 100%);
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

.about-photo-wrapper > * {
    position: relative;
    z-index: 1;
}

.about-photo-text h2,
.about-photo-text p {
    text-shadow: 0 1px 5px rgba(0, 0, 0, .5);
}

/* About-us decorative image block: on-topic farm image instead of aerial fields. */
.why-choose-us-image {
    background-image: url("../img/site/about-aerial.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Text-shadow sharpens the small (16px) label/subtitle over the photo. */
.photo-inner-banner-text-wrap h1 {
    text-shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 2px 20px rgba(0, 0, 0, .55);
}

.photo-inner-banner-text-wrap p,
.photo-bg-inner-section .white-section-label div {
    text-shadow: 0 1px 5px rgba(0, 0, 0, .6);
}

/* Solution cards (homepage + contact page): the card title/paragraph are white
   and sit over the cover photo with no scrim, so they wash out on bright covers.
   Add a bottom-up dark gradient behind the text. */
.services-collection-item,
.home-2-services-collection-item {
    position: relative;
}

.services-collection-item::after,
.home-2-services-collection-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 12, 22, .12) 0%, rgba(6, 12, 22, 0) 32%,
        rgba(6, 12, 22, .55) 72%, rgba(6, 12, 22, .84) 100%);
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

.services-collection-item > *,
.home-2-services-collection-item > * {
    position: relative;
    z-index: 1;
}

.services-collection-item .card-link-text,
.services-collection-item .solution-card-paragraph,
.home-2-services-collection-item .card-link-text,
.home-2-services-collection-item .solution-card-paragraph {
    text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
}

/* Keep the desktop hero in two columns, but move both copy blocks upward. */
@media (min-width: 992px) {
    .home-1-banner {
        --hero-return-offset: calc(300px - 25vh);
        min-height: 100vh;
        padding-top: 25vh;
        justify-content: space-between;
    }

    .home-1-banner-left-wrapper > div:last-child {
        position: relative;
        top: var(--hero-return-offset);
    }

    .home-1-banner-top-wrapper {
        position: relative;
        border-bottom-color: transparent;
    }

    .home-1-banner-top-wrapper::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: calc(-1 * var(--hero-return-offset));
        left: 0;
        height: 1px;
        background-color: #0000001a;
    }
}

@media (min-width: 1280px) {
    .home-1-banner {
        --hero-return-offset: calc(350px - 25vh);
    }
}

@media (min-width: 1920px) {
    .home-1-banner {
        --hero-return-offset: calc(500px - 25vh);
    }
}

@media (max-width: 767px) {
    .lang-switch { margin-left: 8px; font-size: 13px; }
    .brand .logo,
    .brand-tablet .logo {
        height: 40px;
        max-height: 40px;
        transform: translateY(-3px);
    }

    .footer-logo {
        height: 75px;
        max-height: 75px;
    }

    .footer-text {
        width: auto;
        max-width: 100%;
        white-space: normal;
    }

    .home-testimonials-heading {
        width: auto;
        max-width: 100%;
        white-space: normal;
    }

    .home-1-banner-labels-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .home-1-banner-labels-wrap .label {
        width: 100%;
    }
}
/* Packages page */
.package-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.package-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.package-heading .section-label { display: inline-flex; width: auto; margin-right: auto; margin-left: auto; justify-content: center; }
.package-inner-banner .section-label { width: auto; align-self: flex-start; }
.package-heading h2 { margin: 16px 0; }
.package-heading p { color: #585858; }
.package-grid { align-items: stretch; grid-auto-rows: 1fr; }
.package-card { position: relative; display: flex; height: 100%; min-height: 650px; flex-direction: column; overflow: hidden; border: 1px solid #e5ebe7; }
.package-card.main-card { border-color: #287b50; box-shadow: 0 18px 50px rgba(28, 91, 57, .14); }
.package-badge { position: absolute; top: 0; right: 0; padding: 9px 18px; border-radius: 0 0 0 16px; background: #287b50; color: #fff; font-size: 14px; font-weight: 700; }
.package-description { min-height: 86px; margin: 14px 0 20px; color: #585858; line-height: 1.75; overflow-wrap: anywhere; }
.package-feature-list { display: grid; gap: 14px; margin: 24px 0 30px; padding: 0; list-style: none; }
.package-feature-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; line-height: 1.65; overflow-wrap: anywhere; }
.package-feature-list li > span:first-child { color: #287b50; font-weight: 800; }
.package-button { width: 100%; margin-top: auto; text-align: center; }
.package-button .clip,
.package-button .button-text-wrap { width: 100%; }
.package-button .button-text-wrap { justify-content: center; align-items: center; text-align: center; }
.page-packages .navbar-absolute.is-scrolled {
    background-color: var(--primary) !important;
    box-shadow: 0 8px 28px rgba(10, 48, 31, .18);
}
.page-packages .navbar-absolute.is-scrolled .nav-item-title { color: #fff !important; }
.page-packages .navbar-absolute.is-scrolled .nav-arrow,
.page-packages .navbar-absolute.is-scrolled .nav-dropdown-toggle .button-text-wrap img { filter: brightness(0) invert(1); }
.package-note { max-width: 900px; margin: 30px auto 0; text-align: center; color: #666; font-size: 14px; }
.package-reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease var(--package-delay, 0ms), transform .7s cubic-bezier(.22, 1, .36, 1) var(--package-delay, 0ms); }
.package-reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 991px) { .package-description { min-height: 0; } .package-card { min-height: 0; } }
@media (max-width: 767px) { .package-heading { margin-bottom: 30px; } .package-card { padding-top: 42px; } }
@media (prefers-reduced-motion: reduce) { .package-reveal { opacity: 1; transform: none; transition: none; } }

/* --------------------------------------------------------------------------
   RE-Solve liquid-glass visual system
   -------------------------------------------------------------------------- */

/* Replace the exported clipped-square motif with a small brand sprout. */
img[src*="67ee9dc219ea961bc2b63556-67ee9dc219ea961bc2b63556_Rectangle-2.svg"] {
    content: url("../icon/brand-signal-green.svg");
}

img[src*="67ee959464ed700c7614bdba-67ee959464ed700c7614bdba_Rectangle-1-1-.svg"] {
    content: url("../icon/brand-signal-white.svg");
}

img[src*="67eea468f77f829117f6dbb5-67eea468f77f829117f6dbb5_Group-2-4-.svg"] {
    width: 24px;
    height: 24px;
    object-fit: contain;
    content: url("../icon/brand-signal-green.svg");
}

.section-label > img,
.white-section-label > img,
.button-text-wrap > img[src*="Rectangle"] {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    object-fit: contain;
}

/* A real liquid-glass shell keeps the full-colour logo readable on every hero. */
.navbar-absolute {
    padding: 10px 14px;
    background: transparent !important;
    transition: padding 240ms ease;
}

.navbar-absolute > .base-container {
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .84), rgba(232, 250, 244, .66));
    box-shadow:
        0 16px 46px rgba(3, 50, 34, .16),
        inset 0 1px 0 rgba(255, 255, 255, .92),
        inset 0 -1px 0 rgba(3, 89, 37, .08);
    -webkit-backdrop-filter: blur(22px) saturate(165%);
    backdrop-filter: blur(22px) saturate(165%);
    transition: background 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.navbar-absolute.is-scrolled {
    padding-top: 7px;
    padding-bottom: 7px;
    background: transparent !important;
    box-shadow: none !important;
}

.navbar-absolute.is-scrolled > .base-container {
    border-color: rgba(255, 255, 255, .82);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(229, 248, 241, .88));
    box-shadow: 0 12px 34px rgba(3, 50, 34, .18), inset 0 1px 0 #fff;
}

.navbar-absolute .brand .logo,
.navbar-absolute .brand-tablet .logo,
.navbar-absolute.is-scrolled .brand .logo,
.navbar-absolute.is-scrolled .brand-tablet .logo,
:where(body:has(.home-1-banner-section), body:has(.dark-primary-banner-section), body:has(.photo-bg-inner-section)) .navbar-absolute:not(.is-scrolled) .brand .logo {
    height: 54px;
    max-height: 54px;
    transform: none;
    filter: none !important;
}

.navbar-absolute .nav-item-title,
.navbar-absolute:not(.is-scrolled) .nav-item-title,
.navbar-absolute.is-scrolled .nav-item-title,
.page-packages .navbar-absolute.is-scrolled .nav-item-title,
:where(body:has(.home-1-banner-section), body:has(.dark-primary-banner-section), body:has(.photo-bg-inner-section)) .navbar-absolute:not(.is-scrolled) .nav-item-title {
    color: #073b2e !important;
    text-shadow: none !important;
    font-weight: 650;
}

.navbar-absolute .nav-arrow,
.navbar-absolute:not(.is-scrolled) .nav-arrow,
.navbar-absolute.is-scrolled .nav-arrow,
.page-packages .navbar-absolute.is-scrolled .nav-arrow,
.navbar-absolute .nav-dropdown-toggle .button-text-wrap img {
    filter: invert(20%) sepia(33%) saturate(1144%) hue-rotate(111deg) brightness(86%) contrast(97%) !important;
}

.navbar-absolute .nav-link,
.navbar-absolute .nav-dropdown-toggle {
    border: 1px solid transparent;
    border-radius: 999px;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.navbar-absolute .nav-link:hover,
.navbar-absolute .nav-link:focus-visible,
.navbar-absolute .nav-dropdown-toggle:hover,
.navbar-absolute .nav-dropdown-toggle:focus-visible,
.navbar-absolute .nav-link[aria-current="page"] {
    border-color: rgba(3, 89, 37, .12);
    background: rgba(255, 255, 255, .56);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 5px 16px rgba(3, 89, 37, .08);
}

/* Language switch: one look on desktop, tablet and the mobile sidebar. */
.navbar-absolute .lang-switch,
.navbar-absolute:not(.is-scrolled) .lang-switch {
    padding: 4px;
    gap: 2px;
    font-size: 14px;
    border-color: rgba(3, 89, 37, .18);
    background: rgba(3, 89, 37, .06);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.navbar-absolute .lang-switch a,
.navbar-absolute:not(.is-scrolled) .lang-switch a {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 36px;
    padding: 0 14px;
    line-height: 1;
    letter-spacing: .04em;
    color: #285849;
    opacity: .82;
}

.navbar-absolute .lang-switch::before {
    box-shadow: 0 2px 6px rgba(3, 89, 37, .16);
}

.navbar-absolute .lang-switch a.is-active,
.navbar-absolute:not(.is-scrolled) .lang-switch a.is-active {
    color: #035925;
    opacity: 1;
}

.navbar-absolute .header-button-wrapper:not(.tablet) .secondary-button,
.navbar-absolute:not(.is-scrolled) .header-button-wrapper:not(.tablet) .secondary-button {
    border: 1px solid rgba(2, 67, 39, .22);
    background: linear-gradient(135deg, #0a7040, #035925);
    box-shadow: 0 9px 22px rgba(3, 89, 37, .22), inset 0 1px 0 rgba(255, 255, 255, .22);
    color: #fff;
}

.navbar-absolute .header-button-wrapper:not(.tablet) .secondary-button .button-text-wrap,
.navbar-absolute:not(.is-scrolled) .header-button-wrapper:not(.tablet) .secondary-button .button-text-wrap {
    color: #fff;
    font-weight: 650;
}

.navbar-absolute .header-button-wrapper:not(.tablet) .secondary-button img,
.navbar-absolute:not(.is-scrolled) .header-button-wrapper:not(.tablet) .secondary-button img {
    filter: brightness(0) invert(1) !important;
}

.navbar-absolute .header-button-wrapper:not(.tablet) .secondary-button:hover,
.navbar-absolute .header-button-wrapper:not(.tablet) .secondary-button:focus-visible {
    border-color: rgba(255, 255, 255, .72);
    background: linear-gradient(135deg, #10814d, #046732);
    transform: translateY(-1px);
}

/* Home hero feature chips: purpose-built icons, no oversized white blocks. */
.home-1-banner-left-wrapper {
    max-width: 540px;
}

.home-1-banner-labels-wrap {
    gap: 10px;
    flex-wrap: wrap;
}

.home-1-banner-labels-wrap .label {
    align-items: center;
    gap: 8px;
    padding: 7px 11px 7px 7px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .19), rgba(255, 255, 255, .08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 22px rgba(0, 0, 0, .14);
    -webkit-backdrop-filter: blur(14px) saturate(135%);
    backdrop-filter: blur(14px) saturate(135%);
    white-space: nowrap;
}

.home-1-banner-section .home-1-banner-labels-wrap .hero-feature-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    padding: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .88);
    filter: none !important;
}

.home-1-banner-labels-wrap .visual-h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.25;
}

.cta-labels-wrapper .label {
    align-items: center;
}

.cta-labels-wrapper .cta-feature-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    padding: 7px;
    border: 1px solid rgba(3, 89, 37, .13);
    border-radius: 50%;
    background: rgba(235, 249, 242, .9);
    box-shadow: inset 0 1px 0 #fff;
}

.inner-labels-wrapper .video-label {
    gap: 8px;
    padding: 7px 12px 7px 7px;
    border: 1px solid rgba(255, 255, 255, .26);
    background: linear-gradient(135deg, rgba(11, 51, 39, .58), rgba(3, 89, 37, .34));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 20px rgba(0, 0, 0, .13);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    backdrop-filter: blur(14px) saturate(130%);
}

.inner-labels-wrapper .video-label > img {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    padding: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    object-fit: contain;
}

.inner-labels-wrapper .video-label:nth-child(1) > img {
    content: url("../icon/odor-monitor.svg");
}

.inner-labels-wrapper .video-label:nth-child(2) > img {
    content: url("../icon/odor-treatment.svg");
}

.inner-labels-wrapper .video-label:nth-child(3) > img {
    content: url("../icon/sustainable-shield.svg");
}

@media (max-width: 991px) {
    .navbar-absolute {
        padding: 8px;
    }

    .navbar-absolute > .base-container {
        padding: 8px 10px;
        border-radius: 18px;
    }

    .navbar-absolute .brand .logo,
    .navbar-absolute .brand-tablet .logo,
    .navbar-absolute.is-scrolled .brand .logo,
    .navbar-absolute.is-scrolled .brand-tablet .logo {
        height: 44px;
        max-height: 44px;
        transform: none;
    }

    .navbar-absolute .menu-button {
        border: 1px solid rgba(3, 89, 37, .18);
        border-radius: 50%;
        background: rgba(3, 89, 37, .10);
    }

    .navbar-absolute .menu-button img {
        filter: invert(20%) sepia(33%) saturate(1144%) hue-rotate(111deg) brightness(86%) contrast(97%);
    }
}

@media (max-width: 767px) {
    .home-1-banner-labels-wrap {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .home-1-banner-labels-wrap .label {
        width: auto;
        padding-right: 10px;
    }

    .home-1-banner-section .home-1-banner-labels-wrap .hero-feature-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        padding: 5px;
    }
}

/* Full-bleed sticky glass bar. It hides while scrolling down and returns on up. */
.navbar-absolute,
.navbar-absolute.is-scrolled {
    top: 0;
    right: 0;
    left: 0;
    padding: 0;
    transform: translate3d(0, 0, 0);
    transition: transform 320ms cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}

.navbar-absolute.is-hidden {
    transform: translate3d(0, calc(-100% - 4px), 0);
    pointer-events: none;
}

.navbar-absolute > .base-container,
.navbar-absolute.is-scrolled > .base-container {
    width: 100%;
    max-width: none;
    min-height: 82px;
    margin: 0;
    padding: 9px max(18px, calc((100vw - 1500px) / 2));
    border-width: 0 0 1px;
    border-radius: 0;
}

.navbar-absolute .nav-menu-wrapper {
    min-height: 64px;
    align-items: center;
}

.navbar-absolute .brand,
.navbar-absolute .brand-tablet {
    align-self: stretch;
    align-items: center;
    justify-content: flex-start;
}

.navbar-absolute .brand {
    display: flex;
}

.navbar-absolute .brand .logo,
.navbar-absolute .brand-tablet .logo,
.navbar-absolute.is-scrolled .brand .logo,
.navbar-absolute.is-scrolled .brand-tablet .logo {
    height: 56px;
    max-height: 56px;
    margin: auto 0;
    transform: none;
}

@media (max-width: 991px) {
    .navbar-absolute,
    .navbar-absolute.is-scrolled {
        padding: 0;
    }

    .navbar-absolute > .base-container,
    .navbar-absolute.is-scrolled > .base-container {
        min-height: 68px;
        padding: 7px 12px;
        border-radius: 0;
    }

    .navbar-absolute .nav-menu-wrapper {
        min-height: 54px;
    }

    .navbar-absolute .brand .logo,
    .navbar-absolute .brand-tablet .logo,
    .navbar-absolute.is-scrolled .brand .logo,
    .navbar-absolute.is-scrolled .brand-tablet .logo {
        height: 44px;
        max-height: 44px;
    }

    /* Mobile sidebar: the pill highlight needs side padding so the label
       doesn't touch its border. The negative margin keeps the text aligned
       with the logo and the other menu items. */
    .navbar-absolute .nav-menu .nav-link,
    .navbar-absolute .nav-menu .nav-dropdown-toggle {
        box-sizing: border-box;
        width: auto;
        max-width: none;
        align-self: stretch;
        margin: 0 -16px;
        padding: 10px 16px;
    }

    /* Mobile sidebar: language switch + CTA stack left-aligned with the menu. */
    .navbar-absolute .nav-menu .header-button-wrapper.tablet {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        text-align: left;
    }

    .navbar-absolute .nav-menu .lang-switch {
        align-self: flex-start;
        margin: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .navbar-absolute,
    .navbar-absolute.is-scrolled {
        transition: none;
    }
}

/* Align the navbar controls and homepage hero to the annotated 6vw grid. */
@media (min-width: 1200px) {
    .navbar-absolute > .base-container,
    .navbar-absolute.is-scrolled > .base-container,
    .home-1-banner-section > .base-container {
        max-width: none;
        padding-right: clamp(72px, 6vw, 140px);
        padding-left: clamp(72px, 6vw, 140px);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-absolute > .base-container,
    .navbar-absolute.is-scrolled > .base-container,
    .home-1-banner-section > .base-container {
        max-width: none;
        padding-right: 24px;
        padding-left: 24px;
    }
}

/* Navbar arrow uses the exact same #073b2e as its label. */
.navbar-absolute .nav-arrow,
.navbar-absolute:not(.is-scrolled) .nav-arrow,
.navbar-absolute.is-scrolled .nav-arrow,
.page-packages .navbar-absolute.is-scrolled .nav-arrow,
.navbar-absolute .nav-dropdown-toggle .button-text-wrap img[src$="nav-arrow-green.svg"] {
    filter: none !important;
}

/* Unified interior hero system -------------------------------------------------
   Former split heroes now use the same full-bleed photographic composition as
   the services hero: centred copy, one dark scrim and a consistent type scale. */
:root {
    --inner-hero-min-height: clamp(560px, 68vh, 700px);
    --inner-hero-inline: clamp(72px, 6vw, 140px);
}

.inner-banner-section {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: var(--inner-hero-min-height);
    padding-top: clamp(150px, 13vh, 184px);
    padding-bottom: clamp(64px, 7vh, 88px);
    overflow: hidden;
    background: #10251e;
}

.inner-banner-section::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4, 13, 10, .40) 0%, rgba(4, 13, 10, .56) 100%),
        radial-gradient(circle at 50% 42%, rgba(4, 25, 17, .08), rgba(4, 13, 10, .40) 88%);
    pointer-events: none;
}

.inner-banner-section > .base-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    padding-right: var(--inner-hero-inline);
    padding-left: var(--inner-hero-inline);
}

.inner-banner-section .inner-banner-image,
.inner-banner-section .service-inner-banner-image {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.inner-banner-section .inner-banner-image-with-overlay > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.inner-banner-section .inner-banner-image-with-overlay::after,
.inner-banner-section .tablet-banner-gradient {
    display: none;
}

.inner-banner-section .inner-banner {
    display: flex;
    min-height: 0;
    justify-content: center;
    align-items: center;
}

.inner-banner-section .inner-banner-text-wrap,
.inner-banner-section .service-inner-banner-text-wrap {
    width: min(100%, 880px);
    max-width: 880px;
    align-items: center;
    text-align: center;
}

.inner-banner-section .inner-banner-text-wrap > div:not(.section-label),
.inner-banner-section .service-inner-banner-text-wrap > div:not(.section-label) {
    width: 100%;
}

.inner-banner-section .inner-labels-wrapper {
    display: none;
}

.inner-banner-section .section-label,
.inner-banner-section .blog-category-label {
    align-self: center;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, .30);
    background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .11));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), 0 10px 28px rgba(0, 0, 0, .16);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
    backdrop-filter: blur(16px) saturate(130%);
}

.inner-banner-section .section-label > img {
    content: url("../icon/brand-signal-white.svg");
}

.inner-page-header .inner-banner-section h1,
.inner-page-header .inner-banner-section p,
.inner-page-header .inner-banner-section .section-label,
.inner-page-header .inner-banner-section .section-label *,
.inner-banner-section .blog-category-label,
.inner-banner-section .blog-category-label * {
    color: #fff !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .42);
}

.inner-banner-section .inner-banner-paragraph {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 992px) {
    .inner-banner-section,
    .photo-bg-inner-section,
    .dark-primary-banner-section {
        min-height: var(--inner-hero-min-height);
    }

    .dark-primary-banner-section {
        padding-top: clamp(150px, 13vh, 184px);
        padding-bottom: clamp(64px, 7vh, 88px);
    }

    .photo-bg-inner-section {
        display: flex;
        align-items: center;
        padding-top: clamp(150px, 13vh, 184px);
        padding-bottom: clamp(64px, 7vh, 88px);
    }

    .inner-banner-section > .base-container,
    .photo-bg-inner-section > .base-container,
    .dark-primary-banner-section > .base-container {
        width: 100%;
        max-width: none;
        padding-right: var(--inner-hero-inline);
        padding-left: var(--inner-hero-inline);
    }

    .inner-banner-section h1,
    .photo-bg-inner-section h1,
    .dark-primary-banner-section h1 {
        font-size: clamp(48px, 4.35vw, 76px);
        line-height: 1.08;
        letter-spacing: -.035em;
    }

    .photo-bg-inner-section .banner-title-wrapper,
    .photo-bg-inner-section .center-banner-wrap {
        width: min(100%, 780px);
        max-width: 780px;
    }
}

.inner-banner-section .section-label,
.photo-bg-inner-section .white-section-label,
.dark-primary-banner-section .white-section-label {
    min-height: 42px;
    padding: 8px 14px 8px 10px;
    border-radius: 999px;
}

.inner-banner-section .inner-banner-paragraph,
.photo-bg-inner-section p,
.dark-primary-banner-section p {
    max-width: 660px;
    font-size: clamp(17px, 1.25vw, 21px);
    line-height: 1.65;
}

@media (max-width: 991px) {
    .inner-banner-section {
        min-height: 620px;
        padding: 124px 0 72px;
    }

    .inner-banner-section > .base-container {
        padding-right: 24px;
        padding-left: 24px;
    }

    .inner-banner-section .inner-banner-image,
    .inner-banner-section .service-inner-banner-image {
        position: absolute;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 479px) {
    .inner-banner-section {
        min-height: 580px;
        padding-top: 110px;
        padding-bottom: 58px;
    }

    .inner-banner-section > .base-container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .inner-banner-section h1 {
        font-size: 42px;
        line-height: 1.1;
    }
}

/* About-page ecosystem CTA: compact story on the left, clear system steps on
   the right.  Purpose-built icons replace the repeated generic mark. */
.cta-card.cta-card--ecosystem {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    align-items: stretch;
    gap: clamp(44px, 6vw, 92px);
    min-height: 540px;
    padding: clamp(44px, 5vw, 76px);
    overflow: hidden;
    border: 1px solid rgba(124, 97, 5, .18);
    border-radius: 30px;
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 255, 255, .72) 0 7%, transparent 7.3%),
        radial-gradient(circle at 79% 24%, rgba(255, 255, 255, .34) 0 15%, transparent 15.3%),
        linear-gradient(125deg, #fff3a3 0%, #ffe673 48%, #efd1a8 100%);
    box-shadow: 0 24px 70px rgba(89, 70, 6, .12), inset 0 1px 0 rgba(255, 255, 255, .72);
}

.cta-card.cta-card--ecosystem::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: -115px;
    bottom: -170px;
    width: 430px;
    height: 430px;
    border: 72px solid rgba(3, 89, 37, .075);
    border-radius: 50%;
}

.cta-card.cta-card--ecosystem::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .36;
    background-image: radial-gradient(rgba(3, 89, 37, .28) .75px, transparent .75px);
    background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(90deg, transparent 42%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 42%, #000 100%);
    pointer-events: none;
}

.cta-card--ecosystem .cta-text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}

.cta-card--ecosystem .cta-text-wrapper {
    max-width: 680px;
}

.cta-card--ecosystem .cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin-bottom: 24px;
    padding: 8px 13px;
    border: 1px solid rgba(3, 89, 37, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .54);
    color: #073b2e;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.cta-eyebrow-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #0f9f62;
    box-shadow: 0 0 0 5px rgba(15, 159, 98, .13);
}

.cta-card--ecosystem .large-text {
    max-width: 720px;
    color: #10251e;
    font-size: clamp(48px, 4.3vw, 76px);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.cta-card--ecosystem .cta-paragraph {
    max-width: 610px;
    margin-top: 28px;
    color: #465a52;
    font-size: 18px;
    line-height: 1.7;
}

.cta-card--ecosystem .primary-button.cta {
    min-height: 56px;
    padding-right: 22px;
    padding-left: 22px;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(3, 89, 37, .2);
}

.cta-feature-grid {
    align-self: center;
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 520px;
}

.cta-feature-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 112px;
    padding: 18px 22px 18px 18px;
    border: 1px solid rgba(255, 255, 255, .68);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .48));
    box-shadow: 0 13px 30px rgba(89, 70, 6, .09), inset 0 1px 0 #fff;
    -webkit-backdrop-filter: blur(14px) saturate(125%);
    backdrop-filter: blur(14px) saturate(125%);
}

.cta-feature-card:nth-child(2) {
    transform: translateX(28px);
}

.cta-feature-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border: 1px solid rgba(3, 89, 37, .15);
    border-radius: 19px;
    background: linear-gradient(145deg, #f4fff9, #dff4e9);
    box-shadow: inset 0 1px 0 #fff;
}

.cta-feature-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.cta-feature-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #073b2e;
}

.cta-feature-copy strong {
    font-size: 19px;
    font-weight: 750;
    line-height: 1.35;
}

.cta-feature-copy small {
    color: #53675f;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 991px) {
    :root {
        --inner-hero-min-height: auto;
    }

    .cta-card.cta-card--ecosystem {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 42px 30px;
        border-radius: 24px;
    }

    .cta-card--ecosystem .large-text {
        font-size: clamp(42px, 8vw, 62px);
    }

    .cta-feature-grid {
        max-width: none;
    }

    .cta-feature-card:nth-child(2) {
        transform: none;
    }
}

@media (max-width: 479px) {
    .cta-card.cta-card--ecosystem {
        gap: 34px;
        padding: 34px 20px;
        border-radius: 20px;
    }

    .cta-card--ecosystem .cta-text-wrap {
        gap: 34px;
    }

    .cta-card--ecosystem .large-text {
        font-size: 39px;
    }

    .cta-feature-card {
        grid-template-columns: 52px minmax(0, 1fr);
        min-height: 98px;
        gap: 14px;
        padding: 14px;
        border-radius: 18px;
    }

    .cta-feature-icon {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .cta-feature-icon img {
        width: 30px;
        height: 30px;
    }
}

/* Services showcase -----------------------------------------------------------
   Editorial feature card first, followed by a balanced two-column collection.
   The complete card is one accessible link and has a clear visual affordance. */
.services-page-title-wrap {
    max-width: 1160px;
    padding-bottom: 42px;
}

.services-1-collection-list-wrapper {
    margin-top: 44px;
}

.services-1-collection-list.services-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.service-showcase-card.services-1-collection-item {
    position: relative;
    display: block;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(3, 89, 37, .12);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(239, 248, 243, .92));
    box-shadow: 0 16px 42px rgba(5, 55, 38, .08), inset 0 1px 0 #fff;
    transition: transform 320ms cubic-bezier(.22, 1, .36, 1), border-color 240ms ease, box-shadow 320ms ease;
}

.service-showcase-card:first-child {
    grid-column: 1 / -1;
    min-height: 390px;
    border-color: rgba(255, 255, 255, .18);
    background: linear-gradient(135deg, #0b503a, #073b2e);
    box-shadow: 0 22px 58px rgba(3, 59, 39, .18), inset 0 1px 0 rgba(255, 255, 255, .16);
}

.service-showcase-card:hover,
.service-showcase-card:focus-within {
    z-index: 1;
    border-color: rgba(3, 89, 37, .30);
    box-shadow: 0 24px 60px rgba(5, 55, 38, .15), inset 0 1px 0 #fff;
    transform: translateY(-7px);
}

.service-showcase-link {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: #10251e;
    text-decoration: none;
}

.service-showcase-link:focus-visible {
    outline: 3px solid #1eb779;
    outline-offset: -4px;
}

.service-showcase-card:first-child .service-showcase-link {
    display: grid;
    grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr);
}

.service-showcase-media {
    position: relative;
    display: block;
    height: 270px;
    overflow: hidden;
    background: #dbe9e1;
}

.service-showcase-card:first-child .service-showcase-media {
    height: 100%;
    min-height: 390px;
}

.service-showcase-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 33, 22, .04), rgba(3, 33, 22, .28));
    pointer-events: none;
}

.service-showcase-media .small-service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(.22, 1, .36, 1), filter 320ms ease;
}

.service-showcase-card:hover .small-service-image,
.service-showcase-card:focus-within .small-service-image {
    transform: scale(1.045);
    filter: saturate(1.07) contrast(1.03);
}

.service-showcase-number {
    position: absolute;
    z-index: 1;
    top: 18px;
    left: 18px;
    display: grid;
    place-items: center;
    min-width: 48px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: 999px;
    background: rgba(255, 255, 255, .80);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12), inset 0 1px 0 #fff;
    color: #073b2e;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.service-showcase-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
}

.service-showcase-card:first-child .service-showcase-body {
    justify-content: center;
    padding: clamp(38px, 5vw, 72px);
}

.service-showcase-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 17px;
    color: #39705e;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.service-showcase-kicker > span {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #18a56a;
    box-shadow: 0 0 0 5px rgba(24, 165, 106, .12);
}

.service-showcase-title {
    margin: 0;
    color: #10251e;
    font-size: clamp(25px, 2vw, 34px);
    font-weight: 650;
    line-height: 1.27;
    letter-spacing: -.025em;
}

.service-showcase-description {
    display: block;
    margin-top: 16px;
    color: #586a63;
    font-size: 16px;
    line-height: 1.7;
}

.service-showcase-footer {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 28px;
    color: #073b2e;
    font-size: 15px;
    font-weight: 750;
}

.service-showcase-arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background: #e1f4e9;
    color: #057044;
    font-size: 21px;
    transition: color 220ms ease, background 220ms ease, transform 320ms cubic-bezier(.22, 1, .36, 1);
}

.service-showcase-card:hover .service-showcase-arrow,
.service-showcase-card:focus-within .service-showcase-arrow {
    background: #087548;
    color: #fff;
    transform: rotate(45deg);
}

.service-showcase-card:first-child .service-showcase-kicker,
.service-showcase-card:first-child .service-showcase-title,
.service-showcase-card:first-child .service-showcase-description,
.service-showcase-card:first-child .service-showcase-footer {
    color: #fff;
}

.service-showcase-card:first-child .service-showcase-kicker {
    color: #bde8d3;
}

.service-showcase-card:first-child .service-showcase-description {
    color: rgba(255, 255, 255, .76);
}

.service-showcase-card:first-child .service-showcase-arrow {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

@media (max-width: 991px) {
    .services-1-collection-list.services-showcase-grid {
        gap: 18px;
    }

    .service-showcase-card:first-child .service-showcase-link {
        grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
    }

    .service-showcase-media {
        height: 235px;
    }

    .service-showcase-body {
        padding: 24px;
    }
}

@media (max-width: 767px) {
    .services-page-title-wrap .services-1-title,
    .services-page-title-wrap .services-1-title h2 {
        width: auto;
        white-space: normal;
    }

    .services-1-collection-list.services-showcase-grid {
        grid-template-columns: 1fr;
    }

    .service-showcase-card:first-child {
        grid-column: auto;
        min-height: 0;
    }

    .service-showcase-card:first-child .service-showcase-link {
        display: flex;
    }

    .service-showcase-card:first-child .service-showcase-media {
        height: 260px;
        min-height: 0;
    }

    .service-showcase-card:first-child .service-showcase-body {
        padding: 30px 24px;
    }
}

@media (max-width: 479px) {
    .services-1-collection-list-wrapper {
        margin-top: 32px;
    }

    .service-showcase-card.services-1-collection-item {
        border-radius: 21px;
    }

    .service-showcase-media,
    .service-showcase-card:first-child .service-showcase-media {
        height: 225px;
    }

    .service-showcase-title {
        font-size: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-showcase-card,
    .service-showcase-media .small-service-image,
    .service-showcase-arrow {
        transition: none;
    }
}

/* Match the article-card proportions without changing the two-column order.
   Copy appears first and the cover image sits at the bottom, like blog cards. */
.services-1-collection-list.services-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.service-showcase-card.services-1-collection-item,
.service-showcase-card.services-1-collection-item:first-child {
    grid-column: auto;
    min-height: 590px;
    border: 1px solid rgba(0, 89, 37, .20);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(235, 240, 237, .96), rgba(218, 226, 221, .88));
    box-shadow: 0 12px 32px rgba(0, 44, 17, .12), inset 0 1px 0 rgba(255, 255, 255, .78);
}

.service-showcase-card .service-showcase-link,
.service-showcase-card:first-child .service-showcase-link {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.service-showcase-card .service-showcase-body,
.service-showcase-card:first-child .service-showcase-body {
    order: 1;
    min-height: 350px;
    justify-content: flex-start;
    padding: 30px 20px;
}

.service-showcase-card .service-showcase-media,
.service-showcase-card:first-child .service-showcase-media {
    order: 2;
    width: 100%;
    height: 240px;
    min-height: 240px;
}

.service-showcase-card .service-showcase-title,
.service-showcase-card:first-child .service-showcase-title {
    color: #10251e;
    font-size: 24px;
    line-height: 1.25;
}

.service-showcase-card .service-showcase-kicker,
.service-showcase-card:first-child .service-showcase-kicker {
    color: #39705e;
}

.service-showcase-card .service-showcase-description,
.service-showcase-card:first-child .service-showcase-description {
    color: #586a63;
}

.service-showcase-card .service-showcase-footer,
.service-showcase-card:first-child .service-showcase-footer {
    color: #073b2e;
}

.service-showcase-card .service-showcase-arrow,
.service-showcase-card:first-child .service-showcase-arrow {
    background: #e1f4e9;
    color: #057044;
}

@media (max-width: 767px) {
    .services-1-collection-list.services-showcase-grid {
        grid-template-columns: 1fr;
    }

    .service-showcase-card.services-1-collection-item,
    .service-showcase-card.services-1-collection-item:first-child {
        min-height: 0;
    }

    .service-showcase-card .service-showcase-body,
    .service-showcase-card:first-child .service-showcase-body {
        min-height: 0;
        padding: 30px 24px;
    }

    .service-showcase-card .service-showcase-media,
    .service-showcase-card:first-child .service-showcase-media {
        height: 240px;
        min-height: 240px;
    }
}

/* Sitewide CTA cards ---------------------------------------------------------
   One calm brand system replaces the high-saturation yellow variants. Copy is
   always the first reading column; benefits use purpose-specific icons. */
.cta-card,
.cta-card.home-3,
.cta-card.blog-cta-card,
.cta-card.cta-card--ecosystem {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    grid-template-areas: "copy features";
    align-items: stretch;
    gap: clamp(42px, 6vw, 88px);
    min-height: 500px;
    padding: clamp(44px, 5vw, 72px);
    overflow: hidden;
    border: 1px solid rgba(174, 226, 204, .22);
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 4%, rgba(53, 194, 164, .24), transparent 33%),
        radial-gradient(circle at 3% 100%, rgba(98, 190, 149, .16), transparent 35%),
        linear-gradient(135deg, #062f26 0%, #074735 52%, #075c40 100%);
    box-shadow: 0 24px 64px rgba(2, 47, 36, .18), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.cta-card::before,
.cta-card.cta-card--ecosystem::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: -130px;
    bottom: -175px;
    width: 430px;
    height: 430px;
    border: 72px solid rgba(188, 236, 215, .07);
    border-radius: 50%;
}

.cta-card::after,
.cta-card.cta-card--ecosystem::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .3;
    background-image: radial-gradient(rgba(220, 246, 234, .35) .75px, transparent .75px);
    background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
    pointer-events: none;
}

.cta-card > .cta-text-wrap,
.cta-card.home-3 > .cta-text-wrap,
.cta-card.cta-card--ecosystem > .cta-text-wrap {
    grid-area: copy;
    display: flex;
    flex: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

.cta-card > .cta-labels-wrapper,
.cta-card > .cta-feature-grid,
.cta-card > .cta-left-wrap {
    grid-area: features;
    align-self: center;
    width: 100%;
    max-width: 500px;
}

.cta-card .cta-text-wrapper {
    max-width: 680px;
    gap: 18px;
}

.cta-card .large-text,
.cta-card.cta-card--ecosystem .large-text {
    max-width: 680px;
    color: #fff;
    font-size: clamp(46px, 4vw, 68px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.cta-card .cta-paragraph,
.cta-card.cta-card--ecosystem .cta-paragraph {
    max-width: 610px;
    margin-top: 4px;
    color: #d2e6dd;
    font-size: 18px;
    line-height: 1.7;
}

.cta-card .primary-button.cta {
    min-height: 56px;
    padding-right: 24px;
    padding-left: 24px;
    border: 1px solid rgba(255, 255, 255, .64);
    background: #f4f8f5;
    color: #063b2d;
    box-shadow: 0 13px 32px rgba(0, 20, 14, .24);
}

.cta-card .primary-button.cta:hover,
.cta-card .primary-button.cta:focus-visible {
    border-color: #c6f0dc;
    background: #c6f0dc;
    color: #052f24;
}

.cta-card .cta-eyebrow,
.cta-card .section-label {
    border: 1px solid rgba(221, 247, 235, .25);
    background: rgba(255, 255, 255, .1);
    color: #f5fff9;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}

.cta-card .cta-eyebrow-dot {
    background: #66dfae;
    box-shadow: 0 0 0 5px rgba(102, 223, 174, .15);
}

.cta-card .cta-feature-grid,
.cta-card .cta-labels-wrapper,
.cta-card .cta-labels-wrapper.home-3 {
    display: grid;
    flex: none;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
}

.cta-card .cta-feature-card,
.cta-card .cta-labels-wrapper > .label {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    min-height: 98px;
    margin: 0;
    padding: 16px 19px;
    border: 1px solid rgba(221, 247, 235, .2);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .075));
    color: #f8fffb;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 12px 30px rgba(0, 24, 17, .12);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    backdrop-filter: blur(12px) saturate(120%);
    transform: none;
}

.cta-card .cta-feature-icon,
.cta-card .cta-labels-wrapper > .label::before {
    content: "";
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255, 255, 255, .56);
    border-radius: 17px;
    background-color: #effaf4;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 34px 34px;
    box-shadow: inset 0 1px 0 #fff;
}

.cta-card .cta-feature-icon img {
    display: block;
    width: 34px;
    height: 34px;
    margin: 0;
    object-fit: contain;
}

.cta-card .cta-labels-wrapper > .label > img {
    display: none;
}

.cta-card .cta-labels-wrapper > .label:nth-child(1)::before {
    background-image: url("../icon/odor-monitor.svg");
}

.cta-card .cta-labels-wrapper > .label:nth-child(2)::before {
    background-image: url("../icon/odor-treatment.svg");
}

.cta-card .cta-labels-wrapper > .label:nth-child(3)::before {
    background-image: url("../icon/sustainable-shield.svg");
}

.cta-card .cta-labels-wrapper .visual-h6 {
    margin: 0;
    color: #f8fffb;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.cta-card .cta-feature-copy,
.cta-card .cta-feature-copy strong {
    color: #f8fffb;
}

.cta-card .cta-feature-copy small {
    color: #cce2d8;
}

.cta-card.home-3 > .cta-left-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}

@media (max-width: 991px) {
    .cta-card,
    .cta-card.home-3,
    .cta-card.blog-cta-card,
    .cta-card.cta-card--ecosystem {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "features";
        gap: 38px;
        min-height: 0;
        padding: 44px 32px;
        border-radius: 24px;
    }

    .cta-card > .cta-labels-wrapper,
    .cta-card > .cta-feature-grid,
    .cta-card > .cta-left-wrap {
        max-width: none;
    }

    .cta-card .large-text,
    .cta-card.cta-card--ecosystem .large-text {
        font-size: clamp(42px, 7vw, 58px);
    }
}

@media (max-width: 479px) {
    .cta-card,
    .cta-card.home-3,
    .cta-card.blog-cta-card,
    .cta-card.cta-card--ecosystem {
        gap: 32px;
        padding: 34px 20px;
        border-radius: 20px;
    }

    .cta-card .large-text,
    .cta-card.cta-card--ecosystem .large-text {
        font-size: 38px;
    }

    .cta-card .cta-feature-card,
    .cta-card .cta-labels-wrapper > .label {
        grid-template-columns: 50px minmax(0, 1fr);
        min-height: 86px;
        gap: 13px;
        padding: 13px;
        border-radius: 17px;
    }

    .cta-card .cta-feature-icon,
    .cta-card .cta-labels-wrapper > .label::before {
        width: 50px;
        height: 50px;
        border-radius: 14px;
        background-size: 29px 29px;
    }

    .cta-card .cta-feature-icon img {
        width: 29px;
        height: 29px;
    }

    .cta-card .cta-labels-wrapper .visual-h6 {
        font-size: 16px;
    }
}

/* About page card contrast --------------------------------------------------
   Explicit contextual colours prevent the generic .visual-h5 rule from
   turning headings dark on brand-green cards. */
.why-choose-us-card-grid > div {
    border: 1px solid rgba(4, 67, 48, .1);
    box-shadow: 0 16px 38px rgba(5, 47, 36, .08);
}

.why-choose-us-light-gray-card {
    background: linear-gradient(145deg, #f8faf9 0%, #eef4f1 100%);
}

.why-choose-us-black-card {
    background: linear-gradient(145deg, #102f28 0%, #071f1a 100%);
}

.why-choose-us-primary-card {
    background: linear-gradient(145deg, #08704a 0%, #075335 100%);
}

.why-choose-us-card-grid .why-choose-us-text-wrap h3 {
    margin-top: 0;
    color: #10251e;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.why-choose-us-card-grid .why-choose-us-text-wrap p {
    color: #52645d;
    font-size: 17px;
    line-height: 1.65;
}

.why-choose-us-black-card .why-choose-us-text-wrap h3,
.why-choose-us-primary-card .why-choose-us-text-wrap h3 {
    color: #ffffff;
}

.why-choose-us-black-card .why-choose-us-text-wrap p,
.why-choose-us-primary-card .why-choose-us-text-wrap p {
    color: #d8e9e1;
}

/* Cookie consent -------------------------------------------------------- */
.cookie-consent-banner[hidden] {
    display: none !important;
}

.cookie-consent-banner {
    position: fixed;
    z-index: 10000;
    left: 50%;
    bottom: max(18px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    width: min(1180px, calc(100% - 32px));
    padding: 18px 20px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 0%, rgba(100, 229, 190, .18), transparent 34%),
        linear-gradient(135deg, #063a2d 0%, #07583d 100%);
    border: 1px solid rgba(216, 255, 239, .28);
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(3, 35, 27, .28), 0 4px 14px rgba(3, 35, 27, .16);
}

.cookie-consent-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: #08754c;
    background: #effcf6;
    border-radius: 17px;
}

.cookie-consent-icon svg {
    width: 31px;
    height: 31px;
    fill: currentColor;
}

.cookie-consent-copy h2 {
    margin: 0 0 3px;
    color: #fff;
    font-size: clamp(18px, 1.35vw, 21px);
    line-height: 1.35;
    font-weight: 700;
}

.cookie-consent-copy p {
    margin: 0;
    max-width: 710px;
    color: rgba(255, 255, 255, .84);
    font-size: 15px;
    line-height: 1.65;
}

.cookie-consent-copy a {
    display: inline-block;
    margin-inline-start: .25em;
    color: #bff5dc;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-consent-copy a:hover {
    color: #fff;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-consent-button {
    min-height: 48px;
    padding: 10px 19px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.cookie-consent-button:hover {
    transform: translateY(-1px);
}

.cookie-consent-button-secondary {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .45);
}

.cookie-consent-button-secondary:hover {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .72);
}

.cookie-consent-button-primary {
    color: #053f2e;
    background: #f4fff9;
    border-color: #f4fff9;
    box-shadow: 0 7px 18px rgba(0, 0, 0, .13);
}

.cookie-consent-button-primary:hover {
    background: #dff8eb;
    border-color: #dff8eb;
}

.cookie-consent-button:focus-visible,
.cookie-consent-copy a:focus-visible {
    outline: 3px solid #ffd66b;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .cookie-consent-banner {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 14px;
    }

    .cookie-consent-icon {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }

    .cookie-consent-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}

@media (max-width: 560px) {
    .cookie-consent-banner {
        bottom: max(10px, env(safe-area-inset-bottom));
        grid-template-columns: 42px minmax(0, 1fr);
        width: calc(100% - 20px);
        padding: 15px;
        gap: 12px;
        border-radius: 18px;
    }

    .cookie-consent-icon {
        align-self: start;
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .cookie-consent-icon svg {
        width: 25px;
        height: 25px;
    }

    .cookie-consent-copy p {
        font-size: 14px;
        line-height: 1.55;
    }

    .cookie-consent-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .cookie-consent-button {
        width: 100%;
        min-height: 48px;
        padding-inline: 12px;
        white-space: normal;
    }
}

/* Mobile navigation trigger --------------------------------------------- */
@media (max-width: 991px) {
    .navbar-absolute .menu-button,
    .navbar-absolute .menu-button.w--open {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
        flex: 0 0 52px;
        padding: 0 !important;
        color: #064b3a;
        background: rgba(255, 255, 255, .48);
        border: 1px solid rgba(6, 75, 58, .20);
        border-radius: 50%;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
    }

    .navbar-absolute .menu-button:hover,
    .navbar-absolute .menu-button:focus-visible {
        color: #04392d;
        background: rgba(255, 255, 255, .72);
        border-color: rgba(6, 75, 58, .34);
    }

    .menu-button-icon {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        pointer-events: none;
    }

    .menu-button-icon > span {
        display: block;
        width: 24px;
        height: 2px;
        flex: 0 0 2px;
        background: currentColor;
        border-radius: 999px;
    }
}

@media (max-width: 479px) {
    .navbar-absolute .menu-button,
    .navbar-absolute .menu-button.w--open {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        flex-basis: 48px;
    }

    .menu-button-icon {
        width: 22px;
        height: 16px;
    }

    .menu-button-icon > span {
        width: 22px;
    }
}
