/* ==========================================================================
   AOS new layout — classes extracted from the original inline styles (design unchanged)
   Loads AFTER original-aos.css (that file keeps the original hover/animation).
   Convention: every class is prefixed aos- ; static images referenced relatively ../images/
   ========================================================================== */

:root {
    --aos-navy:         #0d1436;
    --aos-navy-deep:    #0a0f2c;
    --aos-card:         #161c4a;
    --aos-cream:        #fff8f0;
    --aos-text:         #e6e0f5;
    --aos-muted:        #b9b3da;
    --aos-lilac:        #c9bff2;
    --aos-teal:         #2ee6d6;
    --aos-pink:         #ff3d9a;
    --aos-orange:       #ff7a59;
    --aos-violet:       #7b4dff;
    --aos-border:       rgba(201, 191, 242, 0.14);
    --aos-border-strong:rgba(201, 191, 242, 0.35);
}

/* ---------- Khung trang ---------- */

.aos-app { display: flex; flex-direction: column; min-height: 100vh; }
.aos-main { flex: 1 1 0%; display: flex; flex-direction: column; gap: 60px; }

/* ---------- Layout dùng chung ---------- */

.aos-container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); width: 100%; }

.aos-section { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); width: 100%;
               display: flex; flex-direction: column; gap: 24px; }
.aos-section--plans { gap: 28px; }
.aos-section--feat  { gap: 24px; }

.aos-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.aos-head-titles  { display: flex; flex-direction: column; gap: 8px; }

.aos-kicker { font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aos-teal); }
.aos-kicker--pink { color: var(--aos-pink); }

.aos-h2 { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(28px, 3vw, 40px);
          font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }

.aos-sub { margin: 0; color: var(--aos-muted); font-size: 16px; }

.aos-link-more { color: var(--aos-teal); font-weight: 600; text-decoration: none; white-space: nowrap; }

.aos-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
               overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Nút ---------- */

.aos-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
           border-radius: 999px; text-decoration: none; white-space: nowrap; }
.aos-btn--teal       { background: var(--aos-teal); color: var(--aos-navy); font-weight: 700; }
.aos-btn--ghost      { background: rgba(255, 248, 240, 0.1); color: var(--aos-cream);
                       border: 1px solid rgba(201, 191, 242, 0.4); font-weight: 600; }
.aos-btn--navy       { background: var(--aos-navy); color: var(--aos-cream); font-weight: 700; }
.aos-btn--navy-ghost { background: rgba(13, 20, 54, 0.65); color: var(--aos-cream);
                       border: 1px solid rgba(255, 248, 240, 0.45); font-weight: 600; }

/* Sizes per usage */
.aos-btn--hdr        { padding: 0 20px; min-height: 44px; }                       /* teal button on header  */
.aos-btn--hero       { font-weight: 700; font-size: 17px; padding: 0 26px; min-height: 52px; }
.aos-btn--hero-ghost { font-weight: 600; font-size: 17px; padding: 0 26px; min-height: 52px; }
.aos-btn--plan       { font-weight: 600; font-size: 16px; padding: 0 26px; min-height: 48px; }
.aos-btn--plan-strong{ font-weight: 700; font-size: 16px; padding: 0 26px; min-height: 48px; }
.aos-btn--cta        { font-weight: 700; font-size: 17px; padding: 0 28px; min-height: 52px; }
.aos-btn--cta-ghost  { font-weight: 600; font-size: 17px; padding: 0 24px; min-height: 52px; }

/* ---------- Skip link ---------- */

.aos-skip-link { position: absolute; left: -999px; top: 8px; background: var(--aos-teal); color: var(--aos-navy);
                 padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 100; }
.aos-skip-link:focus { left: 8px; }   /* ghép với .dc-f10 trong original-aos.css */

/* ---------- Header ---------- */

.aos-hdr { position: sticky; top: 0; z-index: 50; background: rgba(13, 20, 54, 0.88);
           -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
           border-bottom: 1px solid rgba(201, 191, 242, 0.12); }
.aos-hdr-inner { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px);
                 min-height: 72px; display: flex; align-items: center; gap: 20px; }
.aos-hdr-logo { display: flex; align-items: center; gap: 10px; text-decoration: none;
                color: var(--aos-cream); flex: 0 0 auto; }
.aos-hdr-logo-img { width: 30px; height: 38px; border-radius: 4px; display: block;
                    background: url(../images/sf-img-30.png) 50% 50% / 100% 100% no-repeat; }
.aos-hdr-brand { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800;
                 font-size: 19px; letter-spacing: -0.01em; line-height: 1; }
.aos-hdr-brand em { font-style: normal; color: var(--aos-teal); }
.aos-hdr-nav { display: flex; gap: 4px; margin-left: 12px; }
.aos-hdr-nav a { color: var(--aos-cream); text-decoration: none; font-weight: 500;
                 padding: 10px 12px; border-radius: 10px; white-space: nowrap; }
.aos-hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.aos-hdr-search { color: var(--aos-cream); display: flex; align-items: center; justify-content: center;
                  width: 44px; height: 44px; border-radius: 50%; }
.aos-hdr-link { color: var(--aos-cream); text-decoration: none; font-weight: 500;
                padding: 10px 14px; border-radius: 10px; white-space: nowrap; }

/* ---------- Footer ---------- */

.aos-ftr { border-top: 1px solid var(--aos-border); background: var(--aos-navy-deep); margin-top: auto; }
.aos-ftr-grid { max-width: 1240px; margin: 0 auto; padding: 56px clamp(16px, 4vw, 48px) 32px;
                display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
                gap: 36px 28px; }
.aos-ftr-brand { grid-column: span 1; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.aos-ftr-logo { display: flex; align-items: center; gap: 10px; }
.aos-ftr-logo-img { width: 30px; height: 38px; border-radius: 4px; display: block;
                    background: url(../images/sf-img-30.png) 50% 50% / 100% 100% no-repeat; }
.aos-ftr-brand p { margin: 0; color: var(--aos-muted); font-size: 15px; max-width: 34ch; }
.aos-ftr-social { display: flex; gap: 8px; }
.aos-ftr-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(201, 191, 242, 0.3);
                    display: flex; align-items: center; justify-content: center; color: var(--aos-cream); }
.aos-ftr-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.aos-ftr-col-title { font-weight: 700; color: var(--aos-lilac); margin-bottom: 4px; }
.aos-ftr-col a { color: var(--aos-cream); text-decoration: none; }
.aos-ftr-col a.aos-ftr-mail { overflow-wrap: anywhere; }
.aos-ftr-bottom { max-width: 1240px; margin: 0 auto; padding: 20px clamp(16px, 4vw, 48px) 36px;
                  border-top: 1px solid var(--aos-border); display: flex; flex-wrap: wrap; gap: 12px 24px;
                  justify-content: space-between; font-size: 13px; color: var(--aos-muted); }
.aos-ftr-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.aos-ftr-legal a { color: var(--aos-muted); text-decoration: none; }

/* ---------- Hero ---------- */

.aos-hero { position: relative; min-height: clamp(620px, 78vh, 780px); display: flex; flex-direction: column;
            justify-content: flex-end; overflow: hidden;
            background:
                radial-gradient(60% 55% at 50% 30%, rgba(255, 61, 154, 0.28) 0%, rgba(255, 122, 89, 0.16) 40%, rgba(13, 20, 54, 0) 75%),
                radial-gradient(40% 40% at 15% 90%, rgba(46, 230, 214, 0.16), rgba(13, 20, 54, 0) 70%),
                radial-gradient(40% 40% at 85% 90%, rgba(123, 77, 255, 0.25), rgba(13, 20, 54, 0) 70%),
                var(--aos-navy); }
.aos-hero-backdrop { position: absolute; inset: -6%; opacity: 0.34; filter: saturate(1.15);
                     background: url(../images/sf-img-2.jpg) center 42% / cover no-repeat; }
.aos-hero-shade { position: absolute; inset: 0;
                  background: linear-gradient(rgba(13, 20, 54, 0.7) 0%, rgba(13, 20, 54, 0.38) 38%,
                                              rgba(13, 20, 54, 0.82) 74%, rgb(13, 20, 54) 100%); }
.aos-hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.3; pointer-events: none; }
.aos-hero-figure { position: absolute; left: clamp(0px, 4vw, 72px); bottom: 0; height: 84%; width: auto;
                   pointer-events: none; filter: drop-shadow(rgba(0, 0, 0, 0.45) 0 30px 40px); }
.aos-hero-figure.is-right { left: auto; right: clamp(0px, 4vw, 72px); height: 90%; }
.aos-hero-content { position: relative; pointer-events: none; max-width: 760px; margin: 0 auto;
                    padding: clamp(48px, 12vh, 120px) clamp(16px, 4vw, 48px) 84px; width: 100%;
                    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.aos-hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
                  border: 1px solid rgba(201, 191, 242, 0.35); background: rgba(13, 20, 54, 0.55);
                  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
                  font-size: 13px; font-weight: 600; color: var(--aos-text); }
.aos-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aos-teal);
           box-shadow: var(--aos-teal) 0 0 12px; }
.aos-hero-title { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(42px, 5.6vw, 76px);
                  font-weight: 800; letter-spacing: -0.03em; line-height: 0.98; margin: 0; max-width: 16ch;
                  text-wrap: balance; text-shadow: rgba(13, 20, 54, 0.6) 0 4px 30px; }
