/* ==============================================
   THEME VARIABLES
============================================== */

[data-theme="classic"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f6f1;
    --bg-tertiary: #f0ede4;
    --text-primary: #0a0a0a;
    --text-secondary: #4a4a4a;
    --text-muted: #888888;
    --accent: #c9a84c;
    --accent-hover: #a8872e;
    --accent-light: #f5ecd4;
    --border: #e8e4dc;
    --border-strong: #c8c4bc;
    --card-bg: #ffffff;
    --shadow: rgba(0, 0, 0, 0.07);
    --shadow-md: rgba(0, 0, 0, 0.13);
    --nav-bg: rgba(255, 255, 255, 0.96);
}

[data-theme="navy"] {
    --bg-primary: #0d1b2a;
    --bg-secondary: #112234;
    --bg-tertiary: #162840;
    --text-primary: #f0f4f8;
    --text-secondary: #a8bfd0;
    --text-muted: #6a8898;
    --accent: #c9a84c;
    --accent-hover: #e8c870;
    --accent-light: rgba(201, 168, 76, 0.14);
    --border: #1e3348;
    --border-strong: #2a4060;
    --card-bg: #112234;
    --shadow: rgba(0, 0, 0, 0.28);
    --shadow-md: rgba(0, 0, 0, 0.45);
    --nav-bg: rgba(13, 27, 42, 0.97);
}

[data-theme="dark"] {
    --bg-primary: #0f0f0f;
    --bg-secondary: #161616;
    --bg-tertiary: #1c1c1c;
    --text-primary: #e8e8e8;
    --text-secondary: #a8a8a8;
    --text-muted: #666666;
    --accent: #c9a84c;
    --accent-hover: #e8c870;
    --accent-light: rgba(201, 168, 76, 0.11);
    --border: #242424;
    --border-strong: #333333;
    --card-bg: #161616;
    --shadow: rgba(0, 0, 0, 0.38);
    --shadow-md: rgba(0, 0, 0, 0.58);
    --nav-bg: rgba(10, 10, 10, 0.97);
}

/* Always-dark hero/apsuite/footer backgrounds */
[data-theme="classic"] {
    --dark-bg: #0a0a0a;
    --dark-bg-alt: #111111;
}

[data-theme="navy"] {
    --dark-bg: #070f18;
    --dark-bg-alt: #0a1520;
}

[data-theme="dark"] {
    --dark-bg: #080808;
    --dark-bg-alt: #0c0c0c;
}

/* ==============================================
   RESET & BASE
============================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.35s ease, color 0.35s ease;
}

h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.15;
}

p {
    color: var(--text-secondary);
    line-height: 1.8;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.25s;
}

a:hover {
    color: var(--accent-hover);
}

img {
    display: block;
}

/* ==============================================
   UTILITIES
============================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sec {
    padding: 100px 0;
}

.sec-sm {
    padding: 60px 0;
}

.label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.9rem;
}

.divider {
    width: 52px;
    height: 2px;
    background: var(--accent);
    margin: 1.2rem 0 2rem;
}

.divider-c {
    margin: 1.2rem auto 2rem;
}

.gold {
    color: var(--accent);
}

/* Scroll-reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.d1 {
    transition-delay: 0.1s;
}

.d2 {
    transition-delay: 0.2s;
}

.d3 {
    transition-delay: 0.3s;
}

.d4 {
    transition-delay: 0.4s;
}

.d5 {
    transition-delay: 0.5s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.25s;
    cursor: pointer;
}

.btn-gold {
    background: var(--accent);
    color: #0a0a0a;
}

.btn-gold:hover {
    background: var(--accent-hover);
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.28);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8) !important;
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
}

/* ==============================================
   NAVIGATION
============================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background 0.35s, border-color 0.35s, box-shadow 0.3s;
}

.nav.scrolled {
    box-shadow: 0 4px 28px var(--shadow-md);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}

.nav-logo {
    width: 40px;
    height: auto;
    transition: filter 0.35s;
}

[data-theme="navy"] .nav-logo,
[data-theme="dark"] .nav-logo {
    filter: invert(1);
}

.nav-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.25s;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Theme switcher */
.theme-sw {
    display: flex;
    align-items: center;
    gap: 6px;
}

.t-btn {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
    position: relative;
    outline: none;
}

.t-btn:hover {
    transform: scale(1.18);
}

.t-btn.on {
    border-color: var(--accent);
    transform: scale(1.15);
}

