/*
 Theme Name:   Excellerate
 Description:  Excellerate Services child theme for Hello Elementor
 Author:       Excellerate Services
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  excellerate
*/

/*
 * Breakpoints
 * ----------
 * sm   480px   Small mobile (portrait centre-align → left-align)
 * md   640px   Offices 4-col grid, 2-column layouts
 * lg  1024px   Desktop — nav switch, footer 2-col layout
 *
 * Special: max-height 500px — landscape phones (x-motif scale)
 */

/* ── Design tokens ─────────────────────────────────────── */

:root {
    --es-color-dark:       #02000F;
    --es-color-accent:     #DF683A;
    --es-color-accent-dk:  #c85a30;
    --es-color-body:       #33434D;
    --es-color-muted:      #6b7280;
    --es-color-subtle:     #9ca3af;
    --es-color-border:     #e5e7eb;
    --es-color-border-lt:  #f3f4f6;
    --es-color-mint:       #A8C5C2;
    --es-max-width:        1280px;
}

/* ── Elementor heading font reset ───────────────────────── */

body .elementor h1,
body .elementor h2,
body .elementor h3,
body .elementor h4,
body .elementor h5,
body .elementor h6,
body .elementor .elementor-heading-title {
    font-family: 'Roboto', sans-serif;
}

/* ── Elementor button italic fix ───────────────────────── */

body .elementor .elementor-button {
    font-style: normal !important;
}

/* ── X-motif ───────────────────────────────────────────── */

#es-x-motif {
    position: absolute;
    pointer-events: none;
    z-index: 50;
}

@media (max-width: 639px) {
    #es-x-motif {
        display: none;
    }
}

@media (max-height: 500px) {
    #es-x-motif {
        transform: scale(0.55);
        transform-origin: top left;
    }
}

/* ── Shared container widths ─────────────────────────────── */

.es-header__inner,
.es-footer__inner,
.es-footer__bottom,
.es-cookie-banner__inner {
    box-sizing: border-box;
    max-width: var(--es-max-width);
    margin-inline: auto;
    padding-inline: 1rem;
}

/* ── Full-bleed sections ──────────────────────────────── */

.es-wide-strip,
.es-wide-video,
.es-where-better-begins,
.es-motif-slide,
.es-article-cards,
.es-connect,
.es-wide-stats,
.es-team,
.es-offer-cards,
.es-icon-cards,
.es-values,
.es-slider,
.es-spotlight,
.es-feature-split,
.es-quote-card,
.es-impact-block,
.es-reviews,
.es-logos {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Strip Elementor container padding when it wraps a full-bleed widget */
.e-con:has(> .e-con-inner > .elementor-widget > .elementor-widget-container > :is(.es-wide-strip, .es-where-better-begins, .es-motif-slide, .es-wide-video, .es-wide-stats)),
.e-con:has(> .e-con-inner > .elementor-widget > .elementor-widget-container > :is(.es-wide-strip, .es-where-better-begins, .es-motif-slide, .es-wide-video, .es-wide-stats)) > .e-con-inner {
    padding-block: 0;
}

/* ── Shared inner containers ──────────────────────────── */

.es-motif-slide__inner,
.es-article-cards__inner,
.es-connect__inner,
.es-team__inner,
.es-offer-cards__inner,
.es-icon-cards__inner,
.es-slider__inner {
    max-width: var(--es-max-width);
    margin-inline: auto;
    padding-inline: 1rem;
}

/* Hello Elementor content area — specificity overrides parent defaults */
html body .site-main {
    box-sizing: border-box;
    max-width: var(--es-max-width);
    margin-inline: auto;
    padding-inline: 1rem;
}

/* Reset Hello Elementor's centred entry-title — parent .site-main handles width */
html body .page-header .entry-title {
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
}

/* Hide the default page title — all pages use Elementor layouts */
.page .page-header {
    display: none;
}

/* ── Header ─────────────────────────────────────────────── */

.es-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    transition: background-color .3s ease, box-shadow .3s ease;
}

.es-header.is-scrolled {
    background: var(--es-color-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.es-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 1rem;
}

/* Content stacking above x-motif */
.site-main,
.page-content,
.elementor {
    position: relative;
    z-index: 2;
}

/* ── Logo ────────────────────────────────────────────────── */

.es-header__brand img {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
}

@media (max-width: 1023px) {
    .es-header__brand img {
        max-width: 180px;
        height: auto;
    }
}

/* ── Desktop nav ─────────────────────────────────────────── */

.es-header__nav--desktop .menu {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.es-header__nav--desktop .menu > li {
    position: relative;
}

.es-header__nav--desktop .menu li a {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--es-color-dark);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0.875rem;
    transition: color 0.2s;
}

.es-header__nav--desktop .menu li a:hover,
.es-header__nav--desktop .menu > li.current-menu-item > a,
.es-header__nav--desktop .menu > li.current-menu-ancestor > a {
    color: var(--es-color-accent);
}

/* White nav on pages with hero backgrounds (per-page setting) */
.es-white-nav .es-header__nav--desktop .menu > li > a {
    color: #fff;
}

.es-white-nav .es-header__nav--desktop .menu li a:hover,
.es-white-nav .es-header__nav--desktop .menu > li.current-menu-item > a,
.es-white-nav .es-header__nav--desktop .menu > li.current-menu-ancestor > a {
    color: var(--es-color-accent);
}

.es-white-nav .es-header__menu-toggle span {
    background: #fff;
}

.es-white-nav .es-header__brand .es-header__logo-dark {
    display: none;
}

.es-header__logo-light {
    display: none;
}

.es-white-nav .es-header__brand .es-header__logo-light {
    display: block;
}

/* Dropdown arrow */
.es-header__nav--desktop .menu > .menu-item-has-children > a::after {
    content: '\276F';
    display: inline-block;
    margin-left: 0.35rem;
    font-size: 0.65em;
    transform: rotate(90deg) translateX(-2px);
}

/* Dropdown panel — JS controls show/hide */
.es-header__nav--desktop .menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--es-color-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 0;
    min-width: 200px;
    list-style: none;
    z-index: 10;
}

.es-header__nav--desktop .menu li ul li {
    border-bottom: 1px solid var(--es-color-border);
}

.es-header__nav--desktop .menu li ul li:last-child {
    border-bottom: none;
}

.es-header__nav--desktop .menu li ul li a {
    display: block;
    font-size: 0.8125rem;
    text-transform: none;
    letter-spacing: normal;
    padding: 0.5rem 1.25rem;
    color: var(--es-color-body);
}

.es-header__nav--desktop .menu li ul li a:hover {
    color: var(--es-color-accent);
    background: transparent;
}

@media (max-width: 1023px) {
    .es-header__nav--desktop {
        display: none;
    }
}

/* ── Mobile toggle (hamburger) ───────────────────────────── */

.es-header__menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 28px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.es-header__menu-toggle span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--es-color-dark);
    transition: transform 0.3s, opacity 0.3s;
}

.es-header__menu-toggle span:nth-child(1) { top: 2px; }
.es-header__menu-toggle span:nth-child(2) { top: 11px; }
.es-header__menu-toggle span:nth-child(3) { top: 20px; }

.es-header__menu-toggle.is-active span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

.es-header__menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.es-header__menu-toggle.is-active span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

@media (max-width: 1023px) {
    .es-header__menu-toggle {
        display: block;
    }
}

/* ── Mobile nav ──────────────────────────────────────────── */

.es-header__nav--mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-bottom: 1px solid var(--es-color-border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.es-header__nav--mobile .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.es-header__nav--mobile .menu li a {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--es-color-dark);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--es-color-border-lt);
}

.es-header__nav--mobile .menu li a:hover {
    color: var(--es-color-accent);
}

.es-header__nav--mobile .menu li ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.es-header__nav--mobile .menu li ul li a {
    padding-left: 2rem;
    font-size: 0.8125rem;
    text-transform: none;
    letter-spacing: normal;
    color: var(--es-color-body);
}

@media (min-width: 1024px) {
    .es-header__menu-toggle,
    .es-header__nav--mobile {
        display: none !important;
    }
}

/* ── Footer ─────────────────────────────────────────────── */

.es-footer {
    position: relative;
    z-index: 1;
    background: #fff;
    border-top: 1px solid var(--es-color-border);
    color: var(--es-color-dark);
    padding: 3rem 0 1.5rem;
    font-family: 'Roboto', sans-serif;
}

.es-footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
    .es-footer__inner {
        grid-template-columns: 2fr 3fr;
    }
}

/* Logo + Social */
.es-footer__brand {
    text-align: center;
}

@media (min-width: 480px) {
    .es-footer__brand {
        text-align: left;
    }
}

.es-footer__logo {
    width: 160px;
    height: auto;
    margin-bottom: 1.25rem;
}

.es-footer__social {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 480px) {
    .es-footer__social {
        justify-content: flex-start;
    }
}

.es-footer__social-link {
    opacity: 1;
    transition: opacity 0.2s;
}

.es-footer__social-link:hover {
    opacity: 0.5;
}

.es-footer__social-link img {
    width: 20px;
    height: 20px;
}

