/* ============================================
   DESIGNER2 - MAIN STYLESHEET
   Modern, clean, dark-themed design
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --color-bg: #222222;
    --color-bg-secondary: #2a2a2a;
    --color-bg-card: #2d2d2d;
    --color-text: #6ef960;
    --color-text-secondary: #6ef960;
    --color-primary: #6ef960;
    --color-accent: #6ef960;
    --color-dot: #6ef960;
    --color-border: #3a3a3a;

    /* Typography */
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 18px;
    --line-height: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Container */
    --container-width: 1200px;
    --container-padding: 2rem;
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-secondary);
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition-base);
}

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

strong {
    font-weight: 600;
    color: var(--color-text);
}

/* ===== DOT STYLING ===== */
.dot {
    color: var(--color-dot);
    font-weight: 700;
    margin-right: 0.25rem;
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== SECTION ===== */
.section {
    padding: var(--spacing-xl) 0;
}

.section .container {
    padding-right: calc(var(--container-padding) + 75px); /* Add space for vertical header */
}

.section__title {
    text-align: left;
    margin-bottom: var(--spacing-md);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
    border: 2px solid transparent;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn--primary {
    background-color: var(--color-primary);
    color: #222222;
    border: 2px solid transparent;
}

.btn--primary .dot {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn--primary:hover .dot {
    opacity: 1;
}

.btn--primary::before {
    content: '';
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #222222;
    transition: bottom 0.5s ease;
    z-index: -1;
}

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

.btn--primary:hover::before {
    bottom: 0;
}

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

.btn--outline::before {
    content: '';
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    transition: bottom 0.5s ease;
    z-index: -1;
}

.btn--outline:hover {
    color: #222222;
    border-color: var(--color-primary);
}

.btn--outline:hover::before {
    bottom: 0;
}/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    right: 0;
    width: 75px;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

/* Header Logo */
.header__logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) 5px;
    overflow: hidden;
    text-decoration: none;
}

.header__logo img {
    transform: rotate(-90deg);
    height: auto;
    max-width: 200px;
    width: auto;
    transition: var(--transition-base);
    padding: 0 5px;
}

.header__logo:hover img {
    opacity: 0.8;
}

/* Header Language Switcher */
.header__lang {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
    text-decoration: none;
    flex-shrink: 0;
    transition: var(--transition-base);
}

.header__lang img {
    width: 40px;
    height: auto;
    transition: transform 1.5s ease;
}

.header__lang:hover img {
    transform: scale(1.2);
}

/* Header Contact Section */
.header__contact {
    width: 75px;
    min-height: 150px;
    background-color: var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) 0;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    flex-shrink: 0;
}

/* Animated background slide */
.header__contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #222222;
    transition: left 0.5s ease;
    z-index: 0;
}

.header__contact:hover::before {
    left: 0;
}

.header__contact-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transform: rotate(-90deg);
    white-space: nowrap;
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    transition: color 0.5s ease;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.header__contact-text span {
    display: block;
}

.header__contact-arrow {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    color: #222222;
    transition: all 0.5s ease;
    z-index: 1;
}

.header__contact-arrow svg {
    width: 100%;
    height: 100%;
}

/* Hover state */
.header__contact:hover .header__contact-text {
    color: var(--color-primary);
}

.header__contact:hover .header__contact-arrow {
    color: var(--color-primary);
    transform: translate(5px, -5px);
}

/* Sandwich Menu Toggle */
.nav__toggle {
    width: 75px;
    height: 75px;
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.nav__toggle-icon {
    width: 30px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav__toggle-icon span {
    width: 100%;
    height: 3px;
    background-color: #222222;
    transition: all 0.3s ease;
    display: block;
}

/* Animated hamburger to X */
.nav__toggle.active .nav__toggle-icon span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.nav__toggle.active .nav__toggle-icon span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active .nav__toggle-icon span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Navigation Panels */
.nav__panels {
    position: fixed;
    top: 0;
    max-height: 100vh;
    overflow: hidden;
    right: 80px;
    width: 33.33vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    pointer-events: none;
    z-index: 999;
}

.nav__panel {
    flex: 1;
    background-color: var(--color-bg-card);
    border-radius: 15px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.nav__panel--1 {
    flex: 0.8;
}

.nav__panel--3 {
    flex: 1.4;
}

.nav__panels.active {
    pointer-events: all;
}

.nav__panels.active .nav__panel {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.nav__panels.active .nav__panel:nth-child(1) {
    transition-delay: 0.1s;
}

.nav__panels.active .nav__panel:nth-child(2) {
    transition-delay: 0.2s;
}

.nav__panels.active .nav__panel:nth-child(3) {
    transition-delay: 0.3s;
}

/* Panel Content */
.nav__panel {
    padding: clamp(1rem, 3vh, 2rem) var(--spacing-lg);
    display: flex;
    max-height: 100vh;
    overflow-y: auto;
    flex-direction: column;
}

.nav__panel-title {
    font-size: clamp(1.2rem, 2.5vh, 2rem);
    font-weight: 700;
    margin-bottom: clamp(0.5rem, 2vh, 1.5rem);
    color: var(--color-primary);
}

.nav__panel-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: clamp(0.3rem, 1.5vh, 0.8rem);
}

.nav__panel-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: clamp(0.85rem, 2vh, 1.1rem);
    font-weight: 500;
    transition: var(--transition-base);
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.nav__panel-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.nav__panel-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav__panel-links a:hover {
    padding-left: 25px;
}

.nav__panel-links a:hover::before {
    left: 0;
    opacity: 1;
}

.nav__panel-links a:hover::after {
    width: 100%;
}

/* Panel 2 - Inverted colors */
.nav__panel--2 {
    background-color: var(--color-primary);
}

.nav__panel--2 .nav__panel-title {
    color: #222222;
}

.nav__panel--2 .nav__panel-links a {
    color: #222222;
}

.nav__panel--2 .nav__panel-links a:hover {
    color: #000000;
}

.nav__panel--2 .nav__panel-links a::before {
    color: #222222;
}

.nav__panel--2 .nav__panel-links a::after {
    background-color: #222222;
}

/* Panel 2 - Two column layout */
.nav__panel--2 .nav__panel-columns {
    display: flex;
    gap: 2rem;
    flex: 1;
}

.nav__panel--2 .nav__panel-links {
    flex: 1;
}

/* Panel 3 - Social Icons */
.nav__social-icons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: auto;
    padding-top: var(--spacing-lg);
}

.nav__social-icons a {
    color: var(--color-primary);
    font-size: 24px;
    transition: transform 1.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav__social-icons a:hover {
    transform: scale(1.2);
}

.nav__social-icons svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Panel closing animation - gravity drop */
.nav__panels.closing .nav__panel {
    animation: dropDown 0.6s cubic-bezier(0.6, 0.04, 0.98, 0.335) forwards;
}

@keyframes dropDown {
    0% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(0) translateY(100vh);
    }
}

/* Hide old navigation elements */
.nav {
    display: none;
}

.nav__menu,
.nav__list,
.nav__logo,
.nav__lang {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    align-items: center;
    padding-right: 95px;
    position: relative;
    overflow: hidden;
}

/* Sliding lines — behind mosaic images */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75px;
    width: 75px;
    height: 100%;
    background: var(--color-primary);
    opacity: 0.9;
    animation: lineSlide 25s linear infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75px;
    width: 75px;
    height: 100%;
    background: var(--color-primary);
    opacity: 0.9;
    animation: lineSlide 25s linear infinite;
    animation-delay: 12.5s;
    z-index: 1;
}

@keyframes lineSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 150px)); }
}