.t-btn.on::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--accent);
}

.t-btn[data-t="classic"] {
    background: linear-gradient(135deg, #e8e0d0 50%, #c9a84c 50%);
}

.t-btn[data-t="navy"] {
    background: linear-gradient(135deg, #0d1b2a 50%, #c9a84c 50%);
}

.t-btn[data-t="dark"] {
    background: linear-gradient(135deg, #1a1a1a 50%, #c9a84c 50%);
}

.nav-cta {
    background: var(--accent);
    color: #0a0a0a !important;
    padding: 0.45rem 1.2rem;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-cta:hover {
    background: var(--accent-hover);
    color: #0a0a0a !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mob-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem 2rem;
}

.mob-menu.open {
    display: block;
}

.mob-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mob-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--dark-bg);
}

.hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 60% at 15% 50%, rgba(201, 168, 76, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 85% 20%, rgba(201, 168, 76, 0.04) 0%, transparent 60%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: var(--accent);
}

.hero-h1 {
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    font-weight: 300;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.hero-h1 strong {
    font-weight: 700;
    color: var(--accent);
}

.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.4rem;
}

.hero-desc {
    font-size: 0.97rem;
    color: rgba(255, 255, 255, 0.42);
    max-width: 460px;
    line-height: 1.85;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 340px;
    height: 340px;
}

/* Static breathing rings */
.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.22);
}

.ring-1 {
    width: 340px;
    height: 340px;
    animation: pulse-ring 3.5s ease-in-out infinite 0s;
}

.ring-2 {
    width: 270px;
    height: 270px;
    animation: pulse-ring 3.5s ease-in-out infinite 1.1s;
}

.ring-3 {
    width: 200px;
    height: 200px;
    border-color: rgba(201, 168, 76, 0.12);
    animation: pulse-ring 3.5s ease-in-out infinite 2.2s;
}

/* Sonar / expanding ripple rings */
.ring-sonar {
    width: 200px;
    height: 200px;
    border: 1px solid rgba(201, 168, 76, 0.55);
}

.ring-s1 {
    animation: sonar-out 3.5s ease-out infinite 0s;
}

.ring-s2 {
    animation: sonar-out 3.5s ease-out infinite 1.75s;
}

@keyframes pulse-ring {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.65;
    }

    50% {
        transform: scale(1.07);
        opacity: 0.15;
    }
}

