/* ==========================================================================
   RASonly — home page
   Self-contained: does not load Bootstrap, theme.min.css or style.css.
   Colours are taken only from the existing RASonly palette.
   ========================================================================== */

html { scroll-behavior: smooth; }

.el {
    --navy:   #042c54;   /* headings, dark sections, primary buttons */
    --navy-2: #175087;   /* links, secondary blue */
    --blue:   #2e4e98;   /* gradient partner, accents */
    --amber:  #f1a43b;   /* single accent colour */
    --amber-soft: #fdf3e3;

    --text:   #44546a;
    --muted:  #6d7c91;
    --line:   #e4e9f2;
    --line-2: #cfdcec;
    --tint:   #f5f8fc;
    --white:  #ffffff;

    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    --r:  10px;
    --r-lg: 16px;
    --pad: clamp(16px, 4vw, 40px);
    --hdr: 72px;         /* sticky header height; filter bar sticks below it */

    --shadow:    0 1px 2px rgba(4, 44, 84, .04), 0 6px 20px rgba(4, 44, 84, .06);
    --shadow-lg: 0 2px 6px rgba(4, 44, 84, .06), 0 18px 40px rgba(4, 44, 84, .12);

    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.el *, .el *::before, .el *::after { box-sizing: border-box; }
.el [hidden] { display: none !important; }

/* Element resets are wrapped in :where() so they carry zero class weight —
   otherwise ".el a" / ".el button" outrank ".el-btn--primary", ".el-tab" etc.
   and buttons lose their text colour, background and border. */
:where(.el) :where(h1, h2, h3, h4) {
    margin: 0;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -.02em;
}
:where(.el) :where(p)  { margin: 0; }
:where(.el) :where(a)  { color: inherit; text-decoration: none; }
:where(.el) :where(ul) { margin: 0; padding: 0; list-style: none; }
:where(.el) :where(img) { max-width: 100%; display: block; }
:where(.el) :where(button) { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:where(.el) :where(button:disabled) { cursor: default; }
.el ::selection { background: var(--navy); color: #fff; }

.el :focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
    border-radius: 6px;
}

/* anchor targets land below the sticky header */
.el [id] { scroll-margin-top: calc(var(--hdr) + 16px); }

.el-wrap {
    width: min(100% - (var(--pad) * 2), 1200px);
    margin-inline: auto;
}

/* ---------- shared section furniture ---------- */

.el-sec { padding: clamp(56px, 7vw, 96px) 0; }
.el-sec--tint { background: var(--tint); }

.el-head { margin-bottom: clamp(26px, 4vw, 42px); }
.el-head--center { text-align: center; }

.el-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--navy-2);
    margin-bottom: 12px;
}
.el-kicker::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--amber);
}

.el-h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    margin-bottom: 12px;
}
.el-lede {
    font-size: 16.5px;
    color: var(--text);
    max-width: 62ch;
}
.el-head--center .el-lede { margin-inline: auto; }

/* ---------- buttons ---------- */

.el-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    padding: 14px 26px;
    min-height: 48px;
    border-radius: var(--r);
    border: 1px solid transparent;
    white-space: nowrap;
    transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.el-btn i { transition: transform .18s; }
.el-btn:hover i.bi-arrow-right { transform: translateX(3px); }

