:root {
    --bg: #f4f7f8;
    --paper: #ffffff;
    --ink: #1f2f33;
    --brand: #0b8f8f;
    --brand-dark: #0a6f6f;
    --accent: #ff7a18;
    --muted: #5c6f73;
    --line: #d8e3e6;
    --shadow: 0 20px 50px rgba(15, 56, 56, 0.12);
    --header-bg: rgba(244, 247, 248, 0.88);
    --bg-grad-start: #eefaf9;
    --bg-grad-mid: #f4f7f8;
    --bg-grad-end: #f8f3eb;
    --orb-one: #9de9df;
    --orb-two: #ffc996;
    --grid-line: rgba(12, 71, 71, 0.04);
    --chip-bg: #e4f5f5;
    --chip-text: #0a6f6f;
    --surface-soft: #f8fbfc;
    --surface-soft-hover: #eaf3f5;
    --input-bg: #ffffff;
    --input-border: #cedadd;
    --footer-text: #5f7075;
    --mark-bg: #ffe3ba;
    --mark-text: #4f3209;
    --slider-btn-bg: rgba(255, 255, 255, .92);
    --captcha-bg: #f4faf9;
    --portfolio-bg-base: linear-gradient(180deg, #f8fbff 0%, #f3f7fb 52%, #eef3f8 100%);
    --portfolio-glow-a: rgba(16, 102, 145, .16);
    --portfolio-glow-b: rgba(214, 165, 90, .22);
    --portfolio-grid-line: rgba(15, 52, 74, .055);
    --portfolio-noise: rgba(255, 255, 255, .26);
}

html[data-theme="dark"] {
    --bg: #10181d;
    --paper: #1b272e;
    --ink: #dbe8ef;
    --brand: #2bc4c4;
    --brand-dark: #17a7a7;
    --accent: #ffab66;
    --muted: #9eb1bb;
    --line: #2f3e47;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    --header-bg: rgba(16, 24, 29, 0.9);
    --bg-grad-start: #0f161b;
    --bg-grad-mid: #121c22;
    --bg-grad-end: #10171d;
    --orb-one: #2a6f6c;
    --orb-two: #7f5a35;
    --grid-line: rgba(130, 158, 170, 0.08);
    --chip-bg: rgba(35, 95, 95, 0.35);
    --chip-text: #7be0e0;
    --surface-soft: #22323b;
    --surface-soft-hover: #2b3f49;
    --input-bg: #1a2730;
    --input-border: #324550;
    --footer-text: #a4b5be;
    --mark-bg: #5f4a2c;
    --mark-text: #ffe0b5;
    --slider-btn-bg: rgba(27, 39, 46, .92);
    --captcha-bg: #22323b;
    --portfolio-bg-base: linear-gradient(180deg, #111c25, #0f1820 58%, #0f171f 100%);
    --portfolio-glow-a: rgba(57, 130, 167, .26);
    --portfolio-glow-b: rgba(158, 120, 62, .3);
    --portfolio-grid-line: rgba(142, 182, 204, .08);
    --portfolio-noise: rgba(185, 214, 231, .06);
}

* { box-sizing: border-box; }
.hp-field-wrap {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at 20% 10%, var(--bg-grad-start) 0%, var(--bg-grad-mid) 35%, var(--bg-grad-end) 100%);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background .4s ease, color .4s ease;
}

main {
    flex: 1 0 auto;
    display: block;
}

.bg-orb {
    position: fixed;
    z-index: -2;
    border-radius: 50%;
    filter: blur(8px);
    opacity: .45;
}
.orb-one {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, var(--orb-one) 0%, rgba(157, 233, 223, 0) 72%);
    top: -120px;
    right: -80px;
    animation: floatOrb 11s ease-in-out infinite;
}
.orb-two {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--orb-two) 0%, rgba(255, 201, 150, 0) 72%);
    bottom: -160px;
    left: -110px;
    animation: floatOrb 14s ease-in-out infinite reverse;
}
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at center, #000 30%, transparent 88%);
}

.container { width: min(1140px, 92%); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 9;
    backdrop-filter: blur(8px);
    background: var(--header-bg);
    border-bottom: 1px solid var(--line);
    transition: background .4s ease, border-color .4s ease;
}
.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}
.brand { display: flex; gap: 12px; text-decoration: none; color: var(--ink); align-items: center; }
.brand h1 { margin: 0; font-size: 1rem; font-family: 'Sora', sans-serif; }
.brand p { margin: 2px 0 0; color: var(--muted); font-size: 0.82rem; }
.brand-logo { width: 52px; height: 52px; object-fit: contain; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.brand-mark {
    width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand), var(--accent));
}
.top-nav { display: flex; gap: 20px; align-items: center; }
.top-nav a { text-decoration: none; color: var(--ink); font-weight: 700; }
.top-nav a:hover { color: var(--brand); }
.mobile-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    color: var(--ink);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    border: 0;
    background: transparent;
    color: var(--ink);
    font-weight: 700;
    font-size: inherit;
    line-height: 1.2;
    font-family: inherit;
    padding: 0;
    cursor: pointer;
}
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: min(340px, 80vw);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 14px 26px rgba(22, 40, 44, 0.16);
    padding: 10px;
    display: none;
    z-index: 30;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(-6px);
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.nav-dropdown.nav-dropdown-open .nav-dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.nav-dropdown-menu a {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
}
.nav-dropdown-menu a small {
    display: block;
    color: var(--muted);
}
.nav-dropdown-menu a:hover {
    background: rgba(11, 143, 143, .08);
}
.nav-dropdown-all {
    font-weight: 700;
    border-bottom: 1px dashed var(--line);
    margin-bottom: 6px;
}
.project-search-wrap {
    padding: 6px 8px 10px;
}
.project-group {
    padding: 2px 2px 8px;
}
.project-group-title {
    padding: 6px 10px 4px;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    font-weight: 800;
}
.project-search-input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: .9rem;
}
.project-no-result {
    padding: 8px 10px;
    color: var(--muted);
    font-size: .85rem;
}
.project-sub-item {
    margin-left: 10px;
    border-left: 2px solid var(--line);
    padding-left: 10px !important;
}
.project-search-item mark {
    background: var(--mark-bg);
    color: var(--mark-text);
    border-radius: 4px;
    padding: 0 2px;
}
.theme-toggle {
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    border-radius: 999px;
    height: 38px;
    padding: 0 10px 0 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.theme-toggle-track {
    width: 42px;
    height: 22px;
    border-radius: 999px;
    background: #bccdd3;
    display: inline-flex;
    align-items: center;
    padding: 2px;
    transition: background .25s ease;
}
.theme-toggle-knob {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
    transform: translateX(0);
    transition: transform .25s ease;
}
html[data-theme="dark"] .theme-toggle-track {
    background: #0b8f8f;
}
html[data-theme="dark"] .theme-toggle-knob {
    transform: translateX(20px);
}
.theme-toggle-label {
    font-size: .8rem;
    font-weight: 700;
}

.hero { padding: 72px 0 36px; position: relative; }
.parallax-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.parallax-layer {
    position: absolute;
    border-radius: 50%;
    opacity: .28;
    transform: translate3d(0,0,0);
}
.layer-a {
    width: 300px;
    height: 300px;
    right: 6%;
    top: 16%;
    background: radial-gradient(circle at 30% 30%, #0ca4a5, transparent 70%);
}
.layer-b {
    width: 220px;
    height: 220px;
    left: 8%;
    top: 8%;
    background: radial-gradient(circle at 30% 30%, #ff9f56, transparent 70%);
}
.layer-c {
    width: 280px;
    height: 280px;
    left: 34%;
    bottom: -60px;
    background: radial-gradient(circle at 30% 30%, #9fd6ff, transparent 70%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #def4f4;
    color: var(--brand-dark);
    font-weight: 700;
    margin-bottom: 12px;
}
.hero h2 { font-family: 'Sora', sans-serif; font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 14px; }
.hero p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.btn-primary,
.btn-outline {
    text-decoration: none;
    padding: 11px 18px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 700;
}
.btn-primary { background: linear-gradient(125deg, var(--brand), var(--brand-dark)); color: #fff; }
.btn-outline { border: 1px solid var(--brand); color: var(--brand-dark); background: transparent; }
.hero-card {
    background: var(--paper);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    transition: border-color .4s ease;
}
.hero-card h3 { margin-top: 0; font-family: 'Sora', sans-serif; }
.hero-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.hero-card li i { color: var(--accent); margin-right: 8px; }

.hero-offer {
    position: relative;
    min-height: 82vh;
    display: grid;
    align-items: end;
    margin-bottom: 34px;
    overflow: hidden;
}
.hero-offer-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-offer-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity .9s ease, transform 5.5s ease;
}
.hero-offer-slide.is-active {
    opacity: 1;
    transform: scale(1.08);
    animation: heroKenBurns 5.5s ease forwards;
}
.hero-offer-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 74% 28%, rgba(253, 167, 77, .22), transparent 42%),
        linear-gradient(110deg, rgba(8, 26, 41, .68) 16%, rgba(10, 43, 60, .42) 56%, rgba(12, 23, 38, .62) 100%);
}
.hero-offer-content {
    position: relative;
    z-index: 2;
    padding: 80px 0 120px;
}
.hero-offer-copy {
    max-width: 540px;
    color: #fff;
    text-shadow: 0 8px 22px rgba(0, 0, 0, .28);
}
.hero-offer-copy.is-swapping {
    animation: heroTextSwap .55s ease;
}
.hero-offer-copy .eyebrow {
    background: rgba(255, 255, 255, .16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
}
.hero-offer-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: 'Sora', sans-serif;
}
.hero-offer-copy p {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    line-height: 1.7;
}
.btn-outline-light {
    border-color: rgba(255, 255, 255, .82);
    color: #fff;
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, .12);
}
.offer-download-wrap {
    position: relative;
    z-index: 3;
    margin-top: -88px;
}
.hero-offer-indicator {
    position: absolute;
    left: 0;
    bottom: 60px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(5, 18, 31, .52);
    border: 1px solid rgba(187, 216, 225, .3);
    border-radius: 999px;
    padding: 8px 12px;
}
.hero-offer-dots {
    display: flex;
    gap: 8px;
}
.hero-offer-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    padding: 0;
    cursor: pointer;
}
.hero-offer-dot.active {
    background: #ffba78;
}
.hero-offer-count {
    color: rgba(255, 255, 255, .9);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
}
.offer-download-form {
    background: linear-gradient(120deg, rgba(8, 35, 48, .95), rgba(6, 57, 52, .92));
    border: 1px solid rgba(173, 215, 208, .24);
    border-radius: 14px;
    padding: 14px 16px 16px;
    box-shadow: 0 22px 40px rgba(10, 26, 39, .34);
    backdrop-filter: blur(9px) saturate(130%);
    -webkit-backdrop-filter: blur(9px) saturate(130%);
    position: relative;
    overflow: hidden;
}
.offer-download-form::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0));
    pointer-events: none;
}
.offer-download-form h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.06rem;
    text-align: center;
    letter-spacing: .2px;
}
.offer-download-fields {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.offer-download-fields input {
    background: rgba(250, 254, 255, .96);
    border: 1px solid rgba(194, 214, 223, .8);
    border-radius: 8px;
    padding: 10px 11px;
    font-size: .86rem;
    color: #1f3a48;
}
.offer-download-fields input:focus {
    outline: 0;
    border-color: #f6b36c;
    box-shadow: 0 0 0 3px rgba(246, 179, 108, .22);
}
.offer-download-btn {
    display: block;
    margin: 10px auto 0;
    min-width: 220px;
    border: 1px solid rgba(255, 221, 182, .65);
    border-radius: 999px;
    padding: 9px 16px;
    background: linear-gradient(130deg, #f29a4a, #e87e3a);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(232, 126, 58, .34);
}
.offer-download-btn:hover {
    filter: brightness(1.04);
}

.section { padding: 56px 0; }
.section.alt { background: linear-gradient(180deg, var(--paper), var(--bg)); }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 22px; }
.section-head h3 { margin: 0; font-family: 'Sora', sans-serif; font-size: 1.7rem; }
.section-head p { color: var(--muted); margin: 6px 0 0; }

/* Section Kicker styling */
.section-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--brand-dark);
    margin-bottom: 8px;
}

/* Testimonial section specific styling */
.testimonials-luxe-section .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 48px;
}

.testimonials-luxe-section .section-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--brand-dark);
}

.testimonials-luxe-section .section-kicker::before {
    content: '★';
    font-size: 1.1rem;
    opacity: 0.8;
}

.testimonials-luxe-section .section-head h3 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 12px 0 0 0;
    background: linear-gradient(135deg, var(--ink), var(--brand-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-luxe-section .section-head p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted);
    margin-top: 12px;
    max-width: 600px;
}

.link-arrow { color: var(--brand-dark); text-decoration: none; font-weight: 700; }

.about-intro-card {
    position: relative;
    background: linear-gradient(130deg, rgba(255, 255, 255, .94), rgba(238, 250, 249, .95));
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 16px 34px rgba(13, 36, 44, .1);
    overflow: hidden;
}
.about-intro-card::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    right: -54px;
    top: -54px;
    background: radial-gradient(circle, rgba(11, 143, 143, .2) 0%, rgba(11, 143, 143, 0) 70%);
}
.about-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--brand-dark);
    background: var(--chip-bg);
    border-radius: 999px;
    padding: 7px 12px;
    margin-bottom: 12px;
}
.about-intro-card h3 {
    margin: 0 0 10px;
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.7rem, 2.7vw, 2.2rem);
    line-height: 1.25;
    color: #17313a;
    max-width: 760px;
}
.about-lead {
    margin: 0;
    max-width: 980px;
    font-size: 1.26rem;
    line-height: 1.68;
    color: #29444d;
}
html[data-theme="dark"] .about-intro-card {
    background: linear-gradient(130deg, rgba(27, 39, 46, .94), rgba(34, 50, 59, .95));
    border-color: rgba(103, 139, 156, .32);
}
html[data-theme="dark"] .about-intro-card h3 {
    color: #e2edf3;
}
html[data-theme="dark"] .about-lead {
    color: #c6d8e1;
}
.about-pill-row {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.about-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 9px 12px;
    background: #fff;
    border: 1px solid rgba(11, 143, 143, .24);
    color: #1c3d46;
    font-size: .9rem;
    font-weight: 700;
}
.about-pill i {
    color: var(--brand-dark);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}
