/* ==========================================================
   GATEWAY COMPUTERS – SITE STYLES
   One stylesheet for every page. Load it AFTER the template's
   assets/css/style.css so these rules win.

   Contents
     1. Brand tokens, typography, shared headings and buttons
     2. Template overrides (topbar, header, footer)
     3. Homepage + About page sections (gw-*)
     4. Course pages and courses list
     5. Gallery page
     6. Privacy policy (legal pages)
   ========================================================== */

/* =========================================================
   BRAND TOKENS
========================================================= */

:root {
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --brand: #023C85;        /* Gateway blue */
    --brand-deep: #01244F;   /* darker blue for hero and bands */
    --accent: #FEB100;       /* Gateway amber */
    --accent-dark: #E09C00;
    --accent-soft: #FFF6DE;

    --ink: #0B1B2E;          /* headings */
    --body: #3D4757;         /* paragraph text */
    --muted: #6B7280;
    --line: #E5EAF1;
    --soft: #F5F7FB;

    --radius: 16px;
    --shadow: 0 18px 44px rgba(2, 36, 79, 0.10);
}


/* =========================================================
   RESET + TYPOGRAPHY
   One font everywhere. Icon fonts are left alone.
========================================================= */

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    font-size: 16px;
    color: var(--body);
    -webkit-font-smoothing: antialiased;
}

body *:not(i):not(.bi):not(.bx):not([class^="fa"]):not([class*=" fa-"]) {
    font-family: var(--font) !important;
}

h1, h2, h3, h4 {
    color: var(--ink);
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }
h4 { font-weight: 700; }

p {
    line-height: 1.7;
}

a {
    color: var(--brand);
}

a:hover {
    color: var(--accent-dark);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

section {
    scroll-margin-top: 80px;
}


/* =========================================================
   SHARED SECTION HEADINGS
   (also restyles the template's .section-title blocks)
========================================================= */

.gw-head,
.section-title {
    max-width: 720px;
    margin: 0 auto 44px;
    padding-bottom: 0;
    text-align: center;
}

.gw-eyebrow,
.section-title h2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0;
    background: none;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gw-eyebrow::before,
.section-title h2::before {
    content: "";
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background: var(--accent);
}

.gw-head h2,
.section-title h3 {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    line-height: 1.15;
}

.section-title h3 span,
.gw-head h2 span {
    color: var(--brand);
    background: linear-gradient(transparent 64%, rgba(254, 177, 0, 0.45) 64%);
    padding: 0 2px;
}

.gw-head p,
.section-title p {
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
    font-weight: 400;
}

.gw-section {
    padding: 96px 0;
}

.gw-soft {
    background: var(--soft);
}

@media (max-width: 768px) {
    .gw-section { padding: 64px 0; }
    .gw-head, .section-title { margin-bottom: 32px; }
}


/* =========================================================
   BUTTONS
========================================================= */

.gw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 28px;
    border: 0;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.gw-btn:hover {
    transform: translateY(-2px);
}

.gw-btn-accent {
    background: var(--accent);
    color: var(--ink);
}

.gw-btn-accent:hover {
    background: var(--accent-dark);
    color: var(--ink);
}

.gw-btn-ghost {
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.gw-btn-ghost:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.gw-btn-brand {
    background: var(--brand);
    color: #fff;
}

.gw-btn-brand:hover {
    background: var(--brand-deep);
    color: #fff;
}

.gw-btn-outline {
    border: 1.5px solid var(--brand);
    color: var(--brand);
}

.gw-btn-outline:hover {
    background: var(--brand);
    color: #fff;
}


/* =========================================================
   TOPBAR + HEADER (template overrides)
========================================================= */

#topbar {
    background: var(--brand-deep);
    color: #fff;
    font-size: 14px;
}

#topbar .topbar-containers {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    width: 100%;
}

#topbar .topbar-lefts {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
}

#topbar .topbar-rights {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 15px;
}