/* Offices grid */
.es-footer__offices {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 480px) {
    .es-footer__offices {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        text-align: left;
    }
}

@media (min-width: 640px) {
    .es-footer__offices {
        grid-template-columns: repeat(4, 1fr);
        direction: rtl;
    }
    .es-footer__office {
        direction: ltr;
    }
}

.es-footer .es-footer__office-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--es-color-dark);
    margin: 0 0 0.75rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.es-footer__office-address p {
    font-size: 0.875rem;
    color: var(--es-color-muted);
    line-height: 1.4;
    margin: 0 0 0.125rem;
}

.es-footer__office-phone {
    font-size: 0.875rem;
    color: var(--es-color-muted);
    text-decoration: none;
    margin-top: 0.5rem;
    display: inline-block;
    transition: color 0.2s;
}

.es-footer__office-phone:hover {
    color: var(--es-color-body);
}

/* Bottom bar */
.es-footer__bottom {
    padding-top: 1.25rem;
    border-top: 1px solid var(--es-color-border-lt);
    text-align: center;
    font-size: 0.75rem;
    color: var(--es-color-subtle);
}

.es-footer__bottom p {
    margin: 0 0 0.75rem;
}

.es-footer__policies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1rem;
}

.es-footer__policies a {
    color: var(--es-color-subtle);
    text-decoration: none;
    transition: color 0.2s;
}

.es-footer__policies a:hover {
    color: var(--es-color-dark);
}

/* ── Cookie Banner ──────────────────────────────────────── */

.es-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--es-color-dark);
    color: #fff;
    padding: 0.75rem 1rem;
}

.es-cookie-banner__inner {
    max-width: var(--es-max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.es-cookie-banner__inner p {
    margin: 0;
}

.es-cookie-banner__inner a {
    color: #fff;
    text-decoration: underline;
    margin-left: 0.25rem;
}

.es-cookie-banner__inner a:hover {
    color: var(--es-color-mint);
}

.es-cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.es-cookie-reject {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.es-cookie-reject:hover {
    color: #fff;
}

.es-cookie-accept {
    background: var(--es-color-accent);
    color: #fff;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.375rem 1.25rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.2s;
}

.es-cookie-accept:hover {
    background: var(--es-color-accent-dk);
}

/* ── Cookie Modal ───────────────────────────────────────── */

.es-cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    padding: 1rem;
}

.es-cookie-modal__content {
    background: #fff;
    color: var(--es-color-dark);
    border-radius: 0.5rem;
    max-width: 672px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 1.5rem 2rem;
    position: relative;
}

.es-cookie-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--es-color-dark);
    cursor: pointer;
    line-height: 1;
}

.es-cookie-modal__close:hover {
    color: var(--es-color-body);
}

.es-cookie-modal__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.es-cookie-modal__body {
    font-size: 0.875rem;
    line-height: 1.6;
}

.es-cookie-modal__body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
}

.es-cookie-modal__body p {
    margin: 0 0 1rem;
}

.es-cookie-modal__body code {
    background: var(--es-color-border-lt);
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
}

.es-cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    margin: 0.5rem 0 1rem;
}

.es-cookie-table th {
    text-align: left;
    padding: 0.5rem 1rem 0.5rem 0;
    border-bottom: 1px solid var(--es-color-border);
}

.es-cookie-table td {
    padding: 0.5rem 1rem 0.5rem 0;
    border-bottom: 1px solid var(--es-color-border-lt);
    color: var(--es-color-body);
}

.es-cookie-table td code {
    font-family: monospace;
    font-size: 0.75rem;
}

/* ── Wide Strip ───────────────────────────────────────── */

.es-wide-strip {
    background-color: var(--es-color-accent);
    color: #fff !important;
    text-align: center;
    padding: 3rem 1.5rem;
    border-top: 5px solid #a1ccc0;
    border-bottom: 5px solid #a1ccc0;
}

.es-wide-strip__heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: #fff !important;
}

.es-wide-strip__heading,
.es-wide-strip__text,
.es-wide-strip__btn {
    max-width: var(--es-max-width);
    margin-inline: auto;
}

.es-wide-strip__text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #fff !important;
}

.es-wide-strip--black {
    background-color: var(--es-color-dark);
}

.es-wide-strip--no-stripes {
    border-top: none;
    border-bottom: none;
}

.es-wide-strip__btn {
    display: inline-block;
    align-self: center;
    margin-top: 1.5rem;
    padding: 0.875rem 2.5rem;
    border: none;
    border-radius: 4px;
    background: var(--es-color-accent);
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: background 0.2s;
}

.es-wide-strip__btn:hover {
    background: var(--es-color-accent-dk);
}

/* ── Wide Video ──────────────────────────────────────── */

.es-wide-video {
    background: #000;
    overflow: hidden;
    border-top: 1px solid var(--es-color-border);
    border-bottom: 1px solid var(--es-color-border);
}

.es-wide-video__inner {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 default */
}

.es-wide-video--21-9 .es-wide-video__inner { padding-top: 42.857%; }
.es-wide-video--4-3 .es-wide-video__inner  { padding-top: 75%; }
.es-wide-video--1-1 .es-wide-video__inner  { padding-top: 100%; }

.es-wide-video__player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

/* ── Where Better Begins ──────────────────────────────── */

.es-where-better-begins {
    min-height: 680px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.es-where-better-begins__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.es-where-better-begins__columns {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: var(--es-max-width);
    min-height: inherit;
    align-items: center;
}

.es-where-better-begins--left .es-where-better-begins__columns {
    direction: rtl;
}

.es-where-better-begins--left .es-where-better-begins__content,
.es-where-better-begins--left .es-where-better-begins__left {
    direction: ltr;
}

.es-where-better-begins__left {
    color: #fff;
    padding: 3rem 2rem;
}

.es-where-better-begins__content {
    color: #fff;
    padding: 3rem 2rem;
}

@media (max-width: 639px) {
    .es-where-better-begins__columns {
        grid-template-columns: 1fr;
    }
    .es-where-better-begins__col:empty {
        display: none;
    }
}

.es-where-better-begins__heading {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
    color: #fff !important;
}

.es-where-better-begins__text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 1rem;
    color: #fff !important;
}

.es-where-better-begins__btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    background-color: var(--es-color-accent);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.es-where-better-begins__btn:hover {
    background-color: var(--es-color-accent-dk);
    color: #fff !important;
}

/* ── Motif Slide ──────────────────────────────────────── */

.es-motif-slide {
    background: #f3f4f6;
    padding: 3rem 0;
}

.es-motif-slide--no-bg {
    background: transparent;
}

.es-motif-slide__card {
    position: relative;
    background: var(--es-color-accent);
    border-radius: 1rem;
    overflow: visible;
    min-height: 340px;
    display: flex;
    align-items: stretch;
}

.es-motif-slide__left {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: opacity 0.4s ease;
}

.es-motif-slide__heading {
    font-weight: 600;
    color: #fff !important;
    font-size: 1.5rem;
    margin: 0 0 1.25rem;
}

.es-motif-slide__intro,
.es-motif-slide__body {
    color: rgba(255,255,255,0.9) !important;
    line-height: 1.625;
    margin: 0 0 1rem;
}

.es-motif-slide__body {
    margin-bottom: 2.5rem;
}

.es-motif-slide__ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.es-motif-slide__circle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    text-decoration: none;
    transition: background 0.2s;
}

.es-motif-slide__circle-btn:hover {
    background: #f3f4f6;
}

.es-motif-slide__circle-btn svg {
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
}

.es-motif-slide__circle-btn span {
    color: var(--es-color-accent);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.es-motif-slide__text-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.es-motif-slide__text-btn:hover {
    color: rgba(255,255,255,0.7) !important;
}

.es-motif-slide__text-btn svg {
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
}

.es-motif-slide__text-btn span {
    line-height: 1.2;
}

/* Image wrapper — desktop only */
.es-motif-slide__image-wrap {
    display: none;
}

/* Reveal panel */
.es-motif-slide__reveal {
    display: none;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    padding: 2.5rem;
    z-index: 20;
    transition: opacity 0.45s ease 0.35s;
}

.es-motif-slide__back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    transition: background 0.2s;
}

.es-motif-slide__back-btn:hover {
    background: #f3f4f6;
}

.es-motif-slide__back-btn svg {
    width: 1.75rem;
    height: 1.75rem;
}

.es-motif-slide__reveal-heading {
    font-weight: 700;
    color: #fff !important;
    font-size: 1.5rem;
    margin: 0 0 1.25rem;
}

.es-motif-slide__reveal-text {
    color: rgba(255,255,255,0.9) !important;
    line-height: 1.625;
    margin: 0 0 1.25rem;
}

.es-motif-slide__reveal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.es-motif-slide__reveal-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.75rem;
}

.es-motif-slide__reveal-list li::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
}

.es-motif-slide__reveal-cta {
    display: inline-block;
    align-self: flex-start;
    margin-top: 1.5rem;
    padding: 0.75rem 1.75rem;
    background: #fff;
    color: var(--es-color-accent) !important;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border-radius: 2rem;
    transition: background 0.2s, transform 0.2s;
}

