/* ==========================================================================
   OCODAS — public site styles
   Brand: deep navy / teal (official logo) + gold (bulb logo, existing accent)
   Loaded after Bootstrap 5 (grid + utilities only).
   ========================================================================== */

:root {
    --navy-950: #041824;
    --navy-900: #06202f;
    --navy-800: #0a2e44;
    --teal-700: #0c4d6b;
    --teal-600: #0e6683;
    --teal-500: #138aa8;
    --teal-100: #e3f2f7;
    --gold-600: #a77b3c;
    --gold-500: #be914f;
    --gold-400: #d4a965;
    --gold-200: #f1e2c6;
    --gold-50: #fbf6ee;

    --ink: #0f1c2a;
    --text: #334454;
    --muted: #64748b;
    --line: #e4e9ef;
    --surface: #f5f8fb;
    --white: #ffffff;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(15, 28, 42, .06), 0 1px 3px rgba(15, 28, 42, .08);
    --shadow: 0 10px 30px -12px rgba(15, 28, 42, .18);
    --shadow-lg: 0 30px 60px -20px rgba(6, 32, 47, .35);
    --header-h: 76px;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
    margin: 0 0 .5em;
}

a { color: var(--teal-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-600); }
img { max-width: 100%; display: block; }
p { margin: 0 0 1rem; }
[x-cloak] { display: none !important; }

:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; border-radius: 6px; }

.container { max-width: 1200px; }

.section { padding: 96px 0; position: relative; isolation: isolate; overflow-x: clip; }
.section--tint { background: var(--surface); }
.section--dark { background: var(--navy-900); color: #c7d4de; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

@media (max-width: 767px) { .section { padding: 64px 0; } }

/* ---------- Section heading ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--gold-400); }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow::after {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.section-head h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.075rem; margin: 0; }
.section--dark .section-head p { color: #9fb3c2; }

.text-gradient {
    background: linear-gradient(100deg, var(--gold-400), var(--gold-200) 60%, var(--gold-400));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn-brand,
.btn-ghost,
.btn-outline-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    line-height: 1;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn-brand i, .btn-ghost i, .btn-outline-brand i { font-size: 1.2em; transition: transform .2s var(--ease); }
.btn-brand:hover i, .btn-ghost:hover i, .btn-outline-brand:hover i { transform: translateX(3px); }

.btn-brand {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--white);
    box-shadow: 0 8px 20px -8px rgba(190, 145, 79, .7);
}
.btn-brand:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(190, 145, 79, .8); }
.btn-brand:disabled { opacity: .7; cursor: progress; transform: none; }

.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { color: var(--navy-900); background: var(--white); border-color: var(--white); }

.btn-outline-brand { color: var(--teal-700); border-color: var(--line); background: var(--white); }
.btn-outline-brand:hover { color: var(--white); background: var(--teal-700); border-color: var(--teal-700); }

.btn-sm-pill { padding: .55rem 1.1rem; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background-color .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header .container { display: flex; align-items: center; gap: 1.5rem; }

.site-header .brand { display: flex; align-items: center; flex-shrink: 0; }
.site-header .brand img { height: 40px; width: auto; transition: opacity .25s; }
.site-header .brand .logo-dark { display: none; }

/* Transparent over dark hero, solid when scrolled or on inner pages */
.site-header.is-solid,
.site-header.header-scrolled {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(15, 28, 42, .25);
    --header-h: 68px;
}
.site-header.is-solid .brand .logo-light,
.site-header.header-scrolled .brand .logo-light { display: none; }
.site-header.is-solid .brand .logo-dark,
.site-header.header-scrolled .brand .logo-dark { display: block; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link-x {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .55rem .9rem;
    border-radius: 999px;
    font-size: .93rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
}
.nav-link-x:hover, .nav-link-x.active { color: var(--white); background: rgba(255, 255, 255, .1); }
.site-header.is-solid .nav-link-x,
.site-header.header-scrolled .nav-link-x { color: var(--text); }
.site-header.is-solid .nav-link-x:hover,
.site-header.is-solid .nav-link-x.active,
.site-header.header-scrolled .nav-link-x:hover,
.site-header.header-scrolled .nav-link-x.active { color: var(--teal-700); background: var(--teal-100); }

/* Dropdown */
.nav-dropdown .menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    padding: .5rem;
    list-style: none;
    margin: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all .2s var(--ease);
}
.nav-dropdown:hover .menu,
.nav-dropdown:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown .menu a {
    display: block;
    padding: .55rem .8rem;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: .9rem;
    font-weight: 500;
}
.nav-dropdown .menu a:hover { background: var(--surface); color: var(--teal-700); }

.nav-cta { margin-left: .5rem; }
.nav-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: transparent;
    color: var(--white);
    font-size: 1.6rem;
    align-items: center;
    justify-content: center;
}
.site-header.is-solid .nav-toggle,
.site-header.header-scrolled .nav-toggle { color: var(--ink); border-color: var(--line); }

