:root {
    /* Colors */

    --ink: #0F2137;
    --ink-mid: #1a3352;
    --gold: #C9A84C;
    --gold-light: #e8c97a;
    --gold-pale: #f5ecd4;
    --cream: #F7F3EE;
    --cream-dark: #EDE7DC;
    --white: #FFFFFF;
    --grey-1: #f0ece6;
    --grey-2: #d8d2c8;
    --grey-3: #9a9488;
    --grey-4: #6B7280;
    --grey-5: #3d3d3a;

    /* Typography */

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    /* Spacing */

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Layout */

    --max-w: 1200px;
    --nav-h: 72px;

    /* Transitions */

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1.0);
    --dur-fast: 180ms;
    --dur-med: 300ms;
    --dur-slow: 500ms;

    /* Shadows */

    --shadow-sm: 0 1px 3px rgba(15, 33, 55, 0.08), 0 1px 2px rgba(15, 33, 55, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 33, 55, 0.10), 0 2px 6px rgba(15, 33, 55, 0.06);
    --shadow-lg: 0 12px 40px rgba(15, 33, 55, 0.14), 0 4px 12px rgba(15, 33, 55, 0.08);
    --shadow-gold: 0 8px 32px rgba(201, 168, 76, 0.20);
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

ul,
ol {
    list-style: none;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    background: var(--gold);
    color: var(--ink);
    padding: var(--space-2) var(--space-4);
    border-radius: 0 0 6px 6px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 9999;
    transition: top var(--dur-fast);
}

.skip-link:focus {
    top: 0;
}

.container {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--space-6);
}

@media (min-width: 768px) {
    .container {
        padding-inline: var(--space-8);
    }
}

@media (min-width: 1200px) {
    .container {
        padding-inline: var(--space-12);
    }
}

.section-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-4);
}

.section-eyebrow--light {
    color: var(--gold-light);
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: var(--space-5);
}

.section-heading--light {
    color: var(--cream);
}

.section-intro {
    font-size: 1.0625rem;
    color: var(--grey-4);
    max-width: 52ch;
    line-height: 1.75;
    margin-bottom: var(--space-12);
}

.section-header {
    margin-bottom: var(--space-12);
}

.section-header--light .section-intro {
    color: rgba(247, 243, 238, 0.7);
}

.section-body {
    font-size: 1.0625rem;
    color: var(--grey-4);
    line-height: 1.8;
    max-width: 54ch;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 0.8125rem 1.75rem;
    border-radius: 3px;
    transition: all var(--dur-med) var(--ease);
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold);
    color: var(--ink);
    box-shadow: var(--shadow-gold);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background var(--dur-fast);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 12px 36px rgba(201, 168, 76, 0.30);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(247, 243, 238, 0.35);
}

.btn-ghost:hover {
    background: rgba(247, 243, 238, 0.08);
    border-color: rgba(247, 243, 238, 0.6);
}

.btn-nav {
    background: var(--gold);
    color: var(--ink);
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    display: none;
}

@media (min-width: 1024px) {
    .btn-nav {
        display: inline-flex;
    }
}

.btn-nav:hover {
    background: var(--gold-light);
}

.btn-primary-dark {
    background: var(--cream);
    color: var(--ink);
    font-size: 1rem;
    padding: 1rem 2rem;
}

.btn-primary-dark:hover {
    background: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

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

.text-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.01em;
    position: relative;
    padding-bottom: 2px;
}

.text-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--dur-med) var(--ease);
}

.text-link:hover::after {
    width: 100%;
}

.text-link--light {
    color: var(--gold-light);
}

.text-link--light::after {
    background: var(--gold-light);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(15, 33, 55, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
    transition: background var(--dur-med), box-shadow var(--dur-med);
}

.site-header.scrolled {
    background: rgba(15, 33, 55, 0.98);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
}

.nav-container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--space-6);
    height: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .nav-container {
        padding-inline: var(--space-8);
    }
}

@media (min-width: 1200px) {
    .nav-container {
        padding-inline: var(--space-12);
    }
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
    text-decoration: none;
}

.logo-mark {
    width: 38px;
    height: 38px;
    background: var(--gold);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--cream);
    letter-spacing: 0.02em;
}

.logo-sub {
    font-size: 0.625rem;
    font-weight: 400;
    color: rgba(247, 243, 238, 0.5);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.3;
}

/* Links */

