/* ==========================================================================
   E-Ticket Generator — front-end theme
   Bootstrap 5.3 + jQuery. Loaded after the legacy template (main.css) so it
   re-themes inner pages through the template's CSS variables as well.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
    --et-ink: #141b34;
    --et-ink-2: #1f2850;
    --et-text: #3f4663;
    --et-muted: #6b7190;
    --et-line: #e6e8f0;
    --et-bg: #ffffff;
    --et-bg-soft: #f6f7fb;

    --et-primary: #e8430c;
    --et-primary-hover: #c9380a;
    --et-primary-soft: #fff0ea;
    --et-teal: #0f9d92;
    --et-teal-soft: #e3f6f4;
    --et-violet: #5a46d6;
    --et-violet-soft: #eeebfd;
    --et-success: #16a34a;

    --et-radius: 16px;
    --et-radius-lg: 24px;
    --et-shadow-sm: 0 2px 8px rgba(20, 27, 52, .06);
    --et-shadow: 0 12px 32px -12px rgba(20, 27, 52, .18);
    --et-shadow-lg: 0 30px 60px -20px rgba(20, 27, 52, .35);

    --et-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --et-font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    --et-header-h: 76px;

    /* Re-map legacy template variables so inner pages pick up the new brand */
    --default-font: var(--et-font);
    --heading-font: var(--et-font-head);
    --nav-font: var(--et-font);
    --default-color: var(--et-text);
    --heading-color: var(--et-ink);
    --accent-color: var(--et-primary);
    --nav-color: var(--et-ink);
    --nav-hover-color: var(--et-primary);

    /* Bootstrap overrides */
    --bs-body-font-family: var(--et-font);
    --bs-body-color: var(--et-text);
    --bs-primary: var(--et-primary);
    --bs-primary-rgb: 232, 67, 12;
    --bs-link-color: var(--et-primary);
    --bs-link-color-rgb: 232, 67, 12;
    --bs-link-hover-color: var(--et-primary-hover);
    --bs-link-hover-color-rgb: 201, 56, 10;
    --bs-border-radius: 10px;
}

/* ---------- Base ---------- */
html { scroll-padding-top: calc(var(--et-header-h) + 12px); }

body.et-body {
    font-family: var(--et-font);
    color: var(--et-text);
    background: var(--et-bg);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.et-body h1, .et-body h2, .et-body h3, .et-body h4, .et-body h5, .et-body h6 {
    font-family: var(--et-font-head);
    color: var(--et-ink);
    letter-spacing: -.01em;
}

.et-body a { transition: color .2s ease; }

.et-body :focus-visible {
    outline: 3px solid rgba(232, 67, 12, .45);
    outline-offset: 2px;
}

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

/* ---------- Preloader ---------- */
#et-preloader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    background: #fff;
    transition: opacity .35s ease, visibility .35s ease;
}
#et-preloader.is-hidden { opacity: 0; visibility: hidden; }
.et-preloader-ticket {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--et-primary-soft);
    color: var(--et-primary);
    font-size: 30px;
    animation: et-pulse 1s ease-in-out infinite;
}
@keyframes et-pulse { 50% { transform: scale(.88) rotate(-6deg); } }

/* ---------- Buttons ---------- */
.et-btn {
    --bs-btn-padding-x: 1.25rem;
    --bs-btn-padding-y: .65rem;
    --bs-btn-font-weight: 600;
    --bs-btn-border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--et-font);
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.et-btn:hover { transform: translateY(-1px); }
.et-btn:active { transform: translateY(0); }
.et-btn-lg { --bs-btn-padding-x: 1.6rem; --bs-btn-padding-y: .85rem; --bs-btn-font-size: 1.02rem; }
.et-btn .bi-arrow-right { transition: transform .2s ease; }
.et-btn:hover .bi-arrow-right { transform: translateX(3px); }