@media (max-width: 991px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        position: fixed;
        inset: var(--header-h) 12px auto 12px;
        flex-direction: column;
        align-items: stretch;
        gap: .5rem;
        padding: 1rem;
        background: var(--white);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: all .25s var(--ease);
        max-height: calc(100vh - var(--header-h) - 24px);
        overflow-y: auto;
    }
    .nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav-list { flex-direction: column; align-items: stretch; }
    .nav-link-x, .site-header .nav-link-x { color: var(--text); padding: .8rem 1rem; border-radius: var(--radius-sm); }
    .nav-link-x:hover, .nav-link-x.active { color: var(--teal-700); background: var(--teal-100); }
    .nav-dropdown .menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 0 0 0 1rem;
        display: none;
    }
    .nav-dropdown.is-open .menu { display: block; }
    .nav-cta { margin: .5rem 0 0; }
    .nav-cta .btn-brand { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: min(100vh, 920px);
    padding: calc(var(--header-h) + 56px) 0 96px;
    display: flex;
    align-items: center;
    color: #c7d4de;
    background:
        radial-gradient(900px 500px at 85% 15%, rgba(19, 138, 168, .35), transparent 60%),
        radial-gradient(700px 500px at 10% 90%, rgba(190, 145, 79, .18), transparent 60%),
        linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--teal-700) 130%);
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    /* subtle grid */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4.1rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}
.hero .lead { font-size: 1.15rem; color: #a9bccb; max-width: 540px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .4rem .9rem .4rem .45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    font-size: .85rem;
    font-weight: 600;
    color: #dbe6ee;
    margin-bottom: 1.75rem;
}
.hero-badge .dot {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--white);
    font-size: .95rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero-stats strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--white); line-height: 1; }
.hero-stats span { font-size: .85rem; color: #8ea3b3; }

/* Slides */
.hero-visual { position: relative; }
.hero-visual::before {
    content: "";
    position: absolute;
    inset: 8% -6% -6% 10%;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(190, 145, 79, .4), rgba(19, 138, 168, .3));
    filter: blur(50px);
    z-index: -1;
}
.home-swiper { width: 100%; max-width: 480px; margin: 0 auto; padding: 0 0 48px; overflow: visible; }
.home-swiper .swiper-slide {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--navy-800);
    box-shadow: var(--shadow-lg);
}
.home-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.home-swiper .slide-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 5rem 1.75rem 1.75rem;
    background: linear-gradient(to top, rgba(4, 24, 36, .95), rgba(4, 24, 36, .55) 55%, transparent);
}
.home-swiper .slide-caption .tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: .4rem;
}
.home-swiper .slide-caption h3 { color: var(--white); font-size: 1.5rem; margin-bottom: .4rem; }
.home-swiper .slide-caption p {
    color: #b9c9d5;
    font-size: .92rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-swiper .swiper-pagination { bottom: 0 !important; }
.swiper-pagination-bullet { background: rgba(255, 255, 255, .5); opacity: 1; transition: width .25s var(--ease); }
.swiper-pagination-bullet-active { width: 24px; border-radius: 4px; background: var(--gold-400); }

.hero-float {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .8rem 1rem;
    background: rgba(255, 255, 255, .95);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    color: var(--ink);
    font-size: .85rem;
    font-weight: 600;
    animation: float 6s ease-in-out infinite;
}
.hero-float i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 1.25rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
}
.hero-float small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; }
.hero-float--a { top: 8%; left: -8%; }
.hero-float--b { top: 38%; right: -7%; animation-delay: -3s; }
.hero-float--b i { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (max-width: 991px) {
    .hero { min-height: auto; }
    .hero-visual { margin-top: 3.5rem; }
    .hero-float--a { left: 0; }
    .hero-float--b { right: 0; }
}

/* ---------- Logo cloud ---------- */
.logo-cloud { padding: 40px 0; border-bottom: 1px solid var(--line); }
.logo-cloud p {
    text-align: center;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.5rem;
}
.logo-cloud .logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2.5rem 4rem; }
.logo-cloud img {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .8;
    transition: filter .3s, opacity .3s, transform .3s var(--ease);
}
.logo-cloud img:hover { filter: none; opacity: 1; transform: scale(1.05); }