/* Hero text (left side) */
.hero__text {
    padding: 0 4rem 0 6rem;
    z-index: 3;
    mix-blend-mode: difference;
}

.hero__title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    display: block;
    font-weight: 300;
    font-size: 0.5em;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.hero .btn {
    margin-top: var(--spacing-md);
    display: inline-block;
}

/* Hero mosaic grid (right side) */
.hero__mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
    height: 100vh;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.mosaic__item {
    overflow: hidden;
    border-radius: 6px;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    animation: staggerReveal 0.8s ease forwards;
}

.mosaic__item a {
    display: block;
    width: 100%;
    height: 100%;
}

.mosaic__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mosaic__item:hover img {
    transform: scale(1.08);
}

.mosaic__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(34,34,34,0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mosaic__item:hover::after {
    opacity: 1;
}

.mosaic__label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.mosaic__item:hover .mosaic__label {
    opacity: 1;
    transform: translateY(0);
}

.mosaic__label small {
    display: block;
    font-size: 0.65rem;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

/* Big item spans 2 columns and 2 rows */
.mosaic__item--big {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

/* Staggered reveal delays */
.mosaic__item:nth-child(1) { animation-delay: 0.1s; }
.mosaic__item:nth-child(2) { animation-delay: 0.2s; }
.mosaic__item:nth-child(3) { animation-delay: 0.3s; }
.mosaic__item:nth-child(4) { animation-delay: 0.4s; }
.mosaic__item:nth-child(5) { animation-delay: 0.5s; }
.mosaic__item:nth-child(6) { animation-delay: 0.6s; }
.mosaic__item:nth-child(7) { animation-delay: 0.7s; }
.mosaic__item:nth-child(8) { animation-delay: 0.8s; }
.mosaic__item:nth-child(9) { animation-delay: 0.9s; }

@keyframes staggerReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero scroll arrow */
.hero__scroll-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-primary);
    cursor: pointer;
    z-index: 3;
    animation: bounceArrow 2s ease-in-out infinite;
    text-decoration: none;
    transition: color 0.3s ease;
    mix-blend-mode: difference;
}

.hero__scroll-arrow:hover {
    color: var(--color-primary);
    opacity: 0.8;
}

@keyframes bounceArrow {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(15px); }
}