.et-btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--et-primary);
    --bs-btn-border-color: var(--et-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--et-primary-hover);
    --bs-btn-hover-border-color: var(--et-primary-hover);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--et-primary-hover);
    --bs-btn-active-border-color: var(--et-primary-hover);
    box-shadow: 0 10px 24px -10px rgba(232, 67, 12, .7);
}
.et-btn-dark {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--et-ink);
    --bs-btn-border-color: var(--et-ink);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--et-ink-2);
    --bs-btn-hover-border-color: var(--et-ink-2);
    --bs-btn-active-bg: var(--et-ink-2);
    --bs-btn-active-color: #fff;
}
.et-btn-ghost {
    --bs-btn-color: var(--et-ink);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: var(--et-primary);
    --bs-btn-hover-bg: var(--et-primary-soft);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-color: var(--et-primary);
    --bs-btn-active-bg: var(--et-primary-soft);
}
.et-btn-outline {
    --bs-btn-color: var(--et-ink);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--et-line);
    --bs-btn-hover-color: var(--et-primary);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: var(--et-primary);
    --bs-btn-active-color: var(--et-primary);
    --bs-btn-active-border-color: var(--et-primary);
    border-width: 1.5px;
}
.et-btn-outline-light {
    --bs-btn-color: #fff;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: rgba(255, 255, 255, .35);
    --bs-btn-hover-color: var(--et-ink);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-active-color: var(--et-ink);
    --bs-btn-active-bg: #fff;
    border-width: 1.5px;
}

/* Legacy Bootstrap primary buttons on inner pages follow the brand */
.et-body .btn-primary {
    --bs-btn-bg: var(--et-primary);
    --bs-btn-border-color: var(--et-primary);
    --bs-btn-hover-bg: var(--et-primary-hover);
    --bs-btn-hover-border-color: var(--et-primary-hover);
    --bs-btn-active-bg: var(--et-primary-hover);
    --bs-btn-active-border-color: var(--et-primary-hover);
    --bs-btn-disabled-bg: var(--et-primary);
    --bs-btn-disabled-border-color: var(--et-primary);
    font-weight: 600;
}

.et-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    color: var(--et-primary);
    text-decoration: none;
}
.et-link:hover { color: var(--et-primary-hover); }
.et-link:hover .bi { transform: translateX(3px); }
.et-link .bi { transition: transform .2s ease; }

/* ---------- Brand ---------- */
.et-brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    margin: 0;
    padding: 0;
}
.et-brand img { height: 42px; width: auto; }
.et-brand span {
    display: flex;
    flex-direction: column;
    font-family: var(--et-font-head);
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--et-ink);
}
.et-brand small {
    font-family: var(--et-font);
    font-weight: 600;
    font-size: .66rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--et-primary);
    margin-top: .3rem;
}
.et-brand-light span { color: #fff; }

/* ---------- Header ---------- */
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed-position mobile offcanvas. */
.et-header {
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease;
    z-index: 1030;
}
.et-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.et-header .navbar { min-height: var(--et-header-h); padding: .5rem 0; transition: min-height .25s ease; }
.et-header.is-scrolled { border-bottom-color: var(--et-line); box-shadow: var(--et-shadow-sm); }
.et-header.is-scrolled .navbar { min-height: 64px; }

.et-nav { gap: .15rem; }
.et-nav .nav-link {
    position: relative;
    font-weight: 500;
    font-size: .95rem;
    color: var(--et-ink);
    padding: .5rem .85rem !important;
    border-radius: 999px;
}
.et-nav .nav-link:hover { color: var(--et-primary); }
.et-nav .nav-link.active { color: var(--et-primary); font-weight: 600; }
.et-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: .1rem;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: var(--et-primary);
}
.et-header-actions { display: flex; align-items: center; gap: .4rem; }