/* ---------- Cards ---------- */
.card-x {
    height: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card-x:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

.icon-tile {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 1.6rem;
    color: var(--teal-600);
    background: var(--teal-100);
    margin-bottom: 1.25rem;
    transition: all .3s var(--ease);
}
.card-x:hover .icon-tile { color: var(--white); background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); transform: rotate(-6deg); }
.icon-tile--gold { color: var(--gold-600); background: var(--gold-50); }
.card-x:hover .icon-tile--gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); }

.card-x h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.card-x p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Why-us: intro panel */
.why-panel {
    height: 100%;
    padding: 2.75rem;
    border-radius: var(--radius-lg);
    color: #c7d4de;
    background:
        radial-gradient(400px 300px at 100% 0%, rgba(19, 138, 168, .45), transparent 70%),
        linear-gradient(160deg, var(--navy-900), var(--teal-700));
    position: relative;
    overflow: hidden;
}
.why-panel::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 36px solid rgba(190, 145, 79, .18);
}
.why-panel h2 { color: var(--white); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); font-weight: 800; }
.why-panel p { color: #a9bccb; }
.why-panel .checks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.why-panel .checks li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .6rem; color: #dbe6ee; }
.why-panel .checks i { color: var(--gold-400); font-size: 1.25rem; line-height: 1.3; }

/* ---------- Stats band ---------- */
.stats-band {
    position: relative;
    margin-top: -1px;
    padding: 56px 0;
    background: linear-gradient(120deg, var(--gold-600), var(--gold-400));
    color: var(--white);
    overflow: hidden;
}
.stats-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: .6;
}
.stat { position: relative; text-align: center; }
.stat i { font-size: 1.8rem; opacity: .85; }
.stat .num { display: block; font-size: clamp(2.2rem, 1.8rem + 1.5vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.stat .num::after { content: "+"; }
.stat p { margin: 0; font-weight: 600; opacity: .9; }

/* ---------- Services ---------- */
.service-card { position: relative; overflow: hidden; }
.service-card .num {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--surface);
    line-height: 1;
    transition: color .3s;
}
.service-card:hover .num { color: var(--gold-200); }
.service-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--teal-500), var(--gold-500));
    transition: width .4s var(--ease);
}
.service-card:hover::after { width: 100%; }

/* ---------- Portfolio ---------- */
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    list-style: none;
    padding: .4rem;
    margin: 0 auto 2.5rem;
    width: fit-content;
    max-width: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
}
.filter-pills button {
    border: 0;
    background: transparent;
    padding: .55rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--muted);
    transition: all .2s var(--ease);
}
.filter-pills button:hover { color: var(--teal-700); }
.filter-pills button.active { background: var(--navy-900); color: var(--white); box-shadow: var(--shadow-sm); }

.project-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    text-align: left;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--navy-800);
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .6s var(--ease);
}
.project-card:hover img { transform: scale(1.06); }
.project-card .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(4, 24, 36, .92) 0%, rgba(4, 24, 36, .35) 50%, transparent 80%);
}
.project-card .chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .6rem; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--gold-200);
    background: rgba(190, 145, 79, .22);
    border: 1px solid rgba(212, 169, 101, .35);
}
.chip--light { color: var(--teal-700); background: var(--teal-100); border-color: transparent; }
.chip--gold { color: var(--gold-600); background: var(--gold-50); border-color: var(--gold-200); }
.project-card h3 { color: var(--white); font-size: 1.2rem; margin: 0; }
.project-card .view {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy-900);
    font-size: 1.3rem;
    opacity: 0;
    transform: scale(.8) rotate(-45deg);
    transition: all .3s var(--ease);
}
.project-card:hover .view { opacity: 1; transform: none; }

