/* ==========================================================================
   Home page enhancements (index.php only)
   Visual polish + animations layered on top of styles.css
   ========================================================================== */

:root {
    --brand: #F7973F;
    --brand-dark: #e67c1f;
    --brand-deep: #c8621a;
    --brand-green: #30451E;
    --ink: #1f1f1f;
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

html { scroll-behavior: smooth; }

::selection { background: var(--brand); color: #fff; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--brand), #ffc46b, var(--brand-dark));
    z-index: 2000;
    box-shadow: 0 0 10px rgba(247, 151, 63, .6);
}

/* ---------- Header ---------- */
header.fixed-top .navbar {
    transition: padding .35s var(--ease-out), box-shadow .35s ease, background-color .35s ease;
}
header.fixed-top.is-scrolled .navbar {
    padding-top: .35rem !important;
    padding-bottom: .35rem !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
    background: rgba(255, 255, 255, .92) !important;
    backdrop-filter: saturate(160%) blur(10px);
}
header .navbar-nav .nav-link {
    position: relative;
}
header .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: .2rem;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease-out);
}
header .navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
header .navbar-nav .nav-link:hover { color: var(--brand) !important; }

/* ---------- Loader ---------- */
.loading-screen {
    background: radial-gradient(circle at 50% 45%, #fff 0%, #fff6ec 55%, #ffe6cc 100%);
}
.logo-flip-container {
    position: relative;
    perspective: 800px;
}
.logo-flip-container::before,
.logo-flip-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 160px;
    margin: -80px 0 0 -80px;
    border-radius: 50%;
    border: 2px solid rgba(247, 151, 63, .5);
    animation: loaderRing 2s var(--ease-out) infinite;
}
.logo-flip-container::after { animation-delay: 1s; }
.flipping-logo {
    position: relative;
    /* animation: logoFlip 2.4s ease-in-out infinite; */
}
@keyframes loaderRing {
    from { transform: scale(.6); opacity: 1; }
    to { transform: scale(1.6); opacity: 0; }
}
.loading-screen.hidden {
    transform: scale(1.04);
    transition: opacity .6s ease, transform .6s ease;
}