.es-motif-slide__reveal-cta:hover,
.es-motif-slide__reveal-cta:focus-visible {
    background: rgba(255,255,255,0.9);
    transform: translateY(-1px);
}

/* Desktop layout */
@media (min-width: 1024px) {
    .es-motif-slide__left {
        width: 50%;
        padding: 2.5rem 3rem;
    }

    .es-motif-slide__heading {
        font-size: 1.875rem;
    }

    .es-motif-slide__image-wrap {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 50%;
        pointer-events: none;
        z-index: 15;
        transition: transform 0.75s cubic-bezier(.16,1,.3,1);
    }

    .es-motif-slide__image-wrap img {
        position: absolute;
        right: -80px;
        top: 50%;
        transform: translateY(-50%);
        width: 540px;
        filter: grayscale(1);
    }

    .es-motif-slide__reveal {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .es-motif-slide__reveal-heading {
        font-size: 1.875rem;
    }
}

/* Revealed state */
.es-motif-slide__card--revealed .es-motif-slide__image-wrap {
    transform: translateX(-100%);
}

.es-motif-slide__card--revealed .es-motif-slide__left {
    opacity: 0;
}

.es-motif-slide__card--revealed .es-motif-slide__reveal {
    opacity: 1;
    pointer-events: auto;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .es-motif-slide__image-wrap,
    .es-motif-slide__left,
    .es-motif-slide__reveal {
        transition: none !important;
    }
}

/* ── Single Post Layout ────────────────────────────────── */

.single .es-header {
    position: sticky;
    top: 0;
}

.admin-bar.single .es-header,
.admin-bar.es-blog-page .es-header {
    top: 32px;
}

.es-single .page-header {
    display: none;
}

.es-single__hero {
    color: #fff;
    overflow: hidden;
}

.es-single__hero-inner {
    max-width: var(--es-max-width);
    margin-inline: auto;
    padding: 8rem 1rem 0;
    display: grid;
    grid-template-columns: 1fr;
    align-items: end;
    min-height: 50vh;
}

@media (min-width: 640px) {
    .es-single__hero-inner {
        grid-template-columns: 1fr auto;
        padding-top: 10rem;
        min-height: 60vh;
    }
}

.es-single__hero-text {
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (min-width: 640px) {
    .es-single__hero-text {
        padding-bottom: 4rem;
    }
}

.es-single__hero-tag {
    display: inline-block;
    background: var(--es-color-accent);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.625rem 1.25rem;
    margin-bottom: 2rem;
    align-self: flex-start;
}

@media (min-width: 640px) {
    .es-single__hero-tag {
        font-size: 1rem;
    }
}

.es-single__hero .es-single__hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 2rem;
    color: #fff;
}

@media (min-width: 640px) {
    .es-single__hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .es-single__hero-title {
        font-size: 3rem;
    }
}

.es-single__hero-rule {
    width: 100%;
    height: 2px;
    background: #fff;
}

.es-single__hero-image {
    display: none;
}

@media (min-width: 640px) {
    .es-single__hero-image {
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
    }

    .es-single__hero-image img {
        width: auto;
        max-height: 55vh;
        object-fit: contain;
        object-position: bottom;
    }
}

/* Article body */

.es-single__body {
    padding: 3rem 0;
}

@media (min-width: 640px) {
    .es-single__body {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .es-single__body {
        padding: 5rem 0;
    }
}

html body .es-single.site-main {
    max-width: none;
    padding-inline: 0;
}

.es-single__body-inner {
    max-width: var(--es-max-width);
    margin-inline: auto;
    padding-inline: 1rem;
}

.es-single__subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--es-color-dark);
    margin: 0 0 2rem;
    max-width: 50rem;
}

@media (min-width: 640px) {
    .es-single__subtitle {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .es-single__subtitle {
        font-size: 2.25rem;
    }
}

.es-single__content {
    color: var(--es-color-body);
    font-size: 1rem;
    line-height: 1.75;
}

@media (min-width: 640px) {
    .es-single__content {
        column-count: 2;
        column-gap: 2.5rem;
    }
}

.es-single__content p {
    margin: 0 0 1.25rem;
}

.es-single__content b,
.es-single__content strong {
    color: var(--es-color-dark);
    font-weight: 700;
}

.es-single__content a {
    color: var(--es-color-accent);
    text-decoration: underline;
}

.es-single__content a:hover {
    color: var(--es-color-accent-dk);
}

.es-single__content h2,
.es-single__content h3,
.es-single__content h4 {
    color: var(--es-color-dark);
    margin: 2rem 0 1rem;
    line-height: 1.3;
}

.es-single__content h2 { font-size: 1.5rem; }
.es-single__content h3 { font-size: 1.25rem; }
.es-single__content h4 { font-size: 1.125rem; }

.es-single__content ul,
.es-single__content ol {
    padding-left: 1.5rem;
    margin: 0 0 1.25rem;
}

.es-single__content li {
    margin-bottom: 0.5rem;
}

.es-single__content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.25rem;
    margin: 1.5rem 0;
}

/* Related articles section */

.es-single__related {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #fff;
    padding: 3rem 0 4rem;
    border-top: 1px solid var(--es-color-border);
}

.es-single__related-inner {
    max-width: var(--es-max-width);
    margin-inline: auto;
    padding-inline: 1rem;
}

.es-single__related-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--es-color-dark);
    margin: 0 0 2rem;
}

@media (min-width: 640px) {
    .es-single__related-heading {
        font-size: 1.5rem;
    }
}

.es-single__related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .es-single__related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .es-single__related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.es-single__related-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.es-single__related-card .es-article-cards__card {
    height: 14rem;
}

.es-single__related-card .es-article-cards__subtitle {
    margin-top: 0.75rem;
}

/* ── Article Cards Carousel ────────────────────────────── */

.es-article-cards {
    background: #fff;
    padding: 3rem 0;
}

.es-article-cards--grey-bg {
    background: #f9fafb;
}

.es-article-cards__heading {
    font-weight: 600;
    color: var(--es-color-dark) !important;
    font-size: 1.25rem;
    margin: 0 0 2rem;
}

.es-article-cards__carousel {
    position: relative;
    padding: 0 1.5rem;
}

.es-article-cards__track-wrap {
    overflow: hidden;
}

.es-article-cards__track {
    display: flex;
    transition: transform 0.5s ease;
}

.es-article-cards__slide {
    flex-shrink: 0;
    padding: 0 0.75rem;
    box-sizing: border-box;
}

.es-article-cards__link {
    display: block;
    text-decoration: none;
}

/* Card */
.es-article-cards__card {
    position: relative;
    background: var(--es-color-mint);
    border-radius: 0.75rem;
    overflow: hidden;
    height: 14rem;
    margin-bottom: 0.75rem;
}

/* Brand: logo + tagline */
.es-article-cards__brand {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

.es-article-cards__brand img {
    height: 2rem;
    margin-bottom: 0.75rem;
}

.es-article-cards__brand p {
    color: var(--es-color-dark);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
}

.es-article-cards__brand span {
    color: var(--es-color-accent);
}

/* Corner logo */
.es-article-cards__corner {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: auto;
    pointer-events: none;
}

/* Person / featured image */
.es-article-cards__photo {
    position: absolute;
    right: 0;
    bottom: 0;
    width: auto;
    height: 85%;
    max-height: 85%;
    pointer-events: none;
    filter: grayscale(1);
    transition: filter 0.5s ease;
    object-fit: contain;
    object-position: bottom;
}

.es-article-cards__link:hover .es-article-cards__photo {
    filter: grayscale(0);
}

/* Meta: tag + title on card */
.es-article-cards__meta {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 10;
    padding-right: 45%;
}

.es-article-cards__tag {
    display: inline-block;
    background: var(--es-color-accent);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.125rem 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 2px;
}

.es-article-cards__title {
    color: var(--es-color-accent) !important;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.35;
    margin: 0;
}

.es-article-cards__link:hover .es-article-cards__title {
    text-decoration: underline;
}

/* Subtitle below card */
.es-article-cards__subtitle {
    color: var(--es-color-dark) !important;
    font-size: 0.875rem;
    line-height: 1.35;
    margin: 0;
    transition: color 0.2s;
}

.es-article-cards__link:hover .es-article-cards__subtitle {
    color: var(--es-color-accent) !important;
}

/* Prev / Next arrows */
.es-article-cards__prev,
.es-article-cards__next {
    position: absolute;
    top: 7rem;
    transform: translateY(-50%);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 20;
    transition: background-color 0.2s, color 0.2s;
    color: var(--es-color-dark);
}

.es-article-cards__prev {
    left: 0;
    transform: translateY(-50%) translateX(-0.25rem);
}

.es-article-cards__next {
    right: 0;
    transform: translateY(-50%) translateX(0.25rem);
}

.es-article-cards__prev svg,
.es-article-cards__next svg {
    width: 1.25rem;
    height: 1.25rem;
}

.es-article-cards__prev:hover,
.es-article-cards__next:hover {
    background: var(--es-color-accent);
    color: #fff;
}

/* Dots */
.es-article-cards__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.es-article-cards__dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s;
}

.es-article-cards__dot--active {
    background: var(--es-color-accent);
}

@media (min-width: 640px) {
    .es-article-cards__heading {
        font-size: 1.5rem;
    }
}