.aos-grad-text { background: linear-gradient(90deg, var(--aos-teal), var(--aos-pink)) text; color: transparent; }
.aos-hero-sub { font-size: clamp(17px, 1.6vw, 21px); color: var(--aos-text); max-width: 46ch; margin: 0;
                text-wrap: pretty; text-shadow: rgba(13, 20, 54, 0.7) 0 2px 18px; }
.aos-hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; pointer-events: auto; }

/* ---------- Categories (Find your workout) ---------- */

.aos-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.aos-cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end;
           aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; text-decoration: none;
           color: var(--aos-cream); padding: 10px; background: var(--aos-card); border: 1px solid var(--aos-border); }
.aos-cat-img { position: absolute; inset: 0; background-position: center; background-size: cover;
               background-repeat: no-repeat; background-color: var(--aos-card); }
.aos-cat-sheen { position: absolute; inset: 0;
                 background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.024) 0,
                                                       rgba(255, 255, 255, 0.024) 2px, transparent 2px, transparent 14px); }
.aos-cat-arrow { position: absolute; z-index: 1; top: 10px; right: 10px; width: 30px; height: 30px;
                 border-radius: 50%; display: flex; align-items: center; justify-content: center;
                 color: var(--aos-cream); }
.aos-cat-label { position: relative; align-self: flex-start; display: flex; flex-direction: column;
                 max-width: calc(100% - 40px); max-height: 100%; overflow: hidden;
                 border-radius: 11px; padding: 7px 11px; }
.aos-cat-name { flex-shrink: 0; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; line-height: 1.2; }
.aos-cat-count { flex-shrink: 0; font-size: 12px; font-weight: 500; margin-top: 1px; }
.aos-cat-more { min-height: 0; font-size: 13px; line-height: 1.35; }
.aos-cat-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.aos-cat-fine { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Featured workouts ---------- */

.aos-feat-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.aos-feat-count { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 15px;
                  color: var(--aos-lilac); letter-spacing: 0.04em; min-width: 58px; text-align: right; }
.aos-feat-arrows { display: flex; gap: 8px; }
.aos-round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--aos-border-strong);
                 background: rgba(255, 248, 240, 0.06); color: var(--aos-cream); cursor: pointer;
                 display: flex; align-items: center; justify-content: center; }

.aos-scroller { display: flex; gap: 18px; overflow-x: auto; padding: 8px 0 16px;
                padding-inline: calc(0.5 * (100% - min(100%, 1240px)) + clamp(16px, 4vw, 48px));
                scroll-padding-inline: calc(0.5 * (100% - min(100%, 1240px)) + clamp(16px, 4vw, 48px));
                scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.aos-slide { flex: 0 0 auto; width: 280px; scroll-snap-align: start; }
.aos-slide--wide { width: max(280px, min(84vw, 500px)); }

/* First card (large, play button) */
.aos-feat-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end;
                 height: 100%; min-height: 270px; border-radius: 20px; overflow: hidden;
                 text-decoration: none; color: var(--aos-cream); padding: 10px;
                 background: var(--aos-card); border: 1px solid var(--aos-border); }
.aos-feat-hero-img { position: absolute; inset: 0; background-position: center; background-size: cover;
                     background-repeat: no-repeat; background-color: var(--aos-card); }
.aos-feat-hero-stage { position: relative; flex: 1 1 0%; display: flex; align-items: center;
                       justify-content: center; padding: 34px 0 10px; }
.aos-feat-hero-play { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 248, 240, 0.92);
                      color: var(--aos-navy); display: flex; align-items: center; justify-content: center;
                      box-shadow: rgba(0, 0, 0, 0.4) 0 14px 34px; }
.aos-feat-hero-label { position: relative; align-self: flex-start; max-width: 100%; display: flex;
                       flex-direction: column; border-radius: 12px; padding: 10px 14px; }
.aos-feat-hero-title { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
                       font-size: clamp(20px, 1.8vw, 24px); line-height: 1.15; }
.aos-feat-hero-meta { margin-top: 4px; font-size: 13px; font-weight: 500; }
.aos-feat-hero-sub { margin-top: 2px; font-size: 12px; }
.aos-badge--start { position: absolute; top: 14px; left: 14px; background: var(--aos-teal); color: var(--aos-navy);
                    font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
                    padding: 5px 10px; border-radius: 999px; z-index: 1; }

/* Regular card */
.aos-feat-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none;
                 color: var(--aos-cream); border-radius: 16px; outline: none; }
.aos-feat-thumb { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
                  background-position: center; background-size: cover; background-repeat: no-repeat;
                  background-color: var(--aos-card); display: flex; align-items: center; justify-content: center; }
.aos-feat-thumb-sheen { position: absolute; inset: 0;
                        background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0,
                                                              rgba(255, 255, 255, 0.05) 2px, transparent 2px, transparent 14px); }
.aos-feat-thumb-shade { position: absolute; inset: 0;
                        background: linear-gradient(rgba(13, 20, 54, 0) 45%, rgba(13, 20, 54, 0.75) 100%); }
.aos-badge { position: absolute; top: 10px; left: 10px; background: var(--aos-pink); color: var(--aos-navy);
             font-size: 11px; font-weight: 800; letter-spacing: 0.02em; padding: 3px 8px; border-radius: 999px; }
.aos-feat-len { position: absolute; top: 10px; right: 10px; background: rgba(13, 20, 54, 0.7);
                color: var(--aos-cream); font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; }
.aos-feat-lock { width: 48px; height: 48px; border-radius: 50%; background: rgba(13, 20, 54, 0.6);
                 display: flex; align-items: center; justify-content: center; color: var(--aos-cream);
                 position: relative; z-index: 1; }
.aos-feat-note { position: absolute; left: 10px; bottom: 10px; font-size: 11px; color: rgba(255, 248, 240, 0.85); }
.aos-feat-body { display: flex; flex-direction: column; gap: 4px; }
.aos-feat-title { font-family: "Bricolage Grotesque", sans-serif; font-size: 17px; font-weight: 700; line-height: 1.25; }
.aos-feat-meta { font-size: 13px; color: var(--aos-muted); }

/* Hàng chip "Or choose by mood or goal" */
.aos-mood-row { max-width: 1240px; margin: 4px auto 0; padding: 0 clamp(16px, 4vw, 48px); width: 100%;
                display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.aos-mood-label { font-size: 15px; font-weight: 600; color: var(--aos-lilac); margin-right: 6px; }
.aos-chip { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px;
            border-radius: 999px; border: 1px solid var(--aos-border-strong); background: rgba(255, 248, 240, 0.05);
            color: var(--aos-cream); text-decoration: none; font-weight: 500; font-size: 15px; }
.aos-chip-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.dot-teal   { background: var(--aos-teal); }
.dot-pink   { background: var(--aos-pink); }
.dot-orange { background: var(--aos-orange); }
.dot-lilac  { background: var(--aos-lilac); }
.dot-mint   { background: rgb(94, 240, 200); }
.dot-gold   { background: rgb(255, 194, 107); }

/* ---------- Story (On location across Sydney) ---------- */

.aos-story { background: linear-gradient(var(--aos-navy) 0%, var(--aos-navy-deep) 16%,
                                        var(--aos-navy-deep) 84%, var(--aos-navy) 100%); }
.aos-story-inner { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); width: 100%;
                   display: flex; flex-direction: column; gap: clamp(28px, 3vw, 40px); }
.aos-story-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
                   gap: 40px; align-items: center; background: var(--aos-card); border: 1px solid var(--aos-border);
                   border-radius: 28px; padding: clamp(20px, 3vw, 40px); overflow: hidden; }
.aos-story-media { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden;
                   box-shadow: rgba(0, 0, 0, 0.35) 0 24px 60px; }
.aos-story-media-img { width: 100%; height: 100%;
                       background: url(../images/sf-img-2.jpg) center center / cover no-repeat; }
.aos-story-body { display: flex; flex-direction: column; gap: 18px; }
.aos-story-text { margin: 0; color: var(--aos-text); font-size: 17px; text-wrap: pretty; }
.aos-story-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0;
                   padding-top: 18px; border-top: 1px solid rgba(201, 191, 242, 0.18); }
.aos-stat { display: flex; flex-direction: column-reverse; gap: 4px; }
.aos-stat dt { font-size: 13px; color: var(--aos-muted); }
.aos-stat dd { margin: 0; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800;
               font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.02em; line-height: 1; }
.aos-story-block { display: flex; flex-direction: column; gap: 18px; }
.aos-story-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.aos-tile { aspect-ratio: 16 / 10; }
.aos-cta-section{padding: 0 0 clamp(40px, 5vw, 72px) 0;}

/* ---------- Instructors ---------- */

.aos-inst-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.aos-inst-card { display: flex; flex-direction: column; text-decoration: none; color: var(--aos-cream);
                 border-radius: 22px; overflow: hidden; background: var(--aos-card); border: 1px solid var(--aos-border); }
.aos-inst-photo { display: block; position: relative; aspect-ratio: 4 / 5; background-position: center top;
                  background-size: cover; background-repeat: no-repeat; background-color: var(--aos-card); }
.aos-inst-shade { position: absolute; inset: 0;
                  background: linear-gradient(rgba(13, 20, 54, 0) 55%, rgba(13, 20, 54, 0.85) 100%); }
.aos-inst-badges { position: absolute; left: 16px; bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.aos-inst-badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
                  background: rgba(13, 20, 54, 0.7); border: 1px solid var(--aos-border-strong); }