/* ---------- Shared animations & shiny button ---------- */
@keyframes kenBurns {
    from { transform: scale(1.18) translate3d(1.5%, 1%, 0); }
    to { transform: scale(1) translate3d(0, 0, 0); }
}
@keyframes heroRise {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes wordIn {
    to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes floatY {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -14px; }
}
@keyframes popIn {
    from { opacity: 0; transform: scale(.3) rotate(-25deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes indicatorFill {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
.btn-shine {
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    padding: .85rem 2.2rem;
    font-weight: 600;
    letter-spacing: .03em;
    box-shadow: 0 10px 30px rgba(247, 151, 63, .45);
    transition: transform .3s var(--ease-spring), box-shadow .3s ease, background-color .3s ease;
}
.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: skewX(-20deg);
    animation: shine 3.5s ease-in-out infinite;
}
.btn-shine:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 40px rgba(247, 151, 63, .6);
}
@keyframes shine {
    0%, 60% { left: -75%; }
    100% { left: 130%; }
}

/* ---------- Home hero ---------- */
.hx {
    position: relative;
    min-height: max(600px, calc(100vh - 76px));
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    background: #14170f;
}
.hx-bgs { position: absolute; inset: 0; }
.hx-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.12);
    transition: opacity 1.4s ease, transform 9s ease-out;
}
.hx-bg.is-active { opacity: 1; transform: scale(1); }
.hx-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(14, 17, 10, .88) 0%, rgba(14, 17, 10, .62) 45%, rgba(14, 17, 10, .15) 100%),
        linear-gradient(0deg, rgba(14, 17, 10, .7) 0%, transparent 35%);
    transition: background .8s ease;
}
.hx.is-right .hx-shade {
    background:
        linear-gradient(270deg, rgba(14, 17, 10, .88) 0%, rgba(14, 17, 10, .62) 45%, rgba(14, 17, 10, .15) 100%),
        linear-gradient(0deg, rgba(14, 17, 10, .7) 0%, transparent 35%);
}
.hx-inner { position: relative; z-index: 2; padding-top: 4rem; padding-bottom: 9rem; }
.hx-texts { display: grid; }
.hx-text {
    grid-area: 1 / 1;
    max-width: 640px;
    visibility: hidden;
}
.hx-text.is-active { visibility: visible; }
.hx-text.hx-right { margin-left: auto; text-align: right; }
.hx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: 1.3rem;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #ffc46b;
}
.hx-eyebrow::before {
    content: '';
    width: 36px;
    height: 2px;
    background: var(--brand);
}
.hx-right .hx-eyebrow { flex-direction: row-reverse; }
.hx-title {
    margin: 0 0 1.3rem;
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.01em;
    color: #fff;
}
.hx-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.hx-word > span { display: inline-block; transform: translateY(110%); }
.hx-lead {
    margin: 0 0 2.2rem;
    max-width: 540px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .82);
}
.hx-right .hx-lead { margin-left: auto; }
.hx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; }
.hx-right .hx-actions { justify-content: flex-end; }
.hx-btn {
    border-radius: 50px;
    padding: .9rem 2rem;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(247, 151, 63, .4);
    transition: transform .3s var(--ease-spring), box-shadow .3s, background-color .3s;
}
.hx-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(247, 151, 63, .55); }
.hx-btn i { display: inline-block; transition: transform .3s var(--ease-out); }
.hx-btn:hover i { transform: translateX(4px); }
.hx-link {
    position: relative;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding-bottom: 4px;
}
.hx-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: rgba(255, 255, 255, .45);
    transform-origin: right;
    transition: background-color .3s, transform .4s var(--ease-out);
}
.hx-link:hover { color: #ffc46b; }
.hx-link:hover::after { background: #ffc46b; }

/* Entrance of the active slide's text */
.hx-text .hx-eyebrow,
.hx-text .hx-lead,
.hx-text .hx-actions { opacity: 0; transform: translateY(20px); }
.hx-text.is-active .hx-eyebrow { animation: heroRise .8s var(--ease-out) .15s forwards; }
.hx-text.is-active .hx-word > span { animation: hxWord .9s var(--ease-out) forwards; animation-delay: calc(.3s + var(--i, 0) * .06s); }
.hx-text.is-active .hx-lead { animation: heroRise .8s var(--ease-out) .75s forwards; }
.hx-text.is-active .hx-actions { animation: heroRise .8s var(--ease-out) .95s forwards; }
@keyframes hxWord { to { transform: none; } }

/* Bottom navigation with progress */
.hx-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding-bottom: 6.5rem; }
.hx-nav {
    display: flex;
    align-items: flex-end;
    gap: 2rem;
}
.hx-dot {
    flex: 1;
    max-width: 230px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: .7rem;
    row-gap: .7rem;
    padding: 0;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, .55);
    text-align: left;
    transition: color .3s;
}
.hx-dot:hover,
.hx-dot.is-active { color: #fff; }
.hx-dot-num { font-size: .8rem; font-weight: 800; color: #ffc46b; }
.hx-dot-label { font-size: .88rem; font-weight: 600; }
.hx-dot-bar {
    grid-column: 1 / -1;
    height: 2px;
    background: rgba(255, 255, 255, .25);
    overflow: hidden;
}
.hx-dot-bar i {
    display: block;
    height: 100%;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
}
.hx-dot.is-active .hx-dot-bar i { animation: indicatorFill var(--hx-duration, 7s) linear forwards; }
.hx-dot.is-done .hx-dot-bar i { transform: scaleX(1); background: rgba(255, 255, 255, .6); }
.hx:hover .hx-dot.is-active .hx-dot-bar i,
body.loading .hx-dot.is-active .hx-dot-bar i { animation-play-state: paused; }
.hx-arrows { display: flex; gap: .6rem; margin-left: auto; }
.hx-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    display: grid;
    place-items: center;
    backdrop-filter: blur(6px);
    transition: background-color .3s, border-color .3s, transform .3s var(--ease-spring);
}
.hx-arrow:hover { background: var(--brand); border-color: var(--brand); transform: scale(1.08); }

/* Hold the first slide's entrance until the loader has gone */
body.loading .hx-text.is-active *,
body.loading .hx-bg.is-active { animation-play-state: paused; }

@media (max-width: 767.98px) {
    .hx { min-height: 640px; }
    .hx-inner { padding-top: 3rem; padding-bottom: 10rem; }
    .hx-shade,
    .hx.is-right .hx-shade { background: linear-gradient(0deg, rgba(14, 17, 10, .92) 10%, rgba(14, 17, 10, .55) 100%); }
    .hx-text.hx-right { margin-left: 0; text-align: left; }
    .hx-right .hx-eyebrow { flex-direction: row; }
    .hx-right .hx-lead { margin-left: 0; }
    .hx-right .hx-actions { justify-content: flex-start; }
    .hx-lead { font-size: 1.02rem; }
    .hx-nav { gap: 1rem; }
    .hx-dot-label { display: none; }
    .hx-arrow { width: 42px; height: 42px; }
}

/* ---------- Values bar (under the hero) ---------- */
.hx-values { position: relative; z-index: 5; margin-top: -4.5rem; padding-bottom: 1rem; }
.hx-values-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(17, 24, 39, .12);
    overflow: hidden;
}
.hx-value {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem 1.8rem;
    transition: background-color .35s ease;
}
.hx-value + .hx-value { border-left: 1px solid #f1e9df; }
.hx-value::after {
    content: '';
    position: absolute;
    left: 1.8rem;
    right: 1.8rem;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--brand);
    transform: scaleX(0);
    transition: transform .45s var(--ease-out);
}
.hx-value:hover { background: #fffaf4; }
.hx-value:hover::after { transform: scaleX(1); }
.hx-value > i {
    flex: 0 0 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    color: var(--brand);
    background: #fff4e8;
    transition: background-color .35s, color .35s, transform .45s var(--ease-spring);
}
.hx-value:hover > i { background: var(--brand); color: #fff; transform: rotate(-8deg); }
.hx-value h3 { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin: .2rem 0 .35rem; }
.hx-value p { margin: 0; font-size: .9rem; line-height: 1.6; color: #6b6b6b; }
@media (max-width: 991.98px) {
    .hx-values-card { grid-template-columns: 1fr; }
    .hx-value + .hx-value { border-left: 0; border-top: 1px solid #f1e9df; }
    .hx-value { padding: 1.4rem 1.5rem; }
}

/* ---------- Section labels & headings ---------- */
.about-label {
    gap: .25rem;
    font-size: .95rem;
    letter-spacing: .14em;
}
.text-center > .about-label { justify-content: center; }
.about-label i {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(247, 151, 63, .12);
    animation: labelPulse 2.6s ease-in-out infinite;
}
.about-label::after {
    content: '';
    width: 40px;
    height: 2px;
    margin-left: .6rem;
    background: linear-gradient(90deg, var(--brand), transparent);
    border-radius: 2px;
}
@keyframes labelPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(247, 151, 63, .35); }
    50% { box-shadow: 0 0 0 8px rgba(247, 151, 63, 0); }
}
main h2.fw-bold {
    background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 40%, var(--brand) 50%, var(--ink) 60%, var(--ink) 100%);
    background-size: 250% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
main .is-in h2.fw-bold,
main .is-visible h2.fw-bold {
    animation: textSweep 2.4s ease .3s forwards;
}
@keyframes textSweep {
    to { background-position: 0 0; }
}

/* ---------- Generic reveal-on-scroll ---------- */
.reveal {
    opacity: 0;
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
    transition-delay: var(--d, 0s);
    will-change: opacity, transform;
}
.reveal.up { transform: translateY(40px); }
.reveal.left { transform: translateX(-50px); }
.reveal.right { transform: translateX(50px); }
.reveal.zoom { transform: scale(.88); }
.reveal.blur { filter: blur(10px); }
.reveal.is-in {
    opacity: 1;
    transform: none;
    filter: none;
}

/* ---------- Imported products (home) ---------- */
.home-imports {
    position: relative;
    padding: 6.5rem 0;
    background: #fff;
    overflow: hidden;
}
.hi-title {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 1rem;
}
.hi-lead { color: #666; font-size: 1.05rem; line-height: 1.75; max-width: 520px; margin-bottom: 1.8rem; }

.hi-list { list-style: none; padding: 0; margin: 0 0 2rem; border-top: 1px solid #f0e8de; }
.hi-list li { border-bottom: 1px solid #f0e8de; }
.hi-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .85rem .6rem;
    text-decoration: none;
    color: var(--ink);
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), background-color .35s ease;
    transition-delay: var(--d, 0s), var(--d, 0s), 0s;
}
.is-in .hi-item { opacity: 1; transform: none; }
.hi-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 3px;
    border-radius: 3px;
    background: var(--brand);
    transform: scaleY(0);
    transition: transform .35s var(--ease-out);
}
.hi-item img {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px #f0e8de;
    transition: box-shadow .35s ease, transform .45s var(--ease-spring);
}
.hi-text { flex: 1; min-width: 0; }
.hi-text strong { display: block; font-size: 1.05rem; font-weight: 700; transition: color .3s; }
.hi-text small { display: block; color: #888; font-size: .88rem; }
.hi-units { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .4rem; }
.hi-unit { display: inline-flex; align-items: center; padding: .15rem .55rem; border-radius: 50px; background: #f5efe6; color: #8a7a63; font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.hi-item:hover .hi-unit,
.hi-item.active .hi-unit { background: var(--brand-soft, #fde8d2); color: var(--brand-deep); }
.hi-item > i {
    font-size: 1.1rem;
    color: #c9bfb3;
    transition: color .3s, transform .35s var(--ease-out);
}
.hi-item:hover,
.hi-item.active { background: linear-gradient(90deg, #fff6ec, rgba(255, 246, 236, 0)); color: var(--ink); }
.hi-item:hover::before,
.hi-item.active::before { transform: scaleY(1); }
.hi-item:hover img,
.hi-item.active img { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--brand); transform: scale(1.06); }
.hi-item:hover .hi-text strong,
.hi-item.active .hi-text strong { color: var(--brand-deep); }
.hi-item:hover > i,
.hi-item.active > i { color: var(--brand); transform: translateX(4px); }
.hi-btn { border-radius: 50px; }

.hi-visual { position: relative; padding: 0 0 2rem 2rem; }
.hi-visual::before {
    content: '';
    position: absolute;
    inset: 2.5rem -1rem 0 0;
    border-radius: 28px;
    background: #fff4e8;
}
.hi-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    max-height: 560px;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(17, 24, 39, .14);
    background: #f4efe9;
}
.hi-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity .7s ease, transform 1.4s var(--ease-out);
}
.hi-photo.is-current { opacity: 1; transform: scale(1); }
.hi-badge {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1rem 1.4rem 1rem 1.1rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .12);
    animation: floatY 6s ease-in-out infinite;
}
.hi-badge strong {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(140deg, var(--brand), var(--brand-dark));
}
.hi-badge span { font-size: .85rem; font-weight: 600; color: #555; line-height: 1.35; }
/* Exported products: mirrored layout on a warm background */
.home-exports { background: linear-gradient(180deg, #fffaf4 0%, #fff4e8 100%); }
.home-exports .hi-visual { padding: 0 2rem 2rem 0; }
.home-exports .hi-visual::before { inset: 2.5rem 0 0 -1rem; background: #fff; }
.home-exports .hi-badge { left: auto; right: 0; }
.home-exports .hi-badge strong { width: auto; padding: 0 .7rem; font-size: 1.15rem; }
.home-exports .hi-list,
.home-exports .hi-list li { border-color: #efe2d2; }
.home-exports .hi-item:hover,
.home-exports .hi-item.active { background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.home-exports .hi-item img { box-shadow: 0 0 0 3px #fff8f0, 0 0 0 4px #efe2d2; }

@media (max-width: 991.98px) {
    .home-imports { padding: 4.5rem 0; }
    .hi-visual { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 575.98px) {
    .hi-visual { padding: 0 0 1.5rem 1rem; }
    .home-exports .hi-visual { padding: 0 1rem 1.5rem 0; }
    .hi-text small { font-size: .8rem; }
}

.about-creative-section { position: relative; overflow: hidden; }
.about-creative-section::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    left: -160px;
    bottom: -160px;
    background: radial-gradient(circle, rgba(48, 69, 30, .12) 0%, transparent 70%);
    animation: blob 14s ease-in-out infinite;
    pointer-events: none;
}
@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 30px) scale(1.12); }
    66% { transform: translate(20px, -20px) scale(.92); }
}
.about-checklist li {
    transition: transform .3s var(--ease-out), color .3s;
}
.about-checklist li:hover {
    transform: translateX(8px);
    color: var(--brand);
}
.about-check-icon { transition: transform .4s var(--ease-spring); display: inline-block; }
.about-checklist li:hover .about-check-icon { transform: scale(1.3) rotate(360deg); }

/* Export images */
.about-img-main { border-radius: 1.25rem; transition: transform .6s var(--ease-out); }
.about-img-stack:hover .about-img-main { transform: scale(1.02); }
.about-img-thumb { animation: floatY 6s ease-in-out infinite; }
.about-btn {
    border-radius: 50px;
    transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.about-btn span { display: inline-block; transition: transform .3s var(--ease-out); }
.about-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(247, 151, 63, .45); }
.about-btn:hover span { transform: translateX(6px); }

/* ---------- Working process ---------- */
.wp-section {
    position: relative;
    padding: 6.5rem 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(247, 151, 63, .08), transparent 55%),
        #fff;
    overflow: hidden;
}
.wp-title {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: .9rem;
}
.wp-lead { max-width: 620px; margin: 0 auto; color: #666; font-size: 1.05rem; line-height: 1.7; }

.wp-steps {
    --media-h: 240px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
    --gap: 2rem;
    gap: var(--gap);
    margin-top: 1rem;
}

/* Route line through the step markers */
.wp-line {
    position: absolute;
    z-index: 2;
    top: calc(var(--media-h) - 2px);
    /* from the centre of the first card to the centre of the last one */
    left: calc((100% - (var(--n, 3) - 1) * var(--gap)) / (2 * var(--n, 3)));
    right: calc((100% - (var(--n, 3) - 1) * var(--gap)) / (2 * var(--n, 3)));
    height: 4px;
    border-radius: 4px;
    background: repeating-linear-gradient(90deg, #f0e3d3 0 12px, transparent 12px 20px);
}
.wp-line > i {
    position: absolute;
    inset: 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--brand), #ffc46b, var(--brand));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.8s var(--ease-out) .4s;
}
.wp-steps.is-in .wp-line > i { transform: scaleX(1); }
.wp-runner {
    position: absolute;
    top: 50%;
    left: 0;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .95rem;
    color: #fff;
    background: var(--ink);
    box-shadow: 0 0 0 4px #fff, 0 6px 14px rgba(0, 0, 0, .25);
    opacity: 0;
}
.wp-steps.is-in .wp-runner { animation: wpDrive 7s ease-in-out 2.4s infinite; }
.wp-runner-truck,
.wp-runner-boat { grid-area: 1 / 1; }
.wp-runner-boat { width: 18px; height: 18px; opacity: 0; }
.wp-steps.is-in .wp-runner-truck { animation: wpTruck 7s ease-in-out 2.4s infinite; }
.wp-steps.is-in .wp-runner-boat { animation: wpBoat 7s ease-in-out 2.4s infinite; }
.wp-steps.is-in .wp-runner { animation-name: wpDrive, wpRunnerColor; animation-duration: 7s, 7s; animation-timing-function: ease-in-out, steps(1, end); animation-delay: 2.4s, 2.4s; animation-iteration-count: infinite, infinite; }
@keyframes wpTruck {
    0%, 48% { opacity: 1; transform: scale(1); }
    52%, 100% { opacity: 0; transform: scale(.4); }
}
@keyframes wpBoat {
    0%, 48% { opacity: 0; transform: scale(.4); }
    54%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes wpRunnerColor {
    0%, 50% { background: var(--ink); }
    50.01%, 100% { background: #1f6fb2; }
}
@keyframes wpDrive {
    0% { left: 0; opacity: 0; }
    8% { opacity: 1; }
    45%, 55% { left: 50%; }
    92% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* Step card */
.wp-step {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, .06);
    box-shadow: 0 20px 50px rgba(17, 24, 39, .07);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), translate .5s var(--ease-out), box-shadow .5s;
    transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s;
}
.wp-step.is-in:hover { translate: 0 -10px; box-shadow: 0 32px 60px rgba(247, 151, 63, .2); }
.wp-media {
    position: relative;
    height: var(--media-h);
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    background: #f4efe9;
}
.wp-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    transition: transform 1.6s var(--ease-out);
}
.wp-step.is-in .wp-media img { transform: scale(1); }
.wp-step:hover .wp-media img { transform: scale(1.08); transition-duration: .9s; }
.wp-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(20, 15, 8, .45));
}

/* Numbered marker sitting on the route line */
.wp-marker {
    position: relative;
    z-index: 3;
    width: 68px;
    height: 68px;
    margin: -34px auto 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    box-shadow: 0 0 0 6px #fff, 0 10px 25px rgba(0, 0, 0, .12);
}
.wp-marker::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid #f0e3d3;
    transition: border-color .5s ease;
}
.wp-marker span {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    font-weight: 900;
    color: #c9b8a6;
    background: #fff;
    transition: background-color .5s ease, color .5s ease, transform .6s var(--ease-spring);
}
/* Markers light up one after the other, whatever the number of steps */
.wp-step .wp-marker span,
.wp-step .wp-marker::before { transition-delay: calc(.4s + var(--i, 0) * .8s); }
.wp-steps.is-in .wp-marker::before { border-color: var(--brand); }
.wp-steps.is-in .wp-marker span {
    color: #fff;
    background: linear-gradient(140deg, var(--brand), var(--brand-dark));
    transform: scale(1.06);
}
.wp-step:hover .wp-marker span { transform: scale(1.15) rotate(-8deg); transition-delay: 0s; }
.wp-marker::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--brand);
    opacity: 0;
}
.wp-steps.is-in .wp-marker::after { animation: ripple 2.6s ease-out infinite; }
.wp-steps.is-in .wp-step .wp-marker::after { animation-delay: calc(.8s + var(--i, 0) * .8s); }
@keyframes ripple {
    from { transform: scale(1); opacity: .7; }
    to { transform: scale(1.7); opacity: 0; }
}
@keyframes dashMarch { to { stroke-dashoffset: -24; } }

.wp-body { flex: 1; padding: 1.4rem 1.8rem 2rem; text-align: center; }
.wp-icon {
    display: inline-block;
    font-size: 1.6rem;
    color: var(--brand);
    margin-bottom: .5rem;
    transition: transform .5s var(--ease-spring);
}
.wp-step:hover .wp-icon { transform: translateY(-4px) scale(1.15); }
.wp-icon-svg { width: 1.9rem; height: 1.9rem; vertical-align: top; }
.wp-body h3 { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin-bottom: .6rem; }
.wp-body p { margin: 0; color: #6b6b6b; font-size: .95rem; line-height: 1.7; }

@media (max-width: 991.98px) {
    .wp-section { padding: 4.5rem 0; }
    .wp-steps { --media-h: 200px; grid-template-columns: 1fr; gap: 2.5rem; max-width: 560px; margin: 1rem auto 0; }
    .wp-line {
        top: 0;
        bottom: 0;
        left: 50%;
        right: auto;
        width: 4px;
        height: auto;
        margin-left: -2px;
        z-index: 0;
        background: repeating-linear-gradient(180deg, #f0e3d3 0 12px, transparent 12px 20px);
    }
    .wp-line > i { transform: scaleY(0); transform-origin: top; background: linear-gradient(180deg, var(--brand), #ffc46b); }
    .wp-steps.is-in .wp-line > i { transform: scaleY(1); }
    .wp-runner { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .wp-line > i { transform: none !important; }
    .wp-runner { display: none; }
    .wp-media img { transform: none !important; }
}

/* ---------- Stats strip ---------- */
.global-stats-strip {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #F7973F, #f5b041, #e67c1f, #F7973F);
    background-size: 300% 300%;
    animation: gradientShift 12s ease infinite;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}
.global-stats-strip::before,
.global-stats-strip::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    pointer-events: none;
}
.global-stats-strip::before { width: 300px; height: 300px; top: -150px; left: 8%; animation: blob 16s ease-in-out infinite; }
.global-stats-strip::after { width: 220px; height: 220px; bottom: -110px; right: 10%; animation: blob 12s ease-in-out infinite reverse; }
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.global-stats-strip .stat-item {
    position: relative;
    z-index: 1;
    border-radius: 18px;
    padding: 1.2rem .5rem;
    transition: background-color .3s, transform .4s var(--ease-spring);
}
.global-stats-strip .stat-item:hover {
    background: rgba(255, 255, 255, .14);
    transform: translateY(-6px);
}
.global-stats-strip .stat-icon i { display: inline-block; animation: floatY 4s ease-in-out infinite; }
.global-stats-strip .col-lg:nth-child(2) .stat-icon i { animation-delay: -.8s; }
.global-stats-strip .col-lg:nth-child(3) .stat-icon i { animation-delay: -1.6s; }
.global-stats-strip .col-lg:nth-child(4) .stat-icon i { animation-delay: -2.4s; }
.global-stats-strip .col-lg:nth-child(5) .stat-icon i { animation-delay: -3.2s; }
.global-stats-strip .stat-number::after { content: '+'; opacity: .8; }
.global-stats-strip .stat-number { text-shadow: 0 4px 18px rgba(0, 0, 0, .15); }

/* ---------- Partners map ---------- */
.partners-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #fff7ee 100%);
}
.partners-lead { max-width: 640px; margin: 0 auto; }
.partner-map-card {
    position: relative;
    height: 100%;
    min-height: 300px;
    padding: 1rem 1rem .5rem;
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(247, 151, 63, .08), transparent 70%),
        linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);
    border: 1px solid rgba(17, 24, 39, .06);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .08);
    overflow: hidden;
}
.partner-map { position: relative; aspect-ratio: 1000 / 520; width: 100%; }
.partner-map-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    color: #8a8a8a;
    font-weight: 600;
}
.partner-map-loading span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid rgba(247, 151, 63, .25);
    border-top-color: var(--brand);
    animation: spin 1s linear infinite;
}
.partner-map-loading i { font-size: 2.4rem; color: var(--brand); }
.pm-svg { display: block; width: 100%; height: 100%; overflow: visible; }

.pm-graticule { fill: none; stroke: rgba(30, 80, 130, .07); stroke-width: .6; }
.pm-country {
    fill: #dfe6ec;
    stroke: #fff;
    stroke-width: .5;
    opacity: 0;
    transition: fill .4s ease, opacity .8s ease;
    transition-delay: 0s, calc(var(--i, 0) * 1s);
}
.is-drawn .pm-country { opacity: 1; }
.pm-country.is-partner { fill: #f9cf9f; cursor: pointer; }
.pm-country.is-partner:hover { fill: #f7b56c; }
.pm-country.is-partner.is-active { fill: var(--brand); }
.pm-country.is-hub { fill: var(--brand-green); }

.pm-route-line {
    fill: none;
    stroke: #F7973F;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    opacity: .45;
    transition: stroke-dashoffset 1.6s var(--ease-out), opacity .4s, stroke-width .4s;
    transition-delay: calc(.6s + var(--i, 0) * .18s), 0s, 0s;
}
.is-drawn .pm-route-line { stroke-dashoffset: 0; }
.pm-route.is-active .pm-route-line { opacity: 1; stroke-width: 3; filter: url(#pmGlow); }
.pm-route-dot { fill: #fff; stroke: var(--brand); stroke-width: 1.5; opacity: 0; transition: opacity .4s; }
.is-drawn .pm-route-dot { opacity: .9; }
.pm-route.is-active .pm-route-dot { fill: var(--brand); stroke: #fff; }

.pm-marker { cursor: pointer; outline: none; }
.pm-marker-inner {
    transform: scale(0);
    transition: transform .6s var(--ease-spring);
    transition-delay: calc(1.4s + var(--i, 0) * .18s);
}
.is-drawn .pm-marker-inner { transform: scale(1); }
.pm-marker:hover .pm-marker-inner,
.pm-marker:focus-visible .pm-marker-inner { transform: scale(1.25); transition-delay: 0s; }
.pm-marker.is-active .pm-marker-inner { transform: scale(1.45); transition-delay: 0s; }
.pm-ring { fill: #fff; stroke: #fff; stroke-width: 2; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .25)); }
.pm-marker.is-active .pm-ring { stroke: var(--brand); stroke-width: 3; }
.pm-marker:focus-visible .pm-ring { stroke: var(--brand-green); stroke-width: 3; }
.pm-pulse { fill: none; stroke: var(--brand); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.pm-marker.is-active .pm-pulse { animation: pmPulse 1.8s ease-out infinite; }
@keyframes pmPulse {
    from { transform: scale(1); opacity: .9; }
    to { transform: scale(2.4); opacity: 0; }
}
.pm-hub-dot { fill: var(--brand); stroke: #fff; stroke-width: 3; }
.pm-hub-pulse { fill: rgba(247, 151, 63, .35); transform-box: fill-box; transform-origin: center; animation: pmPulse 2.4s ease-out infinite; }
.pm-hub-pulse.p2 { animation-delay: 1.2s; }
.pm-hub-label rect { fill: var(--ink); opacity: .88; }
.pm-hub-label text { fill: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; }

.partner-map-tooltip {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem .8rem .45rem .45rem;
    border-radius: 50px;
    background: var(--ink);
    color: #fff;
    box-shadow: 0 12px 25px rgba(0, 0, 0, .25);
    pointer-events: none;
    white-space: nowrap;
    transform: translate(-50%, calc(-100% - 18px)) scale(.9);
    opacity: 0;
    transition: opacity .2s, transform .25s var(--ease-out);
}
.partner-map-tooltip.show { opacity: 1; transform: translate(-50%, calc(-100% - 18px)) scale(1); }
.partner-map-tooltip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.partner-map-tooltip strong { display: block; font-size: .85rem; line-height: 1.1; }
.partner-map-tooltip small { font-size: .72rem; color: #ffc46b; }

.partner-map-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem 1.4rem;
    padding: .6rem 0 .3rem;
    font-size: .8rem;
    font-weight: 600;
    color: #667;
}
.partner-map-legend i { display: inline-block; vertical-align: middle; margin-right: .4rem; }
.lg-hub { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(247, 151, 63, .3); }
.lg-partner { width: 14px; height: 10px; border-radius: 3px; background: #f9cf9f; }
.lg-route { width: 22px; height: 3px; border-radius: 2px; background: var(--brand); }

.partner-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin-top: 1.2rem;
}
.partner-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .9rem .35rem .35rem;
    border-radius: 50px;
    border: 1px solid rgba(247, 151, 63, .25);
    background: #fff;
    font-weight: 600;
    font-size: .88rem;
    color: #444;
    transition: transform .35s var(--ease-spring), background-color .3s, color .3s, box-shadow .3s;
}
.partner-chip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0, 0, 0, .15); }
.partner-chip:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(247, 151, 63, .2); color: var(--brand); }
.partner-chip.active { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(247, 151, 63, .4); }

.contact-info-card {
    background: linear-gradient(160deg, #fff 0%, #fff4e8 100%);
    border: 1px solid rgba(247, 151, 63, .15);
    box-shadow: 0 20px 50px rgba(247, 151, 63, .15);
    border-radius: 24px;
}
.partner-card { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.partner-card-flag {
    height: 120px;
    border-radius: 16px;
    background: #fff;
    display: grid;
    place-items: center;
    margin-bottom: 1.2rem;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
}
.partner-card-flag img { max-width: 180px; max-height: 96px; object-fit: contain; border-radius: 6px; box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
.partner-card-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--brand); }
.partner-card-country { font-size: 1.7rem; color: var(--ink); }
.partner-card-city { color: #666; font-weight: 600; margin-bottom: 1.2rem; }
.partner-card-city i { color: var(--brand); margin-right: .3rem; }
.partner-card-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .9rem 1rem;
    border-radius: 14px;
    background: #fff;
    border: 1px dashed rgba(247, 151, 63, .4);
}
.partner-card-route small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #999; }
.partner-card-route strong { font-size: .95rem; color: var(--ink); }
.partner-card-route > i { color: var(--brand); font-size: 1.3rem; transform: rotate(90deg); animation: pmFly 2.4s ease-in-out infinite; }
@keyframes pmFly {
    0%, 100% { translate: -6px 0; }
    50% { translate: 6px 0; }
}
.partner-card-distance { margin-top: .9rem; font-size: .9rem; color: #666; }
.partner-card-distance i { color: var(--brand); margin-right: .4rem; }
.partner-card-distance strong { color: var(--ink); }
.partner-card .contact-address-btn { margin-top: auto !important; border-radius: 12px; font-size: .92rem; }
.partner-card-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(247, 151, 63, .12); }
.partner-card-progress i { display: block; height: 100%; width: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.partner-card.is-touring .partner-card-progress i { animation: indicatorFill 5s linear forwards; }
.contact-info-card.swap > * { animation: cardSwap .55s var(--ease-out) both; }
.contact-info-card.swap > *:nth-child(2) { animation-delay: .05s; }
.contact-info-card.swap > *:nth-child(3) { animation-delay: .1s; }
.contact-info-card.swap > *:nth-child(n+4) { animation-delay: .15s; }
.contact-info-card.swap > .partner-card-progress { animation: none; }
.contact-info-card.swap .partner-card-flag img { animation: flagFlip .7s var(--ease-out); }
@keyframes cardSwap {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
@keyframes flagFlip {
    from { transform: rotateY(90deg) scale(.8); }
    to { transform: none; }
}
.contact-address-btn { border-radius: 12px; }

/* ---------- Director message ---------- */
.dg2 {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 15%, rgba(247, 151, 63, .1), transparent 45%),
        linear-gradient(180deg, #fffaf4 0%, #fff4e8 100%);
}
.dg2::before {
    content: '\201C';
    position: absolute;
    right: 4%;
    bottom: -9rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 34rem;
    line-height: 1;
    color: rgba(247, 151, 63, .06);
    pointer-events: none;
}

/* Portrait */
.dg2-portrait { position: relative; max-width: 420px; margin: 0 auto 2rem; padding: 0 0 0 1.5rem; }
.dg2-portrait::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 0;
    right: 1.5rem;
    bottom: -1.5rem;
    border: 2px solid var(--brand);
    border-radius: 220px 220px 24px 24px;
    transition: transform .8s var(--ease-out);
}
.dg2-portrait:hover::before { transform: translate(-.6rem, .6rem); }
.dg2-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 200px 200px 24px 24px;
    overflow: hidden;
    background: #eadfd2;
    box-shadow: 0 30px 60px rgba(60, 40, 10, .18);
}
.dg2-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transform: scale(1.12);
    transition: transform 1.6s var(--ease-out);
}
.is-in .dg2-photo img { transform: scale(1); }
.dg2-portrait:hover .dg2-photo img { transform: scale(1.04); transition-duration: .9s; }
.dg2-namecard {
    position: absolute;
    left: 50%;
    bottom: -1.6rem;
    z-index: 2;
    min-width: 250px;
    padding: .9rem 1.4rem;
    border-radius: 16px;
    text-align: center;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
    transform: translateX(-50%);
}
.dg2-namecard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30%;
    right: 30%;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--brand);
}
.dg2-namecard strong { display: block; font-size: 1rem; font-weight: 800; color: var(--ink); }
.dg2-namecard span { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }

/* Message */
.dg2-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 1.6rem;
}
.dg2-quote {
    position: relative;
    margin: 0 0 2rem;
    padding: .3rem 0 0 2rem;
    border-left: 3px solid rgba(247, 151, 63, .35);
}
.dg2-mark {
    position: absolute;
    top: -1.6rem;
    left: -1.2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding-top: 1.1rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.4rem;
    line-height: 1;
    color: #fff;
    background: linear-gradient(140deg, var(--brand), var(--brand-dark));
    box-shadow: 0 10px 22px rgba(247, 151, 63, .4);
}
.dg2-quote p {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.15rem;
    line-height: 1.85;
    color: #4a4239;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.dg2-quote p:nth-of-type(1) { transition-delay: .4s; }
.dg2-quote p:nth-of-type(2) { transition-delay: .6s; margin-bottom: 0; }
.is-in .dg2-quote p { opacity: 1; transform: none; }

.dg2-sign { margin-bottom: 1.8rem; }
.dg2-signature {
    display: inline-block;
    position: relative;
    font-family: 'Great Vibes', 'Brush Script MT', cursive;
    font-size: 2.6rem;
    line-height: 1.1;
    color: var(--brand-deep);
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.8s cubic-bezier(.6, 0, .3, 1) 1s;
}
.is-in .dg2-signature { clip-path: inset(0 0 0 0); }
.dg2-role { margin-top: .2rem; font-size: .9rem; font-weight: 600; color: #777; }
.dg2-role span { color: var(--brand); margin: 0 .3rem; }

.dg2-contact { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.dg2-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1rem;
    border-radius: 50px;
    background: #fff;
    border: 1px solid rgba(247, 151, 63, .25);
    color: var(--ink);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--ease-spring);
}
.dg2-chip i { color: var(--brand); transition: color .3s; }
.dg2-chip:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-3px); }
.dg2-chip:hover i { color: #fff; }
.dg2-social { display: flex; gap: .4rem; margin-left: .4rem; }
.dg2-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--ink);
    text-decoration: none;
    transition: background-color .3s, transform .35s var(--ease-spring);
}
.dg2-social a:hover { background: var(--brand); color: #fff; transform: translateY(-3px) rotate(-8deg); }

@media (max-width: 991.98px) {
    .dg2 { padding: 4.5rem 0; }
    .dg2-portrait { max-width: 340px; margin-bottom: 3rem; }
}
@media (max-width: 575.98px) {
    .dg2-quote { padding-left: 1.4rem; }
    .dg2-quote p { font-size: 1.05rem; }
    .dg2-social { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .dg2-quote p { opacity: 1 !important; transform: none !important; }
    .dg2-signature { clip-path: none !important; }
}

/* ---------- Gallery (home) ---------- */
.hg { padding: 6.5rem 0; background: #fff; }
.hg-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-bottom: 1.8rem;
}
.hg-title {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--ink);
}
.hg-all {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding-bottom: .3rem;
    border-bottom: 2px solid rgba(247, 151, 63, .35);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    transition: color .3s, border-color .3s;
}
.hg-all i { transition: transform .35s var(--ease-out); }
.hg-all:hover { color: var(--brand); border-color: var(--brand); }
.hg-all:hover i { transform: translateX(5px); }

/* Tabs */
.hg-tabs {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #efe7dd;
    overflow-x: auto;
    scrollbar-width: none;
}
.hg-tabs::-webkit-scrollbar { display: none; }
.hg-tabs button {
    position: relative;
    padding: .7rem 0;
    border: 0;
    background: none;
    font-weight: 700;
    font-size: .95rem;
    color: #999;
    white-space: nowrap;
    transition: color .3s;
}
.hg-tabs button::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--brand);
    transform: scaleX(0);
    transition: transform .4s var(--ease-out);
}
.hg-tabs button:hover { color: var(--ink); }
.hg-tabs button.active { color: var(--ink); }
.hg-tabs button.active::after { transform: scaleX(1); }