#topbar a {
    color: #fff;
    white-space: nowrap;
    text-decoration: none;
}

#topbar a:hover,
#topbar i {
    color: var(--accent);
}

#header {
    box-shadow: 0 1px 0 var(--line);
}

.navbar a,
.navbar a:focus {
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
    color: var(--brand);
}

.navbar .active {
    box-shadow: inset 0 -3px 0 var(--accent);
}


/* =========================================================
   HERO
   The video sits in a framed panel instead of filling the
   whole screen, so it is never stretched past its real
   resolution. That is what made it look blurry before.
========================================================= */

.gw-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 150px;   /* bottom space leaves room for the stats band */
    text-align: left;
    background:
        radial-gradient(800px 420px at 85% 10%, rgba(254, 177, 0, 0.16), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(30, 120, 255, 0.22), transparent 60%),
        linear-gradient(160deg, var(--brand-deep) 0%, #022D66 55%, var(--brand) 100%);
    color: #fff;
}

/* faint grid texture */
.gw-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
    pointer-events: none;
}

.gw-hero .container {
    position: relative;
    z-index: 1;
}

.gw-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13.5px;
    font-weight: 600;
}

.gw-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(254, 177, 0, 0.25);
    animation: gwPulse 2s ease-in-out infinite;
}

@keyframes gwPulse {
    50% { box-shadow: 0 0 0 8px rgba(254, 177, 0, 0); }
}

.gw-hero-title {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.gw-hero-title span {
    color: var(--accent);
}

.gw-hero-text {
    max-width: 540px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.7;
}

.gw-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

/* video panel */

.gw-hero-media {
    position: relative;
    max-width: 600px;
    margin-left: auto;
}

.gw-hero-media::before {
    /* amber block offset behind the frame */
    content: "";
    position: absolute;
    top: 22px;
    right: -18px;
    bottom: -18px;
    left: 22px;
    border-radius: 24px;
    background: var(--accent);
}

.gw-hero-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    border: 6px solid rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    background: #0a1a33;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.gw-hero-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* no filters or overlays on the video itself – they soften it */
}

.gw-float {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 14px 34px rgba(1, 36, 79, 0.25);
    font-size: 14px;
    font-weight: 700;
}

.gw-float i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 18px;
}

.gw-float small {
    display: block;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 500;
}

.gw-float-top {
    top: 28px;
    left: -34px;
}

.gw-float-bottom {
    bottom: 34px;
    left: -48px;
}

@media (max-width: 991px) {
    .gw-hero { padding: 64px 0 130px; }
    .gw-hero-media { margin: 24px auto 0; }
    .gw-float-top { left: 12px; top: 12px; }
    .gw-float-bottom { left: 12px; bottom: 12px; }
}

@media (max-width: 575px) {
    .gw-hero-text { font-size: 16px; }
    .gw-hero-ctas .gw-btn { width: 100%; }
    .gw-hero-frame { aspect-ratio: 4 / 3; border-width: 4px; }
    .gw-hero-media::before { right: -10px; bottom: -10px; }
    .gw-float-top { display: none; }
}


/* =========================================================
   SERVICES – four major activities
========================================================= */

.gw-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(2, 60, 133, 0.08);
    color: var(--brand);
    font-size: 26px;
}

.gw-major {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 34px 32px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gw-major:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.gw-major-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.gw-tag {
    padding: 6px 12px;
    border-radius: 50px;
    background: var(--soft);
    color: var(--brand);
    font-size: 12.5px;
    font-weight: 700;
}

.gw-major h3 {
    margin-bottom: 10px;
    font-size: clamp(22px, 2.4vw, 26px);
}

.gw-major > p {
    margin-bottom: 18px;
    font-size: 16px;
}

.gw-major ul {
    flex: 1;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.gw-major li {
    display: flex;
    gap: 10px;
    padding: 6px 0;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--ink);
}

.gw-major li i {
    color: var(--accent-dark);
    font-size: 18px;
    line-height: 1.3;
}

.gw-major-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
}