.aos-inst-badge--teal { background: var(--aos-teal); color: var(--aos-navy); }
.aos-inst-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.aos-inst-name { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 22px; line-height: 1.15; }
.aos-inst-role { font-size: 14px; color: var(--aos-muted); }
.aos-inst-titles { font-size: 13px; color: var(--aos-lilac); }

.aos-inst-strip { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 18px;
                  border-radius: 18px; border: 1px solid var(--aos-border); background: rgba(22, 28, 74, 0.55); }
.aos-inst-avatars { display: flex; }
.aos-inst-avatar { display: block; width: 52px; height: 52px; border-radius: 50%; background-position: center top;
                   background-size: cover; background-repeat: no-repeat; background-color: var(--aos-card);
                   border: 2px solid var(--aos-navy); margin-left: -12px; box-shadow: rgba(0, 0, 0, 0.35) 0 6px 16px; }
.aos-inst-avatar.is-first { margin-left: 0; }
.aos-inst-strip-text { color: var(--aos-text); font-size: 15px; }

/* ---------- Membership plans ---------- */

.aos-plans-head { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.aos-plans-head p { margin: 0; color: var(--aos-muted); max-width: 50ch; }
.aos-plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
                  gap: 20px; max-width: 820px; margin: 0 auto; width: 100%; }
.aos-plan { background: var(--aos-card); border: 1px solid rgba(201, 191, 242, 0.2); border-radius: 24px;
            padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.aos-plan--best { position: relative; background: linear-gradient(160deg, rgb(31, 38, 96), var(--aos-card));
                  border: 1px solid var(--aos-teal); box-shadow: rgba(46, 230, 214, 0.12) 0 20px 50px; }
.aos-plan-badge { position: absolute; top: -13px; left: 24px; background: var(--aos-teal); color: var(--aos-navy);
                  font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.aos-plan-name { font-weight: 600; color: var(--aos-lilac); }
.aos-plan-price { font-family: "Bricolage Grotesque", sans-serif; font-size: 44px; font-weight: 800; letter-spacing: -0.02em; }
.aos-plan-per { color: var(--aos-muted); }
.aos-plan-note { margin: 0; color: var(--aos-muted); font-size: 15px; }
.aos-plan .aos-btn { margin-top: auto; }

.aos-devices { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: center;
               background: var(--aos-card); border: 1px solid var(--aos-border); border-radius: 28px;
               padding: clamp(20px, 3vw, 36px); overflow: hidden; }
.aos-devices-visual { position: relative; aspect-ratio: 16 / 11; }
.aos-devices-glow { position: absolute; inset: 12% 10% 6%;
                    background: radial-gradient(closest-side, rgba(46, 230, 214, 0.28), transparent 72%);
                    filter: blur(28px); }
.aos-device-tv { position: absolute; left: 0; top: 4%; width: 80%; aspect-ratio: 16 / 9; border-radius: 14px;
                 padding: 8px; background: var(--aos-navy-deep); border: 1px solid rgba(201, 191, 242, 0.28);
                 box-shadow: rgba(0, 0, 0, 0.45) 0 30px 60px; }
.aos-device-tv-screen { width: 100%; height: 100%; border-radius: 8px;
                        background: url(../images/aos-035-7c4f30ddd471.jpg) center center / cover no-repeat, var(--aos-card); }
.aos-device-tv-stand { position: absolute; left: 40%; top: 100%; width: 20%; height: 8px;
                       border-radius: 0 0 6px 6px; background: rgba(201, 191, 242, 0.35); }
.aos-device-phone { position: absolute; right: 1%; bottom: 0; width: 24%; aspect-ratio: 9 / 18.5; border-radius: 22px;
                    padding: 6px; background: var(--aos-navy-deep); border: 1px solid rgba(201, 191, 242, 0.4);
                    box-shadow: rgba(0, 0, 0, 0.5) 0 24px 50px; }
.aos-device-phone-screen { width: 100%; height: 100%; border-radius: 16px;
                           background: url(../images/aos-036-104027e0b850.jpg) center center / cover no-repeat, var(--aos-card); }
.aos-devices-body { display: flex; flex-direction: column; gap: 14px; }
.aos-devices-title { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(22px, 2.2vw, 30px);
                     font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.aos-check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px;
                  color: var(--aos-text); font-size: 15px; }
.aos-check-list li { display: flex; gap: 10px; align-items: center; }
.aos-check-dot { width: 22px; height: 22px; border-radius: 50%; background: rgba(46, 230, 214, 0.15);
                 color: var(--aos-teal); display: inline-flex; align-items: center; justify-content: center;
                 font-size: 13px; font-weight: 800; flex: 0 0 auto; }

/* ---------- Community memories ---------- */

.aos-mem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.aos-mem { position: relative; margin: 0; background: var(--aos-card); border: 1px solid var(--aos-border);
           border-radius: 20px; padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.aos-mem-topline { position: absolute; left: 0; right: 0; top: 0; height: 3px; }
.aos-mem-topline.is-teal   { background: linear-gradient(90deg, var(--aos-teal), transparent); }
.aos-mem-topline.is-pink   { background: linear-gradient(90deg, var(--aos-pink), transparent); }
.aos-mem-topline.is-orange { background: linear-gradient(90deg, var(--aos-orange), transparent); }
.aos-mem-mark { font-family: "Bricolage Grotesque", sans-serif; font-size: 56px; line-height: 0.6; opacity: 0.9; }
.aos-mem-mark.is-teal   { color: var(--aos-teal); }
.aos-mem-mark.is-pink   { color: var(--aos-pink); }
.aos-mem-mark.is-orange { color: var(--aos-orange); }
.aos-mem-quote { margin: 0; font-size: 17px; color: var(--aos-text); font-style: italic; line-height: 1.55; }
.aos-mem-caption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--aos-muted); }
.aos-mem-avatar { width: 38px; height: 38px; border-radius: 50%; color: var(--aos-navy); font-weight: 800;
                  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.aos-mem-avatar.grad-teal   { background: linear-gradient(135deg, var(--aos-teal), var(--aos-violet)); }
.aos-mem-avatar.grad-pink   { background: linear-gradient(135deg, var(--aos-pink), var(--aos-violet)); }
.aos-mem-avatar.grad-orange { background: linear-gradient(135deg, var(--aos-orange), var(--aos-violet)); }
.aos-mem-who strong { color: var(--aos-cream); display: block; }

/* ---------- CTA cuối trang ---------- */

.aos-cta-box { position: relative; overflow: hidden; border-radius: 32px;
               background: linear-gradient(135deg, var(--aos-orange) 0%, var(--aos-pink) 50%, var(--aos-violet) 100%);
               padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px); text-align: center;
               display: flex; flex-direction: column; align-items: center; gap: 22px; }
.aos-cta-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.25; }
.aos-cta-shade { position: absolute; inset: 0;
                 background: radial-gradient(72% 85%, rgba(13, 20, 54, 0.6) 0%, rgba(13, 20, 54, 0.42) 55%,
                                             rgba(13, 20, 54, 0.18) 100%); }
.aos-cta-title { position: relative; font-family: "Bricolage Grotesque", sans-serif;
                 font-size: clamp(32px, 4.4vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02;
                 margin: 0; color: var(--aos-cream); text-wrap: balance; }
.aos-cta-sub { position: relative; margin: 0; color: var(--aos-cream); font-size: 18px; max-width: 48ch; }
.aos-cta-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Nav active (current page on the header) ---------- */

.aos-hdr-nav a.aos-nav-active { color: var(--aos-teal); }

/* ---------- Menu mobile/tablet (hamburger + drawer + overlay) ---------- */

/* Hamburger — hidden on desktop, shown from 1024px down (see @media at the end of the file) */
.aos-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--aos-border-strong);
              border-radius: 10px; background: rgba(255, 248, 240, 0.06); color: var(--aos-cream);
              cursor: pointer; flex-direction: column; align-items: center; justify-content: center;
              gap: 4px; padding: 0; flex: 0 0 auto; }
.aos-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

/* Drawer: full height, 90% wide, slides in from the right */
.aos-menu { position: fixed; top: 0; right: 0; z-index: 70;
            height: 100vh; height: 100dvh; width: 90%;
            display: flex; flex-direction: column; overflow-y: auto;
            background: linear-gradient(180deg, var(--aos-navy), var(--aos-navy-deep));
            border-left: 1px solid var(--aos-border);
            box-shadow: rgba(0, 0, 0, 0.5) -24px 0 60px;
            transform: translateX(102%);
            transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
.aos-menu.is-open { transform: none; }

/* Dim overlay over the content below */
.aos-menu-overlay { position: fixed; inset: 0; z-index: 60;
                    background: rgba(10, 15, 44, 0.62);
                    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
                    opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.aos-menu-overlay.is-open { opacity: 1; pointer-events: auto; }

/* Khoá scroll trang khi menu mở */
body.aos-menu-lock { overflow: hidden; }

.aos-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
                 padding: 14px 18px; border-bottom: 1px solid var(--aos-border); }
.aos-menu-close { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--aos-border-strong);
                  background: rgba(255, 248, 240, 0.06); color: var(--aos-cream); cursor: pointer;
                  display: flex; align-items: center; justify-content: center; }