/* Grid: one large photo + five smaller ones */
.hg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    gap: 1rem;
}
.hg-tile {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #f3ede6;
    cursor: zoom-in;
}
.hg-tile[hidden] { display: none; }
.hg-tile.is-lead { grid-column: span 2; grid-row: span 2; }
.hg-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out);
}
.hg-tile.enter { animation: hgIn .7s var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes hgIn {
    from { opacity: 0; transform: translateY(20px) scale(.97); }
    to { opacity: 1; transform: none; }
}
.hg-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 1.1rem .9rem;
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .04em;
    background: linear-gradient(0deg, rgba(20, 15, 8, .7), transparent);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .4s ease, transform .4s var(--ease-out);
}
.hg-caption i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--brand);
}
.hg-tile:hover img,
.hg-tile:focus-visible img { transform: scale(1.06); }
.hg-tile:hover .hg-caption,
.hg-tile:focus-visible .hg-caption { opacity: 1; transform: none; }
.hg-tile:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
@media (hover: none) { .hg-caption { opacity: 1; transform: none; } .hg-caption i { display: none; } }
@media (max-width: 991.98px) {
    .hg { padding: 4.5rem 0; }
    .hg-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}
@media (max-width: 575.98px) {
    .hg-grid { grid-auto-rows: 140px; gap: .6rem; }
    .hg-tabs { gap: 1.4rem; }
}