.et-burger {
    width: 44px;
    height: 44px;
    border: 1px solid var(--et-line);
    border-radius: 12px;
    background: #fff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.et-burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--et-ink); }

@media (max-width: 1199.98px) {
    .et-offcanvas { max-width: 320px; }
    .et-offcanvas .offcanvas-header { border-bottom: 1px solid var(--et-line); }
    .et-offcanvas .offcanvas-body { display: flex; flex-direction: column; }
    .et-nav { margin: 0 !important; }
    .et-nav .nav-link { padding: .8rem 1rem !important; border-radius: 12px; font-size: 1rem; }
    .et-nav .nav-link.active { background: var(--et-primary-soft); }
    .et-nav .nav-link.active::after { display: none; }
    .et-header-actions { flex-direction: column; align-items: stretch; margin-top: auto; padding-top: 1.5rem; }
    .et-header-actions .et-btn { width: 100%; }
    .et-header-actions .et-btn-ghost { --bs-btn-border-color: var(--et-line); }
}

/* ---------- Shared section bits ---------- */
.et-section { padding: 96px 0; }
.et-bg-soft { background: var(--et-bg-soft); }
@media (max-width: 767.98px) { .et-section { padding: 64px 0; } }

.et-heading { max-width: 680px; margin: 0 auto 3rem; }
.et-heading h2, .et-h2 {
    font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin: .75rem 0 1rem;
}
.et-heading p, .et-muted { color: var(--et-muted); font-size: 1.05rem; }

.et-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--et-primary);
    background: var(--et-primary-soft);
    border-radius: 999px;
    padding: .4rem .85rem;
}
.et-eyebrow-dark {
    color: #ffd2c2;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    letter-spacing: .04em;
    text-transform: none;
    font-weight: 600;
    font-size: .85rem;
}
.et-eyebrow-dark .bi { color: #ff8a5c; }

/* ---------- Hero ---------- */
.et-hero {
    position: relative;
    overflow: hidden;
    background: var(--et-ink);
    color: #c9cde0;
    padding: 88px 0 110px;
}
.et-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, #000 40%, transparent);
    -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent);
}
.et-hero-glow {
    position: absolute;
    width: 720px;
    height: 720px;
    right: -180px;
    top: -220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 67, 12, .45), transparent 65%);
    filter: blur(20px);
}
.et-hero-title {
    color: #fff !important;
    font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.025em;
    margin: 1.25rem 0 1.25rem;
}
.et-hl {
    color: #ff8a5c;
    background: linear-gradient(90deg, #ff8a5c, #ffb38f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.et-hero-lead { font-size: 1.15rem; max-width: 520px; margin-bottom: 2rem; color: #c9cde0; }

.et-play {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}
.et-play:hover { color: #ffb38f; }
.et-play-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: 1.4rem;
    position: relative;
}
.et-play-icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    animation: et-ring 2s ease-out infinite;
}
@keyframes et-ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

.et-hero-points {
    list-style: none;
    padding: 0;
    margin: 2.25rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    font-size: .95rem;
}
.et-hero-points li { display: flex; align-items: center; gap: .4rem; }
.et-hero-points .bi { color: #5eead4; font-size: 1.1rem; }

/* Ticket mockup */
.et-ticket-stage {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    padding: 40px 10px;
    perspective: 1200px;
}
.et-ticket {
    --notch: 14px;
    position: relative;
    display: flex;
    border-radius: 22px;
    background: #fff;
    color: var(--et-text);
    transform: rotate(-4deg);
    transition: transform .3s ease;
    will-change: transform;
    /* perforation notches between main part and stub */
    -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - 150px) 0, transparent 98%, #000) top / 100% 51% no-repeat,
                  radial-gradient(circle var(--notch) at calc(100% - 150px) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
            mask: radial-gradient(circle var(--notch) at calc(100% - 150px) 0, transparent 98%, #000) top / 100% 51% no-repeat,
                  radial-gradient(circle var(--notch) at calc(100% - 150px) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}
.et-ticket-back {
    position: absolute;
    inset: 40px 10px;
    background: linear-gradient(135deg, #ff8a5c, var(--et-primary));
    transform: rotate(5deg) translate(18px, 8px);
    opacity: .9;
}
.et-ticket-wrap { position: relative; z-index: 1; filter: drop-shadow(0 28px 34px rgba(5, 8, 25, .45)); }
.et-ticket-main { flex: 1; padding: 28px 28px 26px; min-width: 0; }
.et-ticket-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--et-primary);
    background: var(--et-primary-soft);
    padding: .3rem .65rem;
    border-radius: 6px;
}
.et-ticket-logo { height: 30px; width: auto; }
.et-ticket h3 { font-size: 1.55rem; font-weight: 800; margin: 1rem 0 1.25rem; line-height: 1.15; }
.et-ticket-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1.25rem; }
.et-ticket-meta small, .et-ticket-holder small {
    display: block;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--et-muted);
}
.et-ticket-meta strong, .et-ticket-holder strong { color: var(--et-ink); font-size: .95rem; }
.et-ticket-holder { padding-top: 1rem; border-top: 1px dashed var(--et-line); }
.et-ticket-stub {
    width: 150px;
    flex-shrink: 0;
    border-left: 2px dashed var(--et-line);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 20px 14px;
    background: var(--et-bg-soft);
}
.et-qr {
    width: 104px;
    height: 104px;
    display: grid;
    place-items: center;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--et-line);
    font-size: 84px;
    line-height: 1;
    color: var(--et-ink);
    position: relative;
    overflow: hidden;
}
.et-qr::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    height: 2px;
    background: var(--et-primary);
    box-shadow: 0 0 12px 2px rgba(232, 67, 12, .6);
    animation: et-scan 2.4s ease-in-out infinite;
}
@keyframes et-scan { 0%, 100% { top: 10px; } 50% { top: calc(100% - 12px); } }
.et-ticket-stub small { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; color: var(--et-muted); }