.nav-links {
    display: none;
    align-items: center;
    gap: 0;
    margin-left: auto;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(247, 243, 238, 0.75);
    padding: var(--space-2) var(--space-2);
    border-radius: 3px;
    transition: color var(--dur-fast), background var(--dur-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--dur-med) var(--ease);
}

.nav-link:hover {
    color: var(--cream);
}

.nav-link:hover::after {
    width: calc(100% - var(--space-6));
}

.nav-link.active {
    color: var(--cream);
}

.nav-link.active::after {
    width: calc(100% - var(--space-6));
}

/* Dropdown */

.has-dropdown {
    position: relative;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink-mid);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 6px;
    padding: var(--space-3) var(--space-2);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    z-index: 200;
    /* Bridge gap between nav link and menu so hover isn't lost */
    margin-top: 0;
}

/* Invisible bridge fills the gap so mouse travel doesn't close menu */
.dropdown::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: var(--space-2) var(--space-4);
    font-size: 0.875rem;
    color: rgba(247, 243, 238, 0.75);
    border-radius: 3px;
    transition: color var(--dur-fast), background var(--dur-fast);
}

.dropdown a:hover {
    color: var(--cream);
    background: rgba(201, 168, 76, 0.1);
}

/* Nav */

.nav-controls {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-left: auto;
}

@media (min-width: 1024px) {
    .nav-controls {
        margin-left: 0;
    }
}

/* Language */

.lang-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(247, 243, 238, 0.6);
    padding: var(--space-1) var(--space-2);
    border-radius: 3px;
    transition: color var(--dur-fast);
}

.lang-toggle:hover {
    color: var(--cream);
}

.lang-pl,
.lang-en {
    transition: color var(--dur-fast);
}

.lang-divider {
    opacity: 0.3;
}

.lang-en {
    color: rgba(247, 243, 238, 0.4);
}

body.lang-en .lang-pl {
    color: rgba(247, 243, 238, 0.4);
}

body.lang-en .lang-en {
    color: var(--cream);
}

body.lang-pl .lang-pl {
    color: var(--cream);
}

/* Hamburger */

.hamburger {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: var(--space-2);
    cursor: pointer;
    /* Expand tap target on touch devices */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
}

.hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--cream);
    border-radius: 2px;
    transition: transform var(--dur-med) var(--ease), opacity var(--dur-fast), width var(--dur-med);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ink);
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    /* Pad top so content starts below the fixed nav bar */
    padding-top: var(--nav-h);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-inner {
    padding: var(--space-8) var(--space-6) var(--space-12);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    min-height: 100%;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.mobile-nav-links a {
    display: block;
    font-size: 1.0625rem;
    color: rgba(247, 243, 238, 0.8);
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color var(--dur-fast);
}

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

.mobile-section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: var(--space-4);
    margin-bottom: var(--space-1);
}

.mobile-sub a {
    font-size: 0.9375rem !important;
    padding-left: var(--space-4) !important;
    color: rgba(247, 243, 238, 0.6) !important;
}

.mobile-lang {
    margin-top: auto;
    padding-top: var(--space-8);
}

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    overflow: hidden;
    background: var(--ink);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.45;
}

.hero-glow {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse at 70% 30%, rgba(201, 168, 76, 0.08) 0%, transparent 65%),
        radial-gradient(ellipse at 30% 70%, rgba(15, 33, 55, 0) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
    align-items: center;
}

@media (min-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-5);
}

.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 400;
    line-height: 1.06;
    color: var(--cream);
    margin-bottom: var(--space-6);
    letter-spacing: -0.01em;
}

.hero-heading em {
    font-style: italic;
    color: var(--gold);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(247, 243, 238, 0.65);
    line-height: 1.75;
    max-width: 48ch;
    margin-bottom: var(--space-8);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-5);
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.875rem;
    color: rgba(247, 243, 238, 0.55);
}

.trust-icon {
    color: var(--gold);
    font-size: 0.75rem;
    line-height: 1;
}

/* Hero */

.hero-visual {
    display: none;
}

@media (min-width: 900px) {
    .hero-visual {
        display: flex;
        justify-content: center;
    }
}

.hero-card-stack {
    position: relative;
    width: 320px;
    height: 380px;
}