.aos-menu-nav { display: flex; flex-direction: column; gap: 2px; padding: 14px 12px; }
.aos-menu-nav a { display: flex; align-items: center; gap: 12px; color: var(--aos-cream);
                  text-decoration: none; font-weight: 600; font-size: 18px; line-height: 1.2;
                  padding: 13px 14px; border-radius: 12px; }
.aos-menu-nav a:hover, .aos-menu-nav a:focus-visible { background: rgba(255, 248, 240, 0.06); }
.aos-menu-nav a.aos-nav-active { color: var(--aos-teal); }

.aos-menu-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px;
                 padding: 18px 16px 24px; border-top: 1px solid var(--aos-border); }
.aos-menu-foot .aos-btn { width: 100%; }
.aos-btn--menu { min-height: 50px; font-size: 16px; font-weight: 700; }
.aos-menu-foot-link { text-align: center; color: var(--aos-lilac); text-decoration: none;
                      font-weight: 500; padding: 10px; border-radius: 10px; }
.aos-menu-foot-link:hover { color: var(--aos-cream); background: rgba(255, 248, 240, 0.06); }

/* ---------- Khung trang con (categories / gallery / instructors) ---------- */

.aos-page { max-width: 1240px; margin: 0 auto; padding: 48px clamp(16px, 4vw, 48px) 96px;
            width: 100%; display: flex; flex-direction: column; gap: 28px; }
.aos-page-hero { display: flex; flex-direction: column; gap: 10px; }
.aos-page-title { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(34px, 4vw, 52px);
                  font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
.aos-page-lead { margin: 0; color: var(--aos-muted); font-size: 17px; }

/* ---------- Filter pills (gallery / instructors) ---------- */

/* Items hidden via the hidden attribute (JS filter) — must be re-declared because
   the display:flex below overrides the default display:none of [hidden] */
[data-aos-filter-items] [hidden] { display: none; }

.aos-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.aos-pills-label { font-size: 14px; font-weight: 600; color: var(--aos-lilac); margin-right: 6px; }
.aos-pill { min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
            border: 1px solid rgba(201, 191, 242, 0.35); background: rgba(255, 248, 240, 0.06);
            color: var(--aos-cream); font-size: 14px; font-weight: 500; }
.aos-pill:hover { border-color: var(--aos-border-strong); }
.aos-pill.is-active { border-color: var(--aos-teal); background: var(--aos-teal); color: var(--aos-navy); }
.aos-pill--sm { min-height: 40px; }

/* ---------- Trang Categories ---------- */

.aos-cpg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.aos-cpg-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none;
                color: var(--aos-cream); background: var(--aos-card); border: 1px solid var(--aos-border);
                border-radius: 22px; overflow: hidden; }
.aos-cpg-media { display: block; aspect-ratio: 16 / 9; position: relative; overflow: hidden;
                 background-position: center; background-size: cover; background-repeat: no-repeat;
                 background-color: var(--aos-card); }
.aos-cpg-media::after { content: ""; position: absolute; inset: 0;
                        background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0,
                                                              rgba(255, 255, 255, 0.05) 2px, transparent 2px, transparent 14px); }
.aos-cpg-body { display: flex; flex-direction: column; gap: 6px; padding: 0 20px 20px; }
.aos-cpg-name { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 22px; line-height: 1.2; }
.aos-cpg-desc { color: var(--aos-muted); font-size: 15px; }
.aos-cpg-meta { color: var(--aos-lilac); font-size: 13px; font-weight: 600; }

/* ---------- Trang Gallery ---------- */

.aos-gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
                grid-auto-rows: 200px; grid-auto-flow: dense; gap: 14px; }
.aos-gal-tile { position: relative; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer;
                padding: 0; text-align: left; color: var(--aos-cream); display: flex; align-items: flex-end;
                background-color: var(--aos-card); }
.aos-gal-tile--wide { grid-column: auto / span 2; }
.aos-gal-tile:focus-visible { outline: 2px solid var(--aos-teal); outline-offset: 2px; }
.aos-gal-img { position: absolute; inset: 0; background-position: center; background-size: cover;
               background-repeat: no-repeat; background-color: var(--aos-card); }
.aos-gal-stripes { position: absolute; inset: 0;
                   background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0,
                                                         rgba(255, 255, 255, 0.05) 2px, transparent 2px, transparent 14px); }
.aos-gal-shade { position: absolute; inset: 0;
                 background: linear-gradient(rgba(13, 20, 54, 0) 50%, rgba(13, 20, 54, 0.85)); }
.aos-gal-cap { position: relative; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.aos-gal-cap-t { font-weight: 600; font-size: 14px; }
.aos-gal-cap-s { font-size: 12px; color: var(--aos-lilac); }

/* Lightbox */
.aos-lightbox { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; }
.aos-lightbox[hidden] { display: none; }
.aos-lightbox-backdrop { position: absolute; inset: 0; background: rgba(10, 15, 44, 0.92); }
.aos-lightbox-box { position: relative; max-width: min(1100px, 92vw); max-height: 86vh; margin: 0;
                    display: flex; flex-direction: column; gap: 14px; }
.aos-lightbox-img { display: block; margin: 0 auto; max-width: 100%; max-height: 72vh; object-fit: contain;
                    border-radius: 14px; }
.aos-lightbox-cap { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.aos-lightbox-title { color: var(--aos-cream); font-weight: 600; font-size: 15px; }
.aos-lightbox-sub { color: var(--aos-lilac); font-size: 13px; }
.aos-lightbox-close, .aos-lightbox-nav { position: absolute; width: 46px; height: 46px; border-radius: 50%;
                                         border: 1px solid var(--aos-border-strong); background: rgba(255, 248, 240, 0.08);
                                         color: var(--aos-cream); cursor: pointer;
                                         display: flex; align-items: center; justify-content: center; }
.aos-lightbox-close { top: 18px; right: 18px; }
.aos-lightbox-nav { top: 50%; transform: translateY(-50%); }
.aos-lightbox-prev { left: 18px; }
.aos-lightbox-next { right: 18px; }
.aos-lightbox-close:hover, .aos-lightbox-nav:hover { background: rgba(255, 248, 240, 0.16); }

/* ---------- Trang Instructors ---------- */

.aos-instp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.aos-instp-card { display: flex; flex-direction: column; gap: 12px; background: var(--aos-card);
                  border: 1px solid var(--aos-border); border-radius: 22px; overflow: hidden; }
.aos-instp-photo { display: block; aspect-ratio: 4 / 5; background-position: center top;
                   background-size: cover; background-repeat: no-repeat; background-color: var(--aos-card); }
.aos-instp-body { display: flex; flex-direction: column; gap: 4px; padding: 0 20px 20px; }
.aos-instp-name { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 21px; line-height: 1.2; }
.aos-instp-role { color: var(--aos-teal); font-size: 14px; font-weight: 600; }
.aos-instp-bio { color: var(--aos-text); font-size: 15px; }
.aos-instp-meta { color: var(--aos-muted); font-size: 13px; margin-top: 6px; }

/* ---------- Trang Workout Library (products.php) ---------- */

.aos-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.aos-search { display: flex; align-items: center; gap: 10px; flex: 1 1 300px; max-width: 520px;
              min-height: 52px; padding: 0 18px; border-radius: 999px;
              background: var(--aos-card); border: 1px solid var(--aos-border-strong); color: var(--aos-muted); }
.aos-search input { flex: 1 1 0%; min-width: 0; border: 0; outline: none; background: transparent;
                    color: var(--aos-cream); font: inherit; }
.aos-search input::placeholder { color: var(--aos-muted); }
.aos-sort { display: flex; align-items: center; gap: 10px; color: var(--aos-lilac);
            font-size: 14px; font-weight: 600; }
.aos-sort select { min-height: 52px; padding: 0 18px; border-radius: 999px; cursor: pointer;
                   background: var(--aos-card); border: 1px solid var(--aos-border-strong);
                   color: var(--aos-cream); font: inherit; }
.aos-sort select:focus-visible { outline: 2px solid var(--aos-teal); }
.aos-btn--lib-apply { min-height: 52px; padding: 0 22px; }

.aos-filter-panel { background: var(--aos-card); border: 1px solid var(--aos-border);
                    border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.aos-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.aos-filter-label { min-width: 110px; color: var(--aos-lilac); font-weight: 600; font-size: 14px; }
.aos-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.aos-fchip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
             border-radius: 999px; border: 1px solid var(--aos-border-strong);
             background: rgba(255, 248, 240, 0.06); color: var(--aos-cream);
             font-size: 14px; font-weight: 500; text-decoration: none; }
.aos-fchip:hover { border-color: var(--aos-teal); }
.aos-fchip.is-active { border-color: var(--aos-teal); background: var(--aos-teal);
                       color: var(--aos-navy); font-weight: 700; }

.aos-results-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.aos-results-row p { margin: 0; color: var(--aos-muted); font-size: 15px; }
.aos-results-row > span[aria-hidden] { color: var(--aos-muted); }
.aos-applied-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px;
                    padding: 0 6px 0 12px; border-radius: 999px; background: var(--aos-lilac);
                    color: var(--aos-navy); font-size: 13px; font-weight: 600; }
.aos-applied-chip a { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px;
                      border-radius: 50%; border: 0; background: transparent; color: var(--aos-navy);
                      font-size: 15px; font-weight: 800; line-height: 1; text-decoration: none; }
.aos-applied-chip a:hover { background: rgba(13, 20, 54, 0.15); }
.aos-clear-all { color: var(--aos-teal); font-weight: 600; font-size: 14px; text-decoration: none; }

.aos-vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 24px 18px; }