/* Project drawer */
.drawer-root { position: fixed; inset: 0; z-index: 2000; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(4, 24, 36, .55); backdrop-filter: blur(6px); }
.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(560px, 100%);
    display: flex;
    flex-direction: column;
    background: var(--white);
    box-shadow: -20px 0 60px -20px rgba(4, 24, 36, .5);
}
.drawer-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 1.5rem; margin: 0 0 .35rem; }
.drawer-close {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    font-size: 1.4rem;
    transition: transform .3s var(--ease), background .2s;
}
.drawer-close:hover { background: var(--surface); transform: rotate(90deg); }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.75rem; }
.drawer-gallery { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 3 / 2; margin-bottom: 1.5rem; }
.drawer-gallery img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .4s; }
.drawer-gallery .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    font-size: 1.4rem;
    box-shadow: var(--shadow-sm);
}
.drawer-gallery .nav-btn:hover { background: var(--white); }
.drawer-gallery .prev { left: 12px; }
.drawer-gallery .next { right: 12px; }
.drawer-gallery .dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.drawer-gallery .dots button { width: 8px; height: 8px; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .6); transition: width .25s; padding: 0; }
.drawer-gallery .dots button.active { width: 22px; background: var(--white); }
.drawer-body .label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 1.5rem 0 .6rem; }
.drawer-body .desc { color: var(--text); white-space: pre-line; }

.drawer-enter, .drawer-leave { transition: transform .4s var(--ease), opacity .3s; }
.drawer-enter-start, .drawer-leave-end { transform: translateX(100%); }
.drawer-enter-end, .drawer-leave-start { transform: translateX(0); }
.fade-enter, .fade-leave { transition: opacity .3s; }
.fade-enter-start, .fade-leave-end { opacity: 0; }
.fade-enter-end, .fade-leave-start { opacity: 1; }

/* ---------- Testimonials ---------- */
.testimonial {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg);
}
.testimonial .quote-mark { font-size: 3.5rem; line-height: 1; color: var(--gold-400); }
.testimonial blockquote { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.6; color: #e3ecf2; font-weight: 500; margin: 1rem 0 2rem; }
.testimonial .person { display: inline-flex; align-items: center; gap: 1rem; text-align: left; }
.testimonial .person img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 3px solid var(--gold-400); }
.testimonial .person strong { display: block; color: var(--white); font-size: 1.05rem; }
.testimonial .person span { color: #8ea3b3; font-size: .9rem; }
.testimonials-slider { padding-bottom: 3rem; }
.testimonials-slider .swiper-pagination { bottom: 0 !important; }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    padding: 3.5rem;
    border-radius: 28px;
    background:
        radial-gradient(500px 300px at 90% 10%, rgba(212, 169, 101, .35), transparent 70%),
        linear-gradient(135deg, var(--teal-700), var(--navy-900));
    color: #c7d4de;
    overflow: hidden;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); font-weight: 800; margin-bottom: .5rem; }