.el-btn--primary {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 6px 18px rgba(4, 44, 84, .18);
}
.el-btn--primary:hover { background: var(--navy-2); color: #fff; box-shadow: 0 10px 24px rgba(4, 44, 84, .22); }

.el-btn--amber { background: var(--amber); color: var(--navy); }
.el-btn--amber:hover { background: #e5952a; color: var(--navy); }

.el-btn--line {
    background: var(--white);
    color: var(--navy);
    border-color: var(--line-2);
}
.el-btn--line:hover { border-color: var(--navy); background: var(--white); }

.el-btn--onnavy {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .4);
}
.el-btn--onnavy:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.el-btn--sm { padding: 10px 18px; min-height: 42px; font-size: 14px; }
.el-btn--full { width: 100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */

.el-header {
    position: sticky;
    top: 0;
    z-index: 120;   /* above the course filter bar (z-index 100 in course_elegant.php) */
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: transform .3s ease, box-shadow .3s ease;
}
/* hide on scroll down, reveal on scroll up (toggled from footer_elegant.php) */
.el-hdr-hidden .el-header { transform: translateY(-100%); }
.el-hdr-scrolled .el-header { box-shadow: 0 6px 20px rgba(4, 44, 84, .08); }
.el-hdr-hidden .el-header { box-shadow: none; }
/* header markup lives in site_header_bar.php; its wrapper has no box so the header stays sticky */
.elh { display: contents; }
.el-header-in {
    display: flex;
    align-items: center;
    gap: 20px;
    height: var(--hdr);
    width: min(100% - (var(--pad) * 2), 1320px);
    margin-inline: auto;
}
.el-brand { flex: 0 0 auto; }
.el-brand img { height: 40px; width: auto; }

.el-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}
.el-nav a {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text);
    padding: 8px 9px;
    border-radius: 8px;
    white-space: nowrap;
    transition: color .16s, background .16s;
}
.el-nav a:hover { color: var(--navy); background: var(--tint); }

.el-header-cta { margin-left: 8px; flex: 0 0 auto; }

.el-burger {
    display: none;
    flex: 0 0 44px;
    width: 44px; height: 44px;
    position: relative;
    border-radius: 10px;
}
.el-burger:hover { background: var(--tint); }
.el-burger span {
    position: absolute;
    left: 11px;
    width: 22px; height: 2px;
    border-radius: 2px;
    background: var(--navy);
    transition: transform .25s, opacity .2s;
}
.el-burger span:nth-child(1) { top: 15px; }
.el-burger span:nth-child(2) { top: 21px; }
.el-burger span:nth-child(3) { top: 27px; }
.el-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.el-burger.open span:nth-child(2) { opacity: 0; }
.el-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Fixed under the sticky header, so it opens in view at any scroll position. */
.el-mobnav {
    display: none;
    position: fixed;
    top: var(--hdr);
    left: 0; right: 0;
    z-index: 119;
    max-height: calc(100vh - var(--hdr));
    overflow-y: auto;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(4, 44, 84, .12);
    padding: 6px var(--pad) 20px;
}
.el-mobnav.open { display: block; animation: el-drop .2s ease-out; }
.el-mobnav a:not(.el-btn) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 500;
    color: var(--navy);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.el-mobnav a:not(.el-btn)::after {
    content: "\F285";                  /* bi-chevron-right */
    font-family: "bootstrap-icons";
    font-size: 13px;
    color: var(--muted);
}
.el-mobnav .el-btn { margin-top: 18px; }

@keyframes el-drop {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.el-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(640px 360px at 92% 8%, rgba(241, 164, 59, .14), transparent 70%),
        radial-gradient(720px 420px at 0% 100%, rgba(46, 78, 152, .10), transparent 70%),
        var(--tint);
    padding: clamp(48px, 6.5vw, 88px) 0 clamp(96px, 10vw, 128px);
}
/* faint dot grid */
.el-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(4, 44, 84, .07) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
    pointer-events: none;
}
.el-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.el-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 14px 7px 10px;
    max-width: 100%;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}
.el-pill i { color: var(--amber); font-size: 15px; }

.el-hero h1 {
    font-size: clamp(32px, 4.4vw, 54px);
    line-height: 1.12;
    letter-spacing: -.03em;
    margin-bottom: 18px;
}
.el-hero h1 span {
    display: block;
    background: linear-gradient(90deg, var(--navy-2), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.el-hero-lede {
    font-size: 17.5px;
    max-width: 52ch;
    margin-bottom: 30px;
}
.el-hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.el-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}
.el-hero-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text);
}
.el-hero-points i { color: var(--amber); font-size: 16px; }

