/* =====================================================================
   Kebun Scholar — main stylesheet
   ---------------------------------------------------------------------
   How to change brand colors:
     Edit the CSS variables in :root below.
   How to change fonts:
     Replace the Google Fonts <link> tag in each HTML <head>.
   ===================================================================== */

/* ------------------------------ Brand variables ----------------------- */
:root {
    --ks-primary: #0a4d9b;
    --ks-primary-dark: #083c7a;
    --ks-secondary: #2563eb;
    --ks-accent: #38bdf8;
    --ks-bg: #ffffff;
    --ks-surface: #f8fafc;
    --ks-text: #0f172a;
    --ks-muted: #475569;
    --ks-border: #e2e8f0;
    --ks-shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.05);
    --ks-shadow-md: 0 8px 30px rgba(15, 23, 42, 0.06);
    --ks-shadow-lg: 0 18px 40px rgba(10, 77, 155, 0.1);
    --ks-radius: 24px;
    --ks-radius-pill: 999px;
    --ks-container: 1200px;
    --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ks-text);
    background: var(--ks-bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--ks-text);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
}

p {
    margin: 0;
    color: var(--ks-muted);
}

/* ------------------------------ Helpers ------------------------------ */
.container {
    max-width: var(--ks-container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section-tight {
    padding: 72px 0;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ks-secondary);
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-top: 12px;
}

.section-sub {
    margin-top: 18px;
    font-size: 17px;
    color: var(--ks-muted);
    max-width: 720px;
    line-height: 1.7;
}

.grad-text {
    background: linear-gradient(
        120deg,
        #0a4d9b 0%,
        #2563eb 55%,
        #38bdf8 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ------------------------------ Buttons ------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--ks-radius-pill);
    font-weight: 600;
    font-size: 15px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--ks-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(10, 77, 155, 0.2);
}

.btn-primary:hover {
    background: var(--ks-primary-dark);
    box-shadow: 0 12px 28px rgba(10, 77, 155, 0.28);
}

.btn-secondary {
    background: #fff;
    color: var(--ks-primary);
    border: 1px solid var(--ks-border);
    box-shadow: var(--ks-shadow-sm);
}

.btn-secondary:hover {
    background: var(--ks-surface);
}

.btn-ghost-light {
    background: rgba(255, 255, 255, 0.0);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-white {
    background: #fff;
    color: var(--ks-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 13px;
}

/* ------------------------------ Dev banner --------------------------- */
.dev-banner {
    background: var(--ks-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    padding: 10px 16px;
    position: relative;
    z-index: 60;
}

.dev-banner .spark {
    color: var(--ks-accent);
    margin-right: 6px;
}

/* ------------------------------ Navigation --------------------------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(150%) blur(14px);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 19px;
    color: var(--ks-text);
    line-height: 1;
}

.brand-logo {
    display: block;
    height: 33px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.footer .brand-logo {
    height: 34px;
}

@media (max-width: 720px) {
    .brand-logo {
        height: 32px;
    }
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--ks-primary), var(--ks-accent));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
}

.brand-mark::after {
    content: "";
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ks-accent);
    border: 2px solid #fff;
}

.brand-text strong {
    color: var(--ks-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    border-radius: var(--ks-radius-pill);
    font-size: 14px;
    font-weight: 500;
    color: var(--ks-text);
    transition:
        background 0.2s,
        color 0.2s;
}

.nav-link:hover {
    background: var(--ks-surface);
    color: var(--ks-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Language dropdown */
.lang {
    position: relative;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid var(--ks-border);
    border-radius: var(--ks-radius-pill);
    font-size: 13px;
    font-weight: 500;
    color: var(--ks-text);
    transition: background 0.2s;
}

.lang-btn:hover {
    background: var(--ks-surface);
}

.lang-btn .chev {
    transition: transform 0.2s;
}

.lang.open .lang-btn .chev {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 220px;
    background: #fff;
    border: 1px solid var(--ks-border);
    border-radius: 16px;
    box-shadow: var(--ks-shadow-lg);
    overflow: hidden;
    display: none;
    z-index: 60;
}

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

.lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    text-align: left;
    font-size: 14px;
    color: var(--ks-text);
    transition: background 0.15s;
}

.lang-item:hover {
    background: var(--ks-surface);
}

.lang-item.active {
    background: var(--ks-surface);
    color: var(--ks-primary);
    font-weight: 600;
}

.lang-item .flag {
    font-size: 18px;
}

.lang-item .tick {
    margin-left: auto;
    color: var(--ks-secondary);
    opacity: 0;
}

.lang-item.active .tick {
    opacity: 1;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    background: var(--ks-surface);
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--ks-border);
    background: #fff;
    padding: 16px 0;
}

.mobile-menu a,
.mobile-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 24px;
    color: var(--ks-text);
    font-size: 15px;
    font-weight: 500;
}

.mobile-menu a:hover {
    background: var(--ks-surface);
}

/* ------------------------------ Hero --------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 100px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 77, 155, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 77, 155, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(
        ellipse at top,
        rgba(0, 0, 0, 0.5),
        transparent 70%
    );
    -webkit-mask-image: radial-gradient(
        ellipse at top,
        rgba(0, 0, 0, 0.5),
        transparent 70%
    );
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.18);
    filter: blur(80px);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    margin-top: 18px;
}

.hero-sub {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--ks-muted);
    max-width: 560px;
}

.hero-ctas {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-stats {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 520px;
}

.hero-stat {
    padding: 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--ks-border);
    border-radius: 18px;
    backdrop-filter: blur(8px);
}

.hero-stat .label {
    font-size: 11px;
    font-weight: 700;
    color: var(--ks-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-stat .value {
    margin-top: 6px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--ks-text);
}

.hero-media {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(10, 77, 155, 0.18);
    border: 1px solid var(--ks-border);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        rgba(10, 77, 155, 0.35),
        transparent 60%
    );
}

.float-card {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 12px 16px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.float-card .ico {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(10, 77, 155, 0.1);
    color: var(--ks-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.float-card .label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ks-muted);
    font-weight: 700;
}

.float-card .value {
    font-weight: 700;
    color: var(--ks-text);
}

.float-card.top {
    top: 18px;
    left: 18px;
}

.float-card.bottom {
    bottom: 18px;
    right: 18px;
}

.float-card.bottom .ico {
    background: rgba(56, 189, 248, 0.15);
    color: var(--ks-secondary);
}

/* ------------------------------ Sections shared ---------------------- */
.bg-surface {
    background: var(--ks-surface);
}

.grid {
    display: grid;
    gap: 20px;
}

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

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

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

.card {
    background: #fff;
    border: 1px solid var(--ks-border);
    border-radius: var(--ks-radius);
    padding: 28px;
    box-shadow: var(--ks-shadow-sm);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ks-shadow-lg);
}

.card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-top: 18px;
}