.gw-link,
.gw-link-light {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.gw-link { color: var(--brand); }
.gw-link:hover { color: var(--ink); }
.gw-link-light { color: #fff; }
.gw-link-light:hover { color: var(--accent); }

/* dark card – virtual training */
.gw-major.is-dark {
    border-color: transparent;
    background:
        radial-gradient(420px 220px at 100% 0%, rgba(254, 177, 0, 0.18), transparent 70%),
        var(--brand-deep);
}

.gw-major.is-dark h3,
.gw-major.is-dark li { color: #fff; }
.gw-major.is-dark > p { color: rgba(255, 255, 255, 0.78); }
.gw-major.is-dark li i { color: var(--accent); }
.gw-major.is-dark .gw-icon { background: rgba(254, 177, 0, 0.15); color: var(--accent); }
.gw-major.is-dark .gw-tag { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* amber card – computer repairs */
.gw-major.is-accent {
    border-color: transparent;
    background: var(--accent);
}

.gw-major.is-accent > p,
.gw-major.is-accent li { color: var(--ink); }
.gw-major.is-accent li i { color: var(--ink); }
.gw-major.is-accent .gw-icon { background: rgba(11, 27, 46, 0.1); color: var(--ink); }
.gw-major.is-accent .gw-tag { background: rgba(255, 255, 255, 0.55); color: var(--ink); }
.gw-major.is-accent .gw-link { color: var(--ink); }

.gw-more-services {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

.gw-more-services .label {
    margin-right: 6px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.gw-more-services .chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 50px;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.gw-more-services .chip i { color: var(--brand); }

.gw-more-services .chip:hover {
    border-color: var(--brand);
    color: var(--brand);
}

/* service shortcuts in the hero */
.gw-hero-services {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.gw-hero-services::before {
    content: "We also do";
    width: 100%;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gw-hero-services a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.gw-hero-services a i { color: var(--accent); }

.gw-hero-services a:hover {
    border-color: var(--accent);
    color: #fff;
}

@media (max-width: 575px) {
    .gw-major { padding: 28px 22px; }
    .gw-major-actions .gw-btn { width: 100%; }
}


/* =========================================================
   ABOUT + MISSION / VISION
========================================================= */

.gw-about-img {
    position: relative;
}

.gw-about-img img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.gw-exp {
    position: absolute;
    right: -14px;
    bottom: -22px;
    max-width: 210px;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--accent);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.gw-exp strong {
    display: block;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.gw-exp span {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.gw-about-copy h2 {
    margin-bottom: 18px;
    font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.18;
}

.gw-about-copy .lead-text {
    margin-bottom: 26px;
    color: var(--body);
    font-size: 17px;
}

.gw-point {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.gw-point i {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--brand);
    color: var(--accent);
    font-size: 22px;
}

.gw-point h3 {
    margin: 0 0 4px;
    font-size: 17px;
}

.gw-point p {
    margin: 0;
    font-size: 15.5px;
}

.gw-mv {
    margin-top: 80px;
}

.gw-mv-card {
    height: 100%;
    padding: 34px 32px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
}

.gw-mv-card.is-dark {
    background: var(--brand-deep);
    border-color: var(--brand-deep);
}

.gw-mv-card.is-dark h3,
.gw-mv-card.is-dark li {
    color: #fff;
}

.gw-mv-card.is-dark p {
    color: rgba(255, 255, 255, 0.78);
}

.gw-mv-card .gw-icon {
    margin-bottom: 18px;
}

.gw-mv-card.is-dark .gw-icon {
    background: rgba(254, 177, 0, 0.15);
    color: var(--accent);
}

.gw-mv-card h3 {
    margin-bottom: 12px;
    font-size: 22px;
}

.gw-mv-card ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.gw-mv-card li {
    display: flex;
    gap: 10px;
    padding: 6px 0;
    font-size: 15.5px;
    font-weight: 500;
}

.gw-mv-card li i {
    color: var(--accent-dark);
}

.gw-mv-card.is-dark li i {
    color: var(--accent);
}

@media (max-width: 991px) {
    .gw-exp { right: 12px; bottom: 12px; }
    .gw-mv { margin-top: 56px; }
}


/* =========================================================
   STATS BAND + WHY GATEWAY
========================================================= */

.gw-stats {
    position: relative;
    z-index: 2;
    margin-top: -64px;   /* overlaps the bottom of the hero */
}

.gw-after-stats {
    padding-top: 72px;
}

.gw-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border-radius: 20px;
    background: var(--brand);
    box-shadow: var(--shadow);
}

.gw-stat {
    padding: 34px 24px;
    text-align: center;
    color: #fff;
}

.gw-stat + .gw-stat {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.gw-stat .num {
    display: block;
    color: var(--accent);
    font-size: clamp(30px, 3.4vw, 42px);
    font-weight: 800;
    line-height: 1.1;
}

.gw-stat .num.plus::after {
    content: "+";
}

.gw-stat p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
}

@media (max-width: 767px) {
    .gw-stats-inner { grid-template-columns: repeat(2, 1fr); }
    .gw-stat:nth-child(3) { border-left: 0; }
    .gw-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
}

.gw-why {
    height: 100%;
    padding: 28px 26px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
}

.gw-why .n {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.gw-why .n i {
    font-size: 26px;
    color: var(--brand);
}

.gw-why h3 {
    margin-bottom: 10px;
    font-size: 19px;
}

.gw-why p {
    margin: 0;
    font-size: 15.5px;
}


/* =========================================================
   CLIENT LOGO SLIDER
========================================================= */

.clients {
    padding: 72px 0;
    background: #fff;
}

.clients .section-title {
    margin-bottom: 20px;
}

.clients .section-title h2 {
    margin: 0;
    color: var(--muted);
}

.clients-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: clientsMove 35s linear infinite;
}

.client-logo {
    flex: 0 0 auto;
    width: 170px;
    height: 100px;
    margin: 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    display: block;
    width: auto;
    max-width: 150px;
    height: auto;
    max-height: 72px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-logo:hover img {
    filter: none;
    opacity: 1;
}

@keyframes clientsMove {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

.clients-slider:hover .clients-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .client-logo { width: 130px; height: 80px; margin: 0 14px; }
    .client-logo img { max-width: 115px; max-height: 60px; }
    .clients-track { animation-duration: 24s; }
}


/* =========================================================
   COURSES
========================================================= */

.gw-course {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gw-course:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: var(--shadow);
    color: inherit;
}

.gw-course .cat {
    margin-bottom: 12px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gw-course h3,
.gw-course .h3-size {
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
}

.gw-course .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.gw-course .meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 50px;
    background: var(--soft);
    color: var(--body);
    font-size: 13px;
    font-weight: 600;
}

.gw-course .meta i {
    color: var(--brand);
}

.gw-course ul {
    flex: 1;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.gw-course li {
    position: relative;
    padding: 4px 0 4px 16px;
    font-size: 14.5px;
}

.gw-course li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.gw-course .go {
    color: var(--brand);
    font-size: 14.5px;
    font-weight: 700;
}

.gw-course .go i {
    display: inline-block;
    transition: transform 0.2s ease;
}

.gw-course:hover .go i {
    transform: translateX(4px);
}


/* =========================================================
   TESTIMONIALS (template slider, restyled)
========================================================= */

.testimonials {
    position: relative;
    padding: 96px 0;
    background:
        radial-gradient(700px 360px at 90% 0%, rgba(254, 177, 0, 0.14), transparent 60%),
        var(--brand-deep);
}

.testimonials::before {
    display: none;
}

.testimonials .gw-head h2,
.testimonials .gw-head p {
    color: #fff;
}

.testimonials .gw-head p {
    opacity: 0.75;
}

.testimonials .gw-eyebrow {
    color: var(--accent);
}

.testimonials .testimonial-item {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.testimonials .testimonial-item p {
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(17px, 2vw, 21px);
    font-style: normal;
    font-weight: 500;
    line-height: 1.6;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
    color: var(--accent);
    font-size: 26px;
}

.testimonials .testimonial-item .testimonial-img {
    width: 72px;
    border: 3px solid var(--accent);
    border-radius: 50%;
    margin-bottom: 12px;
}

.testimonials .testimonial-item h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
}

.testimonials .testimonial-item h4 {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
}

.testimonials .swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 6px;
    background: var(--accent);
}


/* =========================================================
   PORTFOLIO (template overrides)
========================================================= */

.portfolio {
    padding: 96px 0;
}

.portfolio #portfolio-flters li {
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
    background: var(--brand);
    color: #fff;
}

.portfolio .portfolio-item img {
    border-radius: 12px;
}

.portfolio .portfolio-item .portfolio-info h4 {
    font-size: 17px;
    font-weight: 700;
}


/* =========================================================
   TEAM + VOLUNTEERS
========================================================= */

.team {
    padding: 96px 0 !important;
}

.member {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
    padding: 16px 16px 22px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.member-img {
    position: relative;
}

.member-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
}

.social {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-img:hover .social,
.member-img:focus-within .social {
    opacity: 1;
}

.social a {
    margin: 0 5px;
    padding: 7px;
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font-size: 15px;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social a:hover {
    background: var(--accent);
    color: var(--ink);
}

.member-info h4 {
    margin-top: 16px;
    margin-bottom: 6px;
    font-size: 17px;
    font-weight: 700;
}

.member-info a {
    color: inherit;
}

.member-info span {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   GALLERY STRIP
========================================================= */

.gallery-strip {
    padding: 96px 0;
    overflow: hidden;
}

.photo-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.carousel-track {
    display: flex;
    width: max-content;
    gap: 20px;
    animation: scroll 40s linear infinite;
}

.photo-carousel:hover .carousel-track {
    animation-play-state: paused;
}

.slide {
    width: 300px;
    height: 380px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    background: var(--soft);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.slide:hover img {
    transform: scale(1.06);
}

@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 10px)); }
}

.gallery-more {
    text-align: center;
    margin-top: 36px;
}

.gallery-more a {
    display: inline-flex;
    padding: 14px 28px;
    border-radius: 50px;
    border: 1.5px solid var(--brand);
    color: var(--brand);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: 0.25s ease;
}

.gallery-more a:hover {
    background: var(--brand);
    color: #fff;
}

@media (max-width: 768px) {
    .slide { width: 220px; height: 290px; }
    .carousel-track { gap: 14px; animation-duration: 30s; }
}


/* =========================================================
   CTA BAND
========================================================= */

.gw-cta {
    padding: 0 0 96px;
}

.gw-cta-box {
    position: relative;
    overflow: hidden;
    padding: 56px 48px;
    border-radius: 24px;
    background: var(--accent);
    color: var(--ink);
}

.gw-cta-box::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 50px solid rgba(255, 255, 255, 0.22);
}

.gw-cta-box h2 {
    margin-bottom: 10px;
    color: var(--ink);
    font-size: clamp(26px, 3.2vw, 38px);
}

.gw-cta-box p {
    margin: 0;
    color: rgba(11, 27, 46, 0.8);
    font-size: 17px;
}

.gw-cta-copy {
    position: relative;
    z-index: 1;
}

.gw-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.gw-btn-dark {
    background: var(--ink);
    color: #fff;
}

.gw-btn-dark:hover {
    background: var(--brand-deep);
    color: #fff;
}

.gw-btn-line-dark {
    border: 1.5px solid rgba(11, 27, 46, 0.4);
    color: var(--ink);
}

.gw-btn-line-dark:hover {
    border-color: var(--ink);
    color: var(--ink);
}

@media (max-width: 991px) {
    .gw-cta-box { padding: 40px 28px; }
    .gw-cta-actions { justify-content: flex-start; margin-top: 24px; }
}

@media (max-width: 575px) {
    .gw-cta-actions .gw-btn { width: 100%; }
}


/* =========================================================
   FAQ
========================================================= */

.gw-faq {
    max-width: 860px;
    margin: 0 auto;
}

.gw-faq details {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    transition: box-shadow 0.25s ease;
}

.gw-faq details[open] {
    box-shadow: 0 10px 30px rgba(2, 36, 79, 0.07);
}

.gw-faq summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    cursor: pointer;
    list-style: none;
    color: var(--ink);
    font-size: 16.5px;
    font-weight: 700;
}

.gw-faq summary::-webkit-details-marker {
    display: none;
}

.gw-faq summary::after {
    content: "+";
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-left: auto;
    border-radius: 50%;
    background: var(--soft);
    color: var(--brand);
    font-size: 20px;
    font-weight: 500;
    transition: transform 0.25s ease, background 0.25s ease;
}

.gw-faq details[open] summary::after {
    transform: rotate(45deg);
    background: var(--accent);
    color: var(--ink);
}

.gw-faq details p {
    margin: 0;
    padding: 0 22px 20px;
    font-size: 15.5px;
}


/* =========================================================
   CONTACT (template overrides)
========================================================= */

.contact {
    padding: 96px 0;
}

.contact .info-box {
    height: calc(100% - 24px);
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: none;
    text-align: center;
}

.contact .info-box i {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: var(--brand);
    color: var(--accent);
    font-size: 24px;
}

.contact .info-box h3 {
    margin: 8px 0 6px;
    font-size: 18px;
}

.contact .info-box p,
.contact .info-box address {
    margin: 0;
    font-size: 15.5px;
}

.contact iframe {
    border-radius: var(--radius);
}

.contact .form-control {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 15px;
}

.contact .form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(2, 60, 133, 0.12);
}

.contact .send-btn {
    display: inline-block;
    padding: 14px 34px;
    border: 0;
    border-radius: 50px;
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.contact .send-btn:hover {
    background: var(--accent);
    color: var(--ink);
}


/* =========================================================
   FOOTER + MISC (template overrides)
========================================================= */

#footer .footer-newsletter {
    background: var(--soft);
}

#footer .footer-newsletter h4 {
    font-weight: 800;
}

#footer .footer-newsletter form input[type="submit"] {
    background: var(--brand);
    font-weight: 700;
}

#footer .footer-newsletter form input[type="submit"]:hover {
    background: var(--accent);
    color: var(--ink);
}

#footer .footer-top .footer-contact h3 span,
#footer .footer-top .footer-links ul i {
    color: var(--accent-dark);
}

#footer .footer-top .footer-links ul a:hover {
    color: var(--brand);
}

#footer .footer-top .social-links a {
    background: var(--brand);
}