.cluster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
.cluster-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
}
.trust-band {
    padding-top: 22px;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.trust-item {
    border: 1px solid rgba(255, 255, 255, .25);
    background: linear-gradient(135deg, #0f8b8d, #0a6f6f);
    border-radius: 16px;
    padding: 18px 18px 16px;
    box-shadow: 0 16px 30px rgba(9, 40, 47, .2);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    position: relative;
    overflow: hidden;
}
.trust-item-a { background: linear-gradient(135deg, #0f8b8d, #1b6d82); }
.trust-item-b { background: linear-gradient(135deg, #1d7eb6, #255f9f); }
.trust-item-c { background: linear-gradient(135deg, #18856e, #1b6e59); }
.trust-item-d { background: linear-gradient(135deg, #cc7a2f, #ab5f1f); }
.trust-item::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    right: -42px;
    top: -42px;
    filter: blur(2px);
}
.trust-item::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 10px;
    height: 3px;
    background: rgba(255, 255, 255, .44);
    border-radius: 999px;
    transform: scaleX(.2);
    transform-origin: left center;
    transition: transform .35s ease;
    pointer-events: none;
}
.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 34px rgba(10, 31, 38, .28);
    border-color: rgba(255, 255, 255, .45);
}
.trust-item:hover::after {
    transform: scaleX(.7);
}
.trust-item.counter-done::after {
    transform: scaleX(1);
}
.trust-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .18);
    animation: trustIconFloat 3.8s ease-in-out infinite;
}
.trust-icon i {
    font-size: 1.15rem;
}
.trust-kicker {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .8);
    font-weight: 700;
}
.trust-item strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 6px;
    color: #fff;
    letter-spacing: -.02em;
    text-shadow: 0 8px 16px rgba(0, 0, 0, .22);
}
.trust-item strong.counter-pop {
    animation: counterPop .35s ease;
}
.trust-item span {
    color: rgba(255, 255, 255, .92);
    font-size: 1.02rem;
    line-height: 1.5;
}
.trust-grid .trust-item:nth-child(1).show { transition-delay: .02s; }
.trust-grid .trust-item:nth-child(2).show { transition-delay: .09s; }
.trust-grid .trust-item:nth-child(3).show { transition-delay: .16s; }
.trust-grid .trust-item:nth-child(4).show { transition-delay: .23s; }
.contact-map-head {
    margin-top: 1rem;
    margin-bottom: 0.6rem;
}
.contact-map-head h4 {
    margin: 0;
}
.cluster-map {
    width: 100%;
    height: 340px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}
.cluster-map .leaflet-popup-content {
    font-size: 0.95rem;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .cluster-map {
        height: 300px;
    }
}
.cluster-card {
    border-radius: 18px;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.cluster-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
.cluster-card-link:hover {
    transform: translateY(-8px);
}
.cluster-media {
    height: 210px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}
.cluster-card-link:hover .cluster-media {
    transform: scale(1.05);
}
.cluster-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cluster-body span {
    display: inline-block;
    background: var(--chip-bg);
    color: var(--chip-text);
    font-size: .82rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
}
.category-badge {
    background: linear-gradient(135deg, #0b8f8f, #0a6f6f) !important;
    color: white !important;
}
html[data-theme="dark"] .category-badge {
    background: linear-gradient(135deg, #2bc4c4, #17a7a7) !important;
    color: white !important;
}
.cluster-body h4 {
    margin: 10px 0 8px;
    font-family: 'Sora', sans-serif;
}
.cluster-body p {
    margin: 0 0 12px 0;
    color: var(--muted);
    line-height: 1.6;
    flex: 1;
}
.cluster-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0b8f8f;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.cluster-card-link:hover .cluster-cta {
    gap: 12px;
}
.cluster-cta i {
    transition: transform 0.3s ease;
}
.cluster-card-link:hover .cluster-cta i {
    transform: translateX(4px);
.cluster-image {
    position: relative;
    height: 210px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}
.cluster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 143, 143, 0.3), rgba(10, 111, 111, 0.3));
    transition: background 0.3s ease;
}
.cluster-card-link:hover .cluster-overlay {
    background: linear-gradient(135deg, rgba(11, 143, 143, 0.5), rgba(10, 111, 111, 0.5));
}
.cluster-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 50%;
    padding: 0 16px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.cluster-content h4 {
    margin: 0 0 8px 0;
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}
.cluster-content p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.95;
}
.cluster-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}
}
html[data-theme="dark"] .cluster-cta {
    color: #2bc4c4;
}
.media-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.media-gallery-card {
    margin: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(22, 43, 53, .08);
    cursor: zoom-in;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.media-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(22, 43, 53, .14);
    border-color: rgba(11, 143, 143, .45);
}
.media-gallery-card:focus {
    outline: 3px solid rgba(11, 143, 143, .35);
    outline-offset: 2px;
}
.media-gallery-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}
.media-gallery-card figcaption {
    padding: 10px 12px;
    font-size: .88rem;
    color: var(--muted);
}
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
    background: rgba(11, 17, 24, .88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.gallery-modal.show {
    display: flex;
}
.gallery-modal-panel {
    width: min(1080px, 96vw);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    position: relative;
    padding: 14px;
}
.gallery-modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
}
.gallery-modal-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 6px 34px 10px 4px;
}
.gallery-modal-toolbar strong {
    font-family: 'Sora', sans-serif;
    font-size: .98rem;
}
.gallery-modal-controls {
    display: inline-flex;
    gap: 8px;
}
.gallery-modal-controls button {
    width: auto;
    min-width: 54px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-soft);
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
}
.gallery-modal-controls button:hover {
    background: var(--surface-soft-hover);
}
.gallery-modal-stage {
    background: #0f1720;
    border-radius: 12px;
    overflow: auto;
    height: min(72vh, 720px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.gallery-modal-stage img {
    max-width: 100%;
    max-height: 100%;
    transform-origin: center center;
    transition: transform .15s ease;
    user-select: none;
}
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.promo-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}
.promo-media {
    height: 180px;
    background-size: cover;
    background-position: center;
}
.promo-body {
    padding: 16px;
}
.promo-body h3 {
    margin: 0 0 10px;
}
.promo-body p {
    margin: 0 0 12px;
    color: var(--muted);
}
.promo-detail-box {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1fr;
}
.promo-detail-media {
    min-height: 320px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
}
.promo-detail-content {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
}
@keyframes popupBackdropEnter {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes popupCardEnter {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes popupBackdropExit {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes popupCardExit {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
}

.promo-popup {
    position: fixed;
    inset: 0;
    background: rgba(15, 22, 28, .62);
    z-index: 130;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    animation: popupBackdropExit 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.promo-popup.show {
    display: flex;
    animation: popupBackdropEnter 0.5s cubic-bezier(0.2, 0, 0.38, 0.9) forwards;
}
.promo-popup-card {
    width: min(760px, 95vw);
    background: var(--paper);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    position: relative;
    animation: popupCardExit 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.promo-popup.show .promo-popup-card {
    animation: popupCardEnter 0.5s cubic-bezier(0.2, 0, 0.38, 0.9) forwards;
}
.promo-popup-track {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.promo-popup-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
}
.promo-popup-slide.is-active {
    display: grid;
}
.promo-popup-media {
    min-height: 260px;
    background-size: cover;
    background-position: center;
}
.promo-popup-body {
    padding: 18px;
}
.promo-popup-body h3 {
    margin: 10px 0;
}
.promo-popup-body p {
    margin: 0 0 14px;
    color: var(--muted);
}
.promo-popup-badge {
    display: inline-block;
    background: var(--chip-bg);
    color: var(--chip-text);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    padding: 5px 9px;
}
.promo-popup-close {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, .4);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 6;
    pointer-events: auto;
}
.promo-popup-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: rgba(10, 19, 29, .55);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.promo-popup-nav.prev {
    left: 10px;
}
.promo-popup-nav.next {
    right: 10px;
}
.promo-popup-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: inline-flex;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(10, 19, 29, .35);
    z-index: 2;
}
.promo-popup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
}
.promo-popup-dot.active {
    background: #fff;
}
.lead-magnet-popup {
    position: fixed;
    inset: 0;
    z-index: 140;
    background: rgba(10, 18, 24, .72);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.lead-magnet-popup.show {
    display: flex;
}
.lead-magnet-card {
    width: min(540px, 94vw);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    position: relative;
    padding: 18px;
    box-shadow: 0 24px 54px rgba(0, 0, 0, .35);
}
.lead-magnet-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}
.lead-magnet-badge {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(120deg, var(--brand), var(--accent));
    border-radius: 999px;
    padding: 6px 10px;
}
.lead-magnet-head h3 {
    margin: 10px 0 8px;
    font-family: 'Sora', sans-serif;
}
.lead-magnet-head p {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.6;
}
.lead-magnet-form {
    display: grid;
    gap: 10px;
}
.lead-magnet-form .btn-primary {
    width: 100%;
}
.home-slider {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: var(--paper);
}
.home-slider-track {
    display: flex;
    transition: transform .45s ease;
}
.home-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
}
.home-slide-media {
    min-height: 320px;
    background-size: cover;
    background-position: center;
}
.home-slide-content {
    padding: 26px;
    display: grid;
    align-content: center;
    gap: 10px;
}
.home-slide-content h4 {
    margin: 0;
    font-size: 1.45rem;
    font-family: 'Sora', sans-serif;
}
.home-slide-content p {
    margin: 0;
    line-height: 1.6;
    color: var(--muted);
}
.home-slider-controls {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
}
.home-slider-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--slider-btn-bg);
    cursor: pointer;
}
.home-slider-dots {
    position: absolute;
    left: 24px;
    bottom: 16px;
    display: flex;
    gap: 8px;
}
.home-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .65);
    cursor: pointer;
}
.home-slider-dot.active {
    background: var(--accent);
}
.card {
    background: var(--paper);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
    transform: translateY(-6px) rotateX(2deg);
    box-shadow: 0 18px 30px rgba(20, 58, 58, .14);
}
.card i { color: var(--brand); font-size: 1.4rem; }
.card h4 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.cluster-portfolio-block:nth-child(even) {
    background: transparent;
}
.portfolio-card {
    border-radius: 18px;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(36, 52, 58, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 34px rgba(26, 44, 48, .16);
}
.portfolio-media {
    height: 170px;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(120deg, #b8d9d9, #f4dac3);
}
.portfolio-media.lightbox-trigger {
    width: 100%;
    border: 0;
    cursor: zoom-in;
}
.portfolio-body { padding: 16px; }
.portfolio-body span {
    font-size: .82rem;
    font-weight: 700;
    color: var(--chip-text);
    background: var(--chip-bg);
    padding: 6px 10px;
    border-radius: 999px;
}
.portfolio-body h4 { margin: 12px 0 8px; }
.portfolio-body p { color: var(--muted); margin: 0; line-height: 1.6; }
.detail-link {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    font-weight: 700;
    color: var(--brand-dark);
}

.home-portfolio-luxe {
    position: relative;
    overflow: hidden;
    padding-top: 72px;
    padding-bottom: 78px;
    background:
        radial-gradient(circle at 8% 24%, var(--portfolio-glow-a), transparent 38%),
        radial-gradient(circle at 92% 14%, var(--portfolio-glow-b), transparent 34%),
        var(--portfolio-bg-base);
}

.home-portfolio-luxe::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--portfolio-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--portfolio-grid-line) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at center, #000 24%, transparent 92%);
    opacity: .75;
    animation: portfolioGridDrift 28s linear infinite;
}

.home-portfolio-luxe::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 88%, var(--portfolio-noise), transparent 34%),
        radial-gradient(circle at 82% 8%, var(--portfolio-noise), transparent 30%),
        repeating-linear-gradient(125deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 12px);
    mix-blend-mode: soft-light;
    opacity: .8;
    transform-origin: center center;
    animation: portfolioGlowPulse 15s ease-in-out infinite alternate;
}

.home-portfolio-luxe .container {
    position: relative;
    z-index: 2;
}

.home-portfolio-luxe .portfolio-head {
    margin-bottom: 28px;
}

.home-portfolio-luxe .portfolio-head h3 {
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
    letter-spacing: -.02em;
    color: #102a3d;
}

.home-portfolio-luxe .portfolio-head .link-arrow {
    border: 1px solid rgba(16, 57, 83, .14);
    background: rgba(255, 255, 255, .85);
    color: #144761;
    box-shadow: 0 10px 18px rgba(11, 32, 46, .08);
}

.home-portfolio-luxe .portfolio-grid {
    gap: 24px;
}

.home-portfolio-luxe .portfolio-card {
    border-radius: 22px;
    border: 1px solid rgba(20, 65, 92, .12);
    background: linear-gradient(180deg, #ffffff, #fbfdff 64%, #f8fcff);
    box-shadow: 0 18px 34px rgba(15, 42, 59, .14);
    transform-origin: center top;
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.home-portfolio-luxe .portfolio-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(214, 165, 90, .5);
    box-shadow: 0 30px 48px rgba(11, 35, 51, .22);
}

.home-portfolio-luxe .portfolio-media {
    position: relative;
    height: 196px;
}

.home-portfolio-luxe .portfolio-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 14%, rgba(255, 255, 255, .34), transparent 36%),
        linear-gradient(180deg, rgba(10, 38, 56, .06), rgba(10, 38, 56, .34));
    pointer-events: none;
}

.home-portfolio-luxe .portfolio-body {
    padding: 18px 16px 16px;
}

.home-portfolio-luxe .portfolio-body span {
    border: 1px solid rgba(13, 90, 120, .16);
    background: linear-gradient(180deg, #eaf6ff, #dbedf8);
    color: #12516f;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.home-portfolio-luxe .portfolio-body h4 {
    margin: 12px 0 9px;
    font-family: 'Sora', sans-serif;
    font-size: 1.28rem;
    color: #143145;
    line-height: 1.3;
}

.home-portfolio-luxe .portfolio-body p {
    color: #4f6675;
    font-size: .98rem;
    line-height: 1.65;
}

.home-portfolio-luxe .detail-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    color: #0f5b73;
    font-weight: 800;
}

.home-portfolio-luxe .detail-link::after {
    content: '\2192';
    font-size: .9em;
    transition: transform .2s ease;
}

.home-portfolio-luxe .portfolio-card:hover .detail-link::after {
    transform: translateX(3px);
}

html[data-theme="dark"] .home-portfolio-luxe .portfolio-head h3 {
    color: #d4e4ef;
}

html[data-theme="dark"] .home-portfolio-luxe .portfolio-head .link-arrow {
    color: #9fd8ec;
    border-color: rgba(159, 216, 236, .2);
    background: rgba(21, 34, 43, .72);
}