/* stage panel — a vertical timeline */
.el-stages {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-lg);
}
.el-stages h2 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}
.el-stage {
    position: relative;
    display: flex;
    gap: 16px;
    padding: 14px 0;
}
.el-stage:not(:last-child)::before {       /* connector line */
    content: "";
    position: absolute;
    left: 17px;
    top: 52px;
    bottom: -10px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, var(--line-2) 0 4px, transparent 4px 8px);
}
.el-stage:last-child { padding-bottom: 0; }
.el-stage-n {
    position: relative;
    flex: 0 0 36px;
    width: 36px; height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--line-2);
    color: var(--navy-2);
    font-size: 14px;
    font-weight: 700;
    transition: background .18s, border-color .18s, color .18s;
}
.el-stage:hover .el-stage-n { background: var(--navy); border-color: var(--navy); color: #fff; }
.el-stage h3 { font-size: 16px; margin: 6px 0 3px; }
.el-stage p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ==========================================================================
   FIGURES — overlaps the bottom edge of the hero
   ========================================================================== */

.el-figs-sec {
    position: relative;
    z-index: 2;
    margin-top: clamp(-72px, -6vw, -56px);
}
.el-figures {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}
.el-fig {
    position: relative;
    padding: 26px 20px;
    text-align: center;
}
.el-fig + .el-fig::before {
    content: "";
    position: absolute;
    left: 0; top: 24px; bottom: 24px;
    width: 1px;
    background: var(--line);
}
.el-fig i {
    display: inline-grid;
    place-items: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--amber-soft);
    color: #c47a12;
    font-size: 18px;
    margin-bottom: 10px;
}
.el-fig b {
    display: block;
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -.02em;
    line-height: 1.1;
    margin-bottom: 4px;
    white-space: nowrap;
}
.el-fig span { font-size: 13.5px; color: var(--muted); line-height: 1.4; display: block; }

/* ==========================================================================
   COURSE CARD
   ========================================================================== */

/* 4 per row on desktop → 3 on small laptops → 2 on tablets → 1 on phones */
.el-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
/* grid child wrapper carries the filter data; the card fills its cell */
.el-item { display: flex; min-width: 0; }
.el-item > .el-card { flex: 1; min-width: 0; }

.el-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.el-card:hover {
    border-color: var(--line-2);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.el-card-img {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--navy);
    overflow: hidden;
}
.el-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.el-card:hover .el-card-img img { transform: scale(1.03); }

/* placeholder when a package has no image */
.el-card-alt {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 24px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(260px 160px at 85% 0%, rgba(241, 164, 59, .35), transparent 70%),
        linear-gradient(220deg, var(--blue), var(--navy));
}
.el-card-alt i {
    width: 46px; height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
    color: var(--amber);
    font-size: 22px;
}
.el-card-alt span { font-size: 16px; font-weight: 600; line-height: 1.35; }

.el-tag {
    position: absolute;
    top: 12px; left: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--amber);
    color: var(--navy);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}
.el-tag--free { background: #1f8a4c; color: #fff; }

.el-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 18px 18px;
}
.el-card-cat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--navy-2);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.el-card-cat i { flex: 0 0 auto; }
/* Fixed-size card: every text line is single-line with an ellipsis, so all
   cards come out the same height whatever the title or price length. */