/* ===== VALUES SECTION ===== */
.values__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.value-card {
    background-color: var(--color-bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.value-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.value-card__title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.value-card__text {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
}

/* ===== WORK/PORTFOLIO SECTION ===== */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.work-card {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.work-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
}

.work-card__link {
    display: block;
}

.work-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.work-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
    border-radius: 10px;
}

.work-card:hover .work-card__image img {
    transform: scale(1.05);
}

.work-card__title {
    padding: var(--spacing-md);
    font-size: 1.25rem;
    font-weight: 600;
}

/* ===== ARTICLES PAGE WITH CIRCLES ===== */
/* ===== ARTICLES SECTION ===== */
.articles {
    position: relative;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.article-card {
    background-color: var(--color-bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: none;
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

.article-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.article-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-card:hover .article-card__image img {
    transform: scale(1.06);
}

.article-card__badge {
    display: none;
}

/* Excerpt overlay on hover */
.article-card__excerpt {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(34,34,34,0.95) 0%, rgba(34,34,34,0.7) 40%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
    margin: 0;
    pointer-events: none;
}

.article-card:hover .article-card__excerpt {
    opacity: 1;
}

/* Card body */
.article-card__content {
    padding: 1.25rem;
}

/* Hide avatar */
.article-card__meta {
    display: none;
}

.article-card__author-img {
    display: none;
}

/* Date as green label */
.article-card__footer {
    display: block;
    border: none;
    padding: 0;
    margin-bottom: 0.5rem;
    order: -1;
}

.article-card__date {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
}

.article-card__author {
    display: none;
}

.article-card__title {
    font-size: 0.95rem;
    margin-bottom: 0;
    font-weight: 600;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.article-card:hover .article-card__title {
    color: var(--color-text);
}

/* Reorder: date first, then title — use flexbox */
.article-card__content {
    display: flex;
    flex-direction: column;
}

.article-card__content .article-card__footer {
    order: -1;
}

.article-card__content .article-card__title {
    order: 1;
}

.article-card__content .article-card__excerpt {
    order: 2;
}

/* Hide old articles-page-wrapper styles */
.articles-page-wrapper {
    position: relative;
}

.articles-page-wrapper::before,
.articles-page-wrapper::after {
    display: none;
}

.articles-page-wrapper .page-header .container,
.articles-page-wrapper .articles .container {
    position: relative;
}


/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-compact {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition-base);
    text-decoration: none;
    color: var(--color-text);
    display: block;
}

.service-compact:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.service-compact__number {
    font-size: 0.75rem;
    opacity: 0.4;
    font-weight: 300;
    margin-bottom: 1rem;
}

.service-compact__title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-compact__text {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.5;
}

/* ===== CTA SECTION ===== */
.cta--centered {
    text-align: center;
}

.cta__text {
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.6;
}

.cta--centered .section__title {
    text-align: center;
}

.cta--centered .btn {
    display: inline-block;
}

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

.cta-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.cta-card__title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-card__text {
    font-size: 0.95rem;
    opacity: 0.75;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

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

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

/* ===== RECENT WORK ===== */
.recent-work {
    background-color: var(--color-bg);
}

.recent-work__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.recent-work__grid .work-card:first-child {
    grid-column: 1 / -1;
}

.recent-work__grid .work-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: none;
    background: none;
}

.recent-work__grid .work-card__image {
    aspect-ratio: 16/10;
}

.recent-work__grid .work-card:first-child .work-card__image {
    aspect-ratio: 21/10;
}

.recent-work__grid .work-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(34,34,34,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.recent-work__grid .work-card:hover .work-card__overlay {
    opacity: 1;
}

.recent-work__grid .work-card__overlay-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    margin-bottom: 0.3rem;
}

.recent-work__grid .work-card__overlay-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.recent-work__grid .work-card:hover {
    transform: none;
    border-color: transparent;
}

.recent-work__grid .work-card:hover .work-card__image img {
    transform: scale(1.05);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background-color: var(--color-bg-secondary);
    overflow: hidden;
}

.testimonials__carousel {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-lg) 0;
}

.testimonials__track {
    display: flex;
    gap: 1.5rem;
    animation: testimonialScroll 60s linear infinite;
}

.testimonials__track:hover {
    animation-play-state: paused;
}

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

.testimonial-card {
    flex-shrink: 0;
    width: 320px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: auto;
}

.testimonial-card__text {
    font-size: 0.9rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--color-text);
    opacity: 0.85;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.testimonial-card__author {
    border-top: 1px solid var(--color-border);
    padding-top: 0.75rem;
}

.testimonial-card__name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text);
}

.testimonial-card__company {
    font-size: 0.75rem;
    opacity: 0.5;
    color: var(--color-text);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--color-bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.footer::before,
.footer::after {
    display: none;
}

.footer > .container {
    position: relative;
}

/* Footer top — info left, social right */
.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer__info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
}

.footer__logo img {
    height: 50px;
    width: auto;
    display: block;
    margin-bottom: 0.5rem;
}

.footer__company-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.footer__company-desc {
    font-size: 0.75rem;
    opacity: 0.5;
    line-height: 1.5;
}

.footer__contact-list {
    display: flex;
    gap: 2.5rem;
    margin-top: 0.5rem;
}

.footer__contact-item {
    display: flex;
    flex-direction: column;
}

.footer__contact-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.4;
    margin-bottom: 0.15rem;
}

.footer__contact-value {
    font-size: 0.85rem;
    font-weight: 500;
}

.footer__contact-value a {
    color: var(--color-text);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer__contact-value a:hover {
    opacity: 0.7;
}

/* Social links */
.footer__social {
    display: flex;
    gap: 0.75rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text);
    transition: all 0.3s ease;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
}

.footer__social-link:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.footer__social-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer__social-link svg path {
    fill: var(--color-text);
    transition: fill 0.3s ease;
}

.footer__social-link:hover svg path {
    fill: var(--color-primary);
}

/* Hide old footer elements */
.footer__grid,
.footer__column,
.footer__title,
.footer__links,
.footer__company,
.footer__address,
.footer__contact {
    display: none;
}

/* Partners */
.footer__partners {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2rem;
}