html[data-theme="dark"] .home-portfolio-luxe .portfolio-card {
    border-color: rgba(126, 160, 178, .2);
    background: linear-gradient(180deg, #1a2932, #18242d 64%, #17222b);
    box-shadow: 0 20px 36px rgba(0, 0, 0, .34);
}

html[data-theme="dark"] .home-portfolio-luxe .portfolio-card:hover {
    border-color: rgba(214, 165, 90, .5);
}

html[data-theme="dark"] .home-portfolio-luxe .portfolio-body h4 {
    color: #dceaf3;
}

html[data-theme="dark"] .home-portfolio-luxe .portfolio-body p {
    color: #a8bcc8;
}

html[data-theme="dark"] .home-portfolio-luxe .detail-link {
    color: #9fd8ec;
}

.cluster-filter-section {
    padding-top: 24px;
    padding-bottom: 10px;
}

.portfolio-luxe-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(214, 165, 90, .34), transparent 34%),
        radial-gradient(circle at 8% 84%, rgba(23, 127, 170, .2), transparent 38%),
        linear-gradient(120deg, #0f2b3a 0%, #11455a 48%, #1a5f77 100%);
}

.portfolio-luxe-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at center, #000 34%, transparent 94%);
}

.portfolio-luxe-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: 28px;
    align-items: center;
}

.portfolio-luxe-hero-copy h2 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 3vw, 2.6rem);
    letter-spacing: .01em;
}

.portfolio-luxe-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .36);
    background: rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .95);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.portfolio-luxe-hero-copy p {
    max-width: 640px;
    margin-bottom: 0;
    color: rgba(237, 245, 250, .94);
    font-size: 1rem;
    line-height: 1.72;
}

.portfolio-luxe-hero-chips {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.portfolio-luxe-hero-chips span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .12);
    color: rgba(247, 251, 254, .96);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.portfolio-luxe-hero-aside {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .34);
    background: linear-gradient(165deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08));
    backdrop-filter: blur(6px);
    box-shadow: 0 18px 32px rgba(4, 22, 33, .24);
    padding: 16px;
    display: grid;
    gap: 10px;
}

.hero-aside-item {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(8, 35, 50, .2);
    padding: 10px 12px;
}

.hero-aside-item small {
    display: block;
    margin-bottom: 4px;
    color: rgba(236, 245, 251, .8);
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-aside-item strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: .01em;
}

.portfolio-luxe-filter {
    padding-top: 18px;
}

.portfolio-page-surface {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 84%, rgba(23, 127, 170, .08), transparent 42%),
        radial-gradient(circle at 90% 18%, rgba(214, 165, 90, .1), transparent 38%),
        linear-gradient(180deg, #f7fbff, #f2f7fc 56%, #eef4f9 100%);
}

.portfolio-page-surface::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 52, 74, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 52, 74, .04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at center, #000 26%, transparent 92%);
    opacity: .65;
}

.portfolio-luxe-filter .cluster-filter-tabs {
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(18, 74, 102, .13);
    background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(246, 251, 255, .92));
    box-shadow: 0 18px 30px rgba(18, 42, 56, .12);
    backdrop-filter: blur(4px);
}

.portfolio-luxe-filter .cluster-tab {
    border-color: rgba(18, 74, 102, .16);
    background: linear-gradient(180deg, #ffffff, #f7fbff);
    color: #19465e;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
    text-decoration: none;
    position: relative;
    isolation: isolate;
}

.portfolio-luxe-filter .cluster-tab:link,
.portfolio-luxe-filter .cluster-tab:visited,
.portfolio-luxe-filter .cluster-tab:hover,
.portfolio-luxe-filter .cluster-tab:focus,
.portfolio-luxe-filter .cluster-tab:active {
    text-decoration: none;
}

.portfolio-luxe-filter .cluster-tab:hover {
    border-color: rgba(214, 165, 90, .46);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(21, 70, 101, .12);
}

.portfolio-luxe-filter .cluster-tab.active {
    background: linear-gradient(130deg, #156e9a, #114d73);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 12px 20px rgba(17, 77, 115, .3);
}

.portfolio-luxe-filter .cluster-tab.active::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
}

.portfolio-luxe-block {
    position: relative;
    background: transparent;
}

.portfolio-luxe-block::before {
    content: none;
}

.portfolio-luxe-block .container {
    position: relative;
    z-index: 2;
}

.portfolio-page-surface .cluster-filter-section,
.portfolio-page-surface .cluster-portfolio-block {
    background: transparent;
}

.portfolio-luxe-head h3 {
    color: #13374d;
    font-size: clamp(1.45rem, 2.2vw, 1.95rem);
    letter-spacing: -.01em;
}

.portfolio-luxe-head .link-arrow {
    margin-left: auto;
}

.portfolio-luxe-head p {
    color: #5b7282;
}

.portfolio-luxe-grid {
    gap: 24px;
}

.cluster-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 34px;
}

.cluster-carousel-viewport {
    width: 100%;
    overflow: hidden;
}

.cluster-carousel-track {
    display: flex;
    transition: transform .35s ease;
    will-change: transform;
}

.cluster-carousel-item {
    flex: 0 0 calc(100% / 3);
    min-width: 0;
    padding: 0 10px;
}

.cluster-carousel-item:first-child {
    padding-left: 0;
}

.cluster-carousel-item:last-child {
    padding-right: 0;
}

.cluster-carousel-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(20, 71, 99, .2);
    background: rgba(255, 255, 255, .92);
    color: #13546f;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(15, 41, 56, .12);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.cluster-carousel-nav:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 14px 22px rgba(15, 41, 56, .18);
}

.cluster-carousel-nav:disabled {
    opacity: .38;
    cursor: not-allowed;
}

.cluster-carousel-indicator {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: #1a5873;
    border: 1px solid rgba(19, 82, 111, .18);
    background: rgba(255, 255, 255, .9);
    border-radius: 999px;
    padding: 5px 10px;
    box-shadow: 0 8px 14px rgba(15, 41, 56, .12);
}

.portfolio-luxe-card {
    border-radius: 20px;
    border: 1px solid rgba(20, 69, 97, .14);
    background: linear-gradient(180deg, #ffffff, #fafcff 62%, #f6fbff);
    box-shadow: 0 16px 30px rgba(18, 43, 59, .12);
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
    position: relative;
    overflow: hidden;
}

.portfolio-luxe-card::after,
.home-portfolio-luxe .portfolio-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity .22s ease;
    background: radial-gradient(circle 180px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 65%);
}

.portfolio-luxe-card:hover::after,
.home-portfolio-luxe .portfolio-card:hover::after {
    opacity: 1;
}

.portfolio-luxe-card:hover {
    transform: translateY(-9px) scale(1.008);
    border-color: rgba(214, 165, 90, .46);
    box-shadow: 0 26px 42px rgba(18, 43, 59, .2);
}

.portfolio-luxe-card .portfolio-media {
    height: 196px;
    position: relative;
}

.portfolio-luxe-card .portfolio-media::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .38), transparent 35%),
        linear-gradient(180deg, rgba(11, 32, 44, .05), rgba(11, 32, 44, .28));
}

.portfolio-luxe-card .portfolio-body {
    padding: 18px 16px 16px;
}

.portfolio-luxe-card .portfolio-body span {
    border: 1px solid rgba(17, 90, 124, .18);
    background: linear-gradient(180deg, #eaf6ff, #dceef9);
    color: #12516f;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .76rem;
}

.portfolio-luxe-card .portfolio-body h4 {
    margin: 12px 0 8px;
    font-size: 1.25rem;
    color: #17374b;
    font-family: 'Sora', sans-serif;
}

.portfolio-luxe-card .portfolio-body p {
    color: #526a79;
    line-height: 1.68;
}

.portfolio-luxe-card .detail-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0f5b73;
    font-weight: 800;
}

.portfolio-luxe-card .detail-link::after {
    content: '\2192';
    transition: transform .2s ease;
}

.portfolio-luxe-card:hover .detail-link::after {
    transform: translateX(3px);
}

.portfolio-detail-luxe-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 20%, rgba(214, 165, 90, .36), transparent 34%),
        radial-gradient(circle at 12% 88%, rgba(20, 117, 157, .22), transparent 38%),
        linear-gradient(120deg, #0f2736 0%, #113f55 48%, #1a5a72 100%);
}

.portfolio-detail-luxe-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at center, #000 32%, transparent 94%);
}

.portfolio-detail-luxe-wrap {
    background:
        radial-gradient(circle at 10% 22%, rgba(214, 165, 90, .1), transparent 36%),
        linear-gradient(180deg, #f8fcff, #f3f8fb 56%, #eef4f8 100%);
}

.portfolio-detail-luxe-grid {
    align-items: stretch;
    gap: 26px;
}

.portfolio-detail-luxe-media {
    min-height: 420px;
    border-radius: 20px;
    border: 1px solid rgba(18, 73, 101, .18);
    box-shadow: 0 20px 36px rgba(15, 40, 55, .18);
    position: relative;
    overflow: hidden;
}

.portfolio-detail-luxe-media::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, .34), transparent 35%),
        linear-gradient(180deg, rgba(8, 32, 46, .05), rgba(8, 32, 46, .34));
}

.portfolio-detail-luxe-content {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(18, 73, 101, .14);
    background: linear-gradient(180deg, #ffffff, #fbfdff 62%, #f8fcff);
    box-shadow: 0 16px 32px rgba(15, 40, 55, .12);
    padding: 32px;
    width: 100%;
}

.portfolio-detail-luxe-content::before,
.portfolio-detail-luxe-content::after {
    content: '';
    position: absolute;
    top: 24px;
    bottom: 24px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #d6a55a, #b67b3a);
    pointer-events: none;
}

.portfolio-detail-luxe-content::before {
    left: 0;
}

.portfolio-detail-luxe-content::after {
    right: 0;
}

.portfolio-detail-luxe-content h3 {
    margin-bottom: 10px;
    color: #17374b;
    font-size: 1.24rem;
    position: relative;
    padding-left: 12px;
}

.portfolio-detail-luxe-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #d6a55a, #b67b3a);
}

.portfolio-detail-luxe-content > p,
.portfolio-detail-luxe-content .rich-text {
    color: #536a79;
    line-height: 1.75;
}

.portfolio-detail-luxe-content .detail-cta-wrap {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed rgba(18, 73, 101, .22);
}

.portfolio-detail-luxe-content .btn-primary {
    border-radius: 999px;
    padding: 11px 20px;
    box-shadow: 0 12px 20px rgba(11, 89, 120, .24);
}

.portfolio-detail-luxe-content .portfolio-back-btn {
    border-radius: 999px;
    border-color: rgba(17, 76, 105, .25);
    color: #12506d;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.portfolio-detail-luxe-content .portfolio-back-btn:hover {
    background: rgba(19, 92, 126, .08);
}

.portfolio-detail-luxe-wrap .detail-grid .detail-content .detail-sections-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
    margin-bottom: 32px !important;
    width: 100%;
}

.portfolio-detail-luxe-wrap .detail-grid .detail-content .detail-sections-grid .detail-section {
    padding-bottom: 0;
    min-width: 0;
    display: block;
}

.portfolio-detail-luxe-wrap .detail-grid .detail-content .detail-sections-grid .detail-section h3 {
    margin-top: 0;
    margin-bottom: 12px;
    padding-right: 12px;
}

.portfolio-detail-luxe-wrap .detail-grid .detail-content .detail-sections-grid .detail-section h3::after {
    content: '';
    position: absolute;
    right: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #d6a55a, #b67b3a);
}

.portfolio-detail-luxe-wrap .detail-grid .detail-content .detail-sections-grid .spec-content {
    min-height: auto;
}

@media (max-width: 768px) {
    .portfolio-detail-luxe-wrap .detail-grid .detail-content .detail-sections-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

html[data-theme="dark"] .portfolio-luxe-hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(214, 165, 90, .26), transparent 36%),
        radial-gradient(circle at 8% 84%, rgba(66, 142, 177, .24), transparent 38%),
        linear-gradient(120deg, #0b1b27 0%, #0f2d3e 48%, #164156 100%);
}

html[data-theme="dark"] .portfolio-luxe-kicker {
    border-color: rgba(183, 217, 235, .34);
    background: rgba(164, 208, 230, .12);
    color: #d8ebf5;
}

html[data-theme="dark"] .portfolio-luxe-hero-copy p {
    color: rgba(210, 226, 236, .92);
}

html[data-theme="dark"] .portfolio-luxe-hero-chips span {
    border-color: rgba(182, 211, 226, .28);
    background: rgba(169, 211, 231, .1);
    color: #d7e9f3;
}

html[data-theme="dark"] .portfolio-luxe-hero-aside {
    border-color: rgba(177, 207, 223, .3);
    background: linear-gradient(165deg, rgba(154, 198, 219, .16), rgba(25, 44, 57, .32));
    box-shadow: 0 18px 34px rgba(0, 0, 0, .3);
}

html[data-theme="dark"] .hero-aside-item {
    border-color: rgba(168, 199, 216, .2);
    background: rgba(20, 38, 50, .36);
}

html[data-theme="dark"] .hero-aside-item small {
    color: rgba(177, 205, 220, .86);
}

html[data-theme="dark"] .hero-aside-item strong {
    color: #ecf6fb;
}

html[data-theme="dark"] .portfolio-luxe-filter .cluster-filter-tabs {
    border-color: rgba(140, 175, 195, .2);
    background: linear-gradient(180deg, rgba(26, 39, 48, .95), rgba(23, 36, 45, .92));
    box-shadow: 0 16px 28px rgba(0, 0, 0, .36);
}

html[data-theme="dark"] .portfolio-luxe-filter,
html[data-theme="dark"] .portfolio-luxe-block {
    background: transparent;
}