.aos-empty { background: var(--aos-card); border: 1px solid var(--aos-border); border-radius: 20px;
             padding: 40px 24px; text-align: center; color: var(--aos-muted); display: flex;
             flex-direction: column; gap: 8px; }
.aos-empty p { margin: 0; }

.aos-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.aos-page-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px;
                 min-width: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--aos-border-strong);
                 background: rgba(255, 248, 240, 0.06); color: var(--aos-cream); font-size: 14px;
                 font-weight: 600; text-decoration: none; }
.aos-page-link:hover { border-color: var(--aos-teal); }
.aos-page-link.is-current { background: var(--aos-teal); border-color: var(--aos-teal);
                            color: var(--aos-navy); font-weight: 800; }
.aos-page-link.is-disabled { opacity: 0.4; pointer-events: none; }
.aos-page-ellipsis { color: var(--aos-muted); padding: 0 4px; }

/* ---------- Shared video card (library / category / related) ---------- */

.aos-vcard { display: flex; flex-direction: column; gap: 10px; text-decoration: none;
             color: var(--aos-cream); border-radius: 16px; outline: none;
             transition: transform 0.2s ease, box-shadow 0.2s ease; }
.aos-vcard:hover { transform: translateY(-2px); box-shadow: rgba(0, 0, 0, 0.28) 0 18px 42px; }
.aos-vcard:focus-visible { box-shadow: 0 0 0 3px var(--aos-teal); }
.aos-vcard-thumb { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
                   background-position: center; background-size: cover; background-repeat: no-repeat;
                   background-color: var(--aos-card); display: flex; align-items: center; justify-content: center; }
.aos-vcard-sheen { position: absolute; inset: 0;
                   background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0,
                                                         rgba(255, 255, 255, 0.05) 2px, transparent 2px, transparent 14px); }
.aos-vcard-shade { position: absolute; inset: 0;
                   background: linear-gradient(rgba(13, 20, 54, 0) 45%, rgba(13, 20, 54, 0.75) 100%); }
.aos-vcard-len { position: absolute; top: 10px; right: 10px; background: rgba(13, 20, 54, 0.7);
                 color: var(--aos-cream); font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; }
.aos-vcard-lock { width: 48px; height: 48px; border-radius: 50%; background: rgba(13, 20, 54, 0.6);
                  display: flex; align-items: center; justify-content: center; color: var(--aos-cream);
                  position: relative; z-index: 1; }
.aos-vcard-note { position: absolute; left: 10px; bottom: 10px; font-size: 11px; color: rgba(255, 248, 240, 0.85); }
.aos-vcard-body { display: flex; flex-direction: column; gap: 4px; }
.aos-vcard-title { font-family: "Bricolage Grotesque", sans-serif; font-size: 17px; font-weight: 700; line-height: 1.25; }
.aos-vcard-meta { font-size: 13px; color: var(--aos-muted); }

/* ---------- Trang chi tiết video (products.php?id=) ---------- */

.aos-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.aos-breadcrumb a { color: var(--aos-muted); text-decoration: none; }
.aos-breadcrumb a:hover { color: var(--aos-teal); }
.aos-breadcrumb > span[aria-hidden] { color: var(--aos-muted); }
.aos-breadcrumb > span[aria-current] { color: var(--aos-cream); font-weight: 600; }

.aos-vdetail { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
               gap: 40px; align-items: start; }
.aos-vdetail-info { display: flex; flex-direction: column; gap: 18px; }
.aos-vdetail-desc { margin: 0; color: var(--aos-text); font-size: 17px; line-height: 1.6; }

.aos-meta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px;
                 margin: 0; padding: 18px 0; border-top: 1px solid var(--aos-border);
                 border-bottom: 1px solid var(--aos-border); }
.aos-meta-grid dt { font-size: 13px; color: var(--aos-muted); }
.aos-meta-grid dd { margin: 4px 0 0; font-family: "Bricolage Grotesque", sans-serif;
                    font-weight: 700; font-size: 16px; }
.aos-meta-grid a { color: var(--aos-cream); text-decoration: none; }
.aos-meta-grid a:hover { color: var(--aos-teal); }

.aos-safety { display: flex; gap: 12px; align-items: flex-start; background: var(--aos-card);
              border: 1px solid var(--aos-border); border-radius: 16px; padding: 16px 18px; }
.aos-safety p { margin: 0; color: var(--aos-muted); font-size: 14px; line-height: 1.55; }
.aos-safety strong { color: var(--aos-cream); }
.aos-safety-mark { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
                   background: rgba(255, 122, 89, 0.18); color: var(--aos-orange); font-weight: 800;
                   display: inline-flex; align-items: center; justify-content: center; }

.aos-vdetail-media { display: flex; flex-direction: column; gap: 18px; }
.aos-preview { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden;
               background-position: center; background-size: cover; background-repeat: no-repeat;
               background-color: var(--aos-card); display: flex; align-items: center; justify-content: center; }
.aos-preview-pill { position: relative; z-index: 1; background: rgba(13, 20, 54, 0.7);
                    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
                    padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 700;
                    color: var(--aos-cream); }
.aos-preview-cap { position: absolute; left: 14px; bottom: 12px; z-index: 1; font-size: 12px;
                   color: rgba(255, 248, 240, 0.85); }