.el-card h3 {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.el-card h3 a { transition: color .16s; }
.el-card h3 a:hover { color: var(--navy-2); }
.el-card-meta {
    display: flex;
    gap: 16px;
    font-size: 13.5px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
}
.el-card-meta span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.el-card-meta i { color: var(--navy-2); font-size: 14px; }

.el-card-foot {
    margin-top: auto;
    padding-top: 12px;
}
/* price stays on one line; the "Save" pill truncates before it wraps */
.el-price {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding-top: 8px;
    margin-bottom: 8px;
    border-top: 1px solid var(--line);
    white-space: nowrap;
    overflow: hidden;
}
.el-price b {
    flex: 0 0 auto;
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -.02em;
}
.el-price s { flex: 0 0 auto; font-size: 13.5px; color: var(--muted); }
.el-price em {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    color: #1f7a45;
    background: #e8f5ee;
    border-radius: 999px;
    padding: 2px 8px;
}
.el-card:hover .el-btn--line { background: var(--navy); border-color: var(--navy); color: #fff; }

/* a track with a single course: lay the card out horizontally */
.el-group.is-single .el-grid { grid-template-columns: 1fr; }
.el-group.is-single .el-card { flex-direction: row; max-width: 860px; }
.el-group.is-single .el-card-img { flex: 0 0 44%; aspect-ratio: auto; min-height: 220px; }
.el-group.is-single .el-card-body { padding: 24px 26px; }
.el-group.is-single .el-card h3 { font-size: 19px; min-height: 0; }
.el-group.is-single .el-card-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.el-group.is-single .el-price { border-top: 0; padding-top: 0; margin: 0 auto 0 0; height: auto; }
.el-group.is-single .el-card-foot .el-btn { width: auto; }

/* ==========================================================================
   FILTER BAR — sticks below the header while browsing courses
   ========================================================================== */

.el-filterbar {
    position: sticky;
    top: var(--hdr);
    z-index: 20;
    display: flex;
    align-items: flex-start;   /* top-align: the tab strip carries extra scrollbar space below */
    gap: 12px 20px;
    margin: 0 calc(var(--pad) * -1) 30px;
    padding: 12px var(--pad);
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    transition: top .3s ease;
}
/* header slid away: the filter bar takes its place at the top */
.el-hdr-hidden .el-filterbar { top: 0; }

.el-tabs-wrap { position: relative; flex: 1 1 auto; min-width: 0; }
.el-tabs-wrap::before,
.el-tabs-wrap::after {
    content: "";
    position: absolute;
    top: 0; bottom: 11px;               /* stop above the scrollbar (8px gap + 3px bar) */
    width: 36px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
    z-index: 1;
}
.el-tabs-wrap::before { left: 0;  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0)); }
.el-tabs-wrap::after  { right: 0; background: linear-gradient(to left,  #fff, rgba(255, 255, 255, 0)); }
.el-tabs-wrap.fade-l::before,
.el-tabs-wrap.fade-r::after { opacity: 1; }

/* visible thin scrollbar so it is obvious the track list scrolls */
.el-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    cursor: grab;
}
.el-tabs.dragging { cursor: grabbing; user-select: none; }
.el-tabs.dragging .el-tab { pointer-events: none; }
/* Firefox only: in Chrome 121+ setting scrollbar-width/-color disables the
   ::-webkit-scrollbar styling below and brings back the thick default bar */
@supports (-moz-appearance: none) {
    .el-tabs { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
}
.el-tabs::-webkit-scrollbar { height: 3px; }
.el-tabs::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.el-tabs::-webkit-scrollbar-track { background: var(--tint); border-radius: 999px; }
.el-tabs::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }
.el-tabs::-webkit-scrollbar-thumb:hover { background: var(--navy-2); }
.el-tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 8px 7px 16px;
    white-space: nowrap;
    transition: background .16s, border-color .16s, color .16s;
}
.el-tab:hover { border-color: var(--navy-2); color: var(--navy); }
.el-tab.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.el-tab-n {
    min-width: 24px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--tint);
    color: var(--navy-2);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}
.el-tab.on .el-tab-n { background: rgba(255, 255, 255, .16); color: #fff; }

/* format filter: segmented control */
/* 3px padding + 32px buttons + 2px border = 40px, same as a tab; the 2px
   top margin matches the tab strip's top padding so the two line up */
.el-formats {
    flex: 0 0 auto;
    display: inline-flex;
    gap: 2px;
    margin-top: 2px;
    padding: 3px;
    background: var(--tint);
    border: 1px solid var(--line);
    border-radius: 12px;
}
.el-format {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--muted);
    padding: 0 12px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background .16s, color .16s, box-shadow .16s;
}
.el-format:hover:not(:disabled) { color: var(--navy); }
.el-format.on { background: var(--white); color: var(--navy); box-shadow: 0 1px 3px rgba(4, 44, 84, .12); }
.el-format:disabled { opacity: .4; }