#footer .footer-top .social-links a:hover {
    background: var(--accent);
    color: var(--ink);
}

.back-to-top {
    background: var(--brand);
}

.back-to-top:hover {
    background: var(--accent);
}

.back-to-top i {
    color: #fff;
}

#preloader:before {
    border-color: var(--brand);
    border-top-color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
    .clients-track,
    .carousel-track,
    .gw-badge .dot {
        animation: none;
    }
}


/* ==========================================================
   COURSE PAGES + COURSES LIST
   ========================================================== */

/* ---------- Page hero ---------- */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 60px;
    color: #fff;
    background:
        radial-gradient(900px 380px at 88% -20%, rgba(254, 177, 0, 0.22), transparent 65%),
        linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
}

.page-hero::after {
    /* thin amber rule along the bottom edge */
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 4px;
    background: var(--accent);
}

.crumbs {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 20px;
}

.crumbs a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.crumbs a:hover { color: var(--accent); }

.crumbs .sep { margin: 0 8px; opacity: 0.6; }

.pill {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(254, 177, 0, 0.16);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.page-hero h1 {
    max-width: 880px;
    margin-bottom: 16px;
    color: #fff;
    font-size: clamp(30px, 4.4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.page-hero h1 .accent { color: var(--accent); }

.page-hero .lede {
    max-width: 680px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 17px;
    line-height: 1.7;
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.fact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.fact i { color: var(--accent); font-size: 16px; }

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 575px) {
    .page-hero { padding: 48px 0 44px; }
    .cta-row .gw-btn { width: 100%; }
}


/* ---------- Course body ---------- */

.course-body { padding: 64px 0 40px; }

.course-section { margin-bottom: 48px; }

.course-section > h2 {
    margin-bottom: 16px;
    font-size: clamp(22px, 2.6vw, 28px);
}

.course-section > p {
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--body);
}

.outcomes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.outcomes li {
    display: flex;
    gap: 10px;
    font-size: 15.5px;
    line-height: 1.55;
}

.outcomes i {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--brand);
    font-size: 18px;
}

@media (max-width: 767px) {
    .outcomes { grid-template-columns: 1fr; }
}

/* Course outline accordion */

.module {
    margin-bottom: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.module summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
}

.module summary::-webkit-details-marker { display: none; }

.module .num {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-size: 14px;
}

.module[open] .num {
    background: var(--accent);
    color: var(--ink);
}

.chev {
    margin-left: auto;
    color: var(--muted);
    transition: transform 0.2s ease;
}

.module[open] .chev { transform: rotate(180deg); }

.module ul {
    margin: 0;
    padding: 0 18px 16px 64px;
}

.module li {
    padding: 3px 0;
    font-size: 15px;
}

.audience {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.audience li {
    padding: 14px 16px;
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    background: var(--soft);
    font-size: 15.5px;
}

.tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tool {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 50px;
    background: var(--soft);
    color: var(--brand);
    font-size: 14px;
    font-weight: 500;
}

.prereq {
    padding: 16px 18px;
    border: 1px solid #FFE1A0;
    border-radius: 10px;
    background: #FFF8E6;
    color: var(--ink);
    font-size: 15.5px;
}


/* ---------- Sidebar ---------- */

.enrol-card {
    position: sticky;
    top: 110px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(2, 60, 133, 0.08);
}

.enrol-card h2 {
    margin-bottom: 16px;
    font-size: 20px;
}

.enrol-card dl { margin: 0 0 22px; }

.enrol-card .row-fact {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}

.enrol-card dt { color: var(--muted); font-weight: 400; }

.enrol-card dd {
    margin: 0;
    color: var(--ink);
    font-weight: 600;
    text-align: right;
}

.enrol-card .gw-btn { width: 100%; }

.enrol-card .where {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .enrol-card {
        position: static;
        margin-top: 8px;
    }
}


/* ---------- Related courses ---------- */

.related {
    padding: 56px 0 64px;
    background: var(--soft);
}


/* ---------- Listing filters ---------- */

.listing { padding: 56px 0 64px; }

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
}

.filter-btn {
    padding: 9px 18px;
    border: 1px solid var(--line);
    border-radius: 50px;
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.filter-btn.active {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
    box-shadow: inset 0 -3px 0 var(--accent);
}

.filter-btn .count {
    margin-left: 6px;
    opacity: 0.7;
    font-size: 12px;
}

.course-col.is-hidden { display: none; }


/* ---------- Closing CTA band ---------- */

.cta-band {
    padding: 56px 0;
    background: var(--ink);
    color: #fff;
    text-align: center;
}

.cta-band h2 {
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(24px, 3vw, 32px);
}

.cta-band p {
    max-width: 560px;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
}

.cta-band .cta-row { justify-content: center; }


/* Fees are given on WhatsApp – note in the sidebar */
.enrol-card .fee-note {
    display: flex;
    gap: 10px;
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #E9F8EF;
    color: #14532D;
    font-size: 14.5px;
    line-height: 1.55;
}

.enrol-card .fee-note i {
    color: #1FA855;
    font-size: 18px;
    line-height: 1.3;
}

.enrol-card dd a {
    color: #1FA855;
    font-weight: 700;
}


/* ==========================================================
   GALLERY PAGE
   ========================================================== */

.page-hero.has-photo {
    padding: 110px 0 100px;
    background:
        linear-gradient(90deg, rgba(1, 36, 79, 0.92) 0%, rgba(1, 36, 79, 0.7) 50%, rgba(1, 36, 79, 0.35) 100%),
        url("../img/portfolio/pic%2013.png") center / cover no-repeat;
}

.gallery-page {
    padding: 64px 0 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: dense;   /* fills gaps left by the taller photos */
    gap: 20px;
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    background: var(--soft);
    box-shadow: 0 12px 30px rgba(2, 36, 79, 0.10);
    opacity: 0;
    transform: translateY(30px);
    animation: galleryReveal 0.8s ease forwards;
}

/* every 4th photo is taller, for a less boxy layout */
.gallery-item:nth-child(4n + 1) {
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.2, .8, .2, 1), filter 0.4s ease;
}

.gallery-item::after {
    content: "+";
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.85);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
    opacity: 1;
    transform: scale(1);
}