.hero-card {
    position: absolute;
    border-radius: 12px;
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.hero-card--back {
    inset: 0;
    background: rgba(201, 168, 76, 0.05);
    transform: rotate(6deg) translate(12px, -8px);
}

.hero-card--mid {
    inset: 0;
    background: rgba(201, 168, 76, 0.08);
    transform: rotate(3deg) translate(6px, -4px);
}

.hero-card--front {
    inset: 0;
    background: rgba(26, 51, 82, 0.8);
    backdrop-filter: blur(12px);
    border-color: rgba(201, 168, 76, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(201, 168, 76, 0.07);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    text-align: center;
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--gold);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(247, 243, 238, 0.5);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-divider {
    width: 40px;
    height: 1px;
    background: rgba(201, 168, 76, 0.2);
}

/* Scroll */

.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-line {
    display: block;
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, rgba(201, 168, 76, 0.6), transparent);
    margin: auto;
    animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
        transform-origin: top;
    }

    50% {
        opacity: 0.4;
        transform: scaleY(0.6);
        transform-origin: top;
    }
}

.trust-bar {
    background: var(--ink-mid);
    border-top: 1px solid rgba(201, 168, 76, 0.12);
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
    padding: var(--space-8) 0;
}

.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    align-items: center;
}

@media (min-width: 640px) {
    .trust-bar-grid {
        grid-template-columns: repeat(4, 1fr) auto repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .trust-bar-grid {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
    }
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 var(--space-8);
}

.trust-stat-num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    color: var(--gold);
    line-height: 1;
    display: block;
    margin-bottom: var(--space-2);
}

.trust-stat-label {
    font-size: 0.8125rem;
    color: rgba(247, 243, 238, 0.5);
    letter-spacing: 0.03em;
    line-height: 1.4;
}

.trust-divider {
    display: none;
    width: 1px;
    height: 48px;
    background: rgba(201, 168, 76, 0.15);
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .trust-divider {
        display: block;
    }
}

.section {
    padding: var(--space-20) 0;
}

@media (min-width: 768px) {
    .section {
        padding: var(--space-32) 0;
    }
}

.differentiator {
    background: var(--cream);
}

.diff-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
}

@media (min-width: 900px) {
    .diff-layout {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
        align-items: start;
    }
}

.diff-content {
    padding-top: var(--space-4);
}

.diff-content .section-heading {
    margin-bottom: var(--space-5);
}

.diff-content .section-body {
    margin-bottom: var(--space-8);
}

.diff-pillars {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.pillar {
    display: flex;
    gap: var(--space-5);
    align-items: flex-start;
    padding: var(--space-5);
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--cream-dark);
    transition: border-color var(--dur-med), box-shadow var(--dur-med);
}

.pillar:hover {
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: var(--shadow-sm);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-pale);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.pillar-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--space-2);
}

.pillar-body {
    font-size: 0.9375rem;
    color: var(--grey-4);
    line-height: 1.7;
}

.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    padding: var(--space-8) var(--space-6);
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    border-radius: 8px;
    text-decoration: none;
    transition: border-color var(--dur-med), box-shadow var(--dur-med), transform var(--dur-med);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-med) var(--ease);
}

.service-card:hover {
    border-color: rgba(201, 168, 76, 0.25);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card--accent {
    background: var(--ink);
    border-color: var(--ink);
}

.service-card--accent .service-card-icon {
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold);
}

.service-card--accent .service-card-title {
    color: var(--cream);
}

.service-card--accent .service-card-body {
    color: rgba(247, 243, 238, 0.6);
}

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

.service-card--accent::before {
    background: var(--gold);
}

.service-card-icon {
    width: 52px;
    height: 52px;
    background: var(--gold-pale);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.service-card-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    flex: 1;
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
}

.service-card-body {
    font-size: 0.9375rem;
    color: var(--grey-4);
    line-height: 1.7;
    flex: 1;
}

.service-card-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.01em;
    margin-top: auto;
    padding-top: var(--space-2);
}

.testimonials {
    background: var(--ink);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(201, 168, 76, 0.05) 0%, transparent 65%);
    pointer-events: none;
}

/* Testimonials */

/* Testimonials grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
    margin-bottom: var(--space-10);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }
}

/* Mobile — horizontal swipe scroll */
@media (max-width: 767px) {
    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: var(--space-4);
        padding-bottom: var(--space-2);
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonials-grid .testimonial-card {
        flex: 0 0 85vw;
        max-width: 320px;
        scroll-snap-align: start;
    }
}

.testimonial-card {
    position: relative;
    background: rgba(26, 51, 82, 0.6);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 8px;
    padding: var(--space-8) var(--space-6) var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    transition: border-color var(--dur-med);
}

.testimonial-card:hover {
    border-color: rgba(201, 168, 76, 0.25);
}

.testimonial-card--featured {
    background: rgba(201, 168, 76, 0.07);
    border-color: rgba(201, 168, 76, 0.2);
}