.et-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .65rem;
    background: #fff;
    border-radius: 14px;
    padding: .7rem .95rem;
    box-shadow: var(--et-shadow);
    z-index: 2;
    animation: et-bob 5s ease-in-out infinite;
}
.et-float > .bi { font-size: 1.5rem; }
.et-float strong { display: block; font-size: .88rem; color: var(--et-ink); line-height: 1.2; }
.et-float small { font-size: .75rem; color: var(--et-muted); }
.et-float-valid { left: -18px; bottom: 6px; }
.et-float-valid > .bi { color: var(--et-success); }
.et-float-sent { right: -8px; top: 0; animation-delay: -2.5s; }
.et-float-sent > .bi { color: var(--et-violet); }
@keyframes et-bob { 50% { transform: translateY(-8px); } }

@media (max-width: 575.98px) {
    .et-hero { padding: 56px 0 72px; }
    .et-ticket { --notch: 11px; -webkit-mask: none; mask: none; }
    .et-ticket-main { padding: 20px; }
    .et-ticket h3 { font-size: 1.2rem; }
    .et-ticket-stub { width: 104px; padding: 14px 10px; }
    .et-qr { width: 76px; height: 76px; font-size: 60px; }
    .et-ticket-meta { grid-template-columns: repeat(2, 1fr); }
    .et-ticket-meta div:last-child { display: none; }
    .et-float-valid { left: 0; }
    .et-float-sent { right: 0; }
}

/* ---------- Clients marquee ---------- */
.et-clients { padding: 40px 0; border-bottom: 1px solid var(--et-line); }
.et-clients-label {
    text-align: center;
    font-size: .85rem;
    font-weight: 600;
    color: var(--et-muted);
    margin-bottom: 1.5rem;
}
.et-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.et-marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: et-marquee 32s linear infinite; }
.et-marquee:hover .et-marquee-track { animation-play-state: paused; }
.et-marquee img { height: 48px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .25s ease, opacity .25s ease; }
.et-marquee img:hover { filter: none; opacity: 1; }
@keyframes et-marquee { to { transform: translateX(calc(-50% - 32px)); } }

/* ---------- Cards ---------- */
.et-card {
    height: 100%;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--et-line);
    border-radius: var(--et-radius-lg);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.et-card:hover { transform: translateY(-6px); box-shadow: var(--et-shadow); border-color: transparent; }
.et-card h3 { font-size: 1.2rem; font-weight: 700; margin: 1.25rem 0 .6rem; }
.et-card p { color: var(--et-muted); margin: 0; }
.et-card-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 1.5rem;
    color: var(--et-primary);
    background: var(--et-primary-soft);
}
.et-icon-teal { color: var(--et-teal); background: var(--et-teal-soft); }
.et-icon-violet { color: var(--et-violet); background: var(--et-violet-soft); }

/* ---------- Steps ---------- */
.et-step {
    position: relative;
    height: 100%;
    padding: 2rem 1.75rem;
    background: #fff;
    border-radius: var(--et-radius-lg);
    box-shadow: var(--et-shadow-sm);
    overflow: hidden;
}
.et-step-num {
    position: absolute;
    top: .5rem;
    right: 1.25rem;
    font-family: var(--et-font-head);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--et-bg-soft);
    line-height: 1;
}
.et-step-icon {
    position: relative;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.35rem;
    color: #fff;
    background: var(--et-ink);
}
.et-steps .col-lg-3:nth-child(4) .et-step-icon { background: var(--et-primary); }
.et-step h3 { font-size: 1.15rem; font-weight: 700; margin: 1.25rem 0 .5rem; position: relative; }
.et-step p { color: var(--et-muted); margin: 0; font-size: .95rem; position: relative; }