.el-group { margin-bottom: 48px; }
.el-group-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    margin-bottom: 18px;
}
.el-group-title {
    font-size: 20px;
    padding-left: 12px;
    border-left: 3px solid var(--amber);
    line-height: 1.2;
}
.el-group-n { font-size: 13.5px; color: var(--muted); }
.el-group-more { margin-top: 22px; text-align: center; }

.el-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 56px 20px;
    text-align: center;
    color: var(--muted);
    background: var(--tint);
    border: 1px dashed var(--line-2);
    border-radius: var(--r-lg);
}
.el-empty i { font-size: 26px; color: var(--navy-2); }

/* ==========================================================================
   FEATURE LIST
   ========================================================================== */

.el-feats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.el-feat {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px 26px;
    overflow: hidden;
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.el-feat::after {                        /* amber rule revealed on hover */
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: var(--amber);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.el-feat:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.el-feat:hover::after { transform: scaleX(1); }
.el-feat-ico {
    width: 48px; height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(220deg, var(--blue), var(--navy));
    color: #fff;
    font-size: 21px;
    margin-bottom: 18px;
    box-shadow: 0 8px 18px rgba(4, 44, 84, .18);
}
.el-feat h3 { font-size: 17px; margin-bottom: 8px; }
.el-feat p { font-size: 14.5px; line-height: 1.62; }

/* ==========================================================================
   FREE BAND
   ========================================================================== */

.el-free-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(560px 320px at 88% 0%, rgba(241, 164, 59, .22), transparent 70%),
        radial-gradient(560px 340px at 8% 100%, rgba(255, 255, 255, .08), transparent 70%),
        linear-gradient(200deg, var(--blue), var(--navy));
    color: #fff;
    padding: clamp(64px, 8vw, 104px) 0;
}
/* faint dot texture, fading out towards the edges */
.el-free-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
            mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
    pointer-events: none;
}
.el-free-band .el-wrap { position: relative; }
.el-free-band h2, .el-free-band h3 { color: #fff; }
.el-free-band .el-kicker { color: var(--amber); }
/* centred kicker gets a line on both sides */
.el-free-band .el-head--center .el-kicker::after {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--amber);
}
.el-free-band .el-lede { color: rgba(255, 255, 255, .82); }

/* cards are centred whatever their count (2, 3, 5 ...) */
.el-free-band .el-free-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

.el-free {
    flex: 0 1 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 18px;
    padding: 32px 24px 26px;
    box-shadow: 0 10px 30px rgba(2, 20, 45, .22);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.el-free:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
    border-color: rgba(241, 164, 59, .6);
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(2, 20, 45, .35);
}
.el-free-ico {
    width: 62px; height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f9c574, var(--amber));
    color: var(--navy);
    font-size: 26px;
    margin-bottom: 18px;
    box-shadow: 0 8px 22px rgba(241, 164, 59, .35), 0 0 0 6px rgba(241, 164, 59, .12);
}
.el-free h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.el-free p { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .74); margin-bottom: 22px; }
.el-free-go {
    margin-top: auto;
    font-size: 14px;
    font-weight: 600;
    color: var(--amber);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 999px;
    background: rgba(241, 164, 59, .12);
    border: 1px solid rgba(241, 164, 59, .45);
    transition: background .2s, color .2s;
}
.el-free:hover .el-free-go { background: var(--amber); color: var(--navy); }
.el-free-go i { transition: transform .2s; }
.el-free:hover .el-free-go i { transform: translateX(4px); }
@media (max-width: 639px) {
    .el-free { flex: 1 1 100%; max-width: 420px; }
}