@keyframes sonar-out {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

.hero-logo-img {
    width: 12rem;
    height: auto;
    position: relative;
    z-index: 1;
    animation: logo-glow 3.5s ease-in-out infinite;
}

@keyframes logo-glow {

    0%,
    100% {
        filter: drop-shadow(0 0 28px rgba(201, 168, 76, 0.18));
    }

    50% {
        filter: drop-shadow(0 0 54px rgba(201, 168, 76, 0.44));
    }
}

/* ==============================================
   STATS BAR
============================================== */

.stats-bar {
    background: var(--dark-bg-alt);
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat {
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.stat:last-child {
    border-right: none;
}

.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-lbl {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

/* ==============================================
   ABOUT
============================================== */

.about-sec {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-frame {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.about-logo {
	padding-top: 2rem;
	padding-bottom: 2rem;
    width: 12rem;
    height: auto;
    transition: filter 0.35s;
}

[data-theme="navy"] .about-logo,
[data-theme="dark"] .about-logo {
    filter: invert(1);
}

.cred-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cred {
    padding: 0.55rem 1rem;
    background: var(--accent-light);
    border-left: 3px solid var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.04em;
}

.about-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 0.5rem;
}

.about-body {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.highlights {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.hi {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.hi-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: var(--accent-light);
    border: 1px solid var(--accent);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.hi-icon svg {
    width: 18px;
    height: 18px;
}

.hi-body h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.hi-body p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ==============================================
   SERVICES
============================================== */

.services-sec {
    background: var(--bg-secondary);
}

.sec-head {
    text-align: center;
}

.sec-head h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.sec-head p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}

.svc-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.75rem;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.svc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--accent);
    transition: height 0.35s ease;
}

.svc-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 14px 36px var(--shadow);
}

.svc-card:hover::before {
    height: 100%;
}

.svc-icon {
    width: 46px;
    height: 46px;
    background: var(--accent-light);
    border: 1px solid var(--accent);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1.1rem;
}

.svc-icon svg {
    width: 22px;
    height: 22px;
}

.svc-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.svc-card > p {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
}

.svc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.svc-list li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.svc-list li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* ==============================================
   AP SUITE
============================================== */

.apsuite-sec {
    background: var(--dark-bg);
}

.apsuite-hd {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.apsuite-hd h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: #ffffff;
}

.apsuite-hd .label {
    color: var(--accent);
}

.apsuite-hd p {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.97rem;
    line-height: 1.8;
    max-width: 520px;
}

.apsuite-logo-area {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ap-ring {
    position: relative;
    width: 192px;
    height: 192px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Breathing rings */
.ap-r {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.22);
}

.ap-r1 {
    width: 192px;
    height: 192px;
    animation: pulse-ring 3.5s ease-in-out infinite 0s;
}

.ap-r2 {
    width: 152px;
    height: 152px;
    animation: pulse-ring 3.5s ease-in-out infinite 1.1s;
}

.ap-r3 {
    width: 108px;
    height: 108px;
    border-color: rgba(201, 168, 76, 0.12);
    animation: pulse-ring 3.5s ease-in-out infinite 2.2s;
}

/* Sonar / expanding ripple rings */
.ap-sonar {
    width: 108px;
    height: 108px;
    border: 1px solid rgba(201, 168, 76, 0.55);
}

.ap-s1 {
    animation: sonar-out 3.5s ease-out infinite 0s;
}

.ap-s2 {
    animation: sonar-out 3.5s ease-out infinite 1.75s;
}

.ap-ring img {
    width: 108px;
    height: auto;
    position: relative;
    z-index: 1;
    animation: ap-logo-glow 3.5s ease-in-out infinite;
}

@keyframes ap-logo-glow {

    0%,
    100% {
        filter: invert(1) drop-shadow(0 0 16px rgba(201, 168, 76, 0.18));
    }

    50% {
        filter: invert(1) drop-shadow(0 0 34px rgba(201, 168, 76, 0.48));
    }
}

.apsuite-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.ap-app {
    background: rgba(255, 255, 255, 0.038);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: background 0.25s, border-color 0.25s;
}

.ap-app:hover {
    background: rgba(201, 168, 76, 0.09);
    border-color: rgba(201, 168, 76, 0.3);
}

.ap-code {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.45rem;
}

.ap-name {
    font-size: 0.76rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.52);
    letter-spacing: 0.02em;
}

/* ==============================================
   EXPERIENCE & EDUCATION
============================================== */

.exp-sec {
    background: var(--bg-secondary);
}

.exp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.col-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Timeline */
.tl {
    position: relative;
}

.tl::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: var(--border);
}

.tl-item {
    padding-left: 1.75rem;
    padding-bottom: 2rem;
    position: relative;
}

.tl-item:last-child {
    padding-bottom: 0;
}

.tl-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg-secondary);
}

.tl-period {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.tl-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.tl-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.72;
}

/* Education cards */
.edu-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.edu-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.edu-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px var(--shadow);
}

.edu-badge {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: var(--accent);
    color: #0a0a0a;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.edu-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.edu-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.scratch-box {
    margin-top: 1.5rem;
    background: var(--accent-light);
    border: 1px solid var(--accent);
    border-radius: 4px;
    padding: 1.4rem;
}

.scratch-box h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.scratch-box p {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.72;
}

/* ==============================================
   CLIENTS
============================================== */

.clients-sec {
    background: var(--bg-secondary);
}

.clients-marquee-wrap {
    overflow: hidden;
    position: relative;
    margin-top: 3rem;
}

.clients-marquee-wrap::before,
.clients-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.clients-marquee-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.clients-marquee-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: clients-scroll 30s linear infinite;
    will-change: transform;
}

.clients-marquee-wrap:hover .clients-track {
    animation-play-state: paused;
}

@keyframes clients-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3.5rem;
    opacity: 0.4;
    filter: grayscale(1);
    transition: opacity 0.35s, filter 0.35s;
    flex-shrink: 0;
    color: var(--text-secondary);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0);
}

.client-logo svg {
    height: 40px;
    width: auto;
}

/* ==============================================
   CONTACT
============================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.contact-info > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.82;
    margin-bottom: 0.5rem;
}

.c-items {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-top: 2rem;
}

.c-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.c-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: var(--accent-light);
    border: 1px solid var(--accent);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.c-icon svg {
    width: 18px;
    height: 18px;
}

.c-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.c-text p {
    font-size: 0.93rem;
    color: var(--text-primary);
}

/* Form */
.cform {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
}