.aos-player { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden;
              background: #000; border: 1px solid var(--aos-border); }
.aos-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.aos-member-box { background: var(--aos-card); border: 1px solid rgba(201, 191, 242, 0.2);
                  border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.aos-member-box h2 { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(22px, 2.2vw, 28px);
                     font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.aos-member-box > p { margin: 0; color: var(--aos-muted); font-size: 15px; line-height: 1.55; }
.aos-member-prices { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline;
                     color: var(--aos-muted); font-size: 14px; }
.aos-member-prices strong { font-family: "Bricolage Grotesque", sans-serif; font-size: 26px;
                            font-weight: 800; letter-spacing: -0.02em; color: var(--aos-cream); }
.aos-member-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.aos-member-actions .aos-btn { flex: 1 1 0%; min-height: 48px; padding: 0 20px; }
.aos-member-signin { margin: 0; font-size: 13px; color: var(--aos-muted); }
.aos-member-signin a { color: var(--aos-teal); font-weight: 600; text-decoration: none; }

.aos-vrelated { display: flex; flex-direction: column; gap: 20px; }

/* ---------- Trang chi tiết danh mục (category.php) ---------- */

.aos-catp { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 56px); padding-bottom: 96px; }
.aos-catp-sec { display: flex; flex-direction: column; gap: 24px; }

.aos-cat-hero { position: relative; overflow: hidden; display: flex; align-items: flex-end;
                min-height: clamp(340px, 44vw, 520px);
                background: linear-gradient(140deg, rgb(255, 194, 107) 0%, rgb(255, 106, 136) 50%, rgb(91, 42, 134) 100%); }
.aos-cat-hero-bg { position: absolute; inset: 0; background-position: center; background-size: cover;
                   background-repeat: no-repeat; }
.aos-cat-hero-shade { position: absolute; inset: 0;
                      background: linear-gradient(rgba(13, 20, 54, 0.3), rgba(13, 20, 54, 0.9)); }
.aos-cat-hero-grid { position: relative; display: grid;
                     grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
                     align-items: end; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
.aos-cat-hero-body { display: flex; flex-direction: column; gap: 14px; }
.aos-cat-hero-lead { margin: 0; max-width: 52ch; color: var(--aos-text); font-size: 17px; text-wrap: pretty; }
.aos-back-link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
                 color: rgba(255, 248, 240, 0.85); text-decoration: none; font-weight: 600; font-size: 15px; }
.aos-back-link:hover { color: var(--aos-teal); }
.aos-cat-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px;
                 margin: 8px 0 0; padding-top: 16px; border-top: 1px solid rgba(201, 191, 242, 0.25); }
.aos-cat-stats dt { font-size: 13px; color: var(--aos-muted); }
.aos-cat-stats dd { margin: 4px 0 0; font-family: "Bricolage Grotesque", sans-serif;
                    font-weight: 700; font-size: 17px; }
.aos-cat-hero-photo { aspect-ratio: 4 / 3; max-width: 480px; width: 100%; justify-self: end;
                      border-radius: 20px; overflow: hidden; box-shadow: rgba(0, 0, 0, 0.35) 0 30px 60px;
                      border: 1px solid rgba(201, 191, 242, 0.2); }
.aos-cat-hero-photo-img { display: block; width: 100%; height: 100%;
                          background-position: center; background-size: cover; background-repeat: no-repeat; }

.aos-rel-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.aos-rel-tiles a { position: relative; display: flex; align-items: flex-end; aspect-ratio: 16 / 9;
                   border-radius: 16px; overflow: hidden; text-decoration: none;
                   background-position: center; background-size: cover; background-repeat: no-repeat;
                   background-color: var(--aos-card); border: 1px solid var(--aos-border); }
.aos-rel-tile-label { margin: 10px; padding: 7px 12px; border-radius: 10px;
                      font-family: "Bricolage Grotesque", sans-serif; font-size: 16px; font-weight: 700; }

.aos-catp-cta { background: var(--aos-card); border: 1px solid var(--aos-border); border-radius: 24px;
                padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px;
                align-items: flex-start; }
.aos-catp-cta p { margin: 0; color: var(--aos-muted); font-size: 17px; }

/* ---------- Trang Legal (legal.php?p=…) ---------- */

.aos-legal-grid { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
                  gap: 32px; align-items: start; }

/* Left menu: sticky under the header on desktop, a horizontally scrollable chip row on mobile */
.aos-legal-nav { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 4px; }
.aos-legal-nav a { padding: 10px 12px; border-radius: 10px; text-decoration: none;
                   color: var(--aos-muted); font-size: 15px; font-weight: 500; line-height: 1.35; }
.aos-legal-nav a:hover, .aos-legal-nav a:focus-visible { color: var(--aos-cream);
                   background: rgba(255, 248, 240, 0.06); }
.aos-legal-nav a.aos-legal-nav-active { color: var(--aos-teal); background: rgba(46, 230, 214, 0.08); }

/* Article: cream card like the reference design */
.aos-legal-article { background: var(--aos-cream); color: #2b2a45; border-radius: 24px;
                     padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 24px; }
.aos-legal-title { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(30px, 3.5vw, 44px);
                   font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0;
                   color: var(--aos-navy); }
.aos-legal-article section { display: flex; flex-direction: column; gap: 8px; }
.aos-legal-article h2 { font-family: "Bricolage Grotesque", sans-serif; font-size: 22px;
                        font-weight: 700; margin: 0; color: var(--aos-navy); }
.aos-legal-article p { margin: 0; font-size: 16px; line-height: 1.7; max-width: 66ch;
                       color: rgba(43, 42, 69, 0.85); }
.aos-legal-article a { color: var(--aos-violet); font-weight: 600; text-decoration: none; }
.aos-legal-article a:hover { text-decoration: underline; }

.aos-legal-article .aos-legal-draft { padding: 12px 16px; border: 2px dashed rgba(43, 42, 69, 0.35);
                                      border-radius: 12px; font-size: 14px; }
.aos-legal-article .aos-legal-updated { padding-top: 16px; border-top: 1px solid rgba(43, 42, 69, 0.15);
                                        font-size: 13px; color: rgba(43, 42, 69, 0.6); }

@media (max-width: 960px) {
    .aos-legal-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .aos-legal-nav { position: static; flex-direction: row; flex-wrap: nowrap; overflow-x: auto;
                     padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
    .aos-legal-nav a { flex: 0 0 auto; white-space: nowrap; border: 1px solid var(--aos-border);
                       border-radius: 999px; background: rgba(255, 248, 240, 0.06); }
    .aos-legal-nav a.aos-legal-nav-active { border-color: var(--aos-teal); }
}

/* ---------- Responsive nhỏ ---------- */

/* Tablet (<= 1024px): hide the horizontal nav + Sign In/CTA buttons, show the hamburger —
   those items all move into the drawer (components/mobile-menu.php) */
@media (max-width: 1024px) {
    .aos-hdr-nav { display: none; }
    .aos-hdr-link,
    .aos-hdr-actions .aos-btn--hdr { display: none; }
    .aos-burger { display: flex; }
}

/* Mobile (<= 640px) */
@media (max-width: 640px) {
    .aos-hdr-inner { min-height: 60px; }
    .aos-story-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .aos-devices { grid-template-columns: 1fr; }
    .aos-gal-tile--wide { grid-column: auto; }   /* 1-column grid: wide tile back to normal width */
}

/* ==========================================================================
   New single pages (10/2026): Pricing / Our Story / Help Centre / Contact
   ========================================================================== */

/* ---------- FAQ accordion dùng chung (pricing.php / help.php) ---------- */

.aos-faq { display: flex; flex-direction: column; border-top: 1px solid rgba(201, 191, 242, 0.2); }
.aos-faq-item { border-bottom: 1px solid rgba(201, 191, 242, 0.2); }
.aos-faq-item[hidden] { display: none; }
.aos-faq-q { display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
             padding: 18px 0; cursor: pointer; list-style: none;
             color: var(--aos-cream); font-weight: 600; font-size: 16.5px; }
.aos-faq-q::-webkit-details-marker { display: none; }
.aos-faq-q .aos-faq-mark { color: var(--aos-teal); font-weight: 400; font-size: 22px; line-height: 1;
                           flex: 0 0 auto; transition: transform 0.15s ease; }
.aos-faq-item[open] > .aos-faq-q .aos-faq-mark { transform: rotate(45deg); }   /* "+" xoay thành "×" */
.aos-faq-a { margin: 0 0 18px; color: var(--aos-text); font-size: 15px; line-height: 1.6; max-width: 64ch; }
.aos-faq-a a { color: var(--aos-teal); font-weight: 600; }

/* ---------- Trang Pricing (pricing.php) ---------- */

.aos-pricing-hero { text-align: center; align-items: center; gap: 12px; }
.aos-pricing-hero .aos-page-lead { max-width: 62ch; }
.aos-page--pricing { gap: 48px; }

.aos-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
                  gap: 20px; max-width: 820px; margin: 0 auto; width: 100%; }
.aos-price-card { position: relative; background: var(--aos-card);
                  border: 1px solid rgba(201, 191, 242, 0.2); border-radius: 24px; padding: 32px;
                  display: flex; flex-direction: column; gap: 16px; }
.aos-price-card--best { background: linear-gradient(160deg, rgb(31, 38, 96), var(--aos-card));
                        border-color: var(--aos-teal); box-shadow: rgba(46, 230, 214, 0.12) 0 20px 50px; }
.aos-price-badge { position: absolute; top: -13px; left: 24px; background: var(--aos-teal);
                   color: var(--aos-navy); font-size: 13px; font-weight: 700; padding: 4px 12px;
                   border-radius: 999px; }
.aos-price-name { font-family: "Bricolage Grotesque", sans-serif; font-size: 22px; font-weight: 700; margin: 0; }
.aos-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.aos-price-big { font-family: "Bricolage Grotesque", sans-serif; font-size: 48px; font-weight: 800;
                 letter-spacing: -0.02em; }
.aos-price-per { color: var(--aos-muted); }
.aos-price-note { margin: 0; color: var(--aos-muted); font-size: 15px; line-height: 1.55; }
.aos-price-cta { margin-top: auto; padding-top: 8px; }
.aos-price-cta .aos-btn { width: 100%; }

.aos-price-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
                      gap: 20px; max-width: 1000px; margin: 0 auto; width: 100%; }
.aos-price-inc { background: var(--aos-cream); color: var(--aos-navy); border-radius: 22px; padding: 28px;
                 display: flex; flex-direction: column; gap: 16px; }
.aos-price-inc-title { font-family: "Bricolage Grotesque", sans-serif; font-size: 22px; font-weight: 700; margin: 0; }
.aos-price-inc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px;
                      font-size: 15px; color: rgba(13, 20, 54, 0.85); }
.aos-price-inc-list li { display: flex; gap: 10px; align-items: center; }
.aos-inc-dot { width: 22px; height: 22px; border-radius: 50%; background: rgba(46, 230, 214, 0.25);
               color: #0f766e; display: inline-flex; align-items: center; justify-content: center;
               font-size: 13px; font-weight: 800; flex: 0 0 auto; }
.aos-price-details { background: var(--aos-card); border: 1px solid var(--aos-border); border-radius: 22px;
                     padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.aos-price-dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.aos-price-dl > div { display: flex; flex-direction: column; gap: 3px; }
.aos-price-dl dt { font-size: 13px; font-weight: 700; color: var(--aos-lilac); letter-spacing: 0.02em; }
.aos-price-dl dd { margin: 0; color: var(--aos-text); font-size: 15px; }
.aos-price-fine { margin: 0; font-size: 13px; color: var(--aos-muted); }
.aos-price-fine a { color: var(--aos-teal); }

.aos-price-faq { max-width: 820px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 16px; }
.aos-price-faq-more { margin: 0; }

/* ---------- Our Story page (about.php) — dedicated aos-osp- prefix ---------- */

.aos-page--story { gap: clamp(56px, 7vw, 96px); }

.aos-osp-hero { display: flex; flex-direction: column; gap: 24px; padding-top: clamp(8px, 2vw, 24px); }
.aos-osp-title { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(36px, 5vw, 62px);
                 font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; margin: 0; max-width: 20ch;
                 text-wrap: balance; }
.aos-osp-lead { margin: 0; color: var(--aos-text); font-size: clamp(17px, 1.6vw, 19px);
                max-width: 62ch; text-wrap: pretty; }
.aos-osp-hero-img { aspect-ratio: 21 / 9; border-radius: 24px; overflow: hidden; border: 1px solid var(--aos-border);
                    background-position: center; background-size: cover; background-repeat: no-repeat;
                    background-color: var(--aos-card); }

.aos-osp-timeline { display: flex; flex-direction: column; gap: 28px; }
.aos-osp-tl { list-style: none; margin: 0; padding: 0; display: grid;
              grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px 20px;
              border-top: 2px solid rgba(201, 191, 242, 0.2); }
.aos-osp-tl-item { position: relative; display: flex; flex-direction: column; gap: 6px; padding-top: 18px; }
.aos-osp-tl-item::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px;
                           border-radius: 50%; background: var(--aos-teal); }
.aos-osp-tl-year { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 22px;
                   color: var(--aos-teal); letter-spacing: -0.01em; }
.aos-osp-tl-title { font-weight: 600; font-size: 15px; }
.aos-osp-tl-text { margin: 0; color: var(--aos-muted); font-size: 14px; line-height: 1.5; }