.card p {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.65;
}

.icon-tile {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        var(--ks-primary),
        var(--ks-secondary)
    );
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(10, 77, 155, 0.2);
}

.about-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-grid .card:nth-child(1),
.about-grid .card:nth-child(4) {
    grid-column: span 2;
}

/* ------------------------------ Partner card ------------------------- */
.partner-card {
    margin-top: 56px;
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: var(--ks-primary);
    color: #fff;
    box-shadow: 0 40px 80px rgba(10, 77, 155, 0.28);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.partner-card::before,
.partner-card::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.partner-card::before {
    top: -140px;
    right: -140px;
    background: rgba(56, 189, 248, 0.25);
}

.partner-card::after {
    bottom: -140px;
    left: -140px;
    background: rgba(37, 99, 235, 0.25);
}

.partner-card-media {
    position: relative;
    min-height: 420px;
    background: #08306a;
}

.partner-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
}

.partner-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 77, 155, 0.5),
        transparent 60%
    );
}

.partner-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ks-primary);
    padding: 8px 14px;
    border-radius: var(--ks-radius-pill);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.partner-card-body {
    position: relative;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.partner-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.partner-logo-box {
    background: var(--ks-primary-dark);
    border-radius: 16px;
    padding: 10px;
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.partner-logo-box img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.partner-head .eyebrow {
    color: var(--ks-accent);
}

.partner-name {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-top: 4px;
}

.partner-location {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.partner-desc {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

.partner-ctas {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.more-soon {
    margin-top: 48px;
    border: 1.5px dashed rgba(10, 77, 155, 0.3);
    background: var(--ks-surface);
    border-radius: var(--ks-radius);
    padding: 36px;
    text-align: center;
}

.more-soon h3 {
    margin-top: 8px;
    font-size: 22px;
    font-weight: 700;
}

.more-soon p {
    margin: 12px auto 0;
    max-width: 640px;
    font-size: 15px;
    line-height: 1.7;
}

/* ------------------------------ Preview cards ------------------------ */
.preview-grid {
    margin-top: 56px;
    grid-template-columns: repeat(3, 1fr);
}

.preview-card {
    position: relative;
    overflow: hidden;
}

.preview-card::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.3s;
}

.preview-card:hover::after {
    opacity: 1;
}

.coming-soon-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(10, 77, 155, 0.08);
    color: var(--ks-primary);
    padding: 6px 12px;
    border-radius: var(--ks-radius-pill);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid rgba(10, 77, 155, 0.1);
}

/* ------------------------------ Become partner ----------------------- */
.bp-grid {
    margin-top: 56px;
    grid-template-columns: repeat(3, 1fr);
}

.bp-card .row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.bp-card .ico-soft {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(10, 77, 155, 0.08);
    color: var(--ks-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bp-card h3 {
    margin-top: 0;
    font-size: 17px;
}

.bp-cta {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

/* ------------------------------ How it works ------------------------- */
.steps {
    margin-top: 56px;
    position: relative;
}

.steps-connector {
    position: absolute;
    top: 40px;
    left: 6%;
    right: 6%;
    height: 1px;
    background: repeating-linear-gradient(
        90deg,
        rgba(10, 77, 155, 0.35) 0 6px,
        transparent 6px 14px
    );
    pointer-events: none;
}

.steps-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.step {
    background: #fff;
    border: 1px solid var(--ks-border);
    border-radius: var(--ks-radius);
    padding: 22px;
    box-shadow: var(--ks-shadow-sm);
    transition: box-shadow 0.25s;
}

.step:hover {
    box-shadow: var(--ks-shadow-lg);
}

.step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step-ico {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ks-primary), var(--ks-accent));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.step-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 28px;
    color: #e2e8f0;
    letter-spacing: -0.04em;
}

.step h3 {
    margin-top: 16px;
    font-size: 17px;
}

.steps-note {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    color: var(--ks-muted);
    font-style: italic;
}

/* ------------------------------ CTA panel ---------------------------- */
.cta-panel {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 64px;
    background:
        linear-gradient(
            135deg,
            var(--ks-primary) 0%,
            var(--ks-primary) 40%,
            var(--ks-secondary) 100%
        );
    color: #fff;
    border-radius: 32px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 32px;
}

.cta-panel::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: rgba(56, 189, 248, 0.25);
    filter: blur(80px);
    border-radius: 50%;
    pointer-events: none;
}

.cta-panel h2 {
    color: #fff;
    font-size: clamp(28px, 4vw, 44px);
    margin-top: 12px;
}

.cta-panel p {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    line-height: 1.7;
    max-width: 640px;
}

.cta-panel .eyebrow {
    color: var(--ks-accent);
}

.cta-actions {
    text-align: right;
    position: relative;
    z-index: 2;
}

/* ------------------------------ Office & Map ------------------------- */
.office-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 24px;
}

.office-card {
    background: var(--ks-surface);
    border: 1px solid var(--ks-border);
    border-radius: var(--ks-radius);
    padding: 36px;
}

.office-card h3 {
    margin-top: 20px;
    font-size: 22px;
}

.office-card .lines {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ks-muted);
}

.office-card .lines div {
    margin-top: 2px;
}

.map-frame {
    border-radius: var(--ks-radius);
    overflow: hidden;
    border: 1px solid var(--ks-border);
    box-shadow: var(--ks-shadow-md);
    min-height: 420px;
    background: var(--ks-surface);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

/* ------------------------------ Contact cards ------------------------ */
.contact-grid {
    margin-top: 56px;
    grid-template-columns: repeat(4, 1fr);
}

.contact-card {
    display: flex;
    flex-direction: column;
}

.contact-card .ico {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ks-shadow-sm);
}

.contact-card.email .ico {
    background: linear-gradient(135deg, var(--ks-primary), var(--ks-secondary));
}

.contact-card.wa .ico {
    background: linear-gradient(135deg, #10b981, #059669);
}

.contact-card.li .ico {
    background: linear-gradient(135deg, #0ea5e9, #1d4ed8);
}

.contact-card.ig .ico {
    background: linear-gradient(135deg, #ec4899, #c026d3);
}

.contact-card .label {
    margin-top: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ks-muted);
}

.contact-card .value {
    margin-top: 6px;
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--ks-text);
    word-break: break-word;
}

.contact-card .cta {
    margin-top: auto;
    padding-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ks-primary);
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.2s;
}

.contact-card:hover .cta {
    gap: 10px;
}

/* ------------------------------ Footer ------------------------------- */
.footer {
    background: #fff;
    border-top: 1px solid var(--ks-border);
    padding: 72px 0 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ks-text);
}

.footer p,
.footer a,
.footer li {
    font-size: 14px;
    color: var(--ks-muted);
}

.footer .tagline {
    margin-top: 16px;
    line-height: 1.7;
    max-width: 280px;
}

.footer ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer a {
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--ks-primary);
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid var(--ks-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--ks-muted);
}

.footer-bottom .made {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ks-secondary);
}

/* ------------------------------ Reveal on scroll --------------------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

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

/* ------------------------------ Utility ------------------------------ */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

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

.icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.icon-sm {
    width: 16px;
    height: 16px;
}