.footer__partners img {
    height: 35px;
    width: auto;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.footer__partners a:first-child img {
    width: auto;
    max-height: none;
}

.footer__partners a:hover img,
.footer__partners img:hover {
    opacity: 0.8;
}

/* Copyright */
.footer__bottom {
    font-size: 0.75rem;
    opacity: 0.4;
}

.footer__bottom p {
    color: var(--color-text);
    font-size: inherit;
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer__top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer__contact-list {
        flex-direction: column;
        gap: 1rem;
    }

    .footer__partners {
        flex-wrap: wrap;
    }
}/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Landscape (810px - 1080px) */
/* Small laptop screens (short viewport height) */
@media screen and (min-width: 769px) and (max-height: 900px) {
    .nav__panel {
        padding: 10px var(--spacing-lg);
        justify-content: center;
    }

    .nav__panel-title {
        font-size: 0.95rem;
        margin-bottom: 0.35rem;
    }

    .nav__panel-links {
        gap: 0.2rem;
    }

    .nav__panel-links a {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .nav__panel--2 .nav__panel-columns {
        gap: 1rem;
    }

    .nav__social-icons {
        margin-top: auto;
        gap: 8px;
    }

    .nav__social-icons a {
        width: 30px;
        height: 30px;
    }

    .nav__social-icons svg {
        width: 14px;
        height: 14px;
    }
}

@media screen and (min-width: 810px) and (max-width: 1080px) {
    .nav__panels {
        width: 50vw;
        right: 80px;
    }

    .nav__panel-links {
        gap: 0.3rem;
    }

    .nav__panel-title {
        margin-bottom: 0.5rem;
    }
}

/* Tablet Portrait (below 810px) */
@media screen and (max-width: 810px) {
    /* Testimonials - one at a time */
    .testimonial-card {
        min-width: 100%;
        width: 100%;
    }

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

    /* Contact icons - all in one row */
    .contact-icons__grid {
        flex-wrap: nowrap;
        gap: 12px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .contact-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Tablet Large */
@media screen and (max-width: 1024px) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        grid-template-columns: 1fr 1fr;
    }

    .hero__text {
        padding: 0 2rem 0 3rem;
    }
}

/* Tablet */
@media screen and (max-width: 768px) {
    :root {
        --container-padding: 1.5rem;
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
    }

    /* Nav Panels - even wider on small tablets */
    .nav__panels {
        width: 90vw;
        right: 5vw;
    }

    /* Hero */
    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-right: 20px;
        padding-top: 100px;
        padding-bottom: 2rem;
    }

    .hero__text {
        padding: 0 var(--container-padding);
        margin-bottom: 2rem;
    }

    .hero__mosaic {
        height: 60vh;
        padding: 0 var(--container-padding);
    }

    .hero__title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    /* Navigation */
    .nav__toggle {
        display: flex;
    }
    
    .nav__menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: var(--color-bg);
        flex-direction: column;
        padding: var(--spacing-md);
        transition: left 0.3s ease;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    }
    
    .nav__menu.active {
        left: 0;
    }
    
    .nav__list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .nav__item {
        width: 100%;
    }
    
    .nav__link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav__dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        padding-left: var(--spacing-md);
        margin-top: var(--spacing-sm);
    }
    
    /* Grids */
    .values__grid,
    .work-grid,
    .articles-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .recent-work__grid {
        grid-template-columns: 1fr;
    }

    .recent-work__grid .work-card:first-child {
        grid-column: 1;
    }

    .recent-work__grid .work-card__image,
    .recent-work__grid .work-card:first-child .work-card__image {
        aspect-ratio: 16/10;
    }

    .testimonial-card {
        width: 280px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__partners {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    :root {
        --container-padding: 1rem;
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
        --font-size-base: 15px;
    }
    
    .hero__title {
        font-size: 2rem;
    }

    .hero__mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        height: 50vh;
    }

    .mosaic__item--big {
        grid-column: 1 / -1;
        grid-row: 1 / 2;
    }

    .mosaic__item:nth-child(n+8) {
        display: none;
    }

    .section__title {
        font-size: 1.75rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .work-grid,
    .articles-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

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

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* ===== SCROLL BEHAVIOR ===== */
@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;
    }
}/* ICON PLACEHOLDERS */
/* Replace these with Font Awesome or SVG icons */

.icon-phone::before,
.icon-envelope::before,
.icon-whatsapp::before,
.icon-linkedin::before,
.icon-facebook::before,
.icon-behance::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
}

/* Temporary text-based icons until you add real ones */
.footer__social a[aria-label="Telefon"]::after { content: '📞'; }
.footer__social a[aria-label="Email"]::after { content: '✉️'; }
.footer__social a[aria-label="WhatsApp"]::after { content: '💬'; }
.footer__social a[aria-label="LinkedIn"]::after { content: 'in'; font-weight: bold; }
.footer__social a[aria-label="Facebook"]::after { content: 'f'; font-weight: bold; }
.footer__social a[aria-label="Behance"]::after { content: 'Be'; font-weight: bold; }

/* ===== PAGE HEADER ===== */
.page-header {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg) 100%);
    position: relative;
    overflow: hidden;
}

.page-header .container {
    position: relative;
    z-index: 3;
}

.page-header__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.page-header__description {
    font-size: var(--font-size-large);
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text-secondary);
    opacity: 0.9;
}

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

/* Page Hero */
.page-hero {
    padding: 8rem 0 4rem;
}

.page-hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.page-hero__description {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.8;
    max-width: 650px;
}

/* Stats Bar */
.stats-bar {
    border-bottom: 1px solid var(--color-border);
    padding: 3rem 0;
}

.stats-bar__inner {
    display: flex;
    gap: 4rem;
}

.stat {
    opacity: 0;
    transform: translateY(20px);
    animation: statReveal 0.6s ease forwards;
}

.stat:nth-child(1) { animation-delay: 0.3s; }
.stat:nth-child(2) { animation-delay: 0.5s; }
.stat:nth-child(3) { animation-delay: 0.7s; }

@keyframes statReveal {
    to { opacity: 1; transform: translateY(0); }
}