.aos-osp-sections { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 80px); }
.aos-osp-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.aos-osp-row--rev { flex-direction: row-reverse; }
.aos-osp-media { position: relative; flex: 1 1 380px; margin: 0; aspect-ratio: 4 / 3; border-radius: 22px;
                 overflow: hidden; border: 1px solid var(--aos-border); }
.aos-osp-media-img { position: absolute; inset: 0; background-position: center; background-size: cover;
                     background-repeat: no-repeat; background-color: var(--aos-card); }
.aos-osp-stripes { position: absolute; inset: 0;
                   background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0,
                                                         rgba(255, 255, 255, 0.05) 2px, transparent 2px, transparent 14px); }
.aos-osp-cap { position: absolute; left: 16px; bottom: 14px; font-size: 13px; color: var(--aos-cream);
               background: rgba(13, 20, 54, 0.55); padding: 4px 10px; border-radius: 999px;
               -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.aos-osp-copy { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; }

.aos-osp-cta { background: var(--aos-card); border: 1px solid var(--aos-border); border-radius: 24px;
               padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
               gap: 20px; }
.aos-osp-cta-copy { display: flex; flex-direction: column; gap: 8px; }
.aos-osp-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Trang Help Centre (help.php) ---------- */

.aos-page--help { max-width: 920px; gap: 32px; }
.aos-help-head { display: flex; flex-direction: column; gap: 12px; }
.aos-help-search { display: flex; align-items: center; max-width: 560px; }
.aos-help-search input { width: 100%; min-height: 52px; padding: 12px 18px; border-radius: 999px;
                         border: 1px solid var(--aos-border-strong); background: var(--aos-card);
                         color: var(--aos-cream); font: inherit; outline: none; }
.aos-help-search input:focus-visible { border-color: var(--aos-teal); }
.aos-help-search input::placeholder { color: var(--aos-muted); }
.aos-help-groups { display: flex; flex-direction: column; gap: 32px; }
.aos-help-group { display: flex; flex-direction: column; gap: 6px; }
.aos-help-group[hidden] { display: none; }        /* flex overrides the default [hidden] */
.aos-help-group-title { font-family: "Bricolage Grotesque", sans-serif; font-size: 22px; font-weight: 700;
                        margin: 0 0 6px; letter-spacing: -0.01em; }
.aos-help-empty { margin: 0; color: var(--aos-muted); background: var(--aos-card);
                  border: 1px solid var(--aos-border); border-radius: 16px; padding: 20px; }
.aos-help-empty a { color: var(--aos-teal); }
.aos-help-stuck { background: var(--aos-card); border: 1px solid var(--aos-border); border-radius: 22px;
                  padding: 24px; display: flex; flex-wrap: wrap; justify-content: space-between;
                  align-items: center; gap: 14px; }
.aos-help-stuck .aos-story-text { margin: 0; }

/* ---------- Trang Contact (contact.php) ---------- */

.aos-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
                    gap: 40px; align-items: start; }
.aos-contact-info { display: flex; flex-direction: column; gap: 20px; }
.aos-contact-dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.aos-contact-dl > div { display: flex; flex-direction: column; gap: 3px; }
.aos-contact-dl dt { font-size: 13px; font-weight: 700; color: var(--aos-lilac); letter-spacing: 0.02em; }
.aos-contact-dl dd { margin: 0; color: var(--aos-text); font-size: 16px; }
.aos-contact-dl a { color: var(--aos-teal); text-decoration: none; overflow-wrap: anywhere; }
.aos-contact-note { margin: 0; color: var(--aos-muted); font-size: 14px; }
.aos-contact-note a { color: var(--aos-teal); }

.aos-contact-form-card { background: var(--aos-card); border: 1px solid var(--aos-border);
                         border-radius: 24px; padding: 28px; }
#aos-contact-form { display: flex; flex-direction: column; gap: 16px; }
.aos-field { display: flex; flex-direction: column; gap: 7px; }
.aos-field > span { font-size: 14px; font-weight: 600; color: var(--aos-cream); }
.aos-field input, .aos-field select, .aos-field textarea {
    width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
    border: 1px solid var(--aos-border-strong); background: var(--aos-navy);
    color: var(--aos-cream); font: inherit; outline: none; }
.aos-field select { cursor: pointer; }
.aos-field textarea { min-height: 0; resize: vertical; }
.aos-field input:focus-visible, .aos-field select:focus-visible, .aos-field textarea:focus-visible {
    border-color: var(--aos-teal); }
.aos-field-err { margin: 0; font-size: 13px; color: var(--aos-orange); }
.aos-contact-spam-note { margin: 0; font-size: 13px; color: var(--aos-muted); }

/* Captcha row: 4-character image + input — click the image for a new code (JS in pages/contact.php) */
.aos-captcha-row { display: flex; align-items: center; gap: 10px; }
.aos-captcha-row img { display: block; border-radius: 10px; border: 1px solid var(--aos-border-strong);
                       cursor: pointer; flex: 0 0 auto; }
.aos-captcha-row input { width: 120px; flex: 0 0 auto; text-transform: uppercase;
                         letter-spacing: 0.25em; font-weight: 700; text-align: center; }

.aos-honeypot { position: absolute; left: -9999px; }   /* a real user never sees it — only bots fill it */
.aos-contact-submit { min-height: 52px; font-weight: 700; font-size: 16px; cursor: pointer; border: 0; }
.aos-contact-submit:disabled { opacity: 0.6; cursor: wait; }
.aos-contact-done { display: flex; flex-direction: column; gap: 10px; padding: 12px 4px; }
.aos-contact-done[hidden] { display: none; }      /* flex overrides the default [hidden] */
.aos-contact-done-title { font-family: "Bricolage Grotesque", sans-serif; font-size: 26px; font-weight: 700;
                          margin: 0; color: var(--aos-teal); }
.aos-contact-done a { color: var(--aos-teal); }

/* Responsive rules for the group of pages above */
@media (max-width: 720px) {
    .aos-osp-row--rev { flex-direction: row; }    /* mobile: image on top, text below — normal order */
    .aos-osp-hero-img { aspect-ratio: 16 / 9; }
    .aos-contact-grid { gap: 28px; }
    .aos-price-card { padding: 24px; }
}

/* ==========================================================================
   Auth pages (Sign in / Register / Forgot / Reset)
   Ported from SingleFile mockups (Sign-in.html, Register-step-1/2.html,
   Forgot-form.html) — original inline styles converted to classes using the
   same design tokens as the rest of the template.
   ========================================================================== */

/* ---------- Centered shell (Sign in / Forgot / Reset) ---------- */

.aos-auth { flex: 1 1 0%; display: flex; align-items: center; justify-content: center;
            padding: 48px clamp(16px, 4vw, 48px) 96px; }
.aos-auth--register { align-items: flex-start; }   /* long page — do not center vertically */

.aos-auth-card { width: 100%; max-width: 440px; background: var(--aos-card);
                 border: 1px solid var(--aos-border); border-radius: 24px; padding: 36px;
                 display: flex; flex-direction: column; gap: 18px; }

.aos-auth-card .aos-hdr-logo { align-self: flex-start; }   /* reuse header logo + brand */

.aos-auth-title { font-family: "Bricolage Grotesque", sans-serif; font-size: 32px; font-weight: 800;
                  letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.aos-auth-lead  { margin: -8px 0 0; color: var(--aos-muted); font-size: 15px; }

.aos-auth-form { display: flex; flex-direction: column; gap: 16px; }

/* Notification banners replacing Bootstrap alerts: ok = teal, err = pink, info = orange */
.aos-auth-banner { margin: 0; border-radius: 12px; padding: 12px 14px; font-size: 14.5px; line-height: 1.5; }
.aos-auth-banner--ok  { background: rgba(46, 230, 214, 0.1);  border: 1px solid var(--aos-teal); }
.aos-auth-banner--err { background: rgba(255, 61, 154, 0.12); border: 1px solid var(--aos-pink); }
.aos-auth-banner--info{ background: rgba(255, 122, 89, 0.12); border: 1px solid var(--aos-orange); }

.aos-auth-note { margin: 0; color: var(--aos-muted); font-size: 14.5px; line-height: 1.55; }
.aos-auth-note a, .aos-auth-foot a, .aos-order-summary-foot a { color: var(--aos-teal); }

.aos-auth-foot { margin: 0; text-align: center; color: var(--aos-muted); font-size: 14px; }
.aos-auth-alt  { color: var(--aos-teal); font-size: 14px; text-align: center; text-decoration: none; }

/* Password input + Show/Hide toggle (mockup: small button hugging the input's right edge) */
.aos-auth-pw { position: relative; display: block; }
.aos-auth-pw input { padding-right: 76px; }
.aos-auth-pw-show { position: absolute; right: 6px; top: 6px; bottom: 6px; padding: 0 14px;
                    border: 0; border-radius: 8px; background: rgba(255, 248, 240, 0.08);
                    color: var(--aos-muted); font-size: 13px; font-weight: 600; cursor: pointer; }
.aos-auth-pw-show:hover { background: rgba(255, 248, 240, 0.16); color: var(--aos-cream); }

/* "Remember me" + "Forgot password?" row */
.aos-auth-row { display: flex; align-items: center; justify-content: space-between;
                gap: 12px; flex-wrap: wrap; }

.aos-auth-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px;
                  color: var(--aos-muted); cursor: pointer; }