/* Screen reader text */
/* ── Utilities ────────────────────────────────────────── */

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ── Connect (contact form) ──────────────────────────── */

.es-connect {
    background: #F9FAFB;
    padding: 3rem 0;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 3;
}

.es-connect--grey-bg {
    background: #f9fafb;
}

.es-connect__heading {
    font-weight: 600;
    color: var(--es-color-dark) !important;
    font-size: 1.5rem;
    margin: 0 0 2rem;
}

.es-connect__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
}

@media (min-width: 1024px) {
    .es-connect__grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Form wrapper — orange border card */
.es-connect__form-wrap {
    border: 2px solid var(--es-color-accent);
    border-radius: 1rem;
    padding: 2rem;
    background: #fff;
    position: relative;
    z-index: 2;
}

.es-connect__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Text inputs */
.es-connect__input,
.es-connect__message {
    background: #E4E4E4;
    border: 1px solid #E4E4E4;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--es-color-dark);
    outline: none;
    transition: border-color 0.2s;
}

.es-connect__input:focus,
.es-connect__message:focus {
    border-color: var(--es-color-accent);
}

.es-connect__input::placeholder,
.es-connect__message::placeholder {
    color: #999;
}

/* Bottom row: departments + message */
.es-connect__bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .es-connect__bottom {
        grid-template-columns: 1fr 1fr;
    }
}

/* Departments fieldset */
.es-connect__depts {
    border: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.es-connect__legend {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--es-color-dark);
    margin-bottom: 0.5rem;
}

.es-connect__dept-label {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--es-color-body);
}

.es-connect__dept-label input[type="checkbox"] {
    accent-color: var(--es-color-accent);
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* Message textarea */
.es-connect__message {
    resize: vertical;
    min-height: 8rem;
}

/* Submit button */
.es-connect__submit {
    background: var(--es-color-accent);
    color: #fff;
    border: none;
    padding: 0.75rem 2.5rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.9375rem;
    align-self: center;
    transition: background-color 0.2s;
}

.es-connect__submit:hover {
    background: #C4531F;
}

/* X-motif image */
.es-connect__xmotif {
    position: relative;
    display: none;
}

@media (min-width: 1024px) {
    .es-connect__xmotif {
        display: block;
    }
}

.es-connect__xmotif-svg {
    position: absolute;
    top: -12rem;
    right: -13rem;
    width: 55vw;
    max-width: 880px;
    pointer-events: none;
}

/* Scroll-reveal animations */
.es-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.es-reveal--left {
    transform: translateX(-80px);
}

.es-reveal--right {
    transform: translateX(80px);
}

.es-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .es-reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* ── Wide Stats ──────────────────────────────────────── */

.es-wide-stats {
    background: var(--es-color-accent);
    padding: 2.5rem 1rem;
}

.es-wide-stats--grey-bg {
    background: #f9fafb;
}

.es-wide-stats__inner {
    max-width: var(--es-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
    text-align: center;
}

@media (min-width: 640px) {
    .es-wide-stats__inner {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .es-wide-stats {
        padding: 3rem 1.5rem;
    }
}

.es-wide-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.es-wide-stats--light .es-wide-stats__icon,
.es-wide-stats--light .es-wide-stats__value,
.es-wide-stats--light .es-wide-stats__label {
    color: #fff;
}

.es-wide-stats__icon {
    color: var(--es-color-dark);
    margin-bottom: 0.75rem;
    font-size: 2.5rem;
}

.es-wide-stats__icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.es-wide-stats__icon i {
    font-size: 2.5rem;
}

.es-wide-stats__value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--es-color-dark);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
    .es-wide-stats__value {
        font-size: 2rem;
    }
}

.es-wide-stats__label {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--es-color-dark);
}

@media (min-width: 640px) {
    .es-wide-stats__label {
        font-size: 0.75rem;
        letter-spacing: 0.15em;
    }
}

/* ── Meet the Team ───────────────────────────────────── */

.es-team {
    background: #fff;
    padding: 2.5rem 0 3rem;
}

.es-team__heading {
    color: var(--es-color-accent) !important;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 2rem;
}

@media (min-width: 640px) {
    .es-team__heading {
        font-size: 1.875rem;
    }
}

/* Carousel wrapper */
.es-team__carousel {
    position: relative;
    padding: 0 3rem;
}

.es-team__track-wrap {
    overflow: hidden;
}

.es-team__track {
    display: flex;
    transition: transform 0.5s ease;
}

.es-team__slide {
    flex: 0 0 100%;
    text-align: center;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .es-team__slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .es-team__slide {
        flex: 0 0 33.33%;
    }
}

/* Flip card */
.es-team__flip {
    perspective: 800px;
    width: 14rem;
    height: 14rem;
    cursor: pointer;
    margin: 0 auto 1rem;
}

.es-team__flip--no-back {
    cursor: default;
}

.es-team__flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(.4,0,.2,1);
}

.es-team__flip:hover .es-team__flip-inner {
    transform: rotateY(180deg);
}

.es-team__flip--no-back:hover .es-team__flip-inner {
    transform: none;
}

.es-team__flip-front,
.es-team__flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 50%;
    overflow: hidden;
}

.es-team__flip-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.es-team__placeholder {
    width: 100%;
    height: 100%;
    background: var(--es-color-border-lt);
}

.es-team__flip-back {
    background: var(--es-color-accent);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.es-team__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.es-team__social-link:hover,
.es-team__social-link:focus-visible {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
}

/* Name + title */
.es-team__name {
    font-weight: 700;
    color: var(--es-color-dark) !important;
    font-size: 1rem;
    margin: 0 0 0.25rem;
}

.es-team__title {
    color: var(--es-color-accent) !important;
    font-size: 0.875rem;
    margin: 0;
}

/* Nav (arrows + dots) */
.es-team__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.es-team__arrow {
    background: #fff;
    border: 1px solid var(--es-color-border);
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--es-color-dark);
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.es-team__arrow:hover {
    background: var(--es-color-accent);
    color: #fff;
    border-color: var(--es-color-accent);
}

@media (max-width: 639px) {
    .es-team__carousel {
        padding: 0;
    }
}

/* Dots */
.es-team__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.es-team__dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.es-team__dot--active {
    background: var(--es-color-accent);
}

@media (prefers-reduced-motion: reduce) {
    .es-team__flip-inner,
    .es-team__track {
        transition: none !important;
    }
}

/* Team modal */
.es-team__modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.es-team__modal--open {
    display: flex;
}

.es-team__modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.es-team__modal-dialog {
    position: relative;
    width: 100%;
    max-width: 60rem;
    background: var(--es-color-accent);
    color: #fff;
    border-radius: 0.75rem;
    padding: 2.5rem 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.es-team__modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.es-team__modal-close:hover,
.es-team__modal-close:focus-visible {
    background: rgba(255,255,255,0.18);
}

.es-team__modal-track-wrap {
    overflow: hidden;
}

.es-team__modal-track {
    display: flex;
    transition: transform 0.35s ease;
}

.es-team__modal-slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 1rem;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.es-team__modal-text {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.es-team__modal-photo {
    flex: 0 0 16rem;
    width: 16rem;
    height: 16rem;
    border-radius: 0;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
}

.es-team__modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.es-team__modal-heading {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff !important;
    line-height: 1.3;
    margin: 0 0 1rem;
}

.es-team__modal-name {
    font-weight: 700;
}

.es-team__modal-title {
    font-weight: 400;
}

.es-team__modal-bio {
    color: #fff;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.es-team__modal-bio p {
    margin: 0 0 0.75rem;
}

.es-team__modal-bio p:last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .es-team__modal-dialog {
        padding: 2.5rem 1.25rem 1.75rem;
    }
    .es-team__modal-slide {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    .es-team__modal-text {
        text-align: center;
        order: 2;
    }
    .es-team__modal-photo {
        flex: 0 0 auto;
        width: 14rem;
        height: 14rem;
        order: 1;
    }
    .es-team__modal-heading {
        font-size: 1.25rem;
    }
}

.es-team__modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    color: var(--es-color-dark);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: background 0.2s;
}

.es-team__modal-arrow:hover,
.es-team__modal-arrow:focus-visible {
    background: #f3f4f6;
}

.es-team__modal-arrow--prev {
    left: -1.25rem;
}

.es-team__modal-arrow--next {
    right: -1.25rem;
}

@media (max-width: 480px) {
    .es-team__modal-arrow--prev { left: 0.5rem; }
    .es-team__modal-arrow--next { right: 0.5rem; }
}

/* ── Offer Cards ─────────────────────────────────────── */

.es-offer-cards {
    background: #fff;
    padding: 2.5rem 0 3rem;
}

.es-offer-cards--grey-bg {
    background: #f9fafb;
}

.es-offer-cards__heading {
    color: var(--es-color-accent) !important;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 2rem;
}

@media (min-width: 640px) {
    .es-offer-cards__heading {
        font-size: 1.5rem;
    }
}

.es-offer-cards__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .es-offer-cards__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .es-offer-cards__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.es-offer-cards__card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 1.25rem;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}

.es-offer-cards .es-offer-cards__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.5s ease;
}