.stat__number {
    font-size: 2.8rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.stat__label {
    font-size: 0.8rem;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* Story Section */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.story-text strong {
    opacity: 1;
    color: var(--color-primary);
}

.story-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 450px;
}

.story-collage__item {
    overflow: hidden;
    border-radius: 6px;
}

.story-collage__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.story-collage__item:hover img {
    transform: scale(1.05);
}

.story-collage__item:first-child {
    grid-row: 1 / -1;
}

/* Differentiators Grid */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.diff-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition-base);
}

.diff-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.diff-card__number {
    font-size: 0.75rem;
    opacity: 0.4;
    font-weight: 300;
    margin-bottom: 1rem;
}

.diff-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.diff-card__text {
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.5;
}

/* About page responsive */
@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-collage {
        height: 300px;
    }

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

    .stats-bar__inner {
        gap: 2rem;
    }

    .stat__number {
        font-size: 2rem;
    }
}

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

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

    .page-hero {
        padding: 6rem 0 2rem;
    }
}

/* ===== ARTICLE SINGLE ===== */
/* ===== ARTICLE SINGLE PAGE ===== */
.article-single {
    position: relative;
    background-color: var(--color-bg);
    color: var(--color-text);
}

/* Remove old sliding lines */
.article-single::before,
.article-single::after {
    display: none;
}

.article-single__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 2rem 2rem;
    position: relative;
}

/* Header — date + bold title */
.article-single__header {
    margin-bottom: 2rem;
    text-align: left;
}

.article-single__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

/* Date as green label above title */
.article-single__date {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Hide avatar, show only date */
.article-single__meta {
    display: block;
    margin-bottom: 0;
}

.article-single__author {
    display: block;
}

.article-single__author img {
    display: none;
}

.article-single__author-name {
    display: none;
}

/* Featured image — full width, no border */
.article-single__featured-image {
    margin-bottom: 3rem;
    border-radius: 8px;
    overflow: hidden;
}

.article-single__featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    border-radius: 8px;
}

/* Content — clean typography */
.article-single__content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    opacity: 0.8;
}

.article-single__content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    opacity: 1;
}

.article-single__content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
    opacity: 1;
}

.article-single__content p {
    margin-bottom: 1.5rem;
}

.article-single__content strong {
    color: var(--color-primary);
    opacity: 1;
}

.article-single__content ul,
.article-single__content ol {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.article-single__content li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
    padding-left: 1.2rem;
    position: relative;
}

.article-single__content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

.article-single__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: none;
}

.article-single__content blockquote {
    border-left: 3px solid var(--color-primary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    opacity: 0.7;
}

.article-single__content code {
    background: var(--color-bg-secondary);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.article-single__content pre {
    background: var(--color-bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-single__content pre code {
    background: none;
    padding: 0;
}

/* Footer — share + back */
.article-single__footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.article-single__share {
    margin-bottom: 2rem;
    text-align: center;
}

.article-single__share h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    background: transparent;
    transition: all 0.3s ease;
}

.share-btn svg {
    width: 18px;
    height: 18px;
    fill: var(--color-text);
    transition: fill 0.3s ease;
}

.share-btn:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.share-btn:hover svg {
    fill: var(--color-primary);
}

.article-single__back {
    text-align: center;
}

.article-single__back .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.article-single__back svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .article-single__container {
        padding: 5rem 1.5rem 2rem;
    }

    .article-single__title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

    .article-single__content {
        font-size: 0.95rem;
    }
}

/* ===== PORTFOLIO SINGLE ===== */
/* ===== PORTFOLIO SINGLE PAGE ===== */
.portfolio-single {
    position: relative;
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow: hidden;
}

/* Remove old color inversion effect */
.portfolio-single::before {
    display: none;
}

.portfolio-single.inverted {
    color: var(--color-text);
}

.portfolio-single__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 2rem 2rem;
    position: relative;
    z-index: 1;
}

/* Header — category label + bold title */
.portfolio-single__header {
    margin-bottom: 2rem;
}

.portfolio-single__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

/* Author — hidden in new design */
.portfolio-single__author {
    display: none;
}

/* Info grid — label/value pairs inline */
.portfolio-single__info {
    display: flex;
    gap: 3rem;
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--color-border);
}

.portfolio-info__item {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.portfolio-info__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.4;
    margin-bottom: 0.2rem;
    font-weight: 400;
    color: var(--color-text);
}

.portfolio-info__label .dot {
    display: none;
}

.portfolio-info__value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    margin: 0;
}

.portfolio-info__value a {
    display: inline;
    padding: 0;
    background: none;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    border: none;
    border-radius: 0;
    transition: opacity 0.3s ease;
}

.portfolio-info__value a:hover {
    opacity: 0.7;
    background: none;
    color: var(--color-text);
    border: none;
}

.portfolio-info__value a .dot {
    display: none;
}

.portfolio-info__value--categories a + a::before {
    content: '·';
    margin: 0 0.4em;
    opacity: 0.5;
    font-weight: 700;
}

/* Description — clean text */
.portfolio-single__description {
    margin-bottom: 3rem;
}

.portfolio-single__description p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--color-text);
    font-size: 1rem;
    opacity: 0.8;
}

.portfolio-single__description p:last-child {
    margin-bottom: 0;
}

.portfolio-single__description strong {
    opacity: 1;
    color: var(--color-primary);
}

.portfolio-single__description h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
}

.portfolio-single__description h3:first-child {
    margin-top: 0;
}

.portfolio-single__description h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
}

.portfolio-single__description ul {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.portfolio-single__description ul li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
    color: var(--color-text);
    opacity: 0.75;
    font-size: 0.95rem;
    padding-left: 1.2rem;
    position: relative;
}

.portfolio-single__description ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