.fg {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.fg label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.fg input,
.fg select,
.fg textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 0.7rem 0.9rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.25s, background 0.35s, color 0.35s;
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
    border-color: var(--accent);
}

.fg textarea {
    min-height: 115px;
    resize: vertical;
}

.fg select option {
    background: var(--bg-secondary);
}

.btn-submit {
    align-self: flex-start;
    background: var(--accent);
    color: #0a0a0a;
    border: none;
    border-radius: 2px;
    padding: 0.9rem 2.4rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
}

.btn-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.28);
}

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

.footer {
    background: var(--dark-bg);
    padding: 3.5rem 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ft-brand img {
    width: 100px;
    height: auto;
    filter: invert(1);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.ft-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.ft-tag {
    font-size: 0.8rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.38);
    margin-bottom: 0.8rem;
}

.ft-legal {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.25);
}

.ft-col h5 {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.2rem;
}

.ft-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.ft-col ul li a {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.25s;
}

.ft-col ul li a:hover {
    color: var(--accent);
}

.footer-btm {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.ft-copy {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.22);
}

.ft-copy span {
    color: var(--accent);
}

.ft-credit {
    font-size: 0.73rem;
    color: rgba(255, 255, 255, 0.18);
}

/* ==============================================
   COUNTRIES STRIP
============================================== */

.countries-strip {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.cs-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
    margin: 0 0 0.8rem;
}

.cs-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.cs-carousel::before,
.cs-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.cs-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.cs-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.cs-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: cs-scroll 22s linear infinite;
    will-change: transform;
}

.cs-carousel:hover .cs-track {
    animation-play-state: paused;
}

@keyframes cs-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.cs-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0 3rem;
    white-space: nowrap;
}

.cs-flag {
    height: 16px;
    width: auto;
    border-radius: 2px;
    flex-shrink: 0;
}

.cs-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.cs-sep {
    color: var(--accent);
    font-size: 1.0rem;
    opacity: 0.65;
    flex-shrink: 0;
}

/* ==============================================
   TESTIMONIALS
============================================== */

.testi-sec {
    background: var(--bg-secondary);
}

/* Carousel */
.testi-carousel {
    position: relative;
    margin-top: 3rem;
}

.testi-track-wrap {
    overflow: hidden;
    border-radius: 4px;
}

.testi-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testi-card {
    min-width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    display: grid;
    grid-template-columns: 23% 1fr;
    transition: border-color 0.3s;
    box-sizing: border-box;
    overflow: hidden;
}

.testi-card:hover {
    border-color: var(--accent);
}

.testi-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2.5rem 1.5rem;
    background: var(--accent-light);
    border-right: 1px solid var(--border);
    text-align: center;
}

.testi-right {
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testi-qmark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    opacity: 0.28;
    display: block;
    margin-bottom: 0.5rem;
}

.testi-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.82;
    margin: 0;
}

.testi-attr-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testi-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testi-loc {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.testi-svc {
    display: inline-block;
    margin-top: 0.85rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: transparent;
    border: 1px solid var(--accent);
    padding: 0.22rem 0.65rem;
    border-radius: 2px;
}

.testi-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, #c9a84c 0%, #8a6520 100%);
    border: 3px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0a0a0a;
    box-shadow: 0 0 0 5px var(--accent-light), 0 6px 22px rgba(201, 168, 76, 0.35);
    overflow: hidden;
}

.testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testi-desig {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.1rem;
}

.testi-company {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

@media (max-width: 768px) {
    .testi-card {
        grid-template-columns: 1fr;
    }

    .testi-right {
        order: 1;
        padding: 2rem 1.75rem 1.5rem;
    }

    .testi-left {
        order: 2;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        border-right: none;
        border-top: 1px solid var(--border);
        padding: 1.25rem 1.75rem;
    }

    .testi-attr-info {
        align-items: flex-start;
    }

    .testi-loc {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .testi-right {
        padding: 1.75rem 1.5rem 1rem;
    }

    .testi-left {
        padding: 1rem 1.5rem 1.5rem;
    }

    .testi-text {
        font-size: 1.05rem;
    }
}

/* Carousel controls */
.testi-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.75rem;
}

.testi-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    flex-shrink: 0;
}

.testi-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.testi-btn svg {
    width: 18px;
    height: 18px;
}

.testi-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-strong);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.testi-dot.active {
    width: 26px;
    border-radius: 4px;
    background: var(--accent);
}

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