.cta-band p { margin: 0; color: #a9bccb; }
@media (max-width: 767px) { .cta-band { padding: 2.25rem; } }

/* ---------- Contact ---------- */
.contact-wrap {
    display: grid;
    grid-template-columns: 5fr 7fr;
    border-radius: 28px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
@media (max-width: 991px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info {
    padding: 3rem;
    color: #c7d4de;
    background:
        radial-gradient(360px 260px at 0% 100%, rgba(190, 145, 79, .3), transparent 70%),
        linear-gradient(160deg, var(--navy-900), var(--teal-700));
}
.contact-info h3 { color: var(--white); font-size: 1.6rem; }
.contact-info > p { color: #a9bccb; margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item i {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 1.3rem;
    color: var(--gold-400);
    background: rgba(255, 255, 255, .08);
}
.contact-item strong { display: block; color: var(--white); font-size: .95rem; }
.contact-item span, .contact-item a { color: #a9bccb; font-size: .93rem; }
.contact-item a:hover { color: var(--gold-400); }
.contact-form-x { padding: 3rem; }
@media (max-width: 575px) { .contact-info, .contact-form-x { padding: 2rem 1.5rem; } }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.input-x {
    width: 100%;
    padding: .85rem 1rem;
    font: inherit;
    font-size: .95rem;
    color: var(--ink);
    background: var(--surface);
    border: 1.5px solid transparent;
    border-radius: 12px;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.input-x::placeholder { color: #94a3b8; }
.input-x:focus { outline: none; background: var(--white); border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(19, 138, 168, .12); }
.input-x.is-invalid { border-color: #dc2626; background: #fef2f2; }
textarea.input-x { resize: vertical; min-height: 140px; }
.field-error { color: #dc2626; font-size: .82rem; margin-top: .35rem; }

.alert-x {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    padding: .9rem 1.1rem;
    border-radius: 12px;
    font-size: .92rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}
.alert-x i { font-size: 1.2rem; line-height: 1.3; }
.alert-x--success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-x--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #8ea3b3; padding: 80px 0 0; font-size: .93rem; }
.site-footer .brand img { height: 44px; width: auto; margin-bottom: 1.25rem; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .65rem; }
.site-footer a { color: #8ea3b3; }
.site-footer a:hover { color: var(--gold-400); }
.site-footer .contact-line { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .7rem; }
.site-footer .contact-line i { color: var(--gold-400); font-size: 1.1rem; line-height: 1.5; }
.socials { display: flex; gap: .6rem; margin-top: 1.5rem; }
.socials a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.2rem;
    color: var(--white);
    background: rgba(255, 255, 255, .07);
    transition: all .25s var(--ease);
}
.socials a:hover { color: var(--white); background: var(--gold-500); transform: translateY(-3px); }
.footer-bottom {
    margin-top: 56px;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: .85rem;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 84px;
    z-index: 990;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: var(--white);
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s var(--ease);
}
.back-to-top.active { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { color: var(--white); transform: translateY(-3px); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + 72px) 0 72px;
    color: #c7d4de;
    background:
        radial-gradient(700px 400px at 90% 0%, rgba(19, 138, 168, .35), transparent 60%),
        linear-gradient(160deg, var(--navy-950), var(--navy-800) 60%, var(--teal-700));
    overflow: hidden;
    isolation: isolate;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent);
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 1.5rem + 2.2vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; }
.page-hero p { color: #a9bccb; font-size: 1.1rem; max-width: 620px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .88rem; margin-bottom: 1.25rem; color: #8ea3b3; }
.crumbs a { color: #c7d4de; }
.crumbs a:hover { color: var(--gold-400); }
.crumbs i { font-size: 1rem; }

/* ---------- News ---------- */
.post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.post-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--teal-700), var(--navy-900)); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-thumb .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .35); font-size: 3rem; }
.post-thumb .chips { position: absolute; top: 1rem; left: 1rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.post-thumb .chip { color: var(--white); background: rgba(4, 24, 36, .55); border-color: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: var(--muted); margin-bottom: .75rem; }
.post-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.post-meta i { color: var(--gold-500); font-size: 1rem; }
.post-body h3 { font-size: 1.2rem; line-height: 1.35; margin-bottom: .6rem; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--teal-600); }
.post-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.read-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .9rem; color: var(--teal-600); }
.read-more i { transition: transform .2s var(--ease); }
.read-more:hover i { transform: translateX(4px); }

/* Featured post */
.post-card--featured { display: grid; grid-template-columns: 1.1fr 1fr; }
.post-card--featured .post-thumb { aspect-ratio: auto; min-height: 320px; }
.post-card--featured .post-body { padding: 2.25rem; justify-content: center; }
.post-card--featured h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
@media (max-width: 767px) {
    .post-card--featured { grid-template-columns: 1fr; }
    .post-card--featured .post-thumb { min-height: 220px; }
    .post-card--featured .post-body { padding: 1.5rem; }
}

/* Sidebar widgets */
.widget { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.widget h4 { font-size: 1rem; display: flex; align-items: center; gap: .5rem; margin-bottom: 1.1rem; }
.widget h4 i { color: var(--gold-500); font-size: 1.2rem; }
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem .8rem;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-weight: 500;
    font-size: .93rem;
}
.cat-list a:hover { background: var(--surface); color: var(--teal-700); }
.cat-list a.active { background: var(--navy-900); color: var(--white); }
.cat-list .count { font-size: .75rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: var(--surface); color: var(--muted); }
.cat-list a.active .count { background: rgba(255, 255, 255, .15); color: var(--white); }
.mini-post { display: flex; gap: .85rem; align-items: center; padding: .6rem 0; }
.mini-post + .mini-post { border-top: 1px solid var(--line); }
.mini-post .thumb { flex-shrink: 0; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, var(--teal-700), var(--navy-900)); }
.mini-post .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-post a { color: var(--ink); font-weight: 600; font-size: .9rem; line-height: 1.35; display: block; }
.mini-post a:hover { color: var(--teal-600); }
.mini-post small { color: var(--muted); font-size: .78rem; }
.sticky-side { position: sticky; top: calc(var(--header-h) + 24px); }

.empty-state { text-align: center; padding: 4rem 1.5rem; border: 2px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }
.empty-state i { font-size: 3rem; color: var(--line); display: block; margin-bottom: 1rem; }

/* Pagination (Laravel bootstrap-5 / tailwind fallback) */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; list-style: none; padding: 0; margin: 2.5rem 0 0; }
.pagination .page-link {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 .8rem;
    border-radius: 12px !important;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--text);
    font-weight: 600;
}
.pagination .page-link:hover { border-color: var(--teal-500); color: var(--teal-600); background: var(--white); }
.pagination .active .page-link { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.pagination .disabled .page-link { opacity: .5; }

/* Article */
.article-hero-img {
    margin-top: -48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 21 / 9;
    background: var(--navy-800);
    position: relative;
    z-index: 2;
}
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 1.5rem; color: #a9bccb; font-size: .92rem; }
.article-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.article-meta i { color: var(--gold-400); font-size: 1.1rem; }
.author-avatar {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-weight: 700;
    font-size: .9rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
}

.article-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 3rem); }