html[data-theme="dark"] .portfolio-page-surface {
    background:
        radial-gradient(circle at 8% 84%, rgba(66, 142, 177, .14), transparent 42%),
        radial-gradient(circle at 90% 18%, rgba(214, 165, 90, .12), transparent 38%),
        linear-gradient(180deg, #111c25, #101922 56%, #0f1921 100%);
}

html[data-theme="dark"] .portfolio-page-surface::before {
    background-image:
        linear-gradient(rgba(155, 191, 212, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(155, 191, 212, .05) 1px, transparent 1px);
}

html[data-theme="dark"] .portfolio-luxe-filter .cluster-tab {
    border-color: rgba(140, 175, 195, .26);
    background: linear-gradient(180deg, #1f2f39, #1a2831);
    color: #bed2de;
    text-decoration: none;
}

html[data-theme="dark"] .portfolio-luxe-filter .cluster-tab.active {
    background: linear-gradient(130deg, #166d94, #124f73);
    color: #ffffff;
}

html[data-theme="dark"] .portfolio-luxe-head h3 {
    color: #d8e8f1;
}

html[data-theme="dark"] .portfolio-luxe-head p {
    color: #9eb4c2;
}

html[data-theme="dark"] .cluster-carousel-nav {
    border-color: rgba(148, 186, 207, .26);
    background: rgba(21, 33, 42, .94);
    color: #9fd8ec;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .34);
}

html[data-theme="dark"] .cluster-carousel-indicator {
    color: #9fd8ec;
    border-color: rgba(159, 216, 236, .24);
    background: rgba(21, 33, 42, .94);
    box-shadow: 0 8px 14px rgba(0, 0, 0, .35);
}

html[data-theme="dark"] .portfolio-luxe-card {
    border-color: rgba(132, 165, 183, .24);
    background: linear-gradient(180deg, #1a2932, #18242d 62%, #17222b);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .36);
}

html[data-theme="dark"] .portfolio-luxe-card::after,
html[data-theme="dark"] .home-portfolio-luxe .portfolio-card::after {
    background: radial-gradient(circle 200px at var(--mx, 50%) var(--my, 50%), rgba(190, 224, 242, .2), rgba(190, 224, 242, 0) 68%);
}

html[data-theme="dark"] .portfolio-luxe-card .portfolio-body h4 {
    color: #d9e8f1;
}

html[data-theme="dark"] .portfolio-luxe-card .portfolio-body p {
    color: #a8bcc8;
}

html[data-theme="dark"] .portfolio-luxe-card .detail-link {
    color: #9fd8ec;
}

html[data-theme="dark"] .portfolio-detail-luxe-hero {
    background:
        radial-gradient(circle at 84% 20%, rgba(214, 165, 90, .26), transparent 34%),
        radial-gradient(circle at 12% 88%, rgba(66, 142, 177, .24), transparent 38%),
        linear-gradient(120deg, #0b1b27 0%, #0f2d3e 48%, #164156 100%);
}

html[data-theme="dark"] .portfolio-detail-luxe-wrap {
    background:
        radial-gradient(circle at 10% 22%, rgba(214, 165, 90, .12), transparent 36%),
        linear-gradient(180deg, #111c25, #101922 56%, #0f1921 100%);
}

html[data-theme="dark"] .portfolio-detail-luxe-media {
    border-color: rgba(132, 165, 183, .26);
    box-shadow: 0 20px 36px rgba(0, 0, 0, .36);
}

html[data-theme="dark"] .portfolio-detail-luxe-content {
    position: relative;
    overflow: hidden;
    border-color: rgba(132, 165, 183, .24);
    background: linear-gradient(180deg, #1a2932, #18242d 62%, #17222b);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .36);
}

html[data-theme="dark"] .portfolio-detail-luxe-content::before,
html[data-theme="dark"] .portfolio-detail-luxe-content::after {
    content: '';
    position: absolute;
    top: 24px;
    bottom: 24px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #d6a55a, #b67b3a);
    pointer-events: none;
}

html[data-theme="dark"] .portfolio-detail-luxe-content::before {
    left: 0;
}

html[data-theme="dark"] .portfolio-detail-luxe-content::after {
    right: 0;
}

html[data-theme="dark"] .portfolio-detail-luxe-content h3 {
    color: #d9e8f1;
}

html[data-theme="dark"] .portfolio-detail-luxe-content > p,
html[data-theme="dark"] .portfolio-detail-luxe-content .rich-text {
    color: #abc0cc;
}

html[data-theme="dark"] .portfolio-detail-luxe-content .portfolio-back-btn {
    border-color: rgba(159, 216, 236, .3);
    color: #9fd8ec;
}

html[data-theme="dark"] .portfolio-detail-luxe-content .portfolio-back-btn:hover {
    background: rgba(159, 216, 236, .08);
}

html[data-theme="dark"] .portfolio-detail-luxe-wrap .detail-grid .detail-content .detail-sections-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
}

html[data-theme="dark"] .portfolio-detail-luxe-wrap .detail-grid .detail-content .detail-sections-grid .detail-section {
    min-width: 0;
}

html[data-theme="dark"] .portfolio-detail-luxe-wrap .detail-grid .detail-content .detail-sections-grid .detail-section h3 {
    color: #d9e8f1;
    margin-top: 0;
    margin-bottom: 12px;
    padding-right: 12px;
}

html[data-theme="dark"] .portfolio-detail-luxe-wrap .detail-grid .detail-content .detail-sections-grid .detail-section h3::after {
    content: '';
    position: absolute;
    right: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #d6a55a, #b67b3a);
}

html[data-theme="dark"] .portfolio-detail-luxe-wrap .detail-grid .detail-content .detail-sections-grid .spec-content {
    color: #abc0cc;
}

@media (max-width: 768px) {
    html[data-theme="dark"] .portfolio-detail-luxe-wrap .detail-grid .detail-content .detail-sections-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

.cluster-filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.cluster-tab {
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 700;
}
.cluster-tab.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 18, .86);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 120;
    padding: 24px;
}
.lightbox.show {
    display: flex;
}
.lightbox img {
    max-width: min(1100px, 95vw);
    max-height: 85vh;
    border-radius: 14px;
}
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 2rem;
    color: #fff;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
}
.detail-media {
    min-height: 350px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
}
.detail-content {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
}
.detail-content h3 {
    margin: 0 0 8px;
    font-family: 'Sora', sans-serif;
}
.detail-content h3 + p,
.detail-content h3 + .rich-text {
    margin-top: 0;
    margin-bottom: 16px;
}
.detail-content > p {
    color: var(--muted);
    line-height: 1.7;
}
.rich-text {
    display: grid;
    gap: 10px;
}
.rich-text p {
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
}
.rich-text ul,
.rich-text ol {
    margin: 0;
    padding-left: 0;
    color: var(--muted);
    display: grid;
    gap: 12px;
    list-style: none;
}

/* Premium Team/Feature List Items */
.rich-text ul li,
.rich-text ol li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(23, 110, 154, 0.08), rgba(255, 122, 24, 0.04));
    border: 1px solid rgba(23, 110, 154, 0.1);
    border-radius: 12px;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.rich-text ul li::before,
.rich-text ol li::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(23, 110, 154, 0.15), rgba(255, 122, 24, 0.08));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.rich-text ul li:hover,
.rich-text ol li:hover {
    border-color: rgba(23, 110, 154, 0.25);
    background: linear-gradient(135deg, rgba(23, 110, 154, 0.12), rgba(255, 122, 24, 0.08));
    transform: translateX(6px);
    box-shadow: 0 8px 20px rgba(23, 110, 154, 0.1);
}

.rich-text ul li::after,
.rich-text ol li::after {
    content: '';
    min-width: 4px;
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, #176e9a, #ff7a18);
    border-radius: 2px;
    margin-top: 8px;
}

.rich-text ul li span,
.rich-text ol li span {
    display: block;
    font-weight: 600;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.6;
}

.rich-text a {
    word-break: break-word;
}

/* Icon styling for list items */
.rich-text ul li::before {
    content: '✓';
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #176e9a, #1a8ab8);
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    opacity: 1;
}

/* Override for ol (numbered list) */
.rich-text ol {
    counter-reset: item;
}

.rich-text ol li::before {
    content: '';
}

.rich-text ol li {
    counter-increment: item;
}

.rich-text ol li::after {
    content: '';
}

.detail-cta-wrap {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.detail-cta-wrap .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}
.custom-page-box {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
}

.page-hero {
    background: linear-gradient(130deg, #0f8b8d, #ff7a18);
    color: #fff;
    padding: 70px 0;
}

/* Dark Mode - Team/Feature List Items */
html[data-theme="dark"] .rich-text ul li,
html[data-theme="dark"] .rich-text ol li {
    background: linear-gradient(135deg, rgba(23, 110, 154, 0.15), rgba(255, 122, 24, 0.08));
    border-color: rgba(23, 110, 154, 0.15);
}

html[data-theme="dark"] .rich-text ul li:hover,
html[data-theme="dark"] .rich-text ol li:hover {
    background: linear-gradient(135deg, rgba(23, 110, 154, 0.25), rgba(255, 122, 24, 0.12));
    border-color: rgba(23, 110, 154, 0.3);
    box-shadow: 0 8px 20px rgba(23, 110, 154, 0.15);
}

html[data-theme="dark"] .rich-text ul li span,
html[data-theme="dark"] .rich-text ol li span {
    color: #e8f2f7;
}

html[data-theme="dark"] .rich-text ul li::before {
    background: linear-gradient(135deg, #1a8ab8, #23a8d5);
}
.page-hero h2 { margin: 0 0 12px; font-family: 'Sora', sans-serif; }

.about-luxe-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(214, 165, 90, .28), transparent 35%),
        radial-gradient(circle at 12% 78%, rgba(96, 206, 198, .2), transparent 36%),
        linear-gradient(120deg, #0b2b3a 0%, #12485f 48%, #1b5b71 100%);
}

.about-luxe-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at center, #000 36%, transparent 94%);
    opacity: .72;
    animation: aboutGridShift 30s linear infinite;
}

.about-luxe-hero::after {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    right: -110px;
    bottom: -130px;
    background:
        radial-gradient(circle, rgba(214, 165, 90, .26) 0%, rgba(214, 165, 90, 0) 70%);
    filter: blur(2px);
    pointer-events: none;
    animation: aboutOrbFloat 13s ease-in-out infinite;
}

.about-luxe-kicker {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 225, 179, .42);
    background: rgba(214, 165, 90, .16);
    color: #ffe4b8;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .75rem;
    margin-bottom: 14px;
}

.about-luxe-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, .92);
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-luxe-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 760px;
}

.about-luxe-metrics > div {
    border: 1px solid rgba(214, 227, 235, .3);
    background: rgba(7, 25, 35, .28);
    border-radius: 12px;
    padding: 10px 12px;
    backdrop-filter: blur(4px);
}

.about-luxe-metrics strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 1.32rem;
    color: #fff;
}

.about-luxe-metrics span {
    font-size: .82rem;
    color: rgba(255, 255, 255, .84);
}

.about-luxe-story {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 24%, rgba(13, 102, 145, .12), transparent 36%),
        linear-gradient(180deg, #f9fcff, #f3f8fc 56%, #f6fbff 100%);
}

.about-pt-section {
    padding-top: 18px;
}

.about-pt-head {
    margin-bottom: 22px;
}

.about-section-kicker {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(17, 92, 129, .08);
    border: 1px solid rgba(17, 92, 129, .14);
    color: #13617f;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.about-pt-head h3 {
    margin: 0;
    font-family: 'Sora', sans-serif;
    color: #123043;
    font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.about-pt-head p {
    margin: 8px 0 0;
    color: #52697a;
    max-width: 900px;
    line-height: 1.7;
}

.about-pt-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.about-pt-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 24px;
    border: 1px solid rgba(18, 74, 102, .12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 251, 255, .96));
    box-shadow: 0 18px 34px rgba(15, 41, 56, .1);
}

.about-pt-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 90% 10%, rgba(214, 165, 90, .14), transparent 32%);
}

.about-pt-card-a {
    border-top: 4px solid #156e9a;
}

.about-pt-card-b {
    border-top: 4px solid #d18e2d;
}

.about-pt-topline {
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
}

.about-pt-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(21, 110, 154, .12), rgba(17, 77, 115, .12));
    border: 1px solid rgba(21, 110, 154, .18);
    color: #156e9a;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-pt-badge.alt {
    background: linear-gradient(135deg, rgba(209, 142, 45, .12), rgba(214, 165, 90, .12));
    border-color: rgba(209, 142, 45, .18);
    color: #a56510;
}

.about-pt-topline h4 {
    margin: 0 0 8px;
    font-family: 'Sora', sans-serif;
    color: #123043;
    font-size: 1.3rem;
}

.about-pt-topline p {
    margin: 0;
    color: #4f6677;
    line-height: 1.7;
}

.about-pt-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 18px;
    position: relative;
    z-index: 1;
}

.about-pt-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(21, 110, 154, .08);
    border: 1px solid rgba(21, 110, 154, .14);
    color: #156e9a;
    font-size: .82rem;
    font-weight: 700;
}

.about-pt-chip.alt {
    background: rgba(209, 142, 45, .08);
    border-color: rgba(209, 142, 45, .14);
    color: #a56510;
}

.about-pt-dual-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.about-pt-panel {
    border-radius: 18px;
    padding: 18px;
    border: 1px solid rgba(18, 74, 102, .12);
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.about-pt-vision {
    background:
        linear-gradient(180deg, rgba(244, 251, 255, .98), rgba(235, 246, 252, .92));
}

.about-pt-mission {
    background:
        linear-gradient(180deg, rgba(255, 252, 245, .98), rgba(255, 247, 232, .92));
}

.about-pt-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .72);
    color: #10384e;
    border: 1px solid rgba(16, 56, 78, .08);
}

.about-pt-vision p {
    margin: 0;
    color: #355062;
    line-height: 1.8;
    font-size: .98rem;
}

.about-pt-mission ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.about-pt-mission li {
    position: relative;
    padding-left: 24px;
    color: #405969;
    line-height: 1.65;
}

.about-pt-mission li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #156e9a, #114d73);
    box-shadow: 0 0 0 4px rgba(21, 110, 154, .12);
}

html[data-theme="dark"] .about-pt-section,
html[data-theme="dark"] .about-luxe-story {
    background:
        radial-gradient(circle at 8% 24%, rgba(66, 142, 177, .12), transparent 36%),
        linear-gradient(180deg, #101922, #0f1720 56%, #101a22 100%);
}

html[data-theme="dark"] .about-section-kicker {
    background: rgba(159, 216, 236, .08);
    border-color: rgba(159, 216, 236, .18);
    color: #9fd8ec;
}

html[data-theme="dark"] .about-pt-head h3,
html[data-theme="dark"] .about-pt-topline h4 {
    color: #e2eef5;
}

html[data-theme="dark"] .about-pt-head p,
html[data-theme="dark"] .about-pt-topline p,
html[data-theme="dark"] .about-pt-vision p,
html[data-theme="dark"] .about-pt-mission li {
    color: #aec2cf;
}

html[data-theme="dark"] .about-pt-card {
    background:
        linear-gradient(180deg, rgba(20, 30, 38, .98), rgba(17, 25, 32, .96));
    border-color: rgba(150, 182, 199, .16);
    box-shadow: 0 20px 36px rgba(0, 0, 0, .34);
}

html[data-theme="dark"] .about-pt-panel {
    border-color: rgba(150, 182, 199, .12);
}

html[data-theme="dark"] .about-pt-vision {
    background: linear-gradient(180deg, rgba(18, 38, 49, .98), rgba(15, 29, 38, .92));
}

html[data-theme="dark"] .about-pt-mission {
    background: linear-gradient(180deg, rgba(48, 39, 20, .98), rgba(34, 27, 18, .92));
}

html[data-theme="dark"] .about-pt-label {
    background: rgba(255, 255, 255, .04);
    color: #d7e7ef;
    border-color: rgba(255, 255, 255, .08);
}

html[data-theme="dark"] .about-pt-chip {
    background: rgba(159, 216, 236, .08);
    border-color: rgba(159, 216, 236, .12);
    color: #9fd8ec;
}

html[data-theme="dark"] .about-pt-chip.alt {
    background: rgba(209, 142, 45, .08);
    border-color: rgba(209, 142, 45, .14);
    color: #f0c17c;
}

.about-luxe-story::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 11% 86%, rgba(14, 106, 149, .11), transparent 32%),
        radial-gradient(circle at 88% 14%, rgba(214, 165, 90, .1), transparent 30%);
    animation: aboutGlowPulse 11s ease-in-out infinite alternate;
}