/* Viewer */
.hg-viewer {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(12, 14, 9, .92);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity .3s ease;
}
.hg-viewer[hidden] { display: none; }
.hg-viewer.open { opacity: 1; }
.hg-viewer figure { margin: 0; text-align: center; max-width: min(1100px, 100%); }
.hg-viewer img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    animation: hgZoom .4s var(--ease-out);
}
@keyframes hgZoom { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }
.hg-viewer figcaption { margin-top: .9rem; color: rgba(255, 255, 255, .75); font-size: .9rem; letter-spacing: .06em; }
.hg-viewer-btn {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    display: grid;
    place-items: center;
    transition: background-color .3s, transform .3s var(--ease-spring);
}
.hg-viewer-btn:hover { background: var(--brand); transform: scale(1.08); }
.hg-close { position: absolute; top: 1.2rem; right: 1.2rem; }
@media (max-width: 575.98px) {
    .hg-prev, .hg-next { position: absolute; bottom: 1.2rem; }
    .hg-prev { left: calc(50% - 60px); }
    .hg-next { right: calc(50% - 60px); }
}

/* ---------- Events (home) ---------- */
.ev2 { padding: 6.5rem 0; background: linear-gradient(180deg, #fffaf4 0%, #fff4e8 100%); }
.ev2-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 3rem;
    margin-bottom: 2.5rem;
}
.ev2-title { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.2; color: var(--ink); }
.ev2-lead { margin: 0; max-width: 420px; color: #6b6b6b; }

.ev2-layout { display: grid; grid-template-columns: 7fr 5fr; gap: 2rem; align-items: stretch; }
.ev2-layout.is-single { grid-template-columns: minmax(0, 760px); justify-content: center; }

/* Featured */
.ev2-featured {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 25px 55px rgba(60, 40, 10, .09);
    transition: box-shadow .5s, translate .5s var(--ease-out);
}
.ev2-featured:hover { color: var(--ink); translate: 0 -6px; box-shadow: 0 35px 70px rgba(247, 151, 63, .2); }
.ev2-featured-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #f1e9df; }
.ev2-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ev2-featured:hover .ev2-featured-img img { transform: scale(1.05); }
.ev2-status {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: .35rem .85rem;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #555;
    background: rgba(255, 255, 255, .92);
}
.ev2-status.up { color: #fff; background: #1f8a4c; }
.ev2-featured-body { display: flex; gap: 1.4rem; padding: 1.6rem 1.8rem 1.8rem; }
.ev2-date {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 84px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(150deg, var(--brand), var(--brand-dark));
    box-shadow: 0 10px 22px rgba(247, 151, 63, .35);
}
.ev2-date strong { font-size: 1.9rem; font-weight: 900; line-height: 1; }
.ev2-date span { margin-top: .25rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ev2-featured-text { min-width: 0; }
.ev2-featured-text h3 { font-size: 1.4rem; font-weight: 800; line-height: 1.3; margin: 0 0 .5rem; }
.ev2-featured-text p { color: #6b6b6b; line-height: 1.7; margin-bottom: .9rem; }
.ev2-more { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--brand-deep); }
.ev2-more i { transition: transform .35s var(--ease-out); }
.ev2-featured:hover .ev2-more i { transform: translateX(5px); }

/* List */
.ev2-list { display: flex; flex-direction: column; gap: 1rem; }
.ev2-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: .9rem;
    border-radius: 20px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    border: 1px solid transparent;
    box-shadow: 0 12px 30px rgba(60, 40, 10, .06);
    transition: border-color .35s, box-shadow .35s, translate .4s var(--ease-out);
}
.ev2-item:hover { color: var(--ink); border-color: rgba(247, 151, 63, .4); translate: 4px 0; box-shadow: 0 18px 40px rgba(247, 151, 63, .15); }
.ev2-thumb { flex: 0 0 96px; height: 96px; border-radius: 14px; overflow: hidden; background: #f1e9df; }
.ev2-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.ev2-item:hover .ev2-thumb img { transform: scale(1.1); }
.ev2-item-text { flex: 1; min-width: 0; }
.ev2-item-date { display: flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; color: var(--brand-deep); }
.ev2-item-date em {
    font-style: normal;
    padding: .05rem .5rem;
    border-radius: 50px;
    font-size: .68rem;
    color: #fff;
    background: #1f8a4c;
}
.ev2-item h4 {
    margin: .25rem 0 .2rem;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ev2-item p { margin: 0; font-size: .85rem; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev2-arrow {
    flex: 0 0 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--brand);
    background: #fff4e8;
    transition: background-color .3s, color .3s, transform .35s var(--ease-spring);
}
.ev2-item:hover .ev2-arrow { background: var(--brand); color: #fff; transform: rotate(45deg); }

.ev2-empty { text-align: center; padding: 3rem 1rem; color: #888; }
.ev2-empty i { font-size: 2.6rem; color: var(--brand); }

@media (max-width: 991.98px) {
    .ev2 { padding: 4.5rem 0; }
    .ev2-layout { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .ev2-featured-body { flex-direction: column; gap: 1rem; padding: 1.3rem; }
    .ev2-date { flex-direction: row; gap: .4rem; width: auto; height: auto; padding: .45rem .9rem; border-radius: 50px; align-self: flex-start; }
    .ev2-date strong { font-size: 1.1rem; }
    .ev2-date span { margin-top: 0; }
    .ev2-thumb { flex-basis: 76px; height: 76px; }
    .ev2-arrow { display: none; }
}

/* ---------- Contact ---------- */
/* Service contacts */
.ct3 { max-width: 960px; margin: 0 auto; }
.ct3-menu {
    display: flex;
    justify-content: center;
    gap: 2.2rem;
    border-bottom: 1px solid #ece4da;
    overflow-x: auto;
    scrollbar-width: none;
}
.ct3-menu::-webkit-scrollbar { display: none; }
.ct3-tab {
    position: relative;
    padding: .8rem 0;
    border: 0;
    background: none;
    font-weight: 700;
    font-size: .95rem;
    color: #999;
    white-space: nowrap;
    transition: color .3s;
}
.ct3-tab::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transition: transform .35s var(--ease-out);
}
.ct3-tab:hover,
.ct3-tab.active { color: var(--ink); }
.ct3-tab.active::after { transform: scaleX(1); }
.ct3-tab:focus-visible { outline: 2px solid rgba(247, 151, 63, .5); outline-offset: 4px; border-radius: 4px; }

.ct3-panel { padding-top: 2rem; }
.ct3-panel[hidden] { display: none; }
.ct3-panel.active { animation: ct3In .45s var(--ease-out) both; }
@keyframes ct3In {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.ct3-intro { text-align: center; margin-bottom: 1.6rem; }
.ct3-intro p { margin: 0 0 .4rem; color: #555; font-size: 1.02rem; }
.ct3-badge { font-size: .8rem; font-weight: 600; color: #999; }

.ct3-rows {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
    border: 1px solid #ece4da;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}
.ct3-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    padding: 1.5rem 1rem;
    text-align: center;
    color: var(--ink);
    text-decoration: none;
    transition: background-color .3s;
}
.ct3-row + .ct3-row { border-left: 1px solid #ece4da; }
.ct3-row i { font-size: 1.3rem; color: var(--brand); margin-bottom: .3rem; }
.ct3-row small { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #aaa; }
.ct3-row span { font-weight: 600; overflow-wrap: anywhere; }
a.ct3-row:hover { background: #fffaf4; color: var(--ink); }
a.ct3-row:hover span { color: var(--brand-deep); }

@media (max-width: 767.98px) {
    .ct3-menu { justify-content: flex-start; gap: 1.6rem; }
    .ct3-rows { grid-template-columns: 1fr; }
    .ct3-row + .ct3-row { border-left: 0; border-top: 1px solid #ece4da; }
    .ct3-row { padding: 1.1rem 1rem; }
}

/* A single service needs no tabs */
.ct3.is-single .ct3-menu { display: none; }
.ct3.is-single .ct3-panel { padding-top: 0; }
.ct-line a:hover { color: var(--brand-deep) !important; }

/* Map + contact form */
.cf {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid #ece4da;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
}
.cf-map { display: flex; flex-direction: column; border-right: 1px solid #ece4da; }
.cf-leaflet { flex: 1; width: 100%; min-height: 380px; z-index: 0; }
.cf-leaflet .leaflet-control-zoom { border: none; box-shadow: 0 6px 16px rgba(17, 24, 39, .15); margin: 0 .8rem .8rem 0; }
.cf-leaflet .leaflet-control-zoom a { width: 32px; height: 32px; line-height: 32px; color: var(--brand-deep); }
.cf-leaflet .leaflet-control-zoom a:hover { background: var(--brand); color: #fff; }

/* Custom pin markers, dropping in with a staggered bounce */
.seyal-pin-wrap { background: none; border: none; }
.seyal-pin {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0 2px 10px 2px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg) translateY(-30px) scale(.4);
    background: linear-gradient(140deg, var(--brand), var(--brand-dark));
    box-shadow: 0 6px 16px rgba(192, 97, 15, .4), 0 0 0 3px #fff;
    opacity: 0;
    animation: pinDrop .6s cubic-bezier(.34, 1.56, .64, 1) forwards;
}
.seyal-pin i { transform: rotate(45deg); color: #fff; font-size: 1rem; }
.seyal-pin.is-main { width: 40px; height: 40px; background: linear-gradient(140deg, var(--ink), #3a3530); }
.seyal-pin.is-main i { font-size: 1.15rem; }
.seyal-pin.is-main::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(247, 151, 63, .55);
    animation: pinPulse 2.2s ease-out infinite;
    animation-delay: .7s;
}
.seyal-pin:hover { transform: rotate(-45deg) scale(1.12); }
@keyframes pinDrop {
    0%   { opacity: 0; transform: rotate(-45deg) translateY(-30px) scale(.4); }
    60%  { opacity: 1; transform: rotate(-45deg) translateY(4px) scale(1.08); }
    100% { opacity: 1; transform: rotate(-45deg) translateY(0) scale(1); }
}
@keyframes pinPulse {
    0%   { transform: rotate(45deg) scale(.7); opacity: .9; }
    100% { transform: rotate(45deg) scale(1.6); opacity: 0; }
}

/* Popups */
.cf-leaflet .leaflet-popup-content-wrapper { border-radius: 16px; box-shadow: 0 16px 40px rgba(17, 24, 39, .22); overflow: hidden; }
.cf-leaflet .leaflet-popup-content { margin: 0; width: auto !important; }
.cf-leaflet .leaflet-popup-tip { box-shadow: 0 6px 12px rgba(17, 24, 39, .15); }
.cf-leaflet .leaflet-popup { animation: popIn .22s ease-out; }
@keyframes popIn { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }
.cf-popup { padding: 1rem 1.1rem 1.1rem; min-width: 220px; font-size: .86rem; }
.cf-popup-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft, #fde8d2); color: var(--brand-deep); margin-bottom: .5rem; }
.cf-popup strong { display: block; font-size: .98rem; color: var(--ink); margin-bottom: .15rem; }
.cf-popup p { margin: 0 0 .5rem; color: #666; line-height: 1.4; }
.cf-popup-rows { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .6rem; }
.cf-popup-rows a { display: flex; align-items: center; gap: .4rem; color: #555; text-decoration: none; font-size: .82rem; }
.cf-popup-rows a i { color: var(--brand); }
.cf-popup-rows a:hover { color: var(--brand-deep); }
.cf-popup-visit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    width: 100%;
    padding: .5rem .8rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    font-weight: 700;
    font-size: .82rem;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.cf-popup-visit:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(192, 97, 15, .35); color: #fff; }

/* Office list */
.cf-offices {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .6rem 1rem;
    padding: 1rem 1.4rem;
    border-top: 1px solid #ece4da;
    font-size: .92rem;
}
.cf-office-list { display: flex; flex-wrap: wrap; gap: .5rem .7rem; }
.cf-office {
    display: flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid transparent;
    background: #f8f4ee;
    padding: .4rem .8rem;
    border-radius: 50px;
    color: #777;
    font-weight: 600;
    font: inherit;
    font-size: .85rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .5s ease, transform .5s ease, color .2s ease, background-color .2s ease, border-color .2s ease;
}
.cf.is-in .cf-office { opacity: 1; transform: none; }
.cf.is-in .cf-office:nth-child(1) { transition-delay: .05s; }
.cf.is-in .cf-office:nth-child(2) { transition-delay: .15s; }
.cf.is-in .cf-office:nth-child(3) { transition-delay: .25s; }
.cf.is-in .cf-office:nth-child(4) { transition-delay: .35s; }
.cf-office i { color: var(--brand); }
.cf-office:hover { color: #555; background: #f0e8da; }
.cf-office.active { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border-color: transparent; }
.cf-office.active i { color: #fff; }
.cf-directions { color: var(--brand-deep); font-weight: 700; text-decoration: none; white-space: nowrap; }
.cf-directions:hover { color: var(--brand); }

.cf-form-wrap { padding: 2.2rem 2.4rem; }
.cf-title { font-size: 1.35rem; font-weight: 800; color: var(--ink); margin-bottom: 1.4rem; }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.cf-full { grid-column: 1 / -1; }
.cf-field label { display: block; margin-bottom: .35rem; font-size: .85rem; font-weight: 600; color: #444; }
.cf-field label em { font-style: normal; font-weight: 400; color: #aaa; }
.cf-field input,
.cf-field textarea {
    width: 100%;
    padding: .7rem .9rem;
    border: 1px solid #ddd5ca;
    border-radius: 10px;
    background: #fff;
    font-size: .95rem;
    color: var(--ink);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.cf-field textarea { resize: vertical; min-height: 130px; }
.cf-field input:focus,
.cf-field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(247, 151, 63, .15); }
.cf-field.is-invalid input,
.cf-field.is-invalid textarea { border-color: #d92d20; }
.cf-field.is-invalid label { color: #d92d20; }
.cf-submit {
    margin-top: 1.3rem;
    padding: .75rem 1.6rem;
    border: 0;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    transition: background-color .2s;
}
.cf-submit:hover { background: var(--brand-dark); }
.cf-submit:disabled { opacity: .7; cursor: wait; }
.cf-submit .spinner-border { width: .9rem; height: .9rem; border-width: .15em; margin-right: .5rem; }
.cf-alert {
    margin-top: 1rem;
    padding: .7rem .9rem;
    border-radius: 10px;
    font-size: .88rem;
    color: #b42318;
    background: #fef3f2;
}

.cf-success { padding: 3rem 0; text-align: center; }
.cf-success[hidden] { display: none; }
.cf-success > i { font-size: 2.6rem; color: #2fae63; }
.cf-success h3 { margin: .6rem 0 .4rem; font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.cf-success p { max-width: 360px; margin: 0 auto 1.2rem; color: #777; }
.cf-again { border: 0; background: none; padding: 0; color: var(--brand-deep); font-weight: 700; text-decoration: underline; }

@media (max-width: 991.98px) {
    .cf { grid-template-columns: 1fr; }
    .cf-map { border-right: 0; border-bottom: 1px solid #ece4da; }
    .cf-leaflet { min-height: 300px; }
}
@media (max-width: 575.98px) {
    .cf-form-wrap { padding: 1.6rem 1.2rem; }
    .cf-grid { grid-template-columns: 1fr; }
    .cf-submit { width: 100%; }
}

/* ---------- Footer ---------- */
footer.bg-dark {
    position: relative;
    background: linear-gradient(160deg, #1b1f17 0%, #222a1a 60%, #2b351f 100%) !important;
}
footer.bg-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), #ffc46b, var(--brand-dark), var(--brand));
    background-size: 300% 100%;
    animation: gradientShift 6s linear infinite;
}
footer h4 { color: var(--brand); font-weight: 700; font-size: 1.15rem; margin-bottom: 1rem; }
footer .list-unstyled li { margin-bottom: .35rem; }
footer .list-unstyled a { display: inline-block; transition: transform .3s var(--ease-out), color .3s; }
footer .list-unstyled a:hover { transform: translateX(6px); color: var(--brand) !important; opacity: 1; }
footer .social-links a {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    transition: transform .35s var(--ease-spring), background-color .3s;
}
footer .social-links a:hover { background: var(--brand); transform: translateY(-5px) rotate(8deg); opacity: 1; }
footer .social-links i { font-size: 1.2rem; }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    display: grid;
    place-items: center;
    z-index: 1500;
    opacity: 0;
    transform: translateY(20px) scale(.8);
    pointer-events: none;
    transition: opacity .4s, transform .4s var(--ease-spring), background-color .3s, color .3s;
}
.back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--brand); color: #fff; }
.back-to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.back-to-top circle { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; }
.back-to-top:hover circle { stroke: #fff; }
.back-to-top i { font-size: 1.3rem; position: relative; }

/* Hold entrance animations until the loader has gone */
body.loading .reveal.is-in { opacity: 0; }
body.loading .reveal.is-in.up { transform: translateY(40px); }
body.loading .reveal.is-in.zoom { transform: scale(.88); }


/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .hi-item { opacity: 1 !important; transform: none !important; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .reveal.is-in, .hx-text .hx-eyebrow, .hx-text .hx-lead, .hx-text .hx-actions, .hx-word > span { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* Hero with a single slide: no navigation needed */
.hx.is-single .hx-nav { display: none; }

/* Process with 4–5 steps: slightly shorter photos and tighter text */
.wp-steps[style*="--n: 4"],
.wp-steps[style*="--n: 5"] { --media-h: 200px; --gap: 1.4rem; }
.wp-steps[style*="--n: 5"] .wp-body { padding: 1.2rem 1.2rem 1.6rem; }
.wp-steps[style*="--n: 5"] .wp-body h3 { font-size: 1.05rem; }
@media (min-width: 992px) and (max-width: 1199.98px) {
    .wp-steps[style*="--n: 4"],
    .wp-steps[style*="--n: 5"] { --media-h: 160px; --gap: 1rem; }
}

/* Partners: company logos are shown whole on white, flags fill the circle */
.partner-chip img.fit-contain,
.partner-map-tooltip img.fit-contain { object-fit: contain; background: #fff; padding: 2px; }
.partner-card-flag img.fit-contain { box-shadow: none; border-radius: 0; }
.partner-card-email {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .8rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    word-break: break-all;
}
.partner-card-email i { color: var(--brand); }
.partner-card-email:hover { color: var(--brand-deep); }
.partner-card-email[hidden], .partner-card-address[hidden] { display: none !important; }