.aos-auth-check input { width: 16px; height: 16px; accent-color: var(--aos-teal); cursor: pointer; }
.aos-auth-check a { color: var(--aos-teal); }
.aos-auth-check--terms { align-items: flex-start; text-align: left; line-height: 1.5; }
.aos-auth-check--terms input { margin-top: 3px; flex: 0 0 auto; }

.aos-auth-link { color: var(--aos-teal); font-size: 14px; }

.aos-auth-submit { width: 100%; min-height: 52px; border-radius: 999px; font-weight: 700; font-size: 16px; }

.aos-auth-captcha { display: flex; justify-content: center; }

/* ---------- Register: single step (pick a plan + create the account) ---------- */

.aos-register { width: 100%; max-width: 1040px; display: flex; flex-direction: column; gap: 32px; }

.aos-register-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
                     gap: 28px; align-items: start; }

.aos-register-card { background: var(--aos-card); border: 1px solid var(--aos-border);
                     border-radius: 24px; padding: 32px; display: flex; flex-direction: column;
                     gap: 28px; grid-column: 1 / -1; }
@media (min-width: 900px) { .aos-register-card { grid-column: auto; } }

.aos-register-step { display: flex; flex-direction: column; gap: 16px; }
.aos-register-step-title { font-family: "Bricolage Grotesque", sans-serif; font-size: 20px;
                           font-weight: 700; letter-spacing: -0.01em; margin: 0; }

.aos-register-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .aos-register-name-row { grid-template-columns: 1fr; } }

/* Plan picker: real (hidden) radios + label cards — selected = teal border like the mockup.
   Two plans sit side by side on one row; stack on narrow screens. */
.aos-plan-group { display: grid; gap: 12px; }
@media (max-width: 620px) { .aos-plan-group { grid-template-columns: 1fr; } }

.aos-plan-option { position: relative; display: flex; align-items: center; justify-content: space-between;
                   gap: 14px; text-align: left; background: var(--aos-navy);
                   border: 2px solid rgba(201, 191, 242, 0.25); border-radius: 16px;
                   padding: 18px; cursor: pointer; transition: border-color 0.15s ease; }
.aos-plan-option:hover  { border-color: var(--aos-border-strong); }
.aos-plan-option input  { position: absolute; opacity: 0; pointer-events: none; }
.aos-plan-option:has(input:checked),
.aos-plan-option.is-checked { border-color: var(--aos-teal); }

.aos-plan-option-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.aos-plan-option-name { font-weight: 700; font-size: 16px; color: var(--aos-cream); }
/* Description shown trimmed (word limit in the view + full text in title="");
   one line with ellipsis so the two side-by-side cards never break layout. */
.aos-plan-option-desc { color: var(--aos-muted); font-size: 13.5px;
                        overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.aos-plan-option-price { font-family: "Bricolage Grotesque", sans-serif; font-size: 22px;
                         font-weight: 800; white-space: nowrap; }
.aos-plan-option-price small { display: block; font-family: "Figtree", sans-serif; font-size: 12.5px;
                               font-weight: 400; color: var(--aos-muted); text-align: right; }

/* Live password hints — one single row, teal when satisfied */
.aos-pw-hints { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: row;
                flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.aos-pw-hints li { font-size: 13px; color: var(--aos-muted); }
.aos-pw-hints li::before { content: "✓ "; }
.aos-pw-hints li.is-ok { color: var(--aos-teal); }

/* Selected-plan summary aside (right) — deep background, sticks while scrolling */
.aos-order-summary { background: var(--aos-navy-deep); border-radius: 24px; padding: 28px;
                     max-width: 360px; width: 100%; display: flex; flex-direction: column;
                     gap: 14px; position: sticky; top: 96px; }
@media (max-width: 899px) { .aos-order-summary { position: static; max-width: none; } }

.aos-order-summary-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
                           text-transform: uppercase; color: var(--aos-teal); }
.aos-order-summary-name  { font-family: "Bricolage Grotesque", sans-serif; font-size: 22px;
                           font-weight: 700; margin: 0; }
.aos-order-summary-price { margin: 0; color: var(--aos-muted); font-size: 14.5px; }

.aos-order-summary ul { margin: 0; padding: 0; list-style: none; display: flex;
                        flex-direction: column; gap: 10px; }
.aos-order-summary li { display: flex; gap: 10px; color: var(--aos-cream); font-size: 14.5px; }
.aos-order-summary li::before { content: "✓"; color: var(--aos-teal); font-weight: 700; }

.aos-order-summary-foot { margin: 0; border-top: 1px solid var(--aos-border); padding-top: 14px;
                          color: var(--aos-muted); font-size: 14px; }

/* Register error banners sit inside the two-column block — cap width for readability */
.aos-register .aos-auth-banner { max-width: 640px; }

/* ==========================================================================
   Account page (profile.php) + billing portal notice (portal.php)
   No original design exists for these pages — composed from the template's
   design tokens to match the member box / auth form / pagination components.
   ========================================================================== */

.aos-page--account { gap: 40px; }

/* Two columns: membership summary (left) + account details form (right) */
.aos-account-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
                    gap: 24px; align-items: start; }

.aos-account-card { background: var(--aos-card); border: 1px solid var(--aos-border);
                    border-radius: 24px; padding: 28px; display: flex; flex-direction: column;
                    gap: 18px; }
.aos-account-card--full { grid-column: 1 / -1; }
.aos-account-card-title { font-family: "Bricolage Grotesque", sans-serif; font-size: 22px;
                          font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; margin: 0; }

.aos-account-plan { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(24px, 2.4vw, 30px);
                    font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.aos-account-meta { margin: 0; color: var(--aos-muted); font-size: 15px; line-height: 1.55; }
.aos-account-meta strong { color: var(--aos-cream); }

/* Canceled-but-still-active warning (keeps the old page's wording) */
.aos-account-warn { background: rgba(255, 122, 89, 0.12); border: 1px solid rgba(255, 122, 89, 0.45);
                    border-radius: 14px; padding: 14px 16px; }
.aos-account-warn p { margin: 0; color: var(--aos-text); font-size: 14.5px; line-height: 1.55; }
.aos-account-warn strong { color: var(--aos-cream); }

.aos-account-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Account details form (reuses .aos-field from the contact/auth components) */
.aos-account-form { display: flex; flex-direction: column; gap: 18px; }
.aos-account-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.aos-account-field-note { font-size: 13px; font-weight: 400; color: var(--aos-muted); }
.aos-account-field-note a { color: var(--aos-teal); }

/* Password block sits below a divider — changing it is optional */
.aos-account-pw { display: flex; flex-direction: column; gap: 16px;
                  border-top: 1px solid var(--aos-border); padding-top: 18px; }
.aos-account-pw-title { font-size: 16px; font-weight: 700; color: var(--aos-cream); margin: 0; }
.aos-account-pw-note { margin: 0; font-size: 13px; color: var(--aos-muted); }
.aos-account-submit { min-height: 52px; font-weight: 700; font-size: 16px; cursor: pointer; border: 0; }

.aos-account-foot { display: flex; justify-content: center; }

/* Inline status chips: payment status + membership state (teal / orange / pink) */
.aos-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
            border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; }
.aos-chip--ok    { background: rgba(46, 230, 214, 0.12); color: var(--aos-teal);
                   border: 1px solid rgba(46, 230, 214, 0.45); }
.aos-chip--warn  { background: rgba(255, 122, 89, 0.12); color: var(--aos-orange);
                   border: 1px solid rgba(255, 122, 89, 0.45); }
.aos-chip--err   { background: rgba(255, 61, 154, 0.12); color: var(--aos-pink);
                   border: 1px solid rgba(255, 61, 154, 0.45); }
.aos-chip--muted { background: rgba(201, 191, 242, 0.1); color: var(--aos-muted);
                   border: 1px solid var(--aos-border-strong); }

/* Payment history table */
.aos-table-wrap { overflow-x: auto; border: 1px solid var(--aos-border); border-radius: 16px; }
.aos-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.aos-table th { text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase;
                letter-spacing: 0.08em; color: var(--aos-lilac); padding: 12px 16px;
                border-bottom: 1px solid var(--aos-border-strong);
                background: rgba(13, 20, 54, 0.5); }
.aos-table td { padding: 13px 16px; border-bottom: 1px solid var(--aos-border);
                color: var(--aos-text); vertical-align: top; }
.aos-table tbody tr:last-child td { border-bottom: 0; }
.aos-table tbody tr:hover { background: rgba(201, 191, 242, 0.05); }
.aos-table td.aos-table-num { font-weight: 700; color: var(--aos-cream); white-space: nowrap; }
.aos-table td.aos-table-empty { text-align: center; color: var(--aos-muted); padding: 28px 16px; }

/* Billing portal notice (portal.php dead ends) */
.aos-page--portal { max-width: 720px; }
.aos-portal-card { background: var(--aos-card); border: 1px solid var(--aos-border);
                   border-radius: 24px; padding: 32px; display: flex; flex-direction: column;
                   gap: 18px; }
.aos-portal-title { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(26px, 3vw, 34px);
                    font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.aos-portal-text { margin: 0; color: var(--aos-text); font-size: 16px; line-height: 1.6; }

/* Account + portal responsive */
@media (max-width: 980px) {
    .aos-account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .aos-account-card, .aos-portal-card { padding: 22px; }
    .aos-account-form-grid { grid-template-columns: 1fr; }
}