@media (max-width: 1024px) {
    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .apsuite-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 96px;
    }

    .hero-visual {
        display: none;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-desc {
        margin: 0 auto 2.5rem;
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .stat:nth-child(3),
    .stat:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-frame {
        display: none;
    }

    .svc-grid {
        grid-template-columns: 1fr;
    }

    .apsuite-hd {
        grid-template-columns: 1fr;
    }

    .apsuite-logo-area {
        display: none;
    }

    .apsuite-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .exp-layout {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-btm {
        flex-direction: column;
        gap: 0.4rem;
        text-align: center;
    }
}

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

    .apsuite-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==============================================
   SOCIAL LINKS
============================================== */

.social-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1.4rem;
}

.social-link {
    width: 34px;
    height: 34px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    transition: border-color 0.25s, color 0.25s, background 0.25s;
    flex-shrink: 0;
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(201, 168, 76, 0.08);
}

.social-link svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    display: block;
}

/* Form feedback message */
.form-msg {
    display: none;
    padding: 0.9rem 1.1rem;
    border-radius: 2px;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.6;
}

.form-msg:not(:empty) {
    display: block;
}

.form-msg--success {
    background: rgba(201, 168, 76, 0.09);
    border: 1px solid var(--accent);
    color: var(--accent);
}

.form-msg--error {
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid #dc2626;
    color: #dc2626;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Required field asterisk */
.req {
    color: var(--accent);
    margin-left: 2px;
}

/* Honeypot — invisible to real users */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

/* Contact section variant — themed */
.contact-social {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
}

.contact-social-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.contact-social .social-links {
    margin-top: 0;
}

.contact-social .social-link {
    border-color: var(--border);
    color: var(--text-muted);
    background: transparent;
}

.contact-social .social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}


/* ================================================
   MULTI-PAGE — ADDITIONAL STYLES
================================================ */