/* Rich content from CKEditor (sanitized) */
.prose { color: var(--text); font-size: 1.075rem; line-height: 1.8; }
.prose > *:first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin: 2rem 0 .8rem; }
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.3rem; }
.prose p { margin: 0 0 1.25rem; }
.prose a { color: var(--teal-600); text-decoration: underline; text-decoration-color: var(--gold-200); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--gold-500); }
.prose blockquote {
    margin: 1.75rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--gold-500);
    background: var(--gold-50);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--ink);
}
.prose img { height: auto; border-radius: var(--radius); }
.prose figure { margin: 1.75rem 0; }
.prose figure.image { display: table; margin-inline: auto; }
.prose figure.image-style-side { float: right; max-width: 50%; margin: .5rem 0 1rem 1.5rem; }
.prose figcaption { display: table-caption; caption-side: bottom; text-align: center; font-size: .88rem; color: var(--muted); padding-top: .6rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .7rem .9rem; }
.prose th { background: var(--surface); color: var(--ink); text-align: left; }
.prose pre { background: var(--navy-900); color: #e3ecf2; padding: 1.25rem; border-radius: var(--radius); overflow-x: auto; font-size: .9rem; }
.prose code { background: var(--surface); padding: .1rem .35rem; border-radius: 6px; font-size: .9em; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2rem 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.prose::after { content: ""; display: table; clear: both; }

.share-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share-row .socials { margin: 0; }
.share-row .socials a { color: var(--teal-700); background: var(--surface); }
.share-row .socials a:hover { color: var(--white); background: var(--teal-700); }

/* Comments */
.comments-title { display: flex; align-items: center; gap: .6rem; font-size: 1.4rem; margin: 3rem 0 1.5rem; }
.comments-title .count { font-size: .85rem; font-weight: 700; padding: .2rem .65rem; border-radius: 999px; background: var(--gold-50); color: var(--gold-600); }
.comment-x { display: flex; gap: 1rem; padding: 1.25rem 0; }
.comment-x + .comment-x { border-top: 1px solid var(--line); }
.comment-x .avatar {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
}
.comment-x .avatar--sm { width: 36px; height: 36px; font-size: .85rem; background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); }
.comment-x .body { flex: 1; min-width: 0; }
.comment-x .head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; margin-bottom: .3rem; }
.comment-x .head strong { color: var(--ink); }
.comment-x .head small { color: var(--muted); font-size: .8rem; }
.comment-x .text { color: var(--text); margin-bottom: .5rem; word-wrap: break-word; }
.reply-link { border: 0; background: none; padding: 0; font-weight: 700; font-size: .85rem; color: var(--teal-600); display: inline-flex; align-items: center; gap: .25rem; }
.reply-link:hover { color: var(--gold-600); }
.replies { margin-top: 1rem; padding-left: 1.25rem; border-left: 2px solid var(--line); }
.replies .comment-x { padding: .85rem 0; }
.reply-box { margin-top: 1rem; padding: 1.25rem; border-radius: var(--radius); background: var(--surface); }
.reply-box .input-x { background: var(--white); }

