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

:focus:not(:focus-visible) {
    outline: none;
}

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-elevated: #1a1a1a;
    --accent: #e8700a;
    --accent-bright: #ff8c1a;
    --text-primary: #f0ece6;
    --text-secondary: #a09a94;
    --text-muted: #8a8580;
    --border: #2a2520;
    --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    caret-color: transparent;
}

/* === NOISE TEXTURE OVERLAY === */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    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)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* === NAVIGATION === */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
}

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

.nav-logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

.nav-pill {
    background: rgba(232, 112, 10, 0.12);
    color: var(--accent-bright) !important;
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    transition: background 0.3s, color 0.3s;
}

.nav-pill:hover {
    background: rgba(232, 112, 10, 0.25);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 6px 0;
    transition: 0.3s;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 2rem 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(232, 112, 10, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* === HERO BAR (full-bleed divider) === */
.hero-bar {
    height: 120px;
    overflow: hidden;
    position: relative;
}

.hero-bar::before,
.hero-bar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    z-index: 1;
}

.hero-bar::before { top: 0; }
.hero-bar::after { bottom: 0; }

.hero-bar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
    display: block;
    filter: saturate(0.5) contrast(1.1) brightness(0.7);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
}

.hero-tag::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.hero h1 .line-accent {
    color: var(--accent);
    display: block;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

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

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 112, 10, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-bright);
}

/* === HERO STATS (index) === */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    display: block;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* === SECTION SHARED === */
section {
    padding: 100px 2rem;
    position: relative;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* === OM OS (index) === */
.about {
    background: var(--bg-card);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

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

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

.about-highlight {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
}

.about-highlight::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
}

.about-highlight-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.about-highlight p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* === YDELSER (index) === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

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

.service-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--bg-elevated);
    line-height: 1;
    margin-bottom: 1rem;
    -webkit-text-stroke: 1px var(--border);
}

.service-card:hover .service-number {
    -webkit-text-stroke: 1px var(--accent);
    color: rgba(232, 112, 10, 0.05);
}

.service-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.service-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.service-card-upclimber {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.service-card-upclimber-text {
    flex: 1;
}

.service-card-upclimber-img {
    flex-shrink: 0;
    width: 275px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}

.service-card-upclimber-img::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 112, 10, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.service-card-upclimber-img img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    transform: translateY(-10px);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.service-card-upclimber:hover .service-card-upclimber-img img {
    transform: translateY(-20px) scale(1.05);
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 20px rgba(232, 112, 10, 0.15));
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

.service-link:hover {
    color: var(--accent-bright);
}

/* === KONTAKT === */
.contact {
    background: var(--bg-card);
}

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

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.contact-item-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-item-value {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.contact-item-value a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item-value a:hover {
    color: var(--accent-bright);
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.6rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
    vertical-align: middle;
    transition: all 0.3s;
}

.copy-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.copy-btn.copied {
    border-color: #4caf50;
    color: #4caf50;
}

.contact-cta {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-cta h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-cta .btn {
    align-self: flex-start;
}

/* === FOOTER === */
footer {
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    background: var(--bg-dark);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-brand span {
    color: var(--accent);
}

.footer-info {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-info a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* === UPCLIMBER PAGE === */

/* Split hero */
.uc-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 2rem 80px;
    overflow: hidden;
}

.uc-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(232, 112, 10, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.uc-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.uc-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.uc-hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 440px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.uc-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.uc-hero-img-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uc-hero-img-wrap::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 112, 10, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.uc-hero-img-wrap::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(232, 112, 10, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.uc-hero-img {
    max-height: 400px;
    width: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
    position: relative;
    z-index: 1;
    animation: uc-float 4s ease-in-out infinite;
}

@keyframes uc-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Pillars strip */
.uc-pillars {
    background: var(--bg-card);
    padding: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.uc-pillars::after {
    display: none;
}

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

.uc-pillar {
    padding: 2.5rem 2rem;
    position: relative;
}

.uc-pillar:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 2rem;
    bottom: 2rem;
    width: 1px;
    background: var(--border);
}

.uc-pillar-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--bg-elevated);
    -webkit-text-stroke: 1px var(--border);
    line-height: 1;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.uc-pillar:hover .uc-pillar-number {
    -webkit-text-stroke: 1px var(--accent);
    color: rgba(232, 112, 10, 0.05);
}

.uc-pillar h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.uc-pillar p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Why us */
.uc-why {
    background: var(--bg-dark);
}

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

.uc-why-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.4s;
}

.uc-why-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.uc-why-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.uc-why-item h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.uc-why-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Partner banner */
.uc-partner-banner {
    background: var(--bg-card);
    padding: 60px 2rem;
}

.uc-partner-banner::after {
    display: none;
}

.uc-partner-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    padding: 3rem;
}

.uc-partner-banner-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.uc-partner-banner-text {
    flex: 1;
}

.uc-partner-banner-text h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.uc-partner-banner-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.uc-partner-banner .btn {
    flex-shrink: 0;
}

/* Sticky CTA (mobile only) */
.uc-sticky-cta {
    display: none;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .hero-bar {
        height: 90px;
    }

    .hero-stats {
        gap: 2rem;
    }

    .uc-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .uc-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .uc-hero .hero-cta-group {
        justify-content: center;
    }

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

    .uc-pillar:nth-child(2)::after {
        display: none;
    }

    .uc-why-grid {
        grid-template-columns: 1fr;
    }

    .uc-partner-banner-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 700px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.97);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 120px 1.5rem 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-bar {
        height: 70px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    section {
        padding: 70px 1.5rem;
    }

    .service-card {
        padding: 1.75rem;
    }

    .service-card-upclimber-img {
        display: none;
    }

    .service-number {
        font-size: 3rem;
    }

    .contact-cta {
        padding: 1.75rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Upclimber responsive */
    .uc-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .uc-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .uc-hero .hero-cta-group {
        justify-content: center;
    }

    .uc-hero-img {
        max-height: 250px;
    }

    .uc-hero-img-wrap::before {
        width: 220px;
        height: 220px;
    }

    .uc-hero-img-wrap::after {
        width: 190px;
        height: 190px;
    }

    .uc-pillars-inner {
        grid-template-columns: 1fr;
    }

    .uc-pillar:not(:last-child)::after {
        right: 2rem;
        left: 2rem;
        top: auto;
        bottom: 0;
        width: auto;
        height: 1px;
    }

    .uc-why-grid {
        grid-template-columns: 1fr;
    }

    .uc-partner-banner-inner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }


    /* Sticky CTA visible on mobile */
    .page-upclimber .uc-sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        padding: 0.75rem 1.5rem;
        border-top: 1px solid var(--border);
        justify-content: center;
    }

    .page-upclimber .uc-sticky-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .page-upclimber footer {
        padding-bottom: 5rem;
    }
}