.portfolio-single__description ul + p {
    margin-top: 1.5rem;
}

/* Gallery — full width stacked images */
.portfolio-single__gallery {
    margin-bottom: 3rem;
    padding: 0;
}

.portfolio-single__image {
    margin: 0 0 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    background: none;
    cursor: pointer;
    border: none;
    position: relative;
}

.portfolio-single__image--featured {
    margin-bottom: 1.5rem !important;
}

.portfolio-single__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.portfolio-single__image video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.portfolio-single__image:hover {
    transform: none;
    box-shadow: none;
}

.portfolio-single__image:hover img {
    transform: scale(1.02);
}

/* Image grid — now also stacked full width */
.portfolio-single__image-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 0;
}

/* Video */
.portfolio-single__video {
    margin: 0 0 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    background: none;
    border: none;
    position: relative;
}

.portfolio-single__video video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.portfolio-single__video--featured {
    margin-bottom: 1.5rem !important;
}

/* Related projects — overlay cards */
.portfolio-single__related {
    margin-bottom: 2rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

.portfolio-related__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.portfolio-related__title .dot {
    display: none;
}

.portfolio-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Footer — centered back button */
.portfolio-single__footer {
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.portfolio-single__footer .btn {
    position: relative;
    overflow: hidden;
}

/* Inverted state disabled — consistent dark theme */
.portfolio-single.inverted .portfolio-single__container { color: var(--color-text); }
.portfolio-single.inverted .portfolio-single__title,
.portfolio-single.inverted .portfolio-single__description p,
.portfolio-single.inverted .portfolio-info__label,
.portfolio-single.inverted .portfolio-related__title { color: inherit; }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    transition: background 1s ease;
}

.lightbox.active {
    display: flex;
    background: rgba(0, 0, 0, 0.95);
}

.lightbox.closing {
    background: rgba(0, 0, 0, 0);
}

.lightbox__image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    opacity: 0;
    transform: translateX(100vw);
    transition: opacity 0.8s ease 1s, transform 0.8s ease 1s;
}

.lightbox.active .lightbox__image {
    opacity: 1;
    transform: translateX(0);
}

.lightbox.closing .lightbox__image {
    opacity: 0;
    transform: translateY(100vh);
    transition: opacity 2s cubic-bezier(0.34, 1.56, 0.64, 1), transform 2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: rgba(110, 249, 96, 0.2);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    font-size: 2rem;
    line-height: 1;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0;
    transform: translateX(100vw);
    padding-bottom: 5px;
}

.lightbox__close {
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    transition-delay: 1.8s;
}

.lightbox.active .lightbox__close {
    opacity: 1;
    transform: translateX(0);
}

.lightbox__prev {
    left: 20px;
    top: 50%;
    transform: translate(0, -50%) translateX(100vw);
    transition-delay: 2.8s;
}

.lightbox.active .lightbox__prev {
    opacity: 1;
    transform: translate(0, -50%) translateX(0);
}

.lightbox__next {
    right: 20px;
    top: 50%;
    transform: translate(0, -50%) translateX(100vw);
    transition-delay: 3.8s;
}

.lightbox.active .lightbox__next {
    opacity: 1;
    transform: translate(0, -50%) translateX(0);
}

.lightbox.closing .lightbox__close {
    opacity: 0;
    transform: translateY(100vh);
    transition: opacity 2s cubic-bezier(0.34, 1.56, 0.64, 1), transform 2s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0s;
}

.lightbox.closing .lightbox__prev {
    opacity: 0;
    transform: translate(0, -50%) translateY(100vh);
    transition: opacity 2s cubic-bezier(0.34, 1.56, 0.64, 1), transform 2s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0s;
}

.lightbox.closing .lightbox__next {
    opacity: 0;
    transform: translate(0, -50%) translateY(100vh);
    transition: opacity 2s cubic-bezier(0.34, 1.56, 0.64, 1), transform 2s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0s;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background: var(--color-primary);
    color: #222222;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .portfolio-single__container {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .portfolio-single__title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

    .portfolio-single__info {
        flex-direction: column;
        gap: 1.5rem;
    }

    .portfolio-single__container {
        padding-top: 5rem;
    }

    .portfolio-related__grid {
        grid-template-columns: 1fr;
    }

    .lightbox__prev,
    .lightbox__next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox__close {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
}

/* ===== PORTFOLIO PAGE WITH CIRCLES ===== */
/* ===== PORTFOLIO GRID ===== */
.portfolio-grid-section {
    position: relative;
}

/* Filter toggle dropdown */
.portfolio-filter-wrap {
    margin-bottom: 3rem;
    position: relative;
}

.filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-toggle:hover {
    border-color: var(--color-primary);
}

.filter-toggle svg {
    transition: transform 0.3s ease;
}

.filter-toggle.active svg {
    transform: rotate(180deg);
}

.filter-count {
    background: var(--color-primary);
    color: var(--color-bg);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
}

.filter-panel {
    display: none;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.filter-panel.open {
    display: flex;
}

/* Portfolio filter buttons (inside panel) */
.portfolio-filter__btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text);
    font-family: var(--font-family);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.portfolio-filter__btn:hover {
    border-color: var(--color-primary);
    opacity: 1;
}

.portfolio-filter__btn.active {
    background: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
    opacity: 1;
    font-weight: 600;
}

/* Portfolio grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Portfolio card — new overlay style */
.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: none;
    background: none;
    padding: 0;
    transition: var(--transition-base);
}

.portfolio-card.hidden {
    display: none;
}

.portfolio-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.portfolio-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border-radius: 8px;
    border: none;
}

.portfolio-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
    border-radius: 8px;
}