/* ==========================================================================
   PROSE
   ========================================================================== */

/* full container width (1200px), same as the other sections */
.el-prose-wrap { position: relative; max-width: none; }
.el-prose {
    max-height: 360px;
    overflow: hidden;
}
.el-prose.open { max-height: none; }
.el-prose-wrap:not(.open)::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 160px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 88%);
    pointer-events: none;
}
.el-prose h3 { font-size: 21px; margin: 34px 0 12px; }
.el-prose h3:first-child { margin-top: 0; }
.el-prose h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy-2);
    margin: 22px 0 10px;
}
.el-prose p { font-size: 16px; line-height: 1.75; margin-bottom: 14px; }
.el-prose b { color: var(--navy); font-weight: 600; }
.el-prose ul { margin-bottom: 18px; }
.el-prose li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 16px;
}
.el-prose li::before {
    content: "";
    position: absolute;
    left: 2px; top: .68em;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--amber);
}
.el-prose-more { margin-top: 24px; max-width: none; text-align: center; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.el-faq { max-width: 840px; margin-inline: auto; }
.el-q {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color .18s, box-shadow .18s;
}
.el-q:hover { border-color: var(--line-2); }
.el-q.open { border-color: var(--line-2); box-shadow: var(--shadow); }
.el-q-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    text-align: left;
    padding: 20px 22px;
}
.el-q-btn h3 { font-size: 16.5px; font-weight: 600; line-height: 1.45; }
.el-q-btn .pm {
    position: relative;
    flex: 0 0 30px;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--tint);
    transition: background .2s;
}
.el-q.open .pm { background: var(--navy); }
.el-q-btn .pm::before,
.el-q-btn .pm::after {
    content: "";
    position: absolute;
    left: 9px; top: 14px;
    width: 12px; height: 2px;
    border-radius: 2px;
    background: var(--navy-2);
    transition: transform .25s, background .2s;
}
.el-q-btn .pm::after { transform: rotate(90deg); }
.el-q.open .pm::before,
.el-q.open .pm::after { background: #fff; }
.el-q.open .pm::after { transform: rotate(0); }

.el-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.el-q.open .el-a { grid-template-rows: 1fr; }
.el-a-in { overflow: hidden; }
.el-a p { font-size: 15.5px; padding: 0 22px 22px; }
.el-a p b { color: var(--navy); font-weight: 600; }

/* ==========================================================================
   CTA
   ========================================================================== */

.el-cta { padding: 0 0 clamp(56px, 7vw, 96px); }
.el-cta-box {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(420px 260px at 100% 100%, rgba(241, 164, 59, .25), transparent 70%),
        linear-gradient(220deg, var(--blue), var(--navy));
    border-radius: 20px;
    padding: clamp(32px, 5vw, 56px);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    box-shadow: var(--shadow-lg);
}
.el-cta-box h2 { color: #fff; font-size: clamp(23px, 2.8vw, 32px); margin-bottom: 8px; }
.el-cta-box p { color: rgba(255, 255, 255, .82); max-width: 54ch; }
.el-cta-acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.el-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, .75);
    padding: clamp(48px, 5vw, 68px) 0 0;
}
.el-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: clamp(26px, 4vw, 48px);
    padding-bottom: 40px;
}
.el-footer h3 {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.el-footer p { font-size: 14.5px; line-height: 1.68; margin-bottom: 16px; max-width: 42ch; }
.el-footer-links li { margin-bottom: 10px; }
.el-footer-links a { font-size: 14.5px; transition: color .16s; }
.el-footer-links a:hover { color: var(--amber); }

.el-footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    margin-bottom: 12px;
    word-break: break-word;
    transition: color .16s;
}
.el-footer-contact a:hover { color: var(--amber); }
.el-footer-contact i { color: var(--amber); }

.el-social { display: flex; gap: 10px; margin-top: 18px; }
.el-social a {
    width: 40px; height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 10px;
    font-size: 15px;
    transition: background .16s, border-color .16s, color .16s;
}
.el-social a:hover { background: var(--amber); border-color: var(--amber); color: var(--navy); }