/* Active nav link */
.nav-links a.active {
    color: var(--accent);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.mob-menu ul li a.active {
    color: var(--accent);
}

/* Page Hero */
.page-hero {
    padding: 9rem 0 5rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.ph-inner {
    max-width: 700px;
}

.ph-inner .label {
    margin-bottom: 1rem;
}

.ph-inner h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.ph-inner p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Sec view-all row */
.sec-view-all {
    text-align: center;
    margin-top: 2.5rem;
}

.sec-cta {
    margin-top: 2rem;
    display: inline-block;
}

/* Home Contact CTA Section */
.contact-cta-sec {
    padding: 6rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.cta-text .label {
    margin-bottom: 1rem;
}

.cta-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    min-width: 260px;
}

.cta-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cta-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cta-info-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Footer 5-column layout */
.footer-top-5 {
    grid-template-columns: 1.6fr 1fr 1fr 1fr 0.8fr;
}

/* Legal Pages */
.legal-content {
    max-width: 860px;
    margin: 0 auto;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.legal-meta p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.legal-notice {
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--accent);
    background: rgba(201, 168, 76, 0.06);
    border-radius: 0 8px 8px 0;
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.legal-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.legal-content ul li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.4rem;
}

.legal-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.75rem;
    top: 0.35rem;
}

.legal-content a {
    color: var(--accent);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-contact-box {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-secondary);
}

.legal-contact-box p {
    margin: 0;
    line-height: 2;
}

/* Complaints process steps */
.legal-process {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1rem 0 1.5rem;
}

.legal-step {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1.25rem;
    align-items: start;
}

.legal-step-num {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.legal-step-body h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.legal-step-body p {
    margin-bottom: 0;
}

/* Responsive — multi-page additions */
@media (max-width: 1024px) {
    .footer-top-5 {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer-top-5 .ft-brand {
        grid-column: 1 / -1;
    }

    .cta-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .cta-actions {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .footer-top-5 {
        grid-template-columns: 1fr 1fr;
    }

    .page-hero {
        padding: 7rem 0 3.5rem;
    }

    .legal-step {
        grid-template-columns: 2.5rem 1fr;
        gap: 1rem;
    }

    .legal-step-num {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-top-5 {
        grid-template-columns: 1fr;
    }

    .legal-meta {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* Testimonials grid layout (page_testimonials.php) */
.testi-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.testi-grid .testi-card {
    min-width: 0;
}

/* Testimonials pagination */
.testi-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.pg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--card-bg);
    color: var(--text-secondary);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.pg-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.pg-btn.pg-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.pg-btn svg {
    width: 1rem;
    height: 1rem;
}

.pg-numbers {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pg-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--card-bg);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.pg-num:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.pg-num.pg-current {
    border-color: var(--accent);
    background: var(--accent);
    color: #0a0a0a;
    font-weight: 600;
    cursor: default;
}

/* ================================================
   TESTIMONIAL SUBMISSION FORM
================================================ */

.testi-submit-sec {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.testi-submit-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.testi-submit-hd {
    margin-bottom: 3rem;
}

.testi-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testi-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* fg, label, input, select, textarea — reuse cform styles */
.testi-form .fg {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.testi-form label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.testi-form input,
.testi-form select,
.testi-form textarea {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 0.8rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: border-color 0.25s;
    outline: none;
    width: 100%;
}

.testi-form input::placeholder,
.testi-form textarea::placeholder {
    color: var(--text-muted);
}

.testi-form input:focus,
.testi-form select:focus,
.testi-form textarea:focus {
    border-color: var(--accent);
}

.testi-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

.testi-form textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.7;
}

.fg-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.fg-charcount {
    text-align: right;
}

/* Star rating */
.star-rating {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    padding: 0.5rem 0 0.25rem;
}

.star {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--border-strong);
    transition: color 0.15s, transform 0.15s;
    line-height: 0;
}

.star svg {
    width: 2rem;
    height: 2rem;
    display: block;
    transition: fill 0.15s;
}

.star:hover,
.star.hovered,
.star.selected {
    color: var(--accent);
    transform: scale(1.1);
}

.star.selected svg,
.star.hovered svg {
    fill: var(--accent);
}

/* Consent checkbox */
.testi-consent {
    margin-top: 0.25rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    cursor: pointer;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    color: var(--text-secondary) !important;
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    border: 1px solid var(--border-strong);
    border-radius: 2px;
    background: var(--bg-primary);
    margin-top: 0.15rem;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}

.checkbox-label input:checked ~ .checkbox-custom {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-label input:checked ~ .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 0.28rem;
    top: 0.08rem;
    width: 0.35rem;
    height: 0.6rem;
    border: 2px solid #0a0a0a;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.checkbox-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .testi-form-row {
        grid-template-columns: 1fr;
    }
}

/* Photo upload field */
.photo-upload {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 2px;
    background: var(--bg-primary);
    transition: border-color 0.25s;
}

.photo-upload:focus-within {
    border-color: var(--accent);
}

.photo-preview {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.25s;
}

.photo-preview.has-image {
    border-color: var(--accent);
}

.photo-placeholder-icon {
    width: 28px;
    height: 28px;
    color: var(--text-muted);
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.photo-upload-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.photo-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.photo-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border: 1px solid var(--border-strong);
    border-radius: 2px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    width: fit-content;
}

.photo-upload-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.photo-upload-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.photo-upload-name {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 500;
    margin: 0;
    min-height: 1.2em;
}

.fg-optional {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-left: 0.4rem;
}

@media (max-width: 480px) {
    .photo-upload {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ================================================
   CLIENTS PAGE GRID
================================================ */

.clients-page-intro {
    max-width: 720px;
    margin: 0 auto 4rem;
    text-align: center;
}

.clients-page-intro p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.clients-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Card */
.cp-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px var(--shadow-md);
    border-color: var(--client-color, var(--accent));
}

/* Coloured top bar — uses the per-card CSS variable */
.cp-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0.85;
    transition: height 0.3s ease, opacity 0.3s ease;
}

.cp-card:hover .cp-card-accent {
    height: 5px;
    opacity: 1;
}

/* Logo area */
.cp-card-top {
    padding: 2.5rem 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

.cp-card:hover .cp-card-top {
    background: color-mix(in srgb, var(--client-color, var(--accent)) 6%, var(--bg-secondary));
}

.cp-logo-wrap {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.cp-card:hover .cp-logo-wrap {
    transform: scale(1.08);
}

.cp-logo-wrap svg {
    width: 100%;
    height: 100%;
}

/* Card body */
.cp-card-body {
    padding: 1.5rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.cp-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.cp-sector {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.cp-country {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* CTA below grid */
.clients-page-cta {
    margin-top: 4.5rem;
    padding-top: 3.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.clients-page-cta p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.clients-page-cta strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .clients-page-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .clients-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-page-cta {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .clients-page-grid {
        grid-template-columns: 1fr;
    }
}