.es-offer-cards__card:hover .es-offer-cards__img {
    filter: grayscale(0);
}

.es-offer-cards__placeholder {
    position: absolute;
    inset: 0;
    background: var(--es-color-border);
}

.es-offer-cards__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 40%, transparent 100%);
    pointer-events: none;
}

.es-offer-cards__label {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .es-offer-cards__img {
        transition: none !important;
    }
}

.es-offer-cards__btn-wrap {
    text-align: center;
    margin-top: 2.5rem;
}
.es-offer-cards__btn {
    display: inline-block;
    background: var(--es-color-accent, #F15E2A);
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 2.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: background 0.2s;
}
.es-offer-cards__btn:hover {
    background: #d94f1e;
}

/* ── Icon Cards ─────────────────────────────────────── */

.es-icon-cards {
    background: #fff;
    padding: 2.5rem 0 3rem;
}

.es-icon-cards--grey-bg {
    background: #f9fafb;
}

.es-icon-cards__heading {
    color: var(--es-color-accent) !important;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 2rem;
}

@media (min-width: 640px) {
    .es-icon-cards__heading {
        font-size: 1.5rem;
    }
}

.es-icon-cards__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4.5rem 1rem;
}

.es-icon-cards__grid .es-icon-cards__card {
    width: calc(50% - 0.5rem);
}

@media (min-width: 640px) {
    .es-icon-cards__grid .es-icon-cards__card {
        width: calc(33.333% - 0.667rem);
    }
}

@media (min-width: 1024px) {
    .es-icon-cards[data-cols="3"] .es-icon-cards__grid .es-icon-cards__card {
        width: calc(33.333% - 0.667rem);
    }
    .es-icon-cards[data-cols="4"] .es-icon-cards__grid .es-icon-cards__card {
        width: calc(25% - 0.75rem);
    }
    .es-icon-cards[data-cols="5"] .es-icon-cards__grid .es-icon-cards__card {
        width: calc(20% - 0.8rem);
    }
}

.es-icon-cards__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.es-icon-cards__circle {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.es-icon-cards__card:hover .es-icon-cards__circle {
    background: #e5e5e5;
}

/* Flip card */
.es-icon-cards__flip {
    width: 7rem;
    height: 7rem;
    perspective: 600px;
    flex-shrink: 0;
    cursor: pointer;
}

.es-icon-cards__flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(.4, 0, .2, 1);
}

.es-icon-cards__card:hover .es-icon-cards__flip-inner {
    transform: rotateY(180deg);
}

.es-icon-cards__flip-front,
.es-icon-cards__flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.es-icon-cards__flip-front {
    background: #f0f0f0;
}

.es-icon-cards__flip-back {
    background: var(--es-color-accent);
    transform: rotateY(180deg);
    padding: 1rem;
}

.es-icon-cards__flip-back p {
    color: #fff;
    font-size: 0.7rem;
    line-height: 1.4;
    text-align: center;
    margin: 0;
}

@media (min-width: 640px) {
    .es-icon-cards__flip {
        width: 8rem;
        height: 8rem;
    }
    .es-icon-cards__flip-back p {
        font-size: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .es-icon-cards__flip {
        width: 9rem;
        height: 9rem;
    }
    .es-icon-cards__flip-back p {
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .es-icon-cards__flip-inner {
        transition: none !important;
    }
}

.es-icon-cards__icon {
    width: 48%;
    height: 48%;
    object-fit: contain;
}

.es-icon-cards__label {
    color: var(--es-color-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .es-icon-cards__circle {
        width: 8rem;
        height: 8rem;
    }

    .es-icon-cards__label {
        font-size: 0.85rem;
    }
}

@media (min-width: 1024px) {
    .es-icon-cards__circle {
        width: 9rem;
        height: 9rem;
    }

    .es-icon-cards__label {
        font-size: 0.875rem;
    }
}

/* ── Slider ──────────────────────────────────────────── */

.es-slider {
    background: #f9fafb;
    padding: 2.5rem 0 3rem;
}

.es-slider .es-slider__inner {
    padding-inline: 0;
}

.es-slider--no-bg {
    background: transparent;
}

.es-slider__heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--es-color-dark) !important;
    margin: 0 0 2rem;
}

@media (min-width: 640px) {
    .es-slider__heading {
        font-size: 1.875rem;
    }
}

/* Orange card */
.es-slider__card {
    background: var(--es-color-accent);
    border-radius: 1.5rem;
    overflow: hidden;
}

.es-slider__track {
    display: flex;
    transition: transform 0.5s ease;
}

.es-slider__slide {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .es-slider__slide {
        flex-direction: row;
        align-items: center;
        padding: 3rem;
    }
}

/* Text half */
.es-slider__text {
    flex: 1;
}

.es-slider__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 1rem;
}

@media (min-width: 640px) {
    .es-slider__title {
        font-size: 1.5rem;
    }
}

.es-slider__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.9) !important;
    margin: 0;
}

/* Image half */
.es-slider__media {
    flex-shrink: 0;
    width: 100%;
}

@media (min-width: 640px) {
    .es-slider__media {
        width: 20rem;
    }
}

@media (min-width: 1024px) {
    .es-slider__media {
        width: 24rem;
    }
}

.es-slider__media img {
    width: 100%;
    height: 14rem;
    object-fit: cover;
    border-radius: 1rem;
    display: block;
}

@media (min-width: 640px) {
    .es-slider__media img {
        height: 16rem;
    }
}

.es-slider__placeholder {
    width: 100%;
    height: 14rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.2);
}

/* Navigation: arrows + dots inline */
.es-slider__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.es-slider__arrow {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--es-color-accent);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    transition: background 0.2s, color 0.2s;
}

.es-slider__arrow:hover {
    background: var(--es-color-accent);
    color: #fff;
}

.es-slider__dots {
    display: flex;
    gap: 0.5rem;
}

.es-slider__dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: 2px solid var(--es-color-accent);
    background: #fff;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s;
}

.es-slider__dot--active {
    background: var(--es-color-accent);
}

@media (prefers-reduced-motion: reduce) {
    .es-slider__track {
        transition: none !important;
    }
}

/* ── Spotlight ───────────────────────────────────────── */

.es-spotlight {
    padding: 3rem 0;
}

.es-spotlight__inner {
    max-width: var(--es-max-width);
    margin-inline: auto;
    padding-inline: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
}

@media (min-width: 640px) {
    .es-spotlight__inner {
        grid-template-columns: 1fr 1fr;
    }

    /* Image-right variant flips the columns */
    .es-spotlight--reversed .es-spotlight__media {
        order: 2;
    }
    .es-spotlight--reversed .es-spotlight__content {
        order: 1;
    }
}

/* Image */
.es-spotlight__media {
    border-radius: 1rem 0 0 1rem;
    overflow: hidden;
}

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

.es-spotlight__placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 1rem 0 0 1rem;
    background: var(--es-color-border);
}

.es-spotlight--no-bg .es-spotlight__content {
    background: transparent;
}

/* Content */
.es-spotlight__content {
    background: #f3f4f6;
    border-radius: 0 1rem 1rem 0;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.es-spotlight__logo {
    max-height: 4rem;
    width: auto;
    height: auto;
    margin-bottom: 1.25rem;
    object-fit: contain;
    align-self: flex-start;
}

.es-spotlight__text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--es-color-body);
}

.es-spotlight__text p {
    margin: 0 0 1rem;
}

.es-spotlight__text p:last-child {
    margin-bottom: 0;
}

/* ── Hero Block (crossfade slider) ───────────────────── */

.es-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.es-hero__slides {
    position: absolute;
    inset: 0;
}

.es-hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.es-hero__slide--active {
    opacity: 1;
}

/* Content overlay */
.es-hero__content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .es-hero__content {
        padding: 0 3rem;
    }
}

@media (min-width: 1024px) {
    .es-hero__content {
        padding: 0 10vw;
    }
}

/* Text block */
.es-hero__text {
    text-align: center;
}

.es-hero__heading {
    font-family: var(--es-font-heading, 'Orbitron', sans-serif);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0;
}