.portfolio-card:hover .portfolio-card__image img {
    transform: scale(1.06);
}

.portfolio-card:hover .portfolio-card__image {
    transform: none;
    box-shadow: none;
}

/* Hide old content div, show overlay instead */
/* Original overlay div (inside __image) — hidden, category moved to __content by JS */
.portfolio-card__overlay {
    display: none;
}

.portfolio-card__category {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 0.3rem;
}

/* Content — single overlay with gradient, category + title in normal flow */
.portfolio-card__content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(34,34,34,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    text-align: left;
    border-radius: 8px;
    z-index: 3;
}

.portfolio-card:hover .portfolio-card__content {
    opacity: 1;
}

.portfolio-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}

.portfolio-card:hover .portfolio-card__title {
    color: #ffffff;
}

/* Portfolio card meta */
.portfolio-card__meta {
    display: none;
}

/* Color inversion for related projects in portfolio single pages */
.portfolio-single.inverted .portfolio-card__image {
    border-color: #222222;
}

.portfolio-single.inverted .portfolio-card__title {
    color: #222222;
}

.portfolio-single.inverted .portfolio-card:hover .portfolio-card__title {
    color: #222222;
}

.portfolio-single.inverted .portfolio-card__overlay {
    background: rgba(34, 34, 34, 0.9);
}

.portfolio-single.inverted .portfolio-card__category {
    color: var(--color-bg);
}

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

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

    .portfolio-card__title {
        font-size: 0.85rem;
    }
}

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

    .portfolio-card__title {
        font-size: 0.9rem;
    }

    .portfolio-filter__btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }
}

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

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: var(--color-primary);
    transform: translateX(8px);
}

.contact-method__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

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

.contact-method__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
    margin-bottom: 0.3rem;
}

.contact-method__value {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Company Info */
.company-info {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
}

.company-info__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.company-info__subtitle {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.company-info__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.company-info__item {
    display: flex;
    flex-direction: column;
}

.company-info__item-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.4;
    margin-bottom: 0.2rem;
}

.company-info__item-value {
    font-size: 0.95rem;
    font-weight: 500;
}

.company-info__item-value a {
    color: var(--color-text);
    text-decoration: none;
    transition: opacity 0.3s;
}

.company-info__item-value a:hover {
    opacity: 0.7;
}

/* Social Links */
.social-section {
    padding-bottom: 5rem;
}

.social-grid {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.social-link:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.social-link svg {
    flex-shrink: 0;
}

/* Contact responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .social-grid {
        flex-direction: column;
    }
}

/* ===== MOBILE HEADER ===== */
@media (max-width: 768px) {
    /* Header - move to top */
    .header {
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 65px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0;
    }

    /* Sandwich menu - left */
    .nav__toggle {
        width: 65px;
        height: 65px;
        order: 1;
    }

    /* Logo - center */
    .header__logo {
        order: 2;
        flex: 1;
        padding: 10px 20px;
        justify-content: center;
    }

    .header__logo img {
        transform: rotate(0deg);
        max-width: 180px;
        max-height: 50px;
        width: auto;
    }

    /* Language - right */
    .header__lang {
        width: 65px;
        height: 65px;
        order: 3;
    }

    .header__lang img {
        width: 30px;
    }

    /* Hide contact button on mobile */
    .header__contact {
        display: none;
    }

    /* Navigation Panels - full screen overlay */
    .nav__panels {
        top: 65px;
        left: 0;
        right: 0;
        width: 100%;
        height: calc(100vh - 65px);
        height: calc(100dvh - 65px);
        padding: 10px;
        gap: 10px;
    }

    .nav__panel {
        flex: 1;
        min-height: 0;
        border-radius: 10px;
        padding: 15px;
    }

    .nav__panel--1 {
        flex: 0.7;
    }

    .nav__panel--3 {
        flex: 1.1;
    }

    .nav__panel-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .nav__panel-links {
        gap: 0.4rem;
    }

    .nav__panel-links a {
        font-size: 0.9rem;
    }

    .nav__panel-columns {
        flex-direction: row;
        gap: 1rem;
    }

    .nav__panel-columns .nav__panel-links {
        flex: 1;
    }

    .nav__social-icons {
        margin-top: auto;
    }

    .nav__social-icons a {
        width: 35px;
        height: 35px;
    }

    .nav__social-icons svg {
        width: 16px;
        height: 16px;
    }

    /* Panel animation - slide from top on mobile */
    .nav__panel {
        transform: translateY(-100%);
    }

    .nav__panels.active .nav__panel {
        transform: translateY(0);
    }

    /* Content - full width, reset padding for header */
    .section .container {
        padding-right: var(--container-padding);
    }

    .hero {
        padding: 20px var(--container-padding);
        margin-top: 65px;
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero__text {
        padding: 0;
        margin-bottom: 1.5rem;
    }

    .hero__mosaic {
        padding: 0;
    }

    /* Hide scroll arrow on mobile */
    .hero__scroll-arrow {
        display: none;
    }

    /* Testimonials - one at a time on mobile */
    .testimonial-card {
        min-width: 100%;
        width: 100%;
        min-height: auto;
        padding: var(--spacing-md);
    }

    .testimonial-card__text {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .testimonial-card__name {
        font-size: 0.9rem;
    }

    .testimonial-card__company {
        font-size: 0.8rem;
    }

    /* Recent work - stack vertically with equal padding */
    .recent-work__grid {
        grid-template-columns: 1fr;
    }

    .recent-work .container {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    .page-header,
    .portfolio-single,
    .blog-single {
        padding-top: 65px;
    }

    .page-hero {
        padding-top: 5rem;
    }

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

@media (max-width: 480px) {
    .contact-icons__grid {
        gap: 10px;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
    }

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

    .contact-details__box {
        padding: var(--spacing-lg);
    }

    .contact-details__title {
        font-size: 1.4rem;
    }

    .contact-details__list p {
        font-size: 1rem;
    }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 75px;
    height: 75px;
    background-color: var(--color-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    padding: 0 var(--spacing-lg);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner__text {
    color: #222222;
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
}

.cookie-banner__text a {
    color: #222222;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-banner__text a:hover {
    text-decoration: none;
}

.cookie-banner__btn {
    background-color: #222222;
    color: var(--color-primary);
    border: none;
    padding: 12px 28px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    flex-shrink: 0;
}

.cookie-banner__btn:hover {
    background-color: #333333;
    transform: scale(1.02);
}

/* Cookie banner responsive */
@media (max-width: 768px) {
    .cookie-banner {
        right: 0;
        height: auto;
        min-height: 75px;
        padding: var(--spacing-sm) var(--spacing-md);
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .cookie-banner__text {
        font-size: 0.85rem;
    }

    .cookie-banner__btn {
        width: 100%;
        padding: 10px 20px;
    }
}

/* ===== COOKIE POLICY PAGE ===== */
.cookie-policy-page {
    padding: var(--spacing-xxl) 0;
}

.cookie-policy-page .container {
    max-width: 800px;
}

.cookie-policy-page h1 {
    margin-bottom: var(--spacing-lg);
}

.cookie-policy-page h2 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.cookie-policy-page p,
.cookie-policy-page li {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.cookie-policy-page ul {
    list-style: disc;
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.cookie-policy-page strong {
    color: var(--color-text);
}

.cookie-policy-page .last-updated {
    font-style: italic;
    color: var(--color-text-secondary);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
}

/* ========================================
   LANDING PAGES (usluge / services)
   ======================================== */

.landing-hero {
    padding: 10rem 0 5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--color-bg) 60%, #2a3a28 100%);
}

.landing-hero .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.landing-hero__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.landing-hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}

.landing-hero__desc {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.8;
    max-width: 650px;
    margin: 0 auto 2rem;
}

.landing-about {
    padding: var(--spacing-xl) 0;
}

.landing-about .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.landing-about__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.landing-about__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.landing-about__text {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.85;
}

.landing-about__text p {
    margin-bottom: 1rem;
}

.landing-portfolio {
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--color-border);
}

.landing-portfolio .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.landing-portfolio__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.landing-portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.landing-portfolio__item {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
    text-decoration: none;
    color: inherit;
    display: block;
}

.landing-portfolio__item:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
}

.landing-portfolio__item-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.landing-portfolio__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.landing-portfolio__item:hover .landing-portfolio__item-image img {
    transform: scale(1.05);
}

.landing-portfolio__item-content {
    padding: 1.25rem;
}

.landing-portfolio__item-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.landing-portfolio__more {
    text-align: center;
    margin-top: var(--spacing-md);
}

.landing-portfolio__more a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 2px;
    transition: var(--transition-fast);
}

.landing-portfolio__more a:hover {
    opacity: 0.8;
}

.landing-benefits {
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--color-border);
}

.landing-benefits .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.landing-benefits__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.landing-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.landing-benefits__card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition-base);
}

.landing-benefits__card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.landing-benefits__card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.landing-benefits__card-text {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.6;
}

.landing-platforms {
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--color-border);
}

.landing-platforms .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.landing-platforms__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

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

.landing-platforms__card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition-base);
}