/* ==========================================================================
   Motion & background graphics
   ========================================================================== */

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 3px;
    z-index: 1100;
    transform-origin: 0 50%;
    transform: scaleX(var(--progress, 0));
    background: linear-gradient(90deg, var(--teal-500), var(--gold-400));
    pointer-events: none;
}

/* Interactive network canvas (hero + page hero) */
.net-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    animation: fadeIn 1.6s .2s var(--ease) forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* Drifting glow orbs */
.orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .55;
    pointer-events: none;
    animation: drift 18s ease-in-out infinite alternate;
}
.orb--teal { width: 420px; height: 420px; background: radial-gradient(circle, var(--teal-500), transparent 70%); top: -80px; right: 6%; }
.orb--gold { width: 360px; height: 360px; background: radial-gradient(circle, rgba(212, 169, 101, .8), transparent 70%); bottom: -120px; left: -60px; animation-duration: 22s; animation-delay: -6s; }
.orb--sm { width: 220px; height: 220px; background: radial-gradient(circle, rgba(19, 138, 168, .7), transparent 70%); top: 45%; left: 42%; animation-duration: 26s; opacity: .35; }
@keyframes drift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(40px, -30px, 0) scale(1.08); }
    100% { transform: translate3d(-30px, 40px, 0) scale(.95); }
}

/* Headline word reveal */
.reveal-words .w {
    display: inline-block;
    opacity: 0;
    transform: translateY(.6em) rotate(2deg);
    filter: blur(6px);
    animation: wordUp .9s var(--ease) forwards;
    animation-delay: calc(.15s + var(--i, 0) * .08s);
}
@keyframes wordUp { to { opacity: 1; transform: none; filter: none; } }
.fade-up-in { opacity: 0; transform: translateY(18px); animation: wordUp .9s var(--ease) forwards; animation-delay: var(--d, .6s); }

/* Gold text shimmer */
.text-gradient {
    background-size: 200% auto;
    animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% center; } }

/* Button shine sweep */
.btn-brand { position: relative; overflow: hidden; isolation: isolate; }
.btn-brand::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .7s var(--ease);
}
.btn-brand:hover::after { transform: translateX(120%); }
.btn-pulse { animation: pulseRing 2.8s ease-out infinite; }
@keyframes pulseRing {
    0% { box-shadow: 0 8px 20px -8px rgba(190, 145, 79, .7), 0 0 0 0 rgba(212, 169, 101, .55); }
    70% { box-shadow: 0 8px 20px -8px rgba(190, 145, 79, .7), 0 0 0 14px rgba(212, 169, 101, 0); }
    100% { box-shadow: 0 8px 20px -8px rgba(190, 145, 79, .7), 0 0 0 0 rgba(212, 169, 101, 0); }
}

/* Wave divider at the bottom of dark heroes */
.wave-divider {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 70px;
    z-index: 1;
    pointer-events: none;
}
.wave-divider path { fill: var(--white); }
.wave-divider--tint path { fill: var(--surface); }
.wave-divider .wave-back { opacity: .35; animation: waveShift 12s ease-in-out infinite alternate; }
@keyframes waveShift { to { transform: translateX(-40px); } }