@media (min-width: 640px) {
    .es-hero__heading {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .es-hero__heading {
        font-size: 3rem;
    }
}

.es-hero__line {
    display: block;
}

.es-hero__line--script {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 700;
    color: var(--es-color-accent);
    text-transform: none;
    letter-spacing: normal;
    font-size: clamp(5rem, 12vw, 11rem);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.es-hero__subtitle {
    color: #fff;
    font-weight: 300;
    max-width: 28rem;
    margin: 0 auto;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(40px);
    animation: esHeroFadeIn 1.4s cubic-bezier(.16, 1, .3, 1) both;
    animation-delay: 1s;
}

/* Staggered fade-in */
.es-hero__heading > span {
    opacity: 0;
    transform: translateY(40px);
    animation: esHeroFadeIn 1.4s cubic-bezier(.16, 1, .3, 1) both;
}

.es-hero__heading > span:nth-child(1) {
    animation-delay: 0.2s;
}

.es-hero__heading > span:nth-child(2) {
    animation-delay: 0.5s;
}

.es-hero__heading > span:nth-child(3) {
    animation-delay: 0.8s;
}

@keyframes esHeroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dots */
.es-hero__dots {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    z-index: 20;
    display: flex;
    gap: 0.75rem;
}

.es-hero__dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid var(--es-color-accent);
    background: rgba(223, 104, 58, 0.4);
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.es-hero__dot--active {
    background: var(--es-color-accent);
    transform: scale(1.25);
}

/* Spacer — strip Elementor container padding so spacer height matches hero */
.es-hero__spacer {
    pointer-events: none;
}
.e-con:has(.es-hero__spacer, .es-join-hero__spacer) > .e-con-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.e-con .elementor-widget.elementor-widget-excellerate_hero_block:not(:last-child),
.e-con .elementor-widget.elementor-widget-excellerate_join_hero:not(:last-child),
.e-con > .e-con:has(.elementor-widget-excellerate_hero_block):not(:last-child),
.e-con > .e-con:has(.elementor-widget-excellerate_join_hero):not(:last-child) {
    margin-block-end: -20px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .es-hero__slide {
        transition: none !important;
    }
    .es-hero__heading > span,
    .es-hero__subtitle {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
}

/* Elementor editor preview */
.es-hero--editor {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 420px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.es-hero--editor .es-hero__content {
    padding: 0 2rem;
}

.es-hero--editor .es-hero__line--script {
    font-size: 5rem;
}

.es-hero--editor .es-hero__heading {
    font-size: 1.25rem;
}

.es-hero--editor .es-hero__heading > span,
.es-hero--editor .es-hero__subtitle {
    animation: none;
    opacity: 1;
    transform: none;
}

/* Landscape phones */
@media (max-height: 500px) {
    .es-hero__line--script {
        font-size: clamp(3rem, 10vw, 5rem);
    }
    .es-hero__heading > span,
    .es-hero__subtitle {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
}

/* ── Feature Split ───────────────────────────────────── */

.es-feature-split {
    background: #fff;
    padding: 3rem 0;
}

.es-feature-split--grey-bg {
    background: #f9fafb;
}

.es-feature-split__inner {
    max-width: var(--es-max-width);
    margin-inline: auto;
    padding-inline: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 640px) {
    .es-feature-split__inner {
        grid-template-columns: var(--es-fs-txt) var(--es-fs-img);
        gap: 3rem;
    }

    /* Default (image-right): text on left, right-aligned toward image */
    .es-feature-split:not(.es-feature-split--reversed) .es-feature-split__text {
        text-align: right;
    }
    .es-feature-split:not(.es-feature-split--reversed) .es-feature-split__btn {
        float: right;
    }

    /* Default (image-right): image aligns left */
    .es-feature-split:not(.es-feature-split--reversed) .es-feature-split__media {
        text-align: left;
    }

    /* Image-left flips the columns */
    .es-feature-split--reversed .es-feature-split__inner {
        grid-template-columns: var(--es-fs-img) var(--es-fs-txt);
    }
    .es-feature-split--reversed .es-feature-split__media {
        order: -1;
    }
}

.es-feature-split__heading {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--es-color-dark) !important;
    margin: 0 0 0.75rem;
}

.es-feature-split__subheading {
    font-size: 1.05rem;
    color: var(--es-color-body);
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.es-feature-split__body {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--es-color-body);
}

.es-feature-split__body h4 {
    font-weight: 700;
    color: var(--es-color-dark);
    margin: 0 0 0.5rem;
}

.es-feature-split__body p {
    margin: 0 0 1.25rem;
}

.es-feature-split__btn {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--es-color-accent);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.2s;
}

.es-feature-split__btn:hover {
    background: var(--es-color-accent-dk);
    color: #fff !important;
}

.es-feature-split__media img {
    width: 100%;
    height: auto;
    display: block;
}

.es-feature-split__placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--es-color-border);
    border-radius: 1rem;
}

/* ── Join Hero ──────────────────────────────────────────── */

.es-join-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 50;
    overflow: hidden;
}

.es-join-hero__bg {
    position: absolute;
    inset: 0;
}

.es-join-hero__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}

.es-join-hero__bg-img--active {
    opacity: 1;
}

.es-join-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 50%, rgba(0, 0, 0, 0.3)),
        rgba(2, 0, 15, 0.6);
}

.es-join-hero__content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-width: var(--es-max-width);
    margin: 0 auto;
    padding: 0 1rem 2.5rem;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .es-join-hero__content {
        padding: 0 1.5rem 3rem;
    }
}

.es-join-hero__super {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--es-color-accent);
    margin-bottom: 0.75rem;
}

.es-join-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: end;
}

@media (min-width: 1024px) {
    .es-join-hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Per-slide text */
.jh-text {
    display: none;
}

.jh-text--active {
    display: block;
}

.jh-text h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 1rem;
}

.jh-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 32rem;
    margin: 0;
}

/* ── Flex-strip carousel (shared pattern) ───────────────── */

.es-join-hero__strip {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    overflow: hidden;
}

.fc-card {
    flex: 0 0 calc((50% - 48px) / 3);
    min-width: 0;
    margin-bottom: 20px;
    transition: flex 0.5s ease, transform 0.5s ease, opacity 0.5s ease, margin 0.5s ease;
}

.fc-card.fc-active {
    flex: 0 0 50%;
    margin-bottom: 0;
}

.fc-card-inner {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.3s ease, opacity 0.3s ease;
}

.fc-card.fc-active .fc-card-inner {
    border-color: var(--es-color-accent);
}

.fc-card:not(.fc-active) .fc-card-inner {
    opacity: 0.6;
}

.fc-card:not(.fc-active) .fc-card-label {
    display: none;
}

/* Icon card variant */
.fc-card-inner--icon {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc-card-inner--icon::after {
    display: none;
}

.fc-card-inner--icon .fc-card-icon {
    position: static;
    width: 50%;
    height: auto;
    object-fit: contain;
}

.fc-card-inner img:not(.fc-card-icon) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fc-card-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.fc-card-label {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

.fc-card.fc-exiting-left,
.fc-card.fc-entering-left {
    flex: 0 0 0%;
    transform: translateX(-60px);
    opacity: 0;
    overflow: hidden;
    margin: 0;
    gap: 0;
}

.fc-spacer {
    flex: 0 0 0px;
    transition: flex 0.5s ease;
}

.fc-spacer.fc-spacer-open {
    flex: 0 0 calc((50% - 48px) / 3);
}

/* Nav: dots + arrows */
.es-join-hero__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    width: calc(50% - 8px);
}

.es-join-hero__nav button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transform: translateY(-3px);
    transition: color 0.2s;
}

.es-join-hero__nav button:hover {
    color: var(--es-color-accent);
}

.jh-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s;
}

.jh-dot--active {
    background: var(--es-color-accent);
}

/* Spacer */
.es-join-hero__spacer {
    pointer-events: none;
}

/* Inline mode — stays in Elementor flow, no body.prepend */
.es-join-hero--inline {
    position: relative;
    top: auto;
    left: auto;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: auto;
    min-height: 500px;
    z-index: 1;
    display: flex;
}

.es-join-hero--inline .es-join-hero__content {
    height: auto;
    flex: 1;
}