.about-luxe-grid {
    display: grid;
    grid-template-columns: 1.25fr .95fr;
    gap: 20px;
}

.about-luxe-card {
    background: #fff;
    border: 1px solid #d8e6ef;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 16px 30px rgba(15, 41, 56, .1);
}

.about-luxe-card h3 {
    margin: 0 0 12px;
    font-family: 'Sora', sans-serif;
    color: #123043;
    font-size: 1.4rem;
}

.about-luxe-richtext {
    color: #405969;
    line-height: 1.8;
}

.about-luxe-values ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.about-luxe-values li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #405969;
    line-height: 1.65;
}

.about-luxe-values li i {
    color: #1b8b7a;
    margin-top: 3px;
}

.about-luxe-values blockquote {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-left: 4px solid #d6a55a;
    background: #fff8ed;
    border-radius: 10px;
    color: #5f4a2c;
    font-style: italic;
}

.about-luxe-pillars {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f4f8fb, #eef4f8);
}

.about-luxe-pillars::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(45deg, rgba(17, 67, 95, .03) 0 2px, transparent 2px 14px);
    mask-image: linear-gradient(180deg, transparent 6%, #000 30%, #000 70%, transparent 94%);
}

.about-pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.about-pillar-card {
    border-radius: 16px;
    background: #fff;
    border: 1px solid #d8e6ef;
    padding: 18px;
    box-shadow: 0 14px 28px rgba(16, 40, 52, .1);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.about-pillar-card:hover {
    transform: translateY(-6px);
    border-color: rgba(214, 165, 90, .46);
    box-shadow: 0 22px 34px rgba(16, 40, 52, .16);
}

.about-pillar-card i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(130deg, #eaf6ff, #f3efe3);
    color: #145067;
    font-size: 1.18rem;
}

.about-pillar-card h4 {
    margin: 12px 0 8px;
    font-family: 'Sora', sans-serif;
    color: #123043;
}

.about-pillar-card p {
    margin: 0;
    color: #526a79;
    line-height: 1.65;
}

.about-luxe-team-link {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 28%, rgba(23, 110, 154, .11), transparent 34%),
        radial-gradient(circle at 88% 82%, rgba(214, 165, 90, .12), transparent 36%),
        linear-gradient(180deg, #f7fbfe 0%, #edf4f8 100%);
    border-top: 1px solid rgba(17, 69, 92, .08);
    border-bottom: 1px solid rgba(17, 69, 92, .08);
}

.about-luxe-team-link::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(17, 69, 92, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 69, 92, .06) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: .45;
}

.about-team-link-box {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 34px 36px;
    border-radius: 20px;
    background: linear-gradient(130deg, rgba(255, 255, 255, .96), rgba(246, 251, 255, .9));
    border: 1px solid rgba(17, 69, 92, .13);
    box-shadow: 0 18px 36px rgba(17, 54, 74, .14);
    text-align: left;
}

.about-team-link-box h3 {
    margin: 0 0 10px;
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    line-height: 1.2;
    color: #133548;
}

.about-team-link-box p {
    margin: 0 0 18px;
    max-width: 62ch;
    color: #446274;
    font-size: 1.02rem;
    line-height: 1.72;
}

.about-team-link-box .btn-primary {
    min-width: 210px;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 12px 24px rgba(23, 110, 154, .24);
    transition: transform .22s ease, box-shadow .22s ease;
}

.about-team-link-box .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(23, 110, 154, .3);
}

html[data-theme="dark"] .about-luxe-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(214, 165, 90, .26), transparent 35%),
        radial-gradient(circle at 12% 78%, rgba(56, 146, 142, .23), transparent 36%),
        linear-gradient(120deg, #0b1b27 0%, #0f2938 48%, #153443 100%);
}

html[data-theme="dark"] .about-luxe-hero::after {
    background: radial-gradient(circle, rgba(214, 165, 90, .22) 0%, rgba(214, 165, 90, 0) 70%);
}

html[data-theme="dark"] .about-luxe-story {
    background:
        radial-gradient(circle at 8% 24%, rgba(13, 102, 145, .16), transparent 36%),
        linear-gradient(180deg, #111c25, #101922 56%, #0f1921 100%);
}

    html[data-theme="dark"] .about-luxe-story::before {
        background:
        radial-gradient(circle at 11% 86%, rgba(51, 128, 165, .18), transparent 34%),
        radial-gradient(circle at 88% 14%, rgba(186, 142, 74, .16), transparent 32%);
    }

html[data-theme="dark"] .about-luxe-card {
    background: #1a2831;
    border-color: #2e4553;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .34);
}

html[data-theme="dark"] .about-luxe-card h3,
html[data-theme="dark"] .about-pillar-card h4 {
    color: #d9e8f1;
}

html[data-theme="dark"] .about-luxe-richtext,
html[data-theme="dark"] .about-luxe-values li,
html[data-theme="dark"] .about-pillar-card p {
    color: #abc0cc;
}

html[data-theme="dark"] .about-luxe-values blockquote {
    background: #243643;
    border-left-color: #d6a55a;
    color: #e7d3b2;
}

html[data-theme="dark"] .about-luxe-pillars {
    background: linear-gradient(180deg, #111a22, #101820);
}

html[data-theme="dark"] .about-luxe-pillars::before {
    background-image:
        repeating-linear-gradient(45deg, rgba(179, 204, 220, .05) 0 2px, transparent 2px 14px);
}

html[data-theme="dark"] .about-pillar-card {
    background: #1a2831;
    border-color: #2f4552;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .35);
}

html[data-theme="dark"] .about-pillar-card i {
    background: linear-gradient(130deg, #223645, #33414d);
    color: #9fd8ec;
}

html[data-theme="dark"] .about-luxe-team-link {
    background:
        radial-gradient(circle at 10% 20%, rgba(22, 132, 178, .16), transparent 36%),
        radial-gradient(circle at 88% 84%, rgba(214, 165, 90, .16), transparent 35%),
        linear-gradient(180deg, #101a22 0%, #0f1720 100%);
    border-top-color: rgba(147, 194, 219, .14);
    border-bottom-color: rgba(147, 194, 219, .14);
}

html[data-theme="dark"] .about-luxe-team-link::before {
    background-image:
        linear-gradient(rgba(159, 216, 236, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(159, 216, 236, .08) 1px, transparent 1px);
}

html[data-theme="dark"] .about-team-link-box {
    background: linear-gradient(140deg, rgba(23, 38, 48, .95), rgba(19, 32, 41, .92));
    border-color: rgba(159, 216, 236, .18);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .42);
}

html[data-theme="dark"] .about-team-link-box h3 {
    color: #dcecf4;
}

html[data-theme="dark"] .about-team-link-box p {
    color: #a8c2cf;
}

.team-luxe-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 18%, rgba(214, 165, 90, .28), transparent 35%),
        radial-gradient(circle at 10% 82%, rgba(27, 140, 184, .2), transparent 38%),
        linear-gradient(122deg, #0c2a38 0%, #10435a 52%, #175b72 100%);
}

.team-luxe-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at center, #000 32%, transparent 94%);
    animation: teamGridFlow 24s linear infinite;
}

.team-luxe-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    align-items: center;
    gap: 26px;
}

.team-luxe-kicker {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    border: 1px solid rgba(248, 225, 179, .42);
    background: rgba(214, 165, 90, .16);
    color: #ffe5bd;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .74rem;
    font-weight: 800;
}

.team-luxe-hero-copy p {
    max-width: 700px;
    margin-bottom: 0;
    line-height: 1.76;
    color: rgba(238, 245, 250, .95);
}

.team-luxe-highlights {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 720px;
}

.team-luxe-highlights > div {
    border: 1px solid rgba(220, 233, 241, .28);
    border-radius: 13px;
    background: rgba(8, 30, 41, .26);
    backdrop-filter: blur(4px);
    padding: 10px 12px;
}

.team-luxe-highlights strong {
    display: block;
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: 1.22rem;
}

.team-luxe-highlights span {
    font-size: .8rem;
    color: rgba(240, 246, 250, .86);
}

.team-luxe-hero-panel {
    border: 1px solid rgba(221, 234, 243, .32);
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .1));
    backdrop-filter: blur(6px);
    box-shadow: 0 20px 34px rgba(6, 24, 34, .24);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 100%;
    animation: teamPanelFloat 9s ease-in-out infinite;
}

.team-luxe-hero-panel h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1.2rem;
}

.team-luxe-hero-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.team-luxe-hero-panel li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: rgba(238, 246, 252, .94);
    line-height: 1.5;
    font-size: .9rem;
}

.team-luxe-hero-panel li i {
    color: #ffe0aa;
    margin-top: 3px;
}

.team-luxe-hero-panel .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, .46);
    background: rgba(255, 255, 255, .08);
    margin-top: 14px;
    align-self: stretch;
    text-align: center;
}

.team-luxe-members {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 22%, rgba(17, 112, 152, .1), transparent 36%),
        radial-gradient(circle at 90% 84%, rgba(214, 165, 90, .09), transparent 34%),
        linear-gradient(180deg, #f8fbff, #f2f7fc 56%, #eef4f9 100%);
}

.team-luxe-story {
    background: linear-gradient(180deg, #f6fafe, #f2f7fb);
}

.team-luxe-members::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(17, 67, 95, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 67, 95, .04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at center, #000 30%, transparent 94%);
}

.team-luxe-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.team-luxe-card {
    position: relative;
    border-radius: 18px;
    border: 1px solid #d9e8f1;
    background: linear-gradient(180deg, #ffffff, #f9fbfe);
    box-shadow: 0 14px 28px rgba(15, 41, 56, .1);
    padding: 18px;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    overflow: hidden;
}

.team-luxe-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: translateX(-120%);
    transition: transform .7s ease;
    pointer-events: none;
}

.team-luxe-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 36px rgba(15, 41, 56, .15);
    border-color: rgba(214, 165, 90, .45);
}

.team-luxe-card:hover::after {
    transform: translateX(120%);
}

.team-luxe-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.team-luxe-avatar {
    width: 58px;
    height: 58px;
    border-radius: 15px;
    display: inline-grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
    font-family: 'Sora', sans-serif;
    font-size: 1.12rem;
    color: #fff;
    letter-spacing: .05em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.team-luxe-avatar-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-luxe-card h4 {
    margin: 0;
    color: #123043;
    font-size: 1.04rem;
}

.team-luxe-card-head p {
    margin: 3px 0 0;
    color: #4f6878;
    font-size: .84rem;
}

.team-luxe-focus {
    margin: 0 0 13px;
    color: #536c7c;
    line-height: 1.65;
    min-height: 74px;
}

.team-luxe-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team-luxe-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    border: 1px solid #d4e3ed;
    background: #f4f9fd;
    padding: 5px 10px;
    font-size: .76rem;
    color: #23465c;
    font-weight: 700;
}

.team-luxe-meta i {
    color: #166f98;
}