.landing-platforms__card:hover {
    border-color: var(--color-primary);
}

.landing-platforms__card-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.landing-platforms__card-text {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.6;
}

.landing-cta {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background: linear-gradient(135deg, #1a2a18 0%, var(--color-bg) 100%);
}

.landing-cta .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.landing-cta__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.landing-cta__text {
    font-size: 1.1rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

/* Landing page responsive */
@media screen and (max-width: 768px) {
    .landing-hero {
        padding: 8rem 0 3rem;
    }
    .landing-about__columns {
        grid-template-columns: 1fr;
    }
    .landing-portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .landing-benefits__grid {
        grid-template-columns: 1fr;
    }
    .landing-platforms__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .landing-portfolio__grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Landing lead sekcija (forma + WhatsApp/telefon) ===== */
.landing-lead {
    padding: 80px 0;
    background-color: var(--color-bg-secondary);
}
.landing-lead__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.landing-lead__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
}
.landing-lead__desc {
    color: #cfcfcf;
    line-height: 1.6;
    margin-bottom: 28px;
}
.landing-lead__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.landing-lead__form {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
}
.landing-lead__field {
    margin-bottom: 18px;
}
.landing-lead__field label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 8px;
}
.landing-lead__field input,
.landing-lead__field textarea {
    width: 100%;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 12px 14px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}
.landing-lead__field input::placeholder,
.landing-lead__field textarea::placeholder {
    color: #777777;
}
.landing-lead__field input:focus,
.landing-lead__field textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}
.landing-lead__field textarea {
    resize: vertical;
}
.landing-lead__submit {
    width: 100%;
    justify-content: center;
    border: none;
    cursor: pointer;
}
.landing-lead__status {
    margin-top: 14px;
    font-size: 0.9rem;
    min-height: 1.2em;
}
.landing-lead__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}
@media screen and (max-width: 768px) {
    .landing-lead {
        padding: 56px 0;
    }
    .landing-lead__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .landing-lead__title {
        font-size: 1.6rem;
    }
}