/* Mobile: hide card strip, show dots only */
@media (max-width: 1023px) {
    .es-join-hero__strip {
        display: none;
    }
    .es-join-hero__nav {
        width: auto;
        justify-content: flex-start;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .es-join-hero__bg-img {
        transition: none !important;
    }
    .fc-card {
        transition: none !important;
    }
    .fc-card-inner {
        transition: none !important;
    }
    .fc-spacer {
        transition: none !important;
    }
}

/* Editor preview */
.es-join-hero--editor {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 420px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.es-join-hero--editor .es-join-hero__content {
    padding: 0 2rem 2rem;
}

.es-join-hero--editor .jh-text h2 {
    font-size: 1.5rem;
}

.es-join-hero--editor .jh-text--active {
    display: block;
}

/* Landscape phones */
@media (max-height: 500px) {
    .es-join-hero {
        min-height: auto;
        height: auto;
    }
    .es-join-hero__bg-img {
        transition: none !important;
    }
}

/* ── Quote Card ─────────────────────────────────── */
.es-quote-card {
    background: var(--es-color-dark, #02000F);
    padding: 3rem 1rem;
}

.es-quote-card--grey-bg {
    background: #f9fafb;
}

.es-quote-card__inner {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}
.es-quote-card__icon {
    color: var(--es-color-accent, #F15E2A);
    margin-bottom: 1.5rem;
}
.es-quote-card__icon svg {
    display: inline-block;
}
.es-quote-card__text {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1.5rem;
    border: none;
    padding: 0;
}
.es-quote-card__name {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 0.25rem;
}
.es-quote-card__title {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}
@media (min-width: 640px) {
    .es-quote-card {
        padding: 4rem 2rem;
    }
}

/* ── Impact Block ───────────────────────────────── */
.es-impact-block {
    background: var(--es-color-dark, #02000F);
    color: #fff;
    padding: 3rem 1rem;
}

.es-impact-block--grey-bg {
    background: #f9fafb;
}

.es-impact-block__inner {
    max-width: var(--es-max-width, 1200px);
    margin: 0 auto;
    padding: 0 1rem;
}
.es-impact-block__super {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--es-color-accent, #F15E2A);
    margin-bottom: 0.75rem;
}
.es-impact-block__heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: #fff !important;
    margin: 0 0 2.5rem;
}
.es-impact-block__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}
@media (min-width: 1024px) {
    .es-impact-block__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Video column */
.es-impact-block__video {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}
.es-impact-block__video:hover .es-impact-block__play {
    color: #fff;
}
.es-impact-block__video-el {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.es-impact-block__video.is-playing .es-impact-block__play,
.es-impact-block__video.is-playing .es-impact-block__caption {
    opacity: 0;
    pointer-events: none;
}
.es-impact-block__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.es-impact-block__play {
    position: relative;
    z-index: 2;
    color: var(--es-color-accent, #F15E2A);
    transition: color 0.3s;
}
.es-impact-block__caption {
    position: relative;
    z-index: 2;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0.75rem 0 0;
}

/* Quote + body column */
.es-impact-block__quote-wrap {
    border-left: 4px solid var(--es-color-accent, #F15E2A);
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.es-impact-block__quote {
    font-size: 1rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1rem;
    border: none;
    padding: 0;
}
.es-impact-block__author {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 0.125rem;
}
.es-impact-block__author-title {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}
.es-impact-block__body {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
}
.es-impact-block__body p {
    margin: 0 0 1rem;
}
.es-impact-block__body p:last-child {
    margin-bottom: 0;
}
@media (min-width: 640px) {
    .es-impact-block {
        padding: 4rem 2rem;
    }
}

/* ── Slider Alt ─────────────────────────────────── */
.es-slider-alt {
    position: relative;
    padding: 2rem 0;
}
.es-slider-alt__card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
.es-slider-alt__track {
    position: relative;
    min-height: 280px;
}

/* Slides — fade transition */
.es-slider-alt__slide {
    display: none;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.5rem 2rem;
    align-items: center;
}
.es-slider-alt__slide--active {
    display: grid;
}
@media (min-width: 640px) {
    .es-slider-alt__slide {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        padding: 3rem;
    }
}

/* Text */
.es-slider-alt__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.es-slider-alt__title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--es-color-dark, #02000F);
    margin: 0 0 1rem;
}
.es-slider-alt__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* Image */
.es-slider-alt__media {
    border-radius: 0.75rem;
    overflow: hidden;
}
.es-slider-alt__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* Arrows */
.es-slider-alt__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: box-shadow 0.2s, color 0.2s;
}
.es-slider-alt__arrow:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    color: var(--es-color-accent, #F15E2A);
}
.es-slider-alt__arrow--prev {
    left: -22px;
}
.es-slider-alt__arrow--next {
    right: -22px;
}
@media (max-width: 1023px) {
    .es-slider-alt__arrow--prev { left: 0.5rem; }
    .es-slider-alt__arrow--next { right: 0.5rem; }
}

/* Dots */
.es-slider-alt__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}
.es-slider-alt__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.2s;
}
.es-slider-alt__dot--active {
    background: var(--es-color-dark, #02000F);
}

/* ── Spark Hero ───────────────────────────────────────── */

.es-spark-hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #fff;
    padding: 7rem 0 0;
}
.es-spark-hero__inner {
    max-width: var(--es-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.es-spark-hero__heading {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 600;
    font-style: italic;
    color: var(--es-color-accent);
    font-size: clamp(1.5rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Slider */
.es-spark-hero__slider {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 16 / 7;
}
@media (max-width: 639px) {
    .es-spark-hero__slider {
        aspect-ratio: 4 / 3;
    }
}
.es-spark-hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.es-spark-hero__slide--active {
    opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
    .es-spark-hero__slide {
        transition: none;
    }
}

/* Dots */
.es-spark-hero__dots {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.es-spark-hero__dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, border-color 0.2s;
}
.es-spark-hero__dot--active {
    background: var(--es-color-accent);
    border-color: var(--es-color-accent);
}

/* Brand Mark */
.es-spark-hero__brand {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 2.5rem 0 1rem;
    user-select: none;
}
.es-spark-hero__brand-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: clamp(4rem, 10vw, 10rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--es-color-dark);
}
.es-spark-hero__starburst {
    width: clamp(3rem, 5vw, 6rem);
    height: clamp(3rem, 5vw, 6rem);
    color: var(--es-color-accent);
    margin-top: 0.25rem;
    margin-left: -0.25rem;
}

/* ── Accent Serif heading modifier ────────────────────── */

body .elementor .es-feature-split__heading--accent-serif,
body .elementor .es-offer-cards__heading--accent-serif {
    font-family: 'Source Serif 4', Georgia, serif;
    font-style: italic;
    font-weight: 700;
    color: var(--es-color-accent) !important;
}
.es-feature-split__heading--accent-serif {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}
.es-offer-cards__heading--accent-serif {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
}

/* ── Feature Split image rounding ─────────────────────── */

.es-feature-split__media img {
    border-radius: 2rem;
}

/* ── Feature Split X-markers list ─────────────────────── */

/* When x-markers active, left-align the entire text column (overrides default right-align) */
.es-feature-split:not(.es-feature-split--reversed) .es-feature-split__text:has(.es-feature-split__body--x-list),
.es-feature-split--reversed .es-feature-split__text:has(.es-feature-split__body--x-list) {
    text-align: left;
}

.es-feature-split__body--x-list ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.es-feature-split__body--x-list ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--es-color-dark);
}
.es-feature-split__body--x-list ul li::before {
    content: '';
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    background: linear-gradient(
        45deg,
        transparent 40%,
        var(--es-color-accent) 40%,
        var(--es-color-accent) 48%,
        transparent 48%,
        transparent 52%,
        var(--es-color-accent) 52%,
        var(--es-color-accent) 60%,
        transparent 60%
    ),
    linear-gradient(
        -45deg,
        transparent 40%,
        var(--es-color-accent) 40%,
        var(--es-color-accent) 48%,
        transparent 48%,
        transparent 52%,
        var(--es-color-accent) 52%,
        var(--es-color-accent) 60%,
        transparent 60%
    );
}

/* ── Blog Archive ─────────────────────────────────────── */

.es-blog-page .es-header {
    position: sticky;
    top: 0;
}

html body .es-blog-archive.site-main {
    max-width: none;
    padding-inline: 0;
}

.es-blog-archive .page-header {
    display: none;
}

/* Hero */

.es-blog__hero {
    color: #fff;
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}

.admin-bar .es-blog__hero {
    height: calc(100vh - 32px);
    height: calc(100dvh - 32px);
}

.es-blog__hero-inner {
    max-width: var(--es-max-width);
    margin-inline: auto;
    padding: 8rem 1rem 0;
    display: flex;
    align-items: flex-end;
    height: 100%;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .es-blog__hero-inner {
        padding-top: 10rem;
    }
}

.es-blog__hero-text {
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.es-blog__hero-tag {
    display: inline-block;
    background: var(--es-color-accent);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.625rem 1.25rem;
    margin-bottom: 2rem;
    align-self: flex-start;
}

@media (min-width: 640px) {
    .es-blog__hero-tag {
        font-size: 1rem;
    }
}

.es-blog__hero .es-blog__hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: #fff;
}

@media (min-width: 640px) {
    .es-blog__hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .es-blog__hero-title {
        font-size: 3rem;
    }
}

.es-blog__hero-excerpt {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    max-width: 32rem;
}

.es-blog__hero-btn {
    display: inline-block;
    border: 2px solid var(--es-color-accent);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.75rem 2rem;
    margin-bottom: 1.25rem;
    align-self: flex-start;
    transition: background-color 0.2s, color 0.2s;
}

.es-blog__hero-btn:hover {
    background: var(--es-color-accent);
    color: #fff;
}

.es-blog__hero-rule {
    width: 4rem;
    height: 3px;
    background: var(--es-color-accent);
}

.es-blog__hero-image {
    display: none;
}

@media (min-width: 640px) {
    .es-blog__hero-image {
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
    }

    .es-blog__hero-image img {
        width: auto;
        max-height: 65vh;
        object-fit: contain;
        object-position: bottom;
    }
}

/* All Articles */

.es-blog__articles {
    background: #fff;
    padding: 3rem 0 4rem;
}

@media (min-width: 640px) {
    .es-blog__articles {
        padding: 4rem 0 5rem;
    }
}

.es-blog__articles-inner {
    max-width: var(--es-max-width);
    margin-inline: auto;
    padding-inline: 1rem;
}

.es-blog__articles-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.es-blog__articles-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--es-color-dark) !important;
    margin: 0;
}

@media (min-width: 640px) {
    .es-blog__articles-heading {
        font-size: 1.5rem;
    }
}

/* Filter pills */

.es-blog__filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.es-blog__filter {
    border: 1px solid #d1d5db;
    background: #fff;
    color: var(--es-color-dark);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.es-blog__filter:hover {
    border-color: var(--es-color-accent);
    color: var(--es-color-accent);
}

.es-blog__filter--active,
.es-blog__filter--active:hover {
    background: var(--es-color-accent);
    border-color: var(--es-color-accent);
    color: #fff;
}

.es-blog__divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 1.5rem 0 2rem;
}

/* Card grid */

.es-blog__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .es-blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .es-blog__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.es-blog__card {
    text-decoration: none;
    display: block;
}

.es-blog__card:hover .es-article-cards__photo {
    filter: grayscale(0);
}

.es-blog__card:hover .es-article-cards__title {
    text-decoration: underline;
}

.es-blog__card:hover .es-article-cards__subtitle {
    color: var(--es-color-accent) !important;
}

.es-blog__card .es-article-cards__subtitle {
    margin-top: 0.75rem;
}

.es-blog__pagination {
    margin-top: 3rem;
    text-align: center;
}

.es-blog__pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.es-blog__pagination li {
    display: inline-block;
}

.es-blog__pagination a,
.es-blog__pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.es-blog__pagination a:hover {
    background-color: var(--es-color-accent);
    border-color: var(--es-color-accent);
    color: #fff;
}

.es-blog__pagination .current {
    background-color: #4c0e0d;
    border-color: #4c0e0d;
    color: #fff;
}

/* ── Offer Cards ratio variable ───────────────────────── */

.es-offer-cards__card {
    aspect-ratio: var(--es-oc-ratio, 4/3);
}

/* ── Archive description ─────────────────────────────── */

.es-blog__archive-desc {
    color: var(--es-color-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0.5rem 0 0;
    max-width: 40rem;
}

/* ── 404 Page ────────────────────────────────────────── */

.es-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    padding: 4rem 1rem;
}

.es-404__code {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 700;
    color: var(--es-color-border);
    line-height: 1;
    margin-bottom: 1rem;
}

.es-404__heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--es-color-dark);
    margin: 0 0 1rem;
}

.es-404__text {
    color: var(--es-color-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 28rem;
    margin: 0 0 2rem;
}

.es-404__btn {
    display: inline-block;
    background: var(--es-color-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.es-404__btn:hover {
    background: var(--es-color-accent-dk);
    color: #fff;
}

/* ── Reviews Carousel ──────────────────────────────────── */

.es-reviews {
    background: #f9fafb;
    padding: 2.5rem 0 3rem;
}

.es-reviews__inner {
    max-width: var(--es-inner-max, 1280px);
    margin: 0 auto;
    padding: 0;
}

.es-reviews__heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--es-color-dark) !important;
    margin: 0 0 2rem;
}

@media (min-width: 640px) {
    .es-reviews__heading {
        font-size: 1.875rem;
    }
}

.es-reviews--no-bg {
    background: transparent;
}

.es-reviews__viewport {
    overflow: hidden;
}

.es-reviews__track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}

.es-reviews__card {
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-sizing: border-box;
}

.es-reviews__stars {
    display: flex;
    gap: 0.25rem;
}

.es-reviews__stars svg {
    flex-shrink: 0;
}

.es-reviews__quote {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #374151 !important;
    margin: 0;
    flex: 1;
}

.es-reviews__author {
    margin-top: auto;
    padding-top: 0.5rem;
}

.es-reviews__name {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--es-color-dark) !important;
    margin: 0;
}