.gallery-item:nth-child(2)  { animation-delay: .05s; }
.gallery-item:nth-child(3)  { animation-delay: .10s; }
.gallery-item:nth-child(4)  { animation-delay: .15s; }
.gallery-item:nth-child(5)  { animation-delay: .20s; }
.gallery-item:nth-child(6)  { animation-delay: .25s; }
.gallery-item:nth-child(n+7) { animation-delay: .30s; }

@keyframes galleryReveal {
    to { opacity: 1; transform: none; }
}

@media (max-width: 991px) {
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
    .page-hero.has-photo { padding: 72px 0 64px; }
    .gallery-grid { grid-template-columns: 1fr; gap: 14px; }
    .gallery-item:nth-child(4n + 1) { grid-row: auto; aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-item { opacity: 1; transform: none; animation: none; }
}


/* ==========================================================
   PRIVACY POLICY (legal pages)
   ========================================================== */

.legal-page {
    padding: 64px 0 88px;
}

.legal-toc {
    position: sticky;
    top: 110px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--soft);
}

.legal-toc h2 {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.legal-toc ol {
    margin: 0;
    padding-left: 20px;
}

.legal-toc li {
    padding: 4px 0;
    font-size: 14.5px;
}

.legal-toc li::marker {
    color: var(--accent-dark);
    font-weight: 700;
}

.legal-toc a {
    color: var(--ink);
    text-decoration: none;
}

.legal-toc a:hover {
    color: var(--brand);
}

.legal-body {
    max-width: 760px;
}

.legal-intro {
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.75;
}

.legal-body h2 {
    scroll-margin-top: 100px;
    margin: 44px 0 14px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: clamp(20px, 2.2vw, 24px);
}

.legal-body p,
.legal-body li {
    color: var(--body);
    font-size: 16px;
    line-height: 1.75;
}

.legal-body ul {
    margin: 0 0 18px;
    padding-left: 22px;
}

.legal-body li {
    margin-bottom: 8px;
}

.legal-body li::marker {
    color: var(--accent-dark);
}

.legal-body strong {
    color: var(--ink);
}

.legal-body a {
    color: var(--brand);
    font-weight: 600;
}

.legal-contact {
    display: grid;
    gap: 12px;
    margin-bottom: 8px;
}

.legal-contact p {
    display: flex;
    gap: 14px;
    margin: 0;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.legal-contact i {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--brand);
    color: var(--accent);
    font-size: 18px;
}

.legal-contact span strong {
    display: block;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.legal-note {
    margin-top: 40px;
    padding: 18px 20px;
    border-left: 4px solid var(--accent);
    border-radius: 10px;
    background: var(--accent-soft);
    font-size: 15px !important;
}

@media (max-width: 991px) {
    .legal-toc { position: static; }
}