@media (min-width: 768px) {
    .testimonial-card--featured {
        grid-row: span 1;
    }
}

.testimonial-quote-mark {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 400;
    color: var(--gold);
    line-height: 0.5;
    opacity: 0.4;
    user-select: none;
}

.testimonial-body {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 300;
    font-style: italic;
    color: rgba(247, 243, 238, 0.85);
    line-height: 1.75;
    flex: 1;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    font-style: normal;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--gold);
    flex-shrink: 0;
}

.testimonial-name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--cream);
    font-style: normal;
    margin-bottom: var(--space-1);
}

.testimonial-detail {
    font-size: 0.8125rem;
    color: rgba(247, 243, 238, 0.4);
}

.testimonials-footer {
    text-align: center;
    margin-top: var(--space-4);
}

.team {
    background: var(--cream);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
    margin-bottom: var(--space-10);
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.team-card {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: 8px;
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    transition: border-color var(--dur-med), box-shadow var(--dur-med), transform var(--dur-med);
}

.team-card:hover {
    border-color: rgba(201, 168, 76, 0.25);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--ink);
    border: 3px solid var(--gold-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 50%;
    display: block;
}

.team-avatar-initial {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gold);
    line-height: 1;
}

.team-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.team-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--ink);
}

.team-role {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
}

.team-bio {
    font-size: 0.9rem;
    color: var(--grey-4);
    line-height: 1.7;
    margin-top: var(--space-2);
}

.team-footer {
    text-align: center;
}

.cta-band {
    background: var(--gold);
    padding: var(--space-20) 0;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.06);
    transform: rotate(-12deg);
    pointer-events: none;
}

.cta-container {
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
}

.cta-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    color: var(--ink);
    margin-bottom: var(--space-5);
    line-height: 1.15;
}

.cta-sub {
    font-size: 1.0625rem;
    color: rgba(15, 33, 55, 0.75);
    line-height: 1.75;
    margin-bottom: var(--space-8);
    max-width: 48ch;
    margin-inline: auto;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-5);
}

.cta-contact-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4);
    justify-content: center;
}

.cta-contact-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.9375rem;
    color: rgba(15, 33, 55, 0.7);
    transition: color var(--dur-fast);
}

.cta-contact-link:hover {
    color: var(--ink);
}

.cta-or {
    font-size: 0.875rem;
    color: rgba(15, 33, 55, 0.4);
}

.site-footer {
    background: var(--ink);
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.footer-container {
    padding-top: var(--space-16);
    padding-bottom: var(--space-12);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 2fr;
        gap: var(--space-16);
    }
}

.footer-logo .logo-name {
    color: var(--cream);
}

.footer-tagline {
    margin-top: var(--space-4);
    font-size: 0.9rem;
    color: rgba(247, 243, 238, 0.4);
    line-height: 1.65;
    max-width: 28ch;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-8);
}

.footer-col-heading {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-5);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-col a {
    font-size: 0.9rem;
    color: rgba(247, 243, 238, 0.5);
    transition: color var(--dur-fast);
}

.footer-col a:hover {
    color: var(--cream);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.9rem;
    color: rgba(247, 243, 238, 0.5);
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--gold);
}

.footer-contact a {
    color: rgba(247, 243, 238, 0.5);
    transition: color var(--dur-fast);
}

.footer-contact a:hover {
    color: var(--cream);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--space-5) 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.footer-copy {
    font-size: 0.8125rem;
    color: rgba(247, 243, 238, 0.3);
}

.footer-lang {
    color: rgba(247, 243, 238, 0.3);
}

body.lang-pl [data-en]:not([data-pl]) {
    display: none;
}

body.lang-en [data-pl]:not([data-en]) {
    display: none;
}

/* Hero */

body.lang-pl .hero-heading-en {
    display: none;
}

body.lang-en .hero-heading-pl {
    display: none;
}

body.lang-en .hero-heading-en {
    display: inline;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

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

.reveal-delay-1 {
    transition-delay: 80ms;
}

.reveal-delay-2 {
    transition-delay: 160ms;
}

.reveal-delay-3 {
    transition-delay: 240ms;
}

.reveal-delay-4 {
    transition-delay: 320ms;
}

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

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .scroll-line {
        animation: none;
    }
}