.es-reviews__subtitle {
    font-size: 0.8125rem;
    color: #9ca3af !important;
    margin: 0.125rem 0 0;
}

.es-reviews__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.es-reviews__arrow {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--es-color-accent);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    transition: background 0.2s, color 0.2s;
}

.es-reviews__arrow:hover {
    background: var(--es-color-accent);
    color: #fff;
}

.es-reviews__dots {
    display: flex;
    gap: 0.5rem;
}

.es-reviews__dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s;
}

.es-reviews__dot--active {
    background: var(--es-color-dark, #1f2937);
}

@media (prefers-reduced-motion: reduce) {
    .es-reviews__track {
        transition: none !important;
    }
}

/* ── Logo Carousel ─────────────────────────────────────── */

.es-logos {
    background: #f9fafb;
    padding: 2.5rem 0 3rem;
}

.es-logos--no-bg {
    background: transparent;
}

.es-logos__inner {
    padding: 0 1.5rem;
}

.es-logos__heading {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af !important;
    margin: 0 0 3.5rem;
}

.es-logos__stage {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.es-logos__viewport {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.es-logos__track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}

.es-logos__item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5rem;
    box-sizing: border-box;
}

.es-logos__item img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s, opacity 0.3s;
}

.es-logos__item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}


.es-logos__arrow {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--es-color-accent);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    transition: background 0.2s, color 0.2s;
}

.es-logos__arrow:hover {
    background: var(--es-color-accent);
    color: #fff;
}

.es-logos__dots {
    display: flex;
    gap: 0.5rem;
}

.es-logos__dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s;
}

.es-logos__dot--active {
    background: var(--es-color-dark, #1f2937);
}

@media (prefers-reduced-motion: reduce) {
    .es-logos__track {
        transition: none !important;
    }
}

/* ── Clients & Reviews (scroll-over cards) ───────────── */

/* Strip Elementor container padding around this widget */
.e-con:has(> .e-con-inner > .elementor-widget > .elementor-widget-container > .es-cr--clients),
.e-con:has(> .e-con-inner > .elementor-widget > .elementor-widget-container > .es-cr--clients) > .e-con-inner {
    padding-block: 0;
}

.es-cr {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 1rem;
}

.es-cr--clients {
    position: relative;
    z-index: 10;
    margin-top: 6rem;
    padding-bottom: 2.5rem;
}

.es-cr--reviews {
    position: relative;
    z-index: 20;
    margin-top: 2rem;
    padding-bottom: 6rem;
}

.es-cr__card {
    max-width: var(--es-inner-max, 1280px);
    margin: 0 auto;
    padding: 2rem 2rem 2.5rem;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #d1d5db;
    box-shadow: 2px 6px 1px 0 #d1d5db;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ── Heading ── */

.es-cr__heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--es-color-dark) !important;
    margin: 0 0 2rem;
}

@media (min-width: 768px) {
    .es-cr__heading {
        font-size: 1.25rem;
    }
}

/* ── Carousel shared ── */

.es-cr__carousel {
    position: relative;
    overflow: hidden;
}

.es-cr__track {
    display: flex;
    will-change: transform;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.es-cr__slide {
    min-width: 100%;
    flex-shrink: 0;
}

/* ── Logo grid ── */

.es-cr__logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 640px) {
    .es-cr__logo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.es-cr__logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 9rem;
    padding: 0 1rem;
}

.es-cr__logo-item img {
    max-height: 5rem;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s, opacity 0.3s;
}

.es-cr__logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.es-cr__logo-placeholder {
    border: 2px solid #d1d5db;
    border-radius: 0.25rem;
    padding: 0.75rem 1rem;
    text-align: center;
}

.es-cr__logo-placeholder span {
    color: #9ca3af;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── Review grid ── */

.es-cr__review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .es-cr__review-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.es-cr__review-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
}

.es-cr__stars {
    display: flex;
    gap: 0.25rem;
}

.es-cr__stars svg {
    flex-shrink: 0;
}

.es-cr__quote {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--es-color-text, #374151) !important;
    margin: 0;
    flex: 1;
}

.es-cr__author {
    margin-top: auto;
}

.es-cr__name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--es-color-dark) !important;
    margin: 0;
}

.es-cr__subtitle {
    font-size: 0.75rem;
    color: #9ca3af !important;
    margin: 0.125rem 0 0;
}

/* ── Dots ── */

.es-cr__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.es-cr__dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s;
}

.es-cr__dot--active {
    background: var(--es-color-dark, #1f2937);
}

/* ── Responsive ── */

@media (max-width: 639px) {
    .es-cr__card {
        padding: 1.5rem 1rem 2rem;
        min-height: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .es-cr__track {
        transition: none !important;
    }
}

/* ── Values ─────────────────────────────────────────── */

.es-values {
    background: #fff;
    padding: 2.5rem 0 3rem;
}

.es-values__inner {
    box-sizing: border-box;
    max-width: var(--es-max-width);
    margin-inline: auto;
    padding-inline: 1rem;
}

.es-values__heading {
    color: var(--es-color-dark);
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 2rem;
}

@media (min-width: 640px) {
    .es-values__heading {
        font-size: 2rem;
    }
}

.es-values__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    width: 100%;
}

@media (min-width: 640px) {
    .es-values__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .es-values[data-cols="2"] .es-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .es-values[data-cols="3"] .es-values__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .es-values[data-cols="4"] .es-values__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.es-values__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 1.5rem 1.25rem 2rem;
    border: 1px solid var(--es-color-accent);
    border-radius: 1rem;
    background: #fff;
}

.elementor .es-values__icon,
.es-values__icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    object-position: center bottom;
    display: block;
    flex-shrink: 0;
}


body .elementor .es-values__title,
.es-values__title {
    color: var(--es-color-accent);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.es-values__description {
    color: var(--es-color-body);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

.es-values__prefix {
    font-style: italic;
}

/* About page: align hero content to the bottom of the hero section. */
body.page-id-698 .elementor-element.elementor-element-b6f5495 {
    --justify-content: flex-end !important;
}
body.page-id-698 .elementor-element-b6f5495 > .e-con-inner {
    justify-content: flex-end !important;
}