/* Generic decorative graphics */
.deco { position: absolute; z-index: 0; pointer-events: none; color: var(--teal-500); }
.section > .container, .stats-band > .container { position: relative; z-index: 1; }
.deco--rings { width: 520px; height: 520px; top: -120px; right: -160px; opacity: .14; animation: spin 80s linear infinite; }
.deco--rings-left { width: 420px; height: 420px; bottom: -140px; left: -160px; top: auto; right: auto; color: var(--gold-500); opacity: .18; animation: spin 90s linear infinite reverse; }
.deco--dots {
    width: 220px;
    height: 160px;
    background-image: radial-gradient(currentColor 1.6px, transparent 1.6px);
    background-size: 18px 18px;
    opacity: .22;
    animation: floatY 9s ease-in-out infinite;
}
.deco--circuit { width: 560px; height: 300px; opacity: .12; }
.deco--circuit path { stroke-dasharray: 6 10; animation: dash 18s linear infinite; }
.deco--blob {
    width: 480px;
    height: 480px;
    border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
    filter: blur(60px);
    opacity: .18;
    animation: morph 16s ease-in-out infinite, floatY 12s ease-in-out infinite;
}
.deco--quote { font-size: 22rem; line-height: 1; color: rgba(255, 255, 255, .04); top: -2rem; left: 50%; transform: translateX(-50%); font-family: Georgia, serif; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatY { 50% { transform: translateY(-16px); } }
@keyframes dash { to { stroke-dashoffset: -320; } }
@keyframes morph {
    0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
    50% { border-radius: 63% 37% 38% 62% / 55% 61% 39% 45%; }
}
@media (max-width: 767px) { .deco--rings, .deco--circuit, .deco--blob { display: none; } }

/* Logo marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 4.5rem; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Cursor spotlight on cards */
.spotlight { position: relative; overflow: hidden; isolation: isolate; }
.spotlight::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(19, 138, 168, .12), transparent 60%);
    transition: opacity .3s;
}
.spotlight:hover::before { opacity: 1; }
.section--tint .spotlight::before { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(190, 145, 79, .14), transparent 60%); }

/* 3D tilt (project cards) */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt.is-tilting { transition: transform .1s linear, box-shadow .35s var(--ease); transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-6px); }
.tilt .glare {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .25), transparent 55%);
    transition: opacity .3s;
}
.tilt.is-tilting .glare { opacity: 1; }

/* Icon tiles gently bob when their card scrolls into view */
[data-aos].aos-animate .icon-tile { animation: popIn .7s var(--ease) both; animation-delay: .25s; }
@keyframes popIn { 0% { transform: scale(.4) rotate(-20deg); opacity: 0; } 70% { transform: scale(1.1) rotate(4deg); opacity: 1; } 100% { transform: none; } }

/* Stats band moving sheen */
.stats-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%);
    transform: translateX(-100%);
    animation: sheen 7s ease-in-out infinite;
    pointer-events: none;
}
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }

/* Animated gradient border for the contact card */
.contact-wrap { position: relative; border: 0; padding: 2px; background: conic-gradient(from var(--angle, 0deg), var(--line), var(--teal-500), var(--gold-400), var(--line) 40%, var(--line)); animation: rotateBorder 8s linear infinite; }
.contact-wrap > * { background: var(--white); }
.contact-wrap > .contact-info { border-radius: 26px 0 0 26px; background:
        radial-gradient(360px 260px at 0% 100%, rgba(190, 145, 79, .3), transparent 70%),
        linear-gradient(160deg, var(--navy-900), var(--teal-700)); }
.contact-wrap > .contact-form-x { border-radius: 0 26px 26px 0; }
@media (max-width: 991px) {
    .contact-wrap > .contact-info { border-radius: 26px 26px 0 0; }
    .contact-wrap > .contact-form-x { border-radius: 0 0 26px 26px; }
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes rotateBorder { to { --angle: 360deg; } }

/* Testimonial avatar halo */
.testimonial .person img { animation: halo 3s ease-in-out infinite; }
@keyframes halo { 50% { box-shadow: 0 0 0 8px rgba(212, 169, 101, .18); } }

/* Hero slides: Ken Burns on the active card */
.home-swiper .swiper-slide-active img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

/* Header link underline grow */
@media (min-width: 992px) {
    .nav-link-x { position: relative; }
    .nav-link-x::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 4px;
        width: 0;
        height: 2px;
        border-radius: 2px;
        background: var(--gold-400);
        transition: width .3s var(--ease), left .3s var(--ease);
    }
    .nav-link-x:hover::after, .nav-link-x.active::after { width: 18px; left: calc(50% - 9px); }
}

/* Scroll-down hint */
.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 84px;
    z-index: 2;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 14px;
}
.scroll-hint::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: var(--gold-400);
    animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 991px) { .scroll-hint { display: none; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    /* Elements that start hidden and are revealed by an animation: show them as-is */
    .reveal-words .w, .fade-up-in, .net-canvas { opacity: 1 !important; transform: none !important; filter: none !important; }
    .scroll-hint, .orb { display: none; }
}