.el-footer-bar {
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding: 20px 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: space-between;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .55);
}

/* ---------- floating whatsapp ---------- */

.el-wa {
    position: fixed;
    right: 18px; bottom: 18px;
    z-index: 85;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 25px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
    transition: transform .18s;
}
.el-wa:hover { transform: scale(1.07); color: #fff; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1199px) {
    .el-grid { grid-template-columns: repeat(3, 1fr); }
    .el-free-band .el-grid { grid-template-columns: repeat(2, 1fr); }
    .el-feats { gap: 20px; }
}

/* 7 nav links + logo + button need ~1260px; collapse before they crowd */
@media (max-width: 1279px) {
    .el-nav { display: none; }
    .el-header-in { gap: 10px; }
    .el-header-cta { margin-left: auto; }
    .el-burger { display: block; }
    .el-brand img { height: 36px; }
}
@media (max-width: 1139px) {
    .el { --hdr: 64px; }
    .el-header-in { gap: 10px; }
    .el-header-cta { margin-left: auto; }
    .el-burger { display: block; }
    .el-brand img { height: 36px; }
}

@media (max-width: 1023px) {
    .el-hero-grid { grid-template-columns: 1fr; }
    .el-stages { max-width: 640px; }
    .el-grid, .el-feats { grid-template-columns: repeat(2, 1fr); }
    .el-free-band .el-grid { grid-template-columns: repeat(2, 1fr); }
    .el-figures { grid-template-columns: repeat(2, 1fr); }
    .el-fig:nth-child(3)::before { display: none; }
    .el-fig:nth-child(n+3) { border-top: 1px solid var(--line); }
    .el-footer-grid { grid-template-columns: 1fr 1fr; }

    .el-filterbar { flex-direction: column; align-items: stretch; gap: 10px; }
    .el-formats { align-self: flex-start; }
}

@media (max-width: 767px) {
    .el-group.is-single .el-card { flex-direction: column; }
    .el-group.is-single .el-card-img { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
    .el-group.is-single .el-card-body { padding: 18px 20px 20px; }
    .el-group.is-single .el-card h3 { font-size: 17px; }
    .el-group.is-single .el-price { border-top: 1px solid var(--line); padding-top: 14px; margin: 0; width: 100%; }
    .el-group.is-single .el-card-foot .el-btn { width: 100%; }
}

@media (max-width: 639px) {
    .el-hero { padding-top: 36px; }
    .el-hero h1 { font-size: 31px; }
    .el-hero h1 span { display: inline; }
    .el-hero-lede { font-size: 16px; }
    .el-hero-acts .el-btn { flex: 1 1 100%; }
    .el-stages { padding: 22px 20px; }

    .el-grid, .el-feats { grid-template-columns: 1fr; }
    .el-free-band .el-grid { grid-template-columns: 1fr; }
    .el-fig { padding: 20px 12px; }
    .el-fig i { width: 34px; height: 34px; font-size: 16px; }

    /* tabs + formats stacked are too tall to pin on a phone screen */
    .el-filterbar { position: static; background: var(--white); }
    .el-formats { align-self: stretch; }
    .el-format { flex: 1; justify-content: center; padding: 0 6px; }
    .el-format i { display: none; }

    .el-group-title { font-size: 18px; }
    .el-q-btn { padding: 18px; }
    .el-a p { padding: 0 18px 18px; }

    .el-cta-box { flex-direction: column; align-items: stretch; }
    .el-cta-acts .el-btn { flex: 1 1 100%; }
    .el-footer-grid { grid-template-columns: 1fr; }
    .el-footer-bar { padding-bottom: 88px; }   /* clear the floating WhatsApp button */
}

@media (max-width: 380px) {
    .el-header-cta { padding-inline: 12px; }
    .el-header-cta i { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .el *, .el *::before, .el *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