.team-accent-ocean .team-luxe-avatar {
    background: linear-gradient(135deg, #19769f, #124e72);
}

.team-accent-copper .team-luxe-avatar {
    background: linear-gradient(135deg, #ad7b32, #865613);
}

.team-accent-emerald .team-luxe-avatar {
    background: linear-gradient(135deg, #1f8d78, #146152);
}

.team-accent-slate .team-luxe-avatar {
    background: linear-gradient(135deg, #4f6984, #344a60);
}

.team-luxe-social {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e8f0f6;
    display: flex;
    gap: 10px;
}

.team-luxe-social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #d8e5f0;
    background: #f8fbfe;
    color: #176e9a;
    font-size: .9rem;
    transition: all .28s cubic-bezier(.34, 1.56, .64, 1);
    text-decoration: none;
}

.team-luxe-social-link:hover {
    background: linear-gradient(135deg, #166e9a, #114d73);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 12px 20px rgba(22, 110, 154, .28);
}

html[data-theme="dark"] .team-luxe-social {
    border-top-color: #264b62;
}

html[data-theme="dark"] .team-luxe-social-link {
    border-color: #38556a;
    background: #1f3849;
    color: #9fd8ec;
}

html[data-theme="dark"] .team-luxe-social-link:hover {
    background: linear-gradient(135deg, #1a8aaa, #115580);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 24px rgba(26, 138, 170, .36);
}

.team-luxe-cta {
    background: linear-gradient(180deg, #edf4f9, #e6eef5);
}

.team-luxe-cta-box {
    border-radius: 20px;
    border: 1px solid #d5e4ed;
    background:
        radial-gradient(circle at 82% 18%, rgba(214, 165, 90, .16), transparent 32%),
        linear-gradient(140deg, #ffffff, #f4f8fc);
    box-shadow: 0 18px 32px rgba(15, 41, 56, .12);
    padding: clamp(20px, 3vw, 30px);
    text-align: center;
}

.team-luxe-cta-box h3 {
    margin: 0 0 8px;
    color: #123043;
}

.team-luxe-cta-box p {
    margin: 0;
    color: #526a79;
    line-height: 1.7;
}

.team-luxe-cta-actions {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

html[data-theme="dark"] .team-luxe-hero {
    background:
        radial-gradient(circle at 85% 18%, rgba(214, 165, 90, .24), transparent 35%),
        radial-gradient(circle at 10% 82%, rgba(61, 144, 181, .22), transparent 38%),
        linear-gradient(122deg, #0a1823 0%, #0e2838 52%, #154057 100%);
}

html[data-theme="dark"] .team-luxe-kicker {
    border-color: rgba(216, 189, 145, .36);
    background: rgba(214, 165, 90, .12);
    color: #f0d8b1;
}

html[data-theme="dark"] .team-luxe-hero-copy p {
    color: rgba(214, 228, 238, .92);
}

html[data-theme="dark"] .team-luxe-highlights > div {
    border-color: rgba(162, 188, 204, .24);
    background: rgba(16, 35, 46, .38);
}

html[data-theme="dark"] .team-luxe-highlights span {
    color: rgba(206, 223, 233, .84);
}

html[data-theme="dark"] .team-luxe-hero-panel {
    border-color: rgba(165, 194, 210, .28);
    background: linear-gradient(165deg, rgba(144, 181, 201, .16), rgba(20, 38, 50, .36));
    box-shadow: 0 20px 34px rgba(0, 0, 0, .34);
}

html[data-theme="dark"] .team-luxe-hero-panel li {
    color: rgba(220, 236, 245, .92);
}

html[data-theme="dark"] .team-luxe-members {
    background:
        radial-gradient(circle at 8% 22%, rgba(17, 112, 152, .14), transparent 36%),
        radial-gradient(circle at 90% 84%, rgba(214, 165, 90, .12), transparent 34%),
        linear-gradient(180deg, #111c25, #101922 56%, #0f1921 100%);
}

html[data-theme="dark"] .team-luxe-story {
    background: linear-gradient(180deg, #121d26, #101a23);
}

html[data-theme="dark"] .team-luxe-members::before {
    background-image:
        linear-gradient(rgba(156, 189, 207, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(156, 189, 207, .06) 1px, transparent 1px);
}

html[data-theme="dark"] .team-luxe-card {
    border-color: #2f4552;
    background: linear-gradient(180deg, #1a2831, #17242c);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .34);
}

html[data-theme="dark"] .team-luxe-card h4 {
    color: #deecf4;
}

html[data-theme="dark"] .team-luxe-card-head p,
html[data-theme="dark"] .team-luxe-focus {
    color: #afc3cf;
}

html[data-theme="dark"] .team-luxe-meta span {
    border-color: #385263;
    background: #22333f;
    color: #c1d4de;
}

html[data-theme="dark"] .team-luxe-meta i {
    color: #9fd8ec;
}

html[data-theme="dark"] .team-luxe-cta {
    background: linear-gradient(180deg, #0f1820, #101820);
}

html[data-theme="dark"] .team-luxe-cta-box {
    border-color: #334d5c;
    background:
        radial-gradient(circle at 82% 18%, rgba(214, 165, 90, .18), transparent 32%),
        linear-gradient(140deg, #1a2832, #18242d);
    box-shadow: 0 18px 32px rgba(0, 0, 0, .32);
}

html[data-theme="dark"] .team-luxe-cta-box h3 {
    color: #deecf4;
}

html[data-theme="dark"] .team-luxe-cta-box p {
    color: #adc1cd;
}

@keyframes teamGridFlow {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-24px, 10px, 0);
    }
}

@keyframes teamPanelFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@keyframes teamCardReveal {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-luxe-grid .team-luxe-card.reveal {
    animation: teamCardReveal .6s ease-out forwards;
    opacity: 0;
}
.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}
.highlight-box,
.form-box {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
}
.form-box form { display: grid; gap: 12px; }
.captcha-box {
    background: var(--captcha-bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
}
.captcha-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--ink);
}
input, textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--input-border);
    border-radius: 10px;
    font-family: inherit;
    background: var(--input-bg);
    color: var(--ink);
}
img, video {
    max-width: 100%;
    height: auto;
}
.alert {
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 14px;
    font-size: .92rem;
}
.alert.success { background: #d8f6e7; color: #0b6b3a; }
.alert.error { background: #ffe3e3; color: #9b2a2a; }

.toast-stack {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 180;
    display: grid;
    gap: 10px;
    width: min(92vw, 360px);
}
.toast-item {
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 12px 24px rgba(13, 29, 37, .18);
    border: 1px solid transparent;
    font-size: .92rem;
    line-height: 1.5;
    animation: toastIn .22s ease;
}
.toast-item.success {
    background: #d8f6e7;
    color: #0b6b3a;
    border-color: #a6e3c3;
}
.toast-item.error {
    background: #ffe3e3;
    color: #9b2a2a;
    border-color: #f4bcbc;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(-6px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 18px 0;
    background: var(--paper);
    margin-top: auto;
    transition: background .4s ease, border-color .4s ease;
}
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--footer-text);
    font-size: .9rem;
}
.action-dock {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 70;
    display: grid;
    gap: 8px;
}
.action-dock-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 11px 14px;
    box-shadow: 0 14px 28px rgba(14, 32, 43, .24);
}
.action-dock-item.wa {
    background: #25d366;
}
.action-dock-item.call {
    background: linear-gradient(120deg, #1479c7, #0f5f9f);
}
.action-dock-item.lead {
    background: linear-gradient(120deg, var(--brand), var(--brand-dark));
}
.action-dock-item i {
    font-size: 1.2rem;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .52s ease, transform .52s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatOrb {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-24px); }
}

@keyframes heroTextSwap {
    0% { opacity: .55; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroKenBurns {
    0% {
        transform: scale(1.02) translate3d(0, 0, 0);
        filter: saturate(1.02);
    }
    100% {
        transform: scale(1.08) translate3d(-0.8%, -0.6%, 0);
        filter: saturate(1.08);
    }
}

@keyframes trustIconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}

@keyframes counterPop {
    0% { transform: scale(.92); }
    60% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

@keyframes aboutGridShift {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 64px 32px, 32px 64px;
    }
}

@keyframes aboutOrbFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: .85;
    }
    50% {
        transform: translate3d(-12px, -10px, 0) scale(1.04);
        opacity: 1;
    }
}

@keyframes aboutGlowPulse {
    0% {
        opacity: .62;
        transform: scale(1);
    }
    100% {
        opacity: .92;
        transform: scale(1.02);
    }
}

@keyframes portfolioGridDrift {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 46px 23px, 23px 46px;
    }
}

@keyframes portfolioGlowPulse {
    0% {
        opacity: .62;
        transform: scale(1) translate3d(0, 0, 0);
    }
    100% {
        opacity: .88;
        transform: scale(1.03) translate3d(0, -4px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-portfolio-luxe::before,
    .home-portfolio-luxe::after {
        animation: none;
    }

    .about-luxe-hero::before,
    .about-luxe-hero::after,
    .about-luxe-story::before {
        animation: none;
    }

    .reveal {
        transition: none;
        transition-delay: 0ms;
        transform: none;
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .team-luxe-hero-grid {
        grid-template-columns: 1fr;
    }
    .team-luxe-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .team-luxe-hero-panel {
        max-width: 460px;
    }
    .portfolio-luxe-hero-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-luxe-hero-aside {
        max-width: 420px;
    }
    .nav-wrap {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }
    .mobile-nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }
    .top-nav {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 10px;
        box-shadow: 0 12px 24px rgba(18, 36, 44, .12);
    }
    .top-nav.is-open {
        display: flex;
    }
    .top-nav > a,
    .top-nav > .nav-dropdown,
    .top-nav > .theme-toggle {
        width: 100%;
    }
    .nav-dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 8px;
    }
    .theme-toggle {
        justify-content: center;
    }
    .section-head { flex-direction: column; align-items: start; }
    .parallax-wrap { display: none; }
    .hero-offer {
        min-height: 74vh;
    }
    .hero-offer-content {
        padding: 70px 0 112px;
    }
    .hero-offer-indicator {
        bottom: 56px;
    }
    .detail-grid { grid-template-columns: 1fr; }
    .promo-detail-box { grid-template-columns: 1fr; }
    .home-slide { grid-template-columns: 1fr; }
    .home-slide-media { min-height: 220px; }
    .promo-popup-slide { grid-template-columns: 1fr; }
    .portfolio-detail-luxe-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-detail-luxe-media {
        min-height: 320px;
    }
    .cluster-carousel-item {
        flex: 0 0 calc(100% / 2);
    }
    .action-dock-item span { display: none; }
    .action-dock-item {
        width: 52px;
        height: 52px;
        justify-content: center;
        padding: 0;
    }
    .theme-toggle-label { display: none; }
    .gallery-modal-panel {
        width: 100%;
        padding: 12px;
    }
    .gallery-modal-toolbar {
        flex-direction: column;
        align-items: flex-start;
        padding-right: 34px;
    }
    .gallery-modal-controls {
        width: 100%;
    }
    .gallery-modal-controls button {
        flex: 1;
    }
    .gallery-modal-stage {
        height: min(62vh, 560px);
    }
}

@media (max-width: 768px) {
    .container {
        width: min(100%, 94%);
    }
    .section {
        padding: 42px 0;
    }
    .home-portfolio-luxe {
        padding-top: 52px;
        padding-bottom: 56px;
    }
    .home-portfolio-luxe .portfolio-media {
        height: 182px;
    }
    .home-portfolio-luxe .portfolio-body h4 {
        font-size: 1.15rem;
    }
    .section-head h3 {
        font-size: 1.45rem;
    }
    .team-luxe-highlights {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    .team-luxe-grid {
        grid-template-columns: 1fr;
    }
    .team-luxe-focus {
        min-height: 0;
    }
    .portfolio-luxe-hero-copy h2 {
        font-size: clamp(1.65rem, 7vw, 2rem);
    }
    .portfolio-luxe-hero-chips {
        gap: 8px;
    }
    .portfolio-luxe-hero-chips span {
        font-size: .74rem;
        padding: 6px 10px;
    }
    .portfolio-luxe-hero-aside {
        padding: 12px;
    }
    .portfolio-luxe-filter .cluster-filter-tabs {
        padding: 8px;
    }
    .portfolio-luxe-filter .cluster-tab {
        width: 100%;
        text-align: center;
    }
    .cluster-carousel {
        gap: 8px;
        padding-bottom: 30px;
    }
    .cluster-carousel-item {
        flex: 0 0 100%;
        padding: 0;
    }
    .cluster-carousel-nav {
        width: 36px;
        height: 36px;
    }
    .cluster-carousel-indicator {
        font-size: .74rem;
        letter-spacing: .05em;
        padding: 4px 9px;
    }
    .portfolio-luxe-card .portfolio-media {
        height: 178px;
    }
    .portfolio-luxe-card .portfolio-body h4 {
        font-size: 1.12rem;
    }
    .portfolio-detail-luxe-content {
        padding: 16px;
    }
    .about-luxe-metrics {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    .about-luxe-grid {
        grid-template-columns: 1fr;
    }
    .about-pt-grid,
    .about-pt-dual-grid {
        grid-template-columns: 1fr;
    }
    .about-pt-card {
        padding: 18px;
    }
    .about-pillar-grid {
        grid-template-columns: 1fr;
    }
    .about-intro-card {
        padding: 18px;
    }
    .about-lead {
        font-size: 1.04rem;
        line-height: 1.62;
    }
    .hero-offer-content {
        padding: 62px 0 106px;
    }
    .hero-offer-copy h2 {
        font-size: clamp(1.6rem, 7vw, 2.1rem);
    }
    .hero-offer-copy p {
        font-size: .94rem;
    }
    .cluster-grid,
    .cards,
    .portfolio-grid,
    .promo-grid,
    .media-gallery-grid {
        grid-template-columns: 1fr;
    }
    .cluster-showcase {
        grid-template-columns: 1fr;
    }
    .card,
    .portfolio-body,
    .promo-body,
    .cluster-body,
    .custom-page-box,
    .highlight-box,
    .form-box {
        padding: 14px;
    }
    .home-slide-content {
        padding: 16px;
    }
    .detail-content {
        padding: 16px;
    }
    .detail-cta-wrap .btn-primary {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .brand-logo,
    .brand-mark {
        width: 44px;
        height: 44px;
    }
    .brand h1 {
        font-size: .92rem;
    }
    .brand p {
        font-size: .75rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        text-align: center;
        width: 100%;
    }
    .hero-offer-indicator {
        left: 10px;
        right: 10px;
        bottom: 28px;
        justify-content: space-between;
    }
    .portfolio-luxe-hero h2,
    .portfolio-detail-luxe-hero h2 {
        font-size: clamp(1.45rem, 7vw, 1.92rem);
    }
    .team-luxe-kicker {
        font-size: .68rem;
        letter-spacing: .1em;
    }
    .team-luxe-hero-copy p {
        font-size: .92rem;
        line-height: 1.64;
    }
    .team-luxe-hero-panel {
        padding: 14px;
    }
    .team-luxe-hero-panel h3 {
        font-size: 1.06rem;
    }
    .team-luxe-hero-panel .btn-outline {
        width: 100%;
    }
    .team-luxe-card {
        padding: 14px;
    }
    .team-luxe-avatar {
        width: 52px;
        height: 52px;
    }
    .team-luxe-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .team-luxe-cta-actions .btn-primary,
    .team-luxe-cta-actions .btn-outline {
        width: 100%;
        text-align: center;
    }
    .portfolio-luxe-kicker {
        font-size: .68rem;
        letter-spacing: .13em;
        padding: 5px 10px;
    }
    .portfolio-luxe-hero-copy p {
        font-size: .9rem;
        line-height: 1.64;
    }
    .portfolio-luxe-hero-chips {
        margin-top: 12px;
    }
    .portfolio-luxe-hero-chips span {
        width: 100%;
        justify-content: center;
        padding: 6px 10px;
    }
    .portfolio-luxe-hero-aside {
        max-width: 100%;
        padding: 10px;
        gap: 8px;
    }
    .hero-aside-item {
        padding: 9px 10px;
    }
    .hero-aside-item strong {
        font-size: .94rem;
    }
    .lightbox,
    .gallery-modal,
    .promo-popup,
    .lead-magnet-popup {
        padding: 10px;
    }
    .gallery-modal-stage {
        padding: 10px;
    }
    .toast-stack {
        left: 10px;
        right: 10px;
        width: auto;
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .team-luxe-hero {
        padding-top: 42px;
        padding-bottom: 36px;
    }
    .team-luxe-hero-grid {
        gap: 14px;
    }
    .team-luxe-hero-copy p {
        font-size: .86rem;
    }
    .team-luxe-card-head {
        gap: 9px;
    }
    .team-luxe-meta span {
        width: 100%;
        justify-content: center;
    }
    .portfolio-luxe-hero {
        padding-top: 40px;
        padding-bottom: 36px;
    }
    .portfolio-luxe-hero-grid {
        gap: 14px;
    }
    .portfolio-luxe-hero-copy h2 {
        font-size: clamp(1.35rem, 8vw, 1.7rem);
        line-height: 1.25;
    }
    .portfolio-luxe-hero-copy p {
        font-size: .86rem;
        line-height: 1.6;
    }
    .portfolio-luxe-hero-chips span {
        font-size: .7rem;
    }
    .hero-aside-item small {
        font-size: .64rem;
    }
}

/* ============================================
   CONTACT PAGE - PREMIUM DESIGN
   ============================================ */

.contact-luxe-hero {
    background:
        radial-gradient(circle at 10% 20%, rgba(11, 143, 143, 0.18) 0%, transparent 52%),
        radial-gradient(circle at 88% 12%, rgba(255, 122, 24, 0.15) 0%, transparent 46%),
        linear-gradient(140deg, #09151b 0%, #10222c 55%, #09151b 100%);
    position: relative;
    overflow: hidden;
    padding: clamp(58px, 9vw, 110px) 0;
}

.contact-luxe-hero::before {
    content: '';
    position: absolute;
    top: -42%;
    right: -12%;
    width: 660px;
    height: 660px;
    background: radial-gradient(circle, rgba(49, 195, 195, 0.2) 0%, transparent 66%);
    border-radius: 50%;
    animation: float 18s ease-in-out infinite;
    pointer-events: none;
}

.contact-luxe-hero::after {
    content: '';
    position: absolute;
    bottom: -38%;
    left: -8%;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(255, 164, 84, 0.2) 0%, transparent 68%);
    border-radius: 50%;
    animation: float 21s ease-in-out infinite reverse;
    pointer-events: none;
}

.contact-luxe-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-luxe-hero-copy {
    color: white;
}

.contact-luxe-kicker {
    display: block;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ef1e5;
    margin-bottom: 14px;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.1s forwards;
}

.contact-luxe-hero-copy h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 4.7vw, 3.35rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.2s forwards;
}

.contact-luxe-hero-copy p {
    max-width: 60ch;
    font-size: clamp(0.98rem, 1.9vw, 1.1rem);
    line-height: 1.78;
    color: #b7d3dd;
    margin-bottom: 26px;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.3s forwards;
}

.contact-luxe-quick-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 6px 0 0;
}

.metric-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.86rem;
    color: #d7eef4;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.4s forwards;
}

.metric-pill i {
    color: #ffb174;
}

.contact-luxe-hero-panel {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 30px;
    color: white;
    opacity: 0;
    box-shadow: 0 20px 44px rgba(2, 12, 16, 0.32);
    animation: slideInUp 0.8s ease-out 0.45s forwards;
}

.contact-luxe-hero-panel h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.32rem;
    margin-bottom: 16px;
    color: #f4fbff;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
}

.contact-info-item {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 10px 10px 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.17);
}

.contact-info-item i {
    font-size: 1.16rem;
    color: #8be6de;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    font-size: 0.88rem;
    color: #f3fbff;
    margin-bottom: 2px;
}

.contact-info-item p {
    margin: 0;
    color: #c0dce7;
    font-size: 0.88rem;
    line-height: 1.55;
}

.contact-info-item a {
    color: #7ed2ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-item a:hover {
    color: #bce8ff;
}

.contact-gallery-group {
    margin-bottom: 14px;
    font-size: 14px;
}

.contact-gallery-category {
    display: block;
    color: #f3fbff;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-gallery-addresses {
    padding-left: 10px;
    border-left: 2px solid rgba(255, 255, 255, 0.14);
    font-size: 13px;
    color: rgba(240, 247, 251, 0.82);
    line-height: 1.55;
    white-space: pre-line;
}

html[data-theme="light"] .contact-gallery-category {
    color: #f3fbff;
}

html[data-theme="light"] .contact-gallery-addresses {
    border-left-color: rgba(255, 255, 255, 0.14);
    color: rgba(240, 247, 251, 0.82);
}

html[data-theme="dark"] .contact-gallery-category {
    color: #f5fbff;
}

html[data-theme="dark"] .contact-gallery-addresses {
    border-left-color: rgba(255, 255, 255, 0.14);
    color: rgba(240, 247, 251, 0.82);
}

.contact-info-channels {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 8px;
}

.contact-channel-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    color: #effaff;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-channel-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.contact-channel-btn i {
    font-size: 1rem;
}

.contact-channel-btn.whatsapp {
    background: rgba(38, 211, 122, 0.18);
    border-color: rgba(38, 211, 122, 0.42);
}

.contact-channel-btn.maps {
    background: rgba(120, 190, 255, 0.18);
    border-color: rgba(120, 190, 255, 0.4);
}

/* Contact Form Section */
.contact-luxe-form-section {
    background: linear-gradient(180deg, rgba(11, 143, 143, 0.04), rgba(255, 122, 24, 0.04));
    padding: 72px 0;
}

.contact-luxe-form-wrapper {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 30px;
    align-items: start;
}

.contact-form-aside {
    color: var(--ink);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.66));
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 16px 30px rgba(7, 24, 31, 0.08);
}

.contact-form-aside h3 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.34rem, 2.8vw, 1.76rem);
    font-weight: 700;
    margin: 0 0 12px;
}

.contact-form-aside p {
    font-size: 0.97rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 18px;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
}

.benefit-item i {
    font-size: 1.1rem;
    color: var(--brand);
    flex-shrink: 0;
}

.benefit-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-faq-compact {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
}

.contact-faq-compact h4 {
    margin: 0 0 10px;
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-faq-compact h4 i {
    color: var(--brand);
}

.contact-faq-grid.compact {
    grid-template-columns: 1fr;
    gap: 9px;
}

.contact-form-aside .contact-faq-item {
    box-shadow: none;
    border-radius: 12px;
}

.contact-form-aside .contact-faq-item summary {
    padding: 11px 12px;
    font-size: 0.86rem;
    font-weight: 600;
}

.contact-form-aside .faq-answer {
    padding: 10px 12px 12px;
    font-size: 0.86rem;
}

/* Premium Contact Form */
.contact-form-wrapper {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 18px 34px rgba(4, 28, 34, 0.12);
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.3s forwards;
}

.contact-form-premium {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.84rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
}

.form-group input,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fbfdff;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(11, 143, 143, 0.14);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    max-height: 300px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-captcha {
    background: linear-gradient(165deg, rgba(11, 143, 143, 0.07), rgba(255, 122, 24, 0.08));
    padding: 12px;
    border: 1px solid rgba(11, 143, 143, 0.15);
    border-radius: 12px;
    margin-top: 6px;
}

.contact-captcha label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--ink);
}

.contact-captcha i {
    font-size: 1rem;
    color: var(--brand);
}

.contact-captcha input {
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
}

.contact-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    margin-top: 2px;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(120deg, var(--brand), #149ba3);
    border: 0;
}

.contact-submit-btn:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 20px rgba(11, 143, 143, 0.24);
}