/* ---------- Feature tabs ---------- */
.et-tabs { gap: .75rem; }
.et-tab {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    text-align: left;
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--et-line);
    border-radius: var(--et-radius);
    background: #fff;
    color: var(--et-muted);
    font-size: .95rem;
    transition: all .25s ease;
}
.et-tab > .bi {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--et-bg-soft);
    color: var(--et-ink);
    font-size: 1.25rem;
    transition: all .25s ease;
}
.et-tab strong { display: block; color: var(--et-ink); font-family: var(--et-font-head); font-size: 1.05rem; margin-bottom: .25rem; }
.et-tab:hover { border-color: #ffc9b5; }
.et-tab.active { border-color: var(--et-primary); box-shadow: var(--et-shadow); }
.et-tab.active > .bi { background: var(--et-primary); color: #fff; }
.et-tab-media img, .et-media { border-radius: var(--et-radius-lg); box-shadow: var(--et-shadow); width: 100%; }

/* ---------- Stats ---------- */
.et-stats { background: var(--et-ink); padding: 64px 0; }
.et-stat span {
    display: block;
    font-family: var(--et-font-head);
    font-weight: 800;
    font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
    color: #fff;
    line-height: 1.1;
}
.et-stat small { color: #a6acc8; font-size: .95rem; }
.et-stats .col-lg-3 + .col-lg-3 .et-stat { position: relative; }
@media (min-width: 992px) {
    .et-stats .col-lg-3 + .col-lg-3 .et-stat::before {
        content: "";
        position: absolute;
        left: -12px;
        top: 10%;
        bottom: 10%;
        border-left: 1px solid rgba(255, 255, 255, .12);
    }
}

/* ---------- About collage & checklist ---------- */
.et-collage { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.et-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--et-radius-lg); box-shadow: var(--et-shadow-sm); }
.et-collage-a { grid-row: 1 / 3; min-height: 380px; }
.et-collage-b, .et-collage-c { min-height: 180px; }

.et-checklist { list-style: none; padding: 0; margin: 1.75rem 0 2rem; display: grid; gap: 1rem; }
.et-checklist li { display: flex; gap: .9rem; align-items: flex-start; }
.et-checklist li > .bi {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--et-primary-soft);
    color: var(--et-primary);
    font-size: 1.05rem;
}
.et-checklist strong { color: var(--et-ink); }
.et-checklist-compact li > .bi { background: var(--et-teal-soft); color: var(--et-teal); }

.et-mini {
    display: flex;
    align-items: center;
    gap: .6rem;
    height: 100%;
    padding: .85rem 1rem;
    background: #fff;
    border-radius: 12px;
    font-weight: 500;
    font-size: .93rem;
    color: var(--et-ink);
    box-shadow: var(--et-shadow-sm);
}
.et-mini .bi { color: var(--et-primary); font-size: 1.15rem; }

/* ---------- FAQ accordion ---------- */
.et-accordion {
    --bs-accordion-border-color: var(--et-line);
    --bs-accordion-border-radius: var(--et-radius);
    --bs-accordion-inner-border-radius: var(--et-radius);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(232, 67, 12, .2);
    --bs-accordion-active-bg: #fff;
    --bs-accordion-active-color: var(--et-primary);
    --bs-accordion-btn-padding-y: 1.2rem;
    --bs-accordion-btn-padding-x: 1.4rem;
    --bs-accordion-body-padding-x: 1.4rem;
    display: grid;
    gap: .75rem;
}
.et-accordion .accordion-item { border: 1px solid var(--et-line) !important; border-radius: var(--et-radius) !important; overflow: hidden; }
.et-accordion .accordion-button { font-family: var(--et-font-head); font-weight: 700; font-size: 1.02rem; color: var(--et-ink); }
.et-accordion .accordion-button:not(.collapsed) { box-shadow: none; color: var(--et-primary); }
.et-accordion .accordion-body { color: var(--et-muted); padding-top: 0; }

/* ---------- Footer ---------- */
.et-footer { background: var(--et-ink); color: #a6acc8; padding-top: 1px; margin-top: 120px; font-size: .95rem; }
.et-footer-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: -80px;
    padding: 2.75rem 3rem;
    border-radius: var(--et-radius-lg);
    background: linear-gradient(120deg, var(--et-ink-2), #2b2462 60%, #5a2a3c);
    box-shadow: var(--et-shadow-lg);
    position: relative;
    overflow: hidden;
}
.et-footer-cta::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 67, 12, .5), transparent 70%);
    pointer-events: none;
}
.et-footer-cta > * { position: relative; z-index: 1; }
.et-footer-cta h2 { color: #fff; font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); margin-bottom: .35rem; }
.et-footer-cta p { margin: 0; color: #c9cde0; }
@media (max-width: 575.98px) { .et-footer-cta { padding: 2rem 1.5rem; } .et-footer-cta .et-btn { width: 100%; } }

.et-footer-top { padding: 4rem 0 3rem; }
.et-footer h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1.1rem; }
.et-footer ul { list-style: none; padding: 0; margin: 0; }
.et-footer ul li + li { margin-top: .6rem; }
.et-footer a { color: #a6acc8; text-decoration: none; }
.et-footer a:hover { color: #fff; }
.et-footer-about { margin: 1.25rem 0 1.5rem; max-width: 340px; }
.et-social { display: flex; gap: .5rem; }
.et-social a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    transition: background .2s ease, transform .2s ease;
}
.et-social a:hover { background: var(--et-primary); transform: translateY(-2px); }
.et-footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.et-footer-contact .bi { color: #ff8a5c; margin-top: .15rem; }
.et-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .88rem;
}
.et-footer-bottom p { margin: 0; }
.et-footer-bottom strong { color: #fff; }
.et-footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.et-footer-bottom ul li + li { margin-top: 0; }

/* ---------- Scroll to top ---------- */
.et-scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1020;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--et-primary);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 10px 24px -8px rgba(232, 67, 12, .7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
}
.et-scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.et-scroll-top:hover { color: #fff; background: var(--et-primary-hover); }

/* ==========================================================================
   Inner pages — restyle legacy template blocks to match the new design
   ========================================================================== */
.et-body .main { min-height: 40vh; }

/* The header is sticky now, so the old fixed-header offsets aren't needed */
.et-body .page-title {
    margin-top: 0 !important;
    padding: 56px 0 !important;
    background: var(--et-ink) !important;
    color: #c9cde0;
    position: relative;
    overflow: hidden;
    border: 0;
}
.et-body .page-title::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 22px 22px;
}
.et-body .page-title::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -200px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 67, 12, .4), transparent 65%);
}
.et-body .page-title > .container { position: relative; z-index: 1; padding-top: 0 !important; padding-bottom: 0 !important; }
.et-body .page-title h1 { color: #fff !important; font-weight: 800; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); margin-bottom: .5rem; }
.et-body .page-title .breadcrumbs ol,
.et-body .page-title .breadcrumb { margin: 0; padding: 0; font-size: .92rem; }
.et-body .page-title .breadcrumbs ol li,
.et-body .page-title .breadcrumb-item { color: #a6acc8; }
.et-body .page-title .breadcrumbs ol li + li::before,
.et-body .page-title .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .35); }
.et-body .page-title a { color: #ffb38f; text-decoration: none; }
.et-body .page-title a:hover { color: #fff; }
.et-body .page-title .current,
.et-body .page-title .breadcrumb-item.active { color: #fff; }

.et-body .section { padding: 80px 0; }
.et-body .section-title h2 { font-weight: 800; }
.et-body .section-title h2::after { background: var(--et-primary); }

.et-body .form-control,
.et-body .form-select { border-radius: 10px; border-color: var(--et-line); padding: .7rem .95rem; }
.et-body .form-control:focus,
.et-body .form-select:focus { border-color: var(--et-primary); box-shadow: 0 0 0 3px rgba(232, 67, 12, .15); }
.et-body .card { border-color: var(--et-line); border-radius: var(--et-radius); }

/* ---------- Cookie consent ---------- */
.et-cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1045; /* above the header, below Bootstrap's modal backdrop (1050) */
    max-width: 1100px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .3s ease, transform .3s ease;
}
.et-cookie-banner.is-visible { opacity: 1; transform: none; }
.et-cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid var(--et-line);
    border-radius: var(--et-radius-lg);
    box-shadow: 0 24px 60px -20px rgba(20, 27, 52, .4);
}
.et-cookie-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--et-primary-soft);
    color: var(--et-primary);
    font-size: 1.6rem;
}
.et-cookie-text { flex: 1; min-width: 0; }
.et-cookie-text h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .25rem; }
.et-cookie-text p { margin: 0; font-size: .9rem; color: var(--et-muted); line-height: 1.55; }
.et-cookie-text a { font-weight: 600; white-space: nowrap; }
.et-cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; flex-shrink: 0; }
.et-cookie-actions .et-btn { --bs-btn-padding-y: .55rem; --bs-btn-font-size: .9rem; }
body:has(.et-cookie-banner.is-visible) .et-scroll-top { bottom: 150px; }