@media print {

    .site-header,
    .hero-visual,
    .hero-scroll,
    .cta-band {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

.footer-privacy {
    font-size: 0.8125rem;
    color: rgba(247, 243, 238, 0.3);
    transition: color var(--dur-fast);
    text-decoration: none;
}

.footer-privacy:hover {
    color: rgba(247, 243, 238, 0.6);
}

/* News */

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    max-width: 760px;
}

@media (min-width: 640px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
}

.news-card {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: 8px;
    padding: var(--space-6) var(--space-7);
    transition: border-color var(--dur-med), box-shadow var(--dur-med);
}

.news-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: var(--shadow-sm);
}

.news-date {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}

.news-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--space-4);
    line-height: 1.3;
}

.news-card-body {
    font-size: 0.9375rem;
    color: var(--grey-4);
    line-height: 1.75;
}

.news-loading {
    padding: var(--space-12) 0;
    color: var(--grey-3);
}

/* Translations */

.service-card--translations {
    background: var(--ink);
    border-color: var(--gold);
    position: relative;
}

.service-card--translations .service-card-title {
    color: var(--cream);
}

.service-card--translations .service-card-body {
    color: rgba(247, 243, 238, 0.7);
}

.service-card--translations .service-card-link {
    color: var(--gold);
}

.service-card--translations .service-card-icon {
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold);
}

.service-card-badge {
    position: absolute;
    top: -1px;
    right: var(--space-5);
    background: var(--gold);
    color: var(--ink);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 0 0 6px 6px;
}

/* Band */

.translations-band {
    background: var(--cream);
    border-top: 1px solid var(--cream-dark);
    border-bottom: 1px solid var(--cream-dark);
}

.translations-band-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 900px) {
    .translations-band-inner {
        grid-template-columns: 1.2fr 1fr;
        gap: var(--space-16);
    }
}

.translations-band-types {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin: var(--space-6) 0 var(--space-8);
}

.translation-type-pill {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: 100px;
    padding: var(--space-1) var(--space-4);
    font-size: 0.8125rem;
    color: var(--grey-5);
    font-weight: 400;
}

.translations-band-actions {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.translations-trust-card {
    background: var(--ink);
    border-radius: 12px;
    padding: var(--space-10) var(--space-10);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.translations-trust-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid rgba(247, 243, 238, 0.07);
}

.translations-trust-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.translations-trust-item svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.translations-trust-item strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 2px;
}

.translations-trust-item span {
    font-size: 0.8125rem;
    color: rgba(247, 243, 238, 0.45);
}

/* Hero sworn badge */

.hero-sworn-badge {
    margin-top: var(--space-5);
}

.sworn-badge-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 100px;
    padding: var(--space-2) var(--space-4);
    font-size: 0.8125rem;
    color: var(--gold);
    text-decoration: none;
    transition: background var(--dur-fast), border-color var(--dur-fast);
    width: fit-content;
}

.sworn-badge-link:hover {
    background: rgba(201, 168, 76, 0.18);
    border-color: rgba(201, 168, 76, 0.5);
}

.sworn-badge-arrow {
    font-size: 0.75rem;
    opacity: 0.7;
    transition: transform var(--dur-fast);
}

.sworn-badge-link:hover .sworn-badge-arrow {
    transform: translateX(3px);
}

/* Hero split */

.hero-services-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

@media (min-width: 768px) {
    .hero-services-split {
        grid-template-columns: 1fr auto 1fr;
        gap: 0;
        align-items: stretch;
    }
}

.hero-service-panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .hero-service-panel--courses {
        padding-right: var(--space-8);
    }

    .hero-service-panel--translations {
        padding-left: var(--space-8);
    }
}

.hero-service-divider {
    display: none;
}

@media (min-width: 768px) {
    .hero-service-divider {
        display: block;
        width: 1px;
        background: rgba(201, 168, 76, 0.2);
        margin: 0;
        align-self: stretch;
    }
}

/* Mobile: horizontal divider */
@media (max-width: 767px) {
    .hero-services-split {
        gap: 0;
    }

    .hero-service-panel {
        padding: var(--space-6) 0;
        border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    }

    .hero-service-panel:last-child {
        border-bottom: none;
    }
}

.hero-service-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-1);
}

.hero-service-desc {
    font-size: 0.9375rem;
    color: rgba(247, 243, 238, 0.65);
    line-height: 1.65;
}

.hero-service-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    font-size: 0.8125rem;
    color: rgba(247, 243, 238, 0.45);
    margin-bottom: var(--space-2);
}

.btn-ghost--gold {
    border-color: rgba(201, 168, 76, 0.4);
    color: var(--gold);
}

.btn-ghost--gold:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}