.alert {
    padding: 13px;
    border-radius: 12px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    animation: slideInDown 0.5s ease-out;
}

.alert i {
    font-size: 1rem;
    flex-shrink: 0;
}

.alert.success {
    background: rgba(49, 183, 102, 0.13);
    border: 1px solid rgba(49, 183, 102, 0.35);
    color: #146b34;
}

.alert.error {
    background: rgba(217, 71, 88, 0.12);
    border: 1px solid rgba(217, 71, 88, 0.34);
    color: #8a1f2d;
}

.contact-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-faq-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #f9fcff);
    box-shadow: 0 10px 20px rgba(15, 48, 58, 0.08);
    overflow: hidden;
}

.contact-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--ink);
}

.contact-faq-item summary::-webkit-details-marker {
    display: none;
}

.contact-faq-item summary i {
    color: var(--brand);
    transition: transform 0.22s ease;
}

.contact-faq-item[open] summary i {
    transform: rotate(45deg);
}

.faq-answer {
    border-top: 1px solid var(--line);
    padding: 13px 18px 16px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.93rem;
}

/* Contact Map Section */
.contact-luxe-map-section {
    background: linear-gradient(180deg, rgba(11, 143, 143, 0.04), rgba(11, 143, 143, 0.09));
    padding: 66px 0;
}

.contact-luxe-map-section .section-head {
    text-align: center;
    margin-bottom: 24px;
}

.cluster-map-premium {
    width: 100%;
    height: 460px;
    border-radius: 16px;
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: 0 16px 30px rgba(11, 36, 44, 0.15);
}

/* Dark Mode Support */
[data-theme="dark"] .contact-form-aside,
[data-theme="dark"] .contact-form-wrapper,
[data-theme="dark"] .contact-faq-item {
    background: #17242c;
    border-color: #2c3f48;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .contact-form-aside h3,
[data-theme="dark"] .benefit-item,
[data-theme="dark"] .contact-faq-item summary,
[data-theme="dark"] .contact-captcha label {
    color: #dbe8ef;
}

[data-theme="dark"] .contact-form-aside p,
[data-theme="dark"] .benefit-item span,
[data-theme="dark"] .faq-answer {
    color: #9eb1bb;
}

[data-theme="dark"] .contact-faq-compact {
    border-top-color: #2f434d;
}

[data-theme="dark"] .contact-faq-compact h4 {
    color: #dbe8ef;
}

[data-theme="dark"] .benefit-item {
    background: #1e303a;
    border-color: #31444f;
}

[data-theme="dark"] .form-group label {
    color: #95aeb9;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .contact-captcha input {
    background: #112028;
    border-color: #2e434f;
    color: #e3eff4;
}

[data-theme="dark"] .faq-answer {
    border-color: #2f434d;
}

/* Responsive Design */
@media (max-width: 900px) {
    .contact-luxe-hero-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .contact-luxe-form-wrapper {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-luxe-hero-panel {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cluster-map-premium {
        height: 390px;
    }
}

@media (max-width: 768px) {
    .contact-luxe-hero {
        padding: 42px 0;
    }

    .contact-luxe-hero-copy h2 {
        font-size: 1.95rem;
    }

    .contact-luxe-hero-copy p {
        font-size: 0.95rem;
    }

    .contact-info-list {
        gap: 10px;
    }

    .contact-luxe-form-section,
    .contact-luxe-map-section {
        padding: 40px 0;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .contact-benefits {
        gap: 10px;
    }

    .benefit-item {
        padding: 10px;
        font-size: 0.9rem;
    }

    .cluster-map-premium {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .contact-luxe-hero {
        padding: 30px 0;
    }

    .contact-luxe-hero-copy h2 {
        font-size: 1.6rem;
    }

    .contact-luxe-hero-copy p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .contact-luxe-hero-panel {
        padding: 20px;
    }

    .contact-form-wrapper {
        padding: 20px;
        gap: 15px;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 12px;
    }

    .contact-faq-item summary {
        font-size: 0.9rem;
        padding: 13px 14px;
    }

    .faq-answer {
        padding: 11px 14px 14px;
        font-size: 0.89rem;
    }

    .contact-submit-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .cluster-map-premium {
        height: 280px;
    }

    .contact-info-channels {
        flex-direction: column;
    }

    .contact-channel-btn {
        justify-content: center;
        width: 100%;
    }
}

/* ============================================
   TESTIMONIALS SECTION - PREMIUM DESIGN
   ============================================ */

.testimonials-luxe-section {
    background: var(--bg-primary);
    padding: 60px 0;
}

.testimonials-luxe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.testimonials-luxe-slider {
    position: relative;
}

.testimonials-luxe-viewport {
    overflow: hidden;
}

.testimonials-luxe-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.testimonial-slide-item {
    flex: 0 0 calc(33.333% - 16px);
    margin-right: 24px;
    opacity: 1;
    transition: opacity 0.35s ease;
}

.testimonial-slide-item:last-child {
    margin-right: 0;
}

.testimonial-slide-item:not(.is-active) {
    opacity: 0.45;
}

.testimonial-slide-item.is-active {
    opacity: 1;
}

.testimonial-slide-item.is-active .testimonials-luxe-card {
    border-color: rgba(23, 110, 154, 0.35);
    box-shadow: 0 12px 26px rgba(23, 110, 154, 0.14);
}

.testimonials-luxe-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 1;
    position: relative;
    overflow: hidden;
}

.testimonials-luxe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #176e9a 0%, #2196F3 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonials-luxe-card:hover {
    border-color: rgba(23, 110, 154, 0.3);
    box-shadow: 0 12px 32px rgba(23, 110, 154, 0.15);
    transform: translateY(-4px);
}

.testimonials-luxe-card:hover::before {
    opacity: 1;
}

.testimonials-rating {
    display: flex;
    gap: 6px;
    font-size: 1rem;
    color: #ffc107;
}

.testimonials-rating i {
    animation: slideInUp 0.6s ease-out forwards;
}

.testimonials-rating i:nth-child(1) { animation-delay: 0s; }
.testimonials-rating i:nth-child(2) { animation-delay: 0.1s; }
.testimonials-rating i:nth-child(3) { animation-delay: 0.2s; }
.testimonials-rating i:nth-child(4) { animation-delay: 0.3s; }
.testimonials-rating i:nth-child(5) { animation-delay: 0.4s; }

.testimonials-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 12px;
}

.testimonials-content::before {
    content: '"';
    font-size: 2rem;
    color: rgba(23, 110, 154, 0.2);
    line-height: 0;
    vertical-align: -0.45em;
    margin-right: 2px;
}

.testimonials-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.testimonials-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(23, 110, 154, 0.1);
}

.testimonials-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(23, 110, 154, 0.2), rgba(33, 150, 243, 0.2));
    font-weight: 600;
    color: #176e9a;
    font-size: 1.1rem;
}

.testimonials-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.testimonials-author small {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.testimonials-luxe-controls {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.testimonials-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.22s ease;
}

.testimonials-nav-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(23, 110, 154, 0.35);
}

.testimonials-luxe-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.testimonials-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(23, 110, 154, 0.25);
    cursor: pointer;
    transition: all 0.22s ease;
}

.testimonials-dot.active {
    width: 22px;
    border-radius: 999px;
    background: #176e9a;
}

/* Dark Mode Support */
[data-theme="dark"] .testimonials-luxe-card {
    --card-bg: #1f3849;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #e0e0e0;
    --text-secondary: #9fd8ec;
}

[data-theme="light"] .testimonials-luxe-card {
    --card-bg: #fff;
    --border-color: #e0e0e0;
    --text-primary: #1f2f33;
    --text-secondary: #5c6f73;
}