@media (max-width: 991.98px) {
    .et-cookie-banner-inner { flex-wrap: wrap; }
    .et-cookie-actions { width: 100%; }
    .et-cookie-actions .et-btn { flex: 1 1 auto; }
}
@media (max-width: 575.98px) {
    .et-cookie-banner { left: 8px; right: 8px; bottom: 8px; }
    .et-cookie-banner-inner { padding: 1.1rem; gap: .9rem; }
    .et-cookie-icon { display: none; }
    .et-cookie-actions .et-btn[data-cookie-action="accept"] { order: -1; flex-basis: 100%; }
    body:has(.et-cookie-banner.is-visible) .et-scroll-top { bottom: 240px; }
}

.et-cookie-modal .modal-content { border: 0; border-radius: var(--et-radius-lg); }
.et-cookie-modal .modal-header { border-bottom-color: var(--et-line); padding: 1.25rem 1.5rem; }
.et-cookie-modal .modal-title { font-size: 1.15rem; font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.et-cookie-modal .modal-title .bi { color: var(--et-primary); }
.et-cookie-modal .modal-body { padding: 1.25rem 1.5rem; }
.et-cookie-modal .modal-footer { border-top-color: var(--et-line); padding: 1rem 1.5rem; gap: .25rem; }
.et-cookie-cat { padding: 1rem 1.1rem; border: 1px solid var(--et-line); border-radius: var(--et-radius); }
.et-cookie-cat + .et-cookie-cat { margin-top: .75rem; }
.et-cookie-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.et-cookie-cat-head label { cursor: pointer; margin: 0; }
.et-cookie-cat-head strong { color: var(--et-ink); }
.et-cookie-cat-head .badge { font-weight: 600; margin-left: .35rem; }
.et-cookie-cat p { margin: .35rem 0 0; font-size: .88rem; color: var(--et-muted); }
.et-cookie-cat .form-switch .form-check-input { width: 2.6em; height: 1.4em; cursor: pointer; }
.et-cookie-cat .form-check-input:checked { background-color: var(--et-primary); border-color: var(--et-primary); }
.et-cookie-cat .form-check-input:disabled { opacity: .6; }
.et-cookie-cat .form-check-input:focus { box-shadow: 0 0 0 3px rgba(232, 67, 12, .2); border-color: var(--et-primary); }
.et-cookie-hint {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: .9rem 1rem;
    margin-bottom: 1rem;
    border-radius: var(--et-radius);
    background: var(--et-violet-soft);
    color: var(--et-ink);
    font-size: .9rem;
}
.et-cookie-hint .bi { color: var(--et-violet); font-size: 1.3rem; line-height: 1; }

/* Cookie policy page */
.et-policy h2 { font-size: 1.5rem; font-weight: 800; margin: 2.5rem 0 .75rem; }
.et-policy h3 { font-size: 1.1rem; font-weight: 700; margin: 1.75rem 0 .25rem; }
.et-cookie-manage {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border-radius: var(--et-radius);
    background: var(--et-bg-soft);
}
.et-cookie-manage strong { display: block; color: var(--et-ink); }
.et-table { font-size: .9rem; border-color: var(--et-line); }
.et-table thead th { background: var(--et-bg-soft); color: var(--et-ink); font-weight: 600; white-space: nowrap; }
.et-table code { color: var(--et-primary-hover); background: var(--et-primary-soft); padding: .1rem .35rem; border-radius: 4px; }
.et-cookie-none { display: flex; align-items: center; gap: .5rem; color: var(--et-muted); font-size: .92rem; }
.et-cookie-none .bi { color: var(--et-success); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .et-ticket { transform: none; }
}