/* Responsive Design */
@media (max-width: 900px) {
    .testimonials-luxe-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .testimonial-slide-item {
        flex-basis: calc(50% - 12px);
        margin-right: 18px;
    }

    .testimonials-luxe-card {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .testimonials-luxe-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-slide-item {
        flex-basis: 100%;
        margin-right: 0;
        opacity: 1;
    }

    .testimonial-slide-item:not(.is-active) {
        opacity: 1;
    }

    .testimonials-luxe-card {
        padding: 20px;
    }

    .testimonials-content {
        font-size: 0.9rem;
    }

    .testimonials-author {
        gap: 12px;
    }

    .testimonials-avatar {
        width: 44px;
        height: 44px;
    }

    .testimonials-luxe-section .section-head {
        margin-bottom: 36px;
    }

    .testimonials-luxe-section .section-head h3 {
        font-size: 1.6rem;
    }

    .testimonials-luxe-section .section-head p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .testimonials-luxe-section {
        padding: 40px 0;
    }

    .testimonials-luxe-card {
        padding: 16px;
        gap: 12px;
    }

    .testimonials-content {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .testimonials-rating {
        font-size: 0.9rem;
    }

    .testimonials-author small {
        font-size: 0.8rem;
    }
}

/* ============================================
   PORTFOLIO DETAIL PAGE - POLISH & ENHANCEMENT
   ============================================ */

.portfolio-detail-luxe-hero {
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #0f1419 100%);
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    padding: clamp(60px, 8vw, 100px) 0;
}

.portfolio-detail-luxe-hero::before,
.portfolio-detail-luxe-hero::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.portfolio-detail-luxe-hero::before {
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(23, 110, 154, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite;
}

.portfolio-detail-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.portfolio-detail-hero-copy {
    color: white;
}

.portfolio-detail-kicker {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #176e9a;
    margin-bottom: 12px;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.1s forwards;
}

.portfolio-detail-hero-copy h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.2s forwards;
}

.portfolio-detail-hero-copy p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.8;
    color: #b3b3b3;
    margin-bottom: 24px;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.3s forwards;
}

.portfolio-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #9fd8ec;
    opacity: 1;
    animation: slideInUp 0.8s ease-out 0.4s forwards;
}

.meta-item i {
    font-size: 1.3rem;
    color: #176e9a;
}

.portfolio-detail-hero-aside {
    width: 100%;
    height: 360px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.4s forwards;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Portfolio Detail Content */
.portfolio-detail-luxe-grid {
    display: grid;
    grid-template-columns: minmax(24px, 1fr) minmax(0, 1040px) minmax(24px, 1fr);
    gap: 0;
    align-items: start;
}

.portfolio-detail-luxe-grid > .detail-content {
    grid-column: 2;
    width: 100%;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.detail-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
}

.detail-section h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.detail-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.spec-content {
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.6;
}

.spec-content p {
    font-weight: 700;
    color: var(--text-primary);
    margin: 20px 0 12px 0;
}

.spec-content p:first-child {
    margin-top: 0;
}

.spec-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spec-content li {
    background: var(--card-bg, #fcfcfc);
    border: 1px solid var(--border-color, #eaeaea);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-primary);
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.015);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spec-content li:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.04);
}

.spec-content li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #176e9a;
    color: #fff;
    border-radius: 6px;
    font-size: 0.75rem;
    flex-shrink: 0;
}

[data-theme="dark"] .spec-content li {
    background: rgba(255, 255, 255, 0.02);
}

.portfolio-detail-cta {
    background: linear-gradient(135deg, rgba(23, 110, 154, 0.1), rgba(33, 150, 243, 0.1));
    border: 1px solid rgba(23, 110, 154, 0.2);
    padding: 32px;
    border-radius: 12px;
}

.portfolio-detail-cta h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.portfolio-detail-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

.cta-actions a {
    flex: 1;
    min-width: 150px;
}

/* Sidebar Components */
.portfolio-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    color: var(--text-primary);
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.5s forwards;
}

.sidebar-box h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-primary);
}

.sidebar-box h4 i {
    color: #176e9a;
    font-size: 1.1rem;
}

.sidebar-box p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.highlight-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.highlight-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.highlight-list i {
    color: #28a745;
    font-size: 1rem;
}

.portfolio-action-box a {
    display: block;
    text-align: center;
}

.portfolio-info-box {
    background: rgba(23, 110, 154, 0.05) !important;
    border: 1px solid rgba(23, 110, 154, 0.1) !important;
}

.portfolio-info-box strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #176e9a;
    margin-bottom: 8px;
}

.portfolio-info-box small {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Dark Mode */
[data-theme="dark"] .detail-section {
    --card-bg: #1f3849;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #e0e0e0;
    --text-secondary: #9fd8ec;
}

[data-theme="dark"] .sidebar-box {
    --card-bg: #1f3849;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #e0e0e0;
    --text-secondary: #9fd8ec;
}

[data-theme="light"] .detail-section {
    --card-bg: #fff;
    --border-color: #e0e0e0;
    --text-primary: #1f2f33;
    --text-secondary: #5c6f73;
}

[data-theme="light"] .sidebar-box {
    --card-bg: #fff;
    --border-color: #e0e0e0;
    --text-primary: #1f2f33;
    --text-secondary: #5c6f73;
}

/* Responsive */
@media (max-width: 1024px) {
    .portfolio-detail-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .portfolio-detail-hero-aside {
        height: 300px;
    }

    .portfolio-detail-luxe-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .portfolio-detail-luxe-grid > .detail-content {
        grid-column: auto;
    }
}

@media (max-width: 900px) {
    .portfolio-detail-luxe-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-detail-luxe-grid > .detail-content {
        grid-column: auto;
    }

    .detail-section,
    .sidebar-box {
        padding: 20px;
    }

    .portfolio-detail-cta {
        padding: 20px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions a {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .portfolio-detail-luxe-hero {
        padding: 40px 0;
    }

    .portfolio-detail-hero-copy h2 {
        font-size: 1.8rem;
    }

    .portfolio-detail-hero-aside {
        height: 250px;
    }

    .portfolio-detail-meta {
        gap: 12px;
        font-size: 0.85rem;
    }

    .detail-section h3,
    .sidebar-box h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .portfolio-detail-luxe-hero {
        padding: 30px 0;
    }

    .portfolio-detail-hero-copy h2 {
        font-size: 1.4rem;
    }

    .portfolio-detail-hero-copy p {
        font-size: 0.9rem;
    }

    .portfolio-detail-hero-aside {
        height: 200px;
    }

    .portfolio-detail-meta {
        flex-direction: column;
        gap: 10px;
    }

    .detail-section,
    .portfolio-detail-cta,
    .sidebar-box {
        padding: 16px;
    }

    .detail-section h3 {
        font-size: 1rem;
    }

    .portfolio-detail-cta p {
        font-size: 0.85rem;
    }

    .cta-actions {
        gap: 8px;
    }

    .cta-actions .btn-outline {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
}

/* ============================================
   PROMO PAGES - PREMIUM DESIGN
   ============================================ */

.promo-luxe-hero {
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #0f1419 100%);
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    padding: clamp(60px, 8vw, 100px) 0;
}

.promo-luxe-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 154, 24, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite;
    pointer-events: none;
}

.promo-luxe-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.promo-luxe-hero-copy {
    color: white;
}

.promo-luxe-kicker {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff7a18;
    margin-bottom: 12px;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.1s forwards;
}

.promo-luxe-hero-copy h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.2s forwards;
}

.promo-luxe-hero-copy p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.8;
    color: #b3b3b3;
    margin-bottom: 24px;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.3s forwards;
}

.promo-luxe-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 24px 0;
}

.promo-luxe-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #ff7a18;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.4s forwards;
}

.promo-luxe-hero-panel {
    background: rgba(31, 56, 73, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 32px;
    color: white;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.4s forwards;
}

.promo-luxe-hero-panel h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #fff;
}

.promo-benefits {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promo-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #9fd8ec;
}

.promo-benefits i {
    color: #ff7a18;
    font-size: 1.1rem;
}

/* Promo Grid Section */
.promo-luxe-grid-section {
    background: var(--bg-primary);
    padding: 60px 0;
}

.promo-luxe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.promo-luxe-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.promo-luxe-card:hover {
    border-color: rgba(255, 122, 24, 0.3);
    box-shadow: 0 12px 32px rgba(255, 122, 24, 0.15);
    transform: translateY(-4px);
}

.promo-media-wrapper {
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.promo-media-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
}

.promo-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.promo-card-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.promo-card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.promo-period {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #ff7a18;
    background: rgba(255, 122, 24, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    width: fit-content;
}

.promo-card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.promo-card-body a {
    margin-top: auto;
}

/* Promo Detail Page */
.promo-detail-luxe-hero {
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #0f1419 100%);
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    padding: clamp(60px, 8vw, 100px) 0;
}

.promo-detail-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.promo-detail-hero-copy {
    color: white;
}

.promo-detail-kicker {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff7a18;
    margin-bottom: 12px;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.1s forwards;
}

.promo-detail-hero-copy h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.2s forwards;
}

.promo-detail-tagline {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.8;
    color: #b3b3b3;
    margin-bottom: 24px;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.3s forwards;
}

.promo-detail-timeline {
    display: flex;
    gap: 24px;
    margin-top: 24px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.4s forwards;
}

.timeline-item i {
    font-size: 1.5rem;
    color: #ff7a18;
}

.timeline-item small {
    display: block;
    font-size: 0.8rem;
    color: #9fd8ec;
}

.timeline-item strong {
    display: block;
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
}

.promo-detail-hero-media {
    width: 100%;
    height: 360px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.4s forwards;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Promo Detail Content */
.promo-detail-luxe-content {
    background: var(--bg-primary);
    padding: 60px 0;
}

.promo-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 36px;
    align-items: start;
}

.promo-detail-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.detail-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
}

.detail-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.detail-section h3 i {
    color: #ff7a18;
}

.promo-detail-richtext {
    color: var(--text-secondary);
    line-height: 1.8;
}

.promo-detail-cta {
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.1), rgba(255, 154, 24, 0.1));
    border: 1px solid rgba(255, 122, 24, 0.2);
    padding: 32px;
    border-radius: 12px;
}

.promo-detail-cta h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.promo-detail-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta-buttons a {
    flex: 1;
    min-width: 150px;
}

/* Promo Sidebar */
.promo-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    color: var(--text-primary);
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.5s forwards;
}

.sidebar-box h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-primary);
}

.sidebar-box h4 i {
    color: #ff7a18;
}

.sidebar-box p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.benefit-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.benefit-list i {
    color: #ff7a18;
    font-size: 1rem;
}

.promo-action-box a {
    display: block;
    text-align: center;
}

.promo-info-box {
    background: rgba(255, 122, 24, 0.05) !important;
    border: 1px solid rgba(255, 122, 24, 0.1) !important;
}

.promo-info-box strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff7a18;
    margin-bottom: 8px;
}

.promo-info-box small {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Dark Mode */
[data-theme="dark"] .detail-section,
[data-theme="dark"] .sidebar-box {
    --card-bg: #1f3849;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #e0e0e0;
    --text-secondary: #9fd8ec;
}

[data-theme="light"] .detail-section,
[data-theme="light"] .sidebar-box {
    --card-bg: #fff;
    --border-color: #e0e0e0;
    --text-primary: #1f2f33;
    --text-secondary: #5c6f73;
}

/* Responsive */
@media (max-width: 1024px) {
    .promo-luxe-hero-grid,
    .promo-detail-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .promo-detail-hero-media {
        height: 300px;
    }

    .promo-detail-grid {
        grid-template-columns: 1fr 280px;
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .promo-detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-section,
    .sidebar-box {
        padding: 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons a {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .promo-luxe-hero,
    .promo-detail-luxe-hero {
        padding: 40px 0;
    }

    .promo-luxe-hero-copy h2,
    .promo-detail-hero-copy h2 {
        font-size: 1.8rem;
    }

    .promo-detail-hero-media {
        height: 250px;
    }

    .promo-luxe-grid {
        grid-template-columns: 1fr;
    }

    .detail-section h3,
    .sidebar-box h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .promo-luxe-hero,
    .promo-detail-luxe-hero {
        padding: 30px 0;
    }

    .promo-luxe-hero-copy h2,
    .promo-detail-hero-copy h2 {
        font-size: 1.4rem;
    }

    .promo-luxe-info,
    .promo-detail-timeline {
        flex-direction: column;
        gap: 12px;
    }

    .promo-detail-hero-media {
        height: 200px;
    }

    .detail-section,
    .promo-detail-cta,
    .sidebar-box {
        padding: 16px;
    }

    .cta-buttons a {
        padding: 10px 8px;
        font-size: 0.85rem;
    }

    /* Mobile - Team/Feature List Items */
    .rich-text ul li,
    .rich-text ol li {
        padding: 14px 16px;
        gap: 12px;
    }

    .rich-text ul li::before {
        min-width: 24px;
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .rich-text ul li span,
    .rich-text ol li span {
        font-size: 14px;
    }

    .rich-text ul li:hover,
    .rich-text ol li:hover {
        transform: translateX(3px);
    }
}

/* Portfolio Gallery Styles */
.portfolio-gallery-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 20px 0;
}

.gallery-main-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-main-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(18, 73, 101, .15);
    box-shadow: 0 12px 28px rgba(15, 40, 55, .16);
    display: block;
    animation: fadeInImage 0.4s ease-out;
}

@keyframes fadeInImage {
    from {
        opacity: 0.8;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-image-caption {
    font-size: 0.95rem;
    color: #536a79;
    line-height: 1.6;
    margin: 0;
    padding: 12px;
    background: rgba(18, 73, 101, .06);
    border-left: 4px solid #0b8f8f;
    border-radius: 4px;
    font-style: italic;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.gallery-thumbnail {
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: none;
    padding: 0;
    transition: all 0.3s ease;
    aspect-ratio: 1;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumbnail:hover {
    transform: scale(1.05);
    border-color: rgba(11, 143, 143, 0.4);
}

.gallery-thumbnail.active {
    border-color: #0b8f8f;
    box-shadow: 0 0 0 3px rgba(11, 143, 143, 0.2);
}

html[data-theme="dark"] .gallery-main-image {
    border-color: rgba(177, 207, 223, .2);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
}

html[data-theme="dark"] .gallery-image-caption {
    color: rgba(210, 226, 236, .9);
    background: rgba(20, 38, 50, .4);
    border-left-color: #2bc4c4;
}

html[data-theme="dark"] .gallery-thumbnail:hover {
    border-color: rgba(43, 196, 196, 0.5);
}

html[data-theme="dark"] .gallery-thumbnail.active {
    border-color: #2bc4c4;
    box-shadow: 0 0 0 3px rgba(43, 196, 196, 0.2);
}

/* Responsive - Tablet */
@media (min-width: 768px) {
    .portfolio-gallery-container {
        grid-template-columns: 1fr;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }
}

/* Responsive - Medium screens */
@media (min-width: 1024px) {
    .gallery-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

/* Responsive - Mobile */
@media (max-width: 576px) {
    .portfolio-gallery-container {
        gap: 12px;
    }

    .gallery-main-image {
        max-height: 400px;
        border-radius: 8px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 10px;
    }

    .gallery-image-caption {
        font-size: 0.85rem;
        padding: 10px;
    }
}
