/* Site is dark-themed — prevents Samsung/Chrome forced recolor (brown CTAs). */
html {
    color-scheme: dark;
}

/* Language switcher — mobile-first (static row under logo/burger; avoids FOUC on hard reload) */
.lang-switcher-inside {
    position: static;
    flex-basis: 100%;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 10;
    background: transparent;
    margin: 0;
    padding: 3px max(10px, env(safe-area-inset-right, 0px)) 0 0;
    box-sizing: border-box;
}
.lang-switcher-inside .languages {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    max-width: 100%;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    background: transparent;
    gap: 0.1em;
}
.lang-switcher-inside .languages li {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.lang-switcher-inside .languages a {
    padding: 0.2em 0.5em;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #cacac8;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.lang-switcher-inside .languages a.active,
.lang-switcher-inside .languages a:hover {
    background: transparent;
    color: #cee002;
}
.lang-switcher-inside .language-divider {
    color: #cacac8;
    font-size: 1.1em;
    margin: 0 0.1em;
    user-select: none;
}

@media (max-width: 767px) {
    #site-header {
        position: relative;
        z-index: 10050;
        isolation: isolate;
        min-height: calc(var(--site-nav-offset, 9rem) + env(safe-area-inset-top, 0px));
    }

    .lang-switcher-inside {
        position: static;
        flex-basis: 100%;
        width: 100%;
        order: 3;
        padding-bottom: 2px;
        min-height: 1.75rem;
    }

    .navbar {
        overflow: visible;
    }

    .navbar .container {
        align-items: flex-start;
        min-height: 3.25rem;
    }

    .hamburger {
        align-self: center;
        position: relative;
        z-index: 1002;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        -webkit-appearance: none;
        appearance: none;
        cursor: pointer;
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .logo {
        align-self: center;
    }

    body.mobile-nav-open {
        overflow: hidden;
    }
}

@media (min-width: 768px) {
    .lang-switcher-inside {
        position: absolute;
        right: max(16px, env(safe-area-inset-right, 0px));
        top: 100%;
        flex-basis: auto;
        width: auto;
        margin-top: calc(0.2em + 20px);
        align-items: center;
        padding: 0;
    }

    .lang-switcher-inside .languages {
        font-size: 1.18rem;
        letter-spacing: 0.025em;
        gap: 0;
    }

    .lang-switcher-inside .languages a {
        padding: 0.15em 0.32em;
    }

    .lang-switcher-inside .language-divider {
        display: inline-flex;
        align-items: center;
        line-height: 1;
        margin: 0 0.02em;
        font-size: 0.95em;
    }
}

/* Swiper navigation arrows for project.html */
.project-slider .swiper-button-next,
.project-slider .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: rgba(206, 224, 2, 0.95);
    color: #222;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    top: 50%;
    transform: translateY(-50%);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: none;
    outline: none;
}
.project-slider .swiper-button-next:hover,
.project-slider .swiper-button-prev:hover {
    background: #aabb00;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.project-slider .swiper-button-next:after,
.project-slider .swiper-button-prev:after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 22px;
}
.project-slider .swiper-button-next:after {
    content: '\f061'; /* FontAwesome arrow-right */
}
.project-slider .swiper-button-prev:after {
    content: '\f060'; /* FontAwesome arrow-left */
}
/* Project Details Page Styles */
.project-details {
    padding: 100px 0 40px 0;
    background: #fff;
    min-height: 60vh;
}
.project-details .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Legacy project.html only */
.project-details #project-title {
    font-size: 36px;
    font-weight: 700;
    color: #cee002;
    margin-bottom: 32px;
    text-align: center;
    margin-top: 0;
}
.project-slider-wrapper {
    margin-bottom: 32px;
}
.project-slider {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    background: #f8f8f8;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.project-slider .swiper-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}
.project-description {
    font-size: 18px;
    color: #333;
    margin: 24px 0 12px 0;
    text-align: center;
}
.project-details-text {
    font-size: 16px;
    color: #444;
    margin-bottom: 40px;
    text-align: center;
}

/* Erga project pages (homepage-premium scoped) */
.homepage-premium.erga-project-page #site-header {
    min-height: calc(var(--site-nav-offset, 8.75rem) + env(safe-area-inset-top, 0px));
}

.homepage-premium.erga-project-page #main-content {
    padding-top: 0;
}

.homepage-premium .erga-project-hero {
    padding: 0;
    background: #131313;
}

.homepage-premium .erga-project-hero .container {
    padding-top: 32px;
    padding-bottom: 32px;
    text-align: center;
}

.homepage-premium.erga-project-page #project-title {
    font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
    /* ~20% above .project-body h2 (1.35rem → 2rem) */
    font-size: 1.62rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 auto;
    margin-bottom: 0;
    text-align: center;
    max-width: 900px;
}

@media (min-width: 768px) {
    .homepage-premium.erga-project-page #project-title {
        font-size: 1.92rem;
    }
}

@media (min-width: 1200px) {
    .homepage-premium.erga-project-page #project-title {
        font-size: 2.4rem;
    }
}

.homepage-premium .erga-breadcrumb {
    font-size: 13px;
    color: #8f8778;
    margin-bottom: 20px;
    text-align: left;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.homepage-premium .erga-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.homepage-premium .erga-breadcrumb li + li::before {
    content: '/';
    margin-right: 6px;
    color: #4d4635;
}

.homepage-premium .erga-breadcrumb a {
    color: #bcb5a6;
    text-decoration: none;
}

.homepage-premium .erga-breadcrumb a:hover,
.homepage-premium .erga-breadcrumb a:focus {
    color: #f2ca50;
    text-decoration: underline;
}

.homepage-premium .erga-breadcrumb [aria-current="page"] {
    color: #e5e2e1;
}

.homepage-premium .erga-project-featured {
    position: relative;
    margin: 0;
    border: 1px solid #353535;
    overflow: hidden;
    background: #20201f;
}

.homepage-premium .erga-project-featured img {
    display: block;
    width: 100%;
    height: auto;
    cursor: zoom-in;
}

.homepage-premium.erga-project-page .erga-scroll-cue {
    position: fixed;
    left: 50%;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    transform: translate3d(-50%, 0, 0);
    z-index: 1001;
    display: block;
    padding: 10px;
    line-height: 0;
    text-decoration: none;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.homepage-premium.erga-project-page .erga-scroll-cue.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.homepage-premium.erga-project-page .erga-scroll-cue:focus-visible {
    outline: 2px solid #f2ca50;
    outline-offset: 2px;
    border-radius: 4px;
}

.homepage-premium.erga-project-page .erga-scroll-cue img {
    display: block;
    width: 24px;
    height: auto;
    opacity: 0.92;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s ease;
}

.homepage-premium.erga-project-page .erga-scroll-cue:hover img,
.homepage-premium.erga-project-page .erga-scroll-cue:focus-visible img {
    opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
    .homepage-premium.erga-project-page .erga-scroll-cue img {
        animation: erga-scroll-cue-bounce 2.2s ease-in-out infinite;
    }
}

@keyframes erga-scroll-cue-bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* Project page — related works marquee (all /erga/ project pages via build-projects.py) */
.homepage-premium.erga-project-page .erga-project-gallery:has(+ .erga-project-marquee) {
    padding-bottom: 0;
}

.homepage-premium.erga-project-page .erga-project-gallery:has(+ .erga-project-marquee) .erga-gallery-grid {
    padding-bottom: 16px;
}

.homepage-premium .erga-project-marquee {
    margin-top: 0;
    padding: 16px 0;
}

.homepage-premium .erga-project-marquee__clip {
    overflow: hidden;
    max-width: 100%;
    padding: 0;
    mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.homepage-premium .erga-marquee__track {
    display: flex;
    width: max-content;
    gap: 12px;
    animation: erga-marquee-scroll 45s linear infinite;
}

.homepage-premium .erga-marquee__group {
    display: flex;
    flex-shrink: 0;
    gap: 12px;
}

.homepage-premium .erga-marquee__link {
    display: block;
    flex-shrink: 0;
    width: 112px;
    height: 72px;
    overflow: hidden;
    border: 1px solid #353535;
    background: #20201f;
    line-height: 0;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.homepage-premium .erga-marquee__link:hover,
.homepage-premium .erga-marquee__link:focus-visible {
    border-color: #f2ca50;
    outline: none;
}

.homepage-premium .erga-marquee__link:focus-visible {
    outline: 2px solid #f2ca50;
    outline-offset: 2px;
}

.homepage-premium .erga-marquee__link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes erga-marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 6px));
    }
}

@media (min-width: 768px) {
    .homepage-premium .erga-marquee__link {
        width: 128px;
        height: 82px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .homepage-premium .erga-project-marquee__clip {
        mask-image: none;
        -webkit-mask-image: none;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .homepage-premium .erga-marquee__track {
        animation: none;
        flex-wrap: nowrap;
    }

    .homepage-premium .erga-marquee__group[aria-hidden="true"] {
        display: none;
    }
}

.homepage-premium .erga-project-story {
    padding: 96px 0;
}

.homepage-premium .erga-project-story .about-content {
    align-items: flex-start;
}

.homepage-premium .erga-project-story .project-body {
    text-align: left;
    max-width: 760px;
    margin: 0;
}

.homepage-premium .erga-project-story .project-body h2 {
    font-family: 'Noto Serif', serif;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 600;
    color: #e5e2e1;
    margin: 2.5rem 0 0.75rem;
}

.homepage-premium .erga-project-story .project-body h2:first-child {
    margin-top: 0;
}

.homepage-premium .erga-project-story .project-body p {
    font-size: 16px;
    line-height: 1.75;
    color: #bcb5a6;
    margin: 0 0 1rem;
}

.homepage-premium .erga-project-story .project-contact-hint {
    font-size: 15px;
    color: #8f8778;
    margin: 2.5rem 0 0;
    max-width: 760px;
}

.homepage-premium .erga-project-story .project-contact-hint a {
    color: #e5e2e1;
    text-decoration: underline;
}

.homepage-premium .erga-project-story .project-contact-hint a:hover,
.homepage-premium .erga-project-story .project-contact-hint a:focus {
    color: #f2ca50;
}

.homepage-premium .erga-project-back {
    margin-top: 32px;
}

/* Erga category page (GATE B) */
.homepage-premium.erga-category-page #site-header {
    min-height: calc(var(--site-nav-offset, 8.75rem) + env(safe-area-inset-top, 0px));
}

.homepage-premium .erga-category-hero {
    padding: 0;
    background: #131313;
}

.homepage-premium .erga-category-hero .container {
    padding-top: 56px;
    padding-bottom: 12px;
    text-align: center;
}

.homepage-premium.erga-category-page #category-title {
    font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
    font-size: 1.92rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 auto 16px;
    max-width: 900px;
}

@media (min-width: 1200px) {
    .homepage-premium.erga-category-page #category-title {
        font-size: 2.4rem;
    }
}

.homepage-premium .erga-category-intro {
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.01em;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    color: #bcb5a6;
    margin: 0 auto;
    max-width: 720px;
}

@media (max-width: 767px) {
    .homepage-premium .erga-category-intro {
        font-size: max(1rem, 16px);
        line-height: 1.55;
    }
}

.homepage-premium .erga-category-list {
    padding: 32px 0 64px;
}

.homepage-premium .erga-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.homepage-premium .erga-category-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #353535;
    background: #20201f;
    text-decoration: none;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.homepage-premium .erga-category-card:hover,
.homepage-premium .erga-category-card:focus-visible {
    border-color: #f2ca50;
    transform: translateY(-3px);
}

.homepage-premium .erga-category-card:focus-visible {
    outline: 2px solid #f2ca50;
    outline-offset: 2px;
}

.homepage-premium .erga-category-card__media {
    margin: 0;
    overflow: hidden;
    background: #131313;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
}

.homepage-premium .erga-category-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.homepage-premium .erga-category-card:hover .erga-category-card__media img,
.homepage-premium .erga-category-card:focus-visible .erga-category-card__media img {
    transform: scale(1.04);
}

.homepage-premium .erga-category-card__body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    flex: 1;
    min-height: 7.5rem;
}

.homepage-premium .erga-category-list .erga-category-card__title {
    font-family: 'Noto Serif', serif;
    font-size: clamp(1rem, 2vw, 2rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #e5e2e1;
    margin: 0;
    text-align: left;
    flex-shrink: 0;
    min-height: calc(1.25em * 3);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.homepage-premium .erga-category-card__cta {
    margin-top: 0;
    flex-shrink: 0;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f2ca50;
}

.homepage-premium .erga-category-card__cta i {
    margin-left: 6px;
    transition: transform 0.25s ease;
}

.homepage-premium .erga-category-card:hover .erga-category-card__cta i,
.homepage-premium .erga-category-card:focus-visible .erga-category-card__cta i {
    transform: translateX(4px);
}

.homepage-premium .erga-category-contact {
    margin: 48px 0 0;
    text-align: center;
    font-size: 15px;
    color: #8f8778;
}

.homepage-premium .erga-category-contact a {
    color: #e5e2e1;
    text-decoration: underline;
}

.homepage-premium .erga-category-contact a:hover,
.homepage-premium .erga-category-contact a:focus {
    color: #f2ca50;
}

/* Erga hub (/erga/) */
.homepage-premium .erga-hub-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 28px;
}

.homepage-premium .erga-hub-category-link {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid rgba(188, 181, 166, 0.35);
    color: #bcb5a6;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.homepage-premium .erga-hub-category-link:hover,
.homepage-premium .erga-hub-category-link:focus-visible {
    color: #f2ca50;
    border-color: rgba(242, 202, 80, 0.55);
    background: rgba(242, 202, 80, 0.06);
}

.homepage-premium .erga-hub-category-link[aria-current="page"] {
    color: #f2ca50;
    border-color: rgba(242, 202, 80, 0.55);
    background: rgba(242, 202, 80, 0.08);
    cursor: default;
}

.homepage-premium .erga-category-card__category {
    display: block;
    margin-bottom: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8f8878;
}

.homepage-premium .erga-hub-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #bcb5a6;
    margin: 0;
}

@media (max-width: 767px) {
    .homepage-premium .erga-category-grid {
        grid-template-columns: 1fr;
    }

    .homepage-premium .erga-hub-categories {
        gap: 6px;
        margin-bottom: 20px;
    }

    .homepage-premium .erga-hub-category-link {
        padding: 5px 10px;
        font-size: 0.75rem;
        letter-spacing: 0.01em;
        line-height: 1.3;
    }

    .homepage-premium .erga-category-list .erga-category-card__title,
    .homepage-premium .portfolio.erga-category-list h2.erga-category-card__title {
        font-size: 0.875rem;
    }

    .homepage-premium.erga-category-page #site-header {
        min-height: calc(var(--site-nav-offset, 9.5rem) + env(safe-area-inset-top, 0px));
    }
}

/* Newsroom page */
.homepage-premium.newsroom-page #site-header {
    min-height: calc(var(--site-nav-offset, 8.75rem) + env(safe-area-inset-top, 0px));
}

.homepage-premium.newsroom-page #newsroom-title {
    font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
    font-size: 1.92rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 auto;
    max-width: 900px;
}

@media (min-width: 1200px) {
    .homepage-premium.newsroom-page #newsroom-title {
        font-size: 2.4rem;
    }
}

.homepage-premium .newsroom-content {
    padding: 28px 0 clamp(3rem, 8vw, 5rem);
    background: #131313;
}

.homepage-premium .newsroom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 540px) {
    .homepage-premium .newsroom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .homepage-premium .newsroom-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .homepage-premium .newsroom-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .homepage-premium .newsroom-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 18px;
    }
}

.homepage-premium .newsroom-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    border: 1px solid #353535;
    background: #20201f;
    overflow: hidden;
}

.homepage-premium .newsroom-card__media {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #131313;
}

.homepage-premium .newsroom-card__media a {
    display: block;
    height: 100%;
}

.homepage-premium .newsroom-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.homepage-premium .newsroom-card:hover .newsroom-card__media img,
.homepage-premium .newsroom-card:focus-within .newsroom-card__media img {
    transform: scale(1.1) rotate(2deg);
    filter: blur(1px);
}

.homepage-premium .newsroom-card__body {
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.homepage-premium .newsroom-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.homepage-premium .newsroom-card__meta a,
.homepage-premium .newsroom-card__meta time,
.homepage-premium .newsroom-card__meta span {
    color: #8f8878;
    text-decoration: none;
    transition: color 0.25s ease;
}

.homepage-premium .newsroom-card__meta a:hover,
.homepage-premium .newsroom-card__meta a:focus-visible {
    color: #f2ca50;
}

.homepage-premium .newsroom-card__title {
    margin: 0;
    font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.homepage-premium .newsroom-card__title a {
    color: #e5e2e1;
    text-decoration: none;
    transition: color 0.25s ease;
}

.homepage-premium .newsroom-card__title a:hover,
.homepage-premium .newsroom-card__title a:focus-visible {
    color: #f2ca50;
}

.homepage-premium .newsroom-card__cta {
    align-self: flex-start;
    display: inline-block;
    margin-top: 2px;
    padding: 5px 10px;
    border: 1px solid rgba(188, 181, 166, 0.35);
    color: #bcb5a6;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.homepage-premium .newsroom-card__cta:hover,
.homepage-premium .newsroom-card__cta:focus-visible {
    color: #131313;
    background: #f2ca50;
    border-color: #f2ca50;
}

.homepage-premium .newsroom-card__cta:focus-visible {
    outline: 2px solid #f2ca50;
    outline-offset: 2px;
}

/* Newsroom editorial layout — opt-in via .newsroom-grid--editorial (remove class to revert) */
.homepage-premium .newsroom-grid--editorial {
    align-items: start;
}

.homepage-premium .newsroom-grid--editorial .newsroom-card {
    height: auto;
}

@media (min-width: 540px) {
    .homepage-premium .newsroom-grid--editorial .newsroom-card--featured {
        grid-column: span 2;
    }

    .homepage-premium .newsroom-grid--editorial .newsroom-card--featured .newsroom-card__media {
        aspect-ratio: 21 / 9;
    }
}

.homepage-premium .newsroom-grid--editorial .newsroom-card--portrait .newsroom-card__media {
    aspect-ratio: 3 / 4;
}

.homepage-premium .newsroom-grid--editorial .newsroom-card--landscape .newsroom-card__media {
    aspect-ratio: 4 / 3;
}

.homepage-premium .newsroom-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
    margin-top: clamp(32px, 5vw, 56px);
    padding-top: 24px;
    border-top: 1px solid rgba(19, 19, 19, 0.08);
}

.homepage-premium .newsroom-pagination__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.homepage-premium .newsroom-pagination__list a,
.homepage-premium .newsroom-pagination__prev,
.homepage-premium .newsroom-pagination__next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(19, 19, 19, 0.12);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #131313;
    text-decoration: none;
    background: #fff;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.homepage-premium .newsroom-pagination__list a:hover,
.homepage-premium .newsroom-pagination__list a:focus-visible,
.homepage-premium .newsroom-pagination__prev:hover,
.homepage-premium .newsroom-pagination__prev:focus-visible,
.homepage-premium .newsroom-pagination__next:hover,
.homepage-premium .newsroom-pagination__next:focus-visible {
    color: #131313;
    background: #f2ca50;
    border-color: #f2ca50;
}

.homepage-premium .newsroom-pagination__current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    background: #131313;
}

.homepage-premium .newsroom-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin: 0 0 12px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8f8878;
}

.homepage-premium .newsroom-article-breadcrumb {
    margin-bottom: 16px;
}

.homepage-premium .newsroom-article-body--editorial .about-content {
    max-width: 1120px;
    margin: 0 auto;
}

.homepage-premium .newsroom-article-body--editorial .project-body {
    max-width: none;
}

.homepage-premium .newsroom-article-intro {
    max-width: 760px;
    margin: 0 0 3rem;
}

.homepage-premium .newsroom-article-body--editorial .project-body a:link,
.homepage-premium .newsroom-article-body--editorial .project-body a:visited {
    color: #e5e2e1;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.homepage-premium .newsroom-article-body--editorial .project-body a:hover,
.homepage-premium .newsroom-article-body--editorial .project-body a:focus-visible {
    color: #f2ca50;
}

/* Shared reading measure: intro, inline figure, single-column blocks align left together. */
.homepage-premium .newsroom-article-measure {
    max-width: 760px;
}

.homepage-premium .newsroom-article-section--measure {
    max-width: 760px;
}

.homepage-premium .newsroom-article-section {
    margin-bottom: 3rem;
}

.homepage-premium .newsroom-article-section:last-of-type {
    margin-bottom: 0;
}

.homepage-premium .newsroom-article-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
}

.homepage-premium .newsroom-article-columns__main {
    min-width: 0;
}

.homepage-premium .newsroom-article-visual {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    gap: clamp(24px, 4vw, 40px);
    align-items: start;
    max-width: 1120px;
    margin: 0 0 3rem;
}

.homepage-premium .newsroom-article-visual .newsroom-article-figure {
    display: block;
    max-width: none;
    margin: 0;
    align-items: stretch;
}

.homepage-premium .newsroom-article-visual .newsroom-article-figure img {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.homepage-premium .newsroom-article-visual .newsroom-article-figure figcaption {
    width: 100%;
    max-width: 100%;
}

/* Optional: add --compact-image on visual block for smaller desktop image (max 480px). Remove class to revert. */
@media (min-width: 992px) {
    .homepage-premium .newsroom-article-visual--compact-image {
        grid-template-columns: minmax(0, 480px) minmax(220px, 280px);
    }
}

.homepage-premium .newsroom-article-quotes {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.homepage-premium .newsroom-pull-quote {
    margin: 0;
    padding: 0 0 0 1rem;
    border-left: 2px solid #f2ca50;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    font-weight: 600;
    line-height: 1.55;
    color: #e5e2e1;
}

.homepage-premium .newsroom-article-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 760px;
    margin: 2.5rem 0;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}

.homepage-premium .newsroom-article-figure img {
    display: block;
    width: min(640px, 100%);
    max-width: 100%;
    height: auto;
    border: 1px solid #353535;
    background: #20201f;
}

.homepage-premium .newsroom-article-figure figcaption {
    width: min(640px, 100%);
    max-width: 100%;
    margin: 0;
    padding: 12px 16px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #8f8878;
    text-align: center;
    border: 1px solid #353535;
    border-top: 0;
    background: #20201f;
}

.homepage-premium .newsroom-pull-quote p {
    margin: 0;
}

.homepage-premium .newsroom-article-section > .newsroom-pull-quote {
    margin-top: 1.5rem;
    max-width: min(640px, 100%);
}

.homepage-premium .newsroom-article-cta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #353535;
    max-width: 760px;
}

.homepage-premium .newsroom-article-cta h2 {
    font-family: 'Noto Serif', serif;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 600;
    color: #e5e2e1;
    margin: 0 0 1rem;
}

.homepage-premium .newsroom-article-cta p {
    font-size: 16px;
    line-height: 1.75;
    color: #bcb5a6;
    margin: 0;
}

@media (max-width: 991px) {
    .homepage-premium .newsroom-article-columns {
        grid-template-columns: 1fr;
    }

    .homepage-premium .newsroom-article-visual {
        grid-template-columns: 1fr;
        max-width: 760px;
    }

    .homepage-premium .newsroom-article-visual .newsroom-article-figure {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .homepage-premium .newsroom-article-visual .newsroom-article-figure img {
        width: min(640px, 100%);
        margin: 0 auto;
    }

    .homepage-premium .newsroom-article-visual .newsroom-article-figure figcaption {
        width: min(640px, 100%);
    }

    .homepage-premium .newsroom-article-quotes .newsroom-pull-quote {
        margin-top: 0;
    }

    .homepage-premium .newsroom-article-quotes .newsroom-pull-quote + .newsroom-pull-quote {
        margin-top: 0;
    }

    .homepage-premium .newsroom-pull-quote {
        margin-top: 1.25rem;
        max-width: 760px;
    }
}

@media (max-width: 767px) {
    .homepage-premium.newsroom-page #site-header {
        min-height: calc(var(--site-nav-offset, 9.5rem) + env(safe-area-inset-top, 0px));
    }

    .homepage-premium .newsroom-content {
        padding-top: 20px;
    }
}

.homepage-premium .erga-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.homepage-premium .erga-gallery-grid figure {
    margin: 0;
    border: 1px solid #353535;
    background: #20201f;
    overflow: hidden;
    cursor: zoom-in;
}

.homepage-premium .erga-gallery-grid img.erga-gallery-thumb {
    cursor: zoom-in;
}

.homepage-premium .erga-gallery-grid img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.35s ease;
}

.homepage-premium .erga-gallery-grid figure:hover img,
.homepage-premium .erga-gallery-grid figure:focus-within img {
    transform: scale(1.02);
}

@media (max-width: 767px) {
    .homepage-premium.erga-project-page #site-header {
        min-height: calc(var(--site-nav-offset, 9.5rem) + env(safe-area-inset-top, 0px));
    }

    .homepage-premium .erga-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Erga gallery lightbox (GATE A approved) */
body.erga-gallery-lightbox-open {
    overflow: hidden;
}

.erga-gallery-lightbox[hidden] {
    display: none !important;
}

.erga-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.erga-gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(8, 8, 8, 0.97);
    cursor: pointer;
    z-index: 0;
}

.erga-gallery-lightbox__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 1100px);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.erga-gallery-lightbox__panel > * {
    pointer-events: auto;
}

.erga-gallery-lightbox__stage {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    width: 100%;
}

.erga-gallery-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: min(84vh, 900px);
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid #353535;
    background: #131313;
}

.erga-gallery-lightbox__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 44px;
}

.erga-gallery-lightbox__counter {
    margin: 0;
    min-width: 4.5rem;
    font-size: 13px;
    color: #8f8778;
    letter-spacing: 0.06em;
    text-align: center;
}

.erga-gallery-lightbox__close,
.erga-gallery-lightbox__nav {
    border: 1px solid #454545;
    background: rgba(19, 19, 19, 0.88);
    color: #e5e2e1;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.erga-gallery-lightbox__close {
    position: fixed;
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    font-size: 18px;
    z-index: 2;
}

.erga-gallery-lightbox__nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 15px;
    flex-shrink: 0;
}

.erga-gallery-lightbox__close:hover,
.erga-gallery-lightbox__close:focus-visible,
.erga-gallery-lightbox__nav:hover:not(:disabled),
.erga-gallery-lightbox__nav:focus-visible:not(:disabled) {
    border-color: #f2ca50;
    color: #f2ca50;
    background: rgba(19, 19, 19, 0.98);
}

.erga-gallery-lightbox__nav:disabled {
    opacity: 0.35;
    cursor: default;
}

@media (max-width: 767px) {
    .erga-gallery-lightbox {
        padding: 8px;
    }

    .erga-gallery-lightbox__controls {
        gap: 14px;
    }

    .erga-gallery-lightbox__nav {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .erga-gallery-lightbox__img {
        max-height: 78vh;
    }
}
/* Portfolio Card Styles (shared for all projects and homepage) */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}
.portfolio-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.3s ease-in-out;
    /* SEO: descriptive alt text should be set in HTML */
}
.portfolio-item:hover .portfolio-image img,
.portfolio-item:focus-within .portfolio-image img {
    transform: scale(1.05);
}
.project-card-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
    opacity: 1;
    z-index: 2;
}
.project-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.project-card-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #cee002;
    color: #333;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.3s;
}
.project-card-btn:hover {
    background: #aabb00;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
}

body {
    color: #333;
    background: #fff;
    line-height: 1.6;
}

html {
    overflow-x: clip;
}

html.lang-switching {
    overflow-anchor: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar — mobile-first (burger + lang row stable before/after async header inject) */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
    background: rgba(20, 20, 20, 0.28);
    z-index: 1000;
    padding: 12px 0 4px;
    transition: background 0.3s;
    box-sizing: border-box;
}

.navbar.scrolled {
    background: rgba(20, 20, 20, 0.45);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 3px;
    gap: 12px;
    min-width: 0;
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
}

.logo {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 52px);
    background: transparent;
}

/* Logo: pre-rendered white PNG (logo-tyfekes-white-v2). No CSS filter — Samsung/iOS Chrome safe. */
.logo img,
.logo-container img,
.premium-logo-container img {
    background: transparent;
    display: block;
    opacity: 1;
    mix-blend-mode: normal;
    -webkit-filter: none;
    filter: none;
}

.logo img {
    width: auto;
    max-width: min(224px, calc(100vw - 100px));
    height: auto;
}

.hamburger {
    display: block;
    flex: 0 0 auto;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    list-style: none;
}

.hamburger::-webkit-details-marker {
    display: none;
}

.hamburger::marker {
    content: '';
}

.hamburger:focus {
    outline: none;
}

.hamburger:focus-visible {
    outline: 2px solid #f2ca50;
    outline-offset: 2px;
    border-radius: 4px;
}

.mobile-nav-drawer {
    margin-left: auto;
    flex: 0 0 auto;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: #d6d6d6;
    margin: 3px 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
}

.nav-links {
    list-style: none;
    display: none;
    gap: 20px;
}

.nav-links a {
    color: #d6d6d6;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #cee002;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    background: rgba(0,0,0,0.95);
    width: 100%;
    height: calc(100vh - 70px);
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateX(0);
    transition: transform 0.3s ease-in-out;
    box-sizing: border-box;
}

.nav-links.active a {
    color: #f0f0f0;
    font-size: 18px;
}

.nav-links.active a:hover {
    color: #aabb00;
}

@media (max-width: 767px) {
    .navbar.is-nav-open {
        z-index: 10050;
        overflow: visible;
    }

    /* Closed: fully removed from hit-testing (iOS ignores pointer-events:none on fixed layers). */
    .nav-links:not(.active) {
        display: none !important;
    }

    /* Open: native <details> toggle + fixed overlay (Chrome iOS safe). */
    .mobile-nav-drawer[open] > .nav-links,
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: calc(var(--site-nav-offset, 6.875rem) + env(safe-area-inset-top, 0px));
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        min-height: calc(100dvh - var(--site-nav-offset, 6.875rem) - env(safe-area-inset-top, 0px));
        height: auto;
        z-index: 10049;
        margin: 0;
        padding-top: 24px;
        padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        pointer-events: auto;
        visibility: visible;
        opacity: 1;
        background: rgba(0, 0, 0, 0.96);
        justify-content: center;
        align-items: center;
        gap: 30px;
        box-sizing: border-box;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .hamburger {
        z-index: 10052;
    }

    body.mobile-nav-open .hamburger {
        position: relative;
        z-index: 10051;
    }
}

@media (min-width: 768px) {
    .navbar {
        padding: 15px 0;
    }

    .navbar .container {
        flex-wrap: nowrap;
        padding-left: 0;
        padding-right: 0;
    }

    .logo {
        flex: 0 1 auto;
        max-width: none;
    }

    .logo img {
        width: 320px;
        max-width: min(320px, calc(100vw - 120px));
    }

    .hamburger {
        display: none;
        margin-left: 0;
        padding: 10px;
    }

    .hamburger span {
        margin: 4px 0;
    }

    .mobile-nav-drawer {
        display: block;
        margin-left: 0;
        flex: 1 1 auto;
    }

    .mobile-nav-drawer > summary.hamburger {
        display: none;
    }

    .nav-links {
        display: flex !important;
    }

    .nav-links.active {
        display: flex;
        flex-direction: row;
        position: static;
        top: auto;
        right: auto;
        left: auto;
        width: auto;
        height: auto;
        background: transparent;
        justify-content: flex-end;
        align-items: center;
        gap: 20px;
        transform: none;
    }

    .nav-links.active a {
        color: #d6d6d6;
        font-size: 16px;
    }

    .nav-links.active a:hover {
        color: #cee002;
    }
}

/* Homepage anchor targets: offset fixed nav without delayed JS scroll on reload */
.homepage-premium #hero,
.homepage-premium #about,
.homepage-premium #services,
.homepage-premium #portfolio {
    scroll-margin-top: calc(var(--site-nav-offset, 8.75rem) + env(safe-area-inset-top, 0px) + 8px);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.hero-background.hero-mode-video .hero-video {
    opacity: 1;
}

.hero-background.hero-mode-video .hero-slides {
    visibility: hidden;
    pointer-events: none;
}

/* Do not use display:none — browsers skip loading hidden video */
.hero-background.hero-video-off .hero-video {
    visibility: hidden;
    opacity: 0;
    z-index: 0;
}

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

/* Full-bleed hero slideshow — Dimitriadis-like rhythm (fast cuts + slow blur/zoom exit) */
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    transform-origin: center center;
    filter: blur(0);
    z-index: 0;
    will-change: opacity, transform, filter;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
    transition: opacity 0.55s cubic-bezier(0.34, 0.615, 0.4, 0.985),
        transform 1.4s cubic-bezier(0.34, 0.615, 0.4, 0.985),
        filter 0.5s ease;
}

.hero-slide.is-active.is-hold-zoom {
    transform: scale(1.05);
    transition: transform var(--hero-hold-zoom-duration, 1.8s) ease-out;
}

.hero-slide.is-flash {
    transition: opacity var(--hero-fast-duration, 0.45s) ease;
}

.hero-slide.is-flash-out {
    opacity: 0;
    z-index: 1;
    transition: opacity var(--hero-fast-duration, 0.45s) ease;
}

/* Exiting slide stays on top so blur + zoom-out are visible (not covered by next) */
.hero-slide.is-active.is-leaving,
.hero-slide.is-leaving {
    opacity: 0;
    transform: scale(1.18);
    filter: blur(40px) brightness(0.7);
    z-index: 4;
    pointer-events: none;
    transition:
        filter var(--hero-exit-duration, 2.4s) ease,
        transform var(--hero-exit-duration, 2.4s) cubic-bezier(0.34, 0.615, 0.4, 0.985),
        opacity calc(var(--hero-exit-duration, 2.4s) * 0.85) cubic-bezier(0.34, 0.615, 0.4, 0.985) 0.2s;
}

.hero-slide.is-under {
    z-index: 1;
}

.hero-slide.is-prep.is-under {
    opacity: 0;
    transform: scale(1.08);
    filter: blur(12px);
    z-index: 1;
}

.hero-slide.is-entering.is-under {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    z-index: 1;
    transition: opacity 0.55s cubic-bezier(0.34, 0.615, 0.4, 0.985),
        transform 1.1s cubic-bezier(0.34, 0.615, 0.4, 0.985),
        filter 0.6s ease;
}

@media (max-width: 768px) {
    .hero-background {
        --hero-mobile-media-scale: 1;
    }

    .hero-video {
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        transform: none;
    }

    .hero-slide.is-active {
        transform: scale(var(--hero-mobile-media-scale));
    }

    .hero-slide.is-active.is-hold-zoom {
        transform: scale(calc(var(--hero-mobile-media-scale) * 1.05));
    }

    .hero-slide.is-active.is-leaving,
    .hero-slide.is-leaving {
        filter: blur(22px) brightness(0.8);
        transform: scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }

    .hero-background.hero-mode-video .hero-slides {
        visibility: visible;
        pointer-events: auto;
    }

    .hero-slide {
        opacity: 0;
        transform: none;
        filter: none;
        will-change: auto;
        transition: none !important;
    }

    .hero-slides .hero-slide:first-child,
    .hero-slide.is-active {
        opacity: 1;
    }
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    height: 100%;
    padding: 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 14px;
}

.hero-primary-cta {
    min-width: 190px;
    min-height: 48px;
    justify-content: center;
}

.hero-secondary-cta {
    min-width: 230px;
    min-height: 48px;
    justify-content: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: #cee002;
    background: #cee002;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    forced-color-adjust: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.cta-button:hover {
    transform: scale(1.05);
    background: #aabb00;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cta-button i {
    transition: transform 0.3s;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Section Divider */
.section-divider {
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,1));
    z-index: 4;
    position: relative;
}

/* About Section */
.about {
    padding: 80px 0;
    background: url('images/homepage/architectural-interior-design-thessaloniki.webp') center/cover fixed;
    color: #fff;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

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

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 600;
    color: #cee002;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    margin-bottom: 20px;
}

.experience-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.experience-number {
    font-size: 32px;
    font-weight: 700;
    color: #cee002;
}

.experience-label {
    font-size: 16px;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #cee002;
    color: #cee002;
}

.cta-button.secondary:hover {
    background: #aabb00;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s;
}

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

/* Services Section */
.services {
    padding: 80px 0;
}

.services h2 {
    font-size: 36px;
    font-weight: 600;
    color: #cee002;
    margin-bottom: 40px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-bottom: 24px;
    align-items: stretch;
}

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

/* Peel track/clip base; scroll-driven reveal when .services-peel--active (see script.js applyServicesPeel). */
.services-peel-track {
    position: relative;
}

.services-peel-sticky {
    position: static;
}

.services-peel-clip {
    overflow: visible;
    height: auto;
}

@media (min-width: 0px) {
    /* Sticky block: title + clip move together below the navbar (JS sets --services-peel-sticky-top to nav offset only). */
    .services.services-peel--active .services-peel-sticky {
        position: sticky;
        top: var(--services-peel-sticky-top, max(5.25rem, calc(env(safe-area-inset-top, 0px) + 4.5rem)));
        z-index: 2;
    }

    .services.services-peel--active .services-peel-clip {
        overflow: hidden;
        border-radius: 0;
        position: relative;
    }

    .services.services-peel--active .services-peel-clip::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 72px;
        pointer-events: none;
        z-index: 2;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.07), transparent);
    }

    .homepage-premium .services.services-peel--active .services-peel-clip::after {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.2), transparent);
    }

    .services.services-peel--active .services-grid--peel {
        will-change: transform;
        position: relative;
        z-index: 0;
    }

    /* No bottom padding inside clip — band rules add 12–24px and read as empty space below cards. */
    #services.services-peel--active .services-grid.services-grid--peel {
        padding-bottom: 0;
    }

    /* Title lives inside .services-peel-sticky so it stays a fixed distance above the clip while scrolling. */
    .services.services-peel--active .services-peel-sticky #services-title {
        margin-bottom: 1rem;
        padding-bottom: 0.25rem;
    }

    /* Less dead air after the peel track before #portfolio (premium uses 96px section padding). */
    .homepage-premium #services.services-peel--active {
        padding-bottom: 36px;
    }

    /* Reduce Chrome scroll anchoring fighting the peel transform (portfolio “sliding” / phantom gap when reversing scroll). */
    #services.services-peel--active,
    #services.services-peel--active .services-peel-track,
    #services.services-peel--active [data-services-peel-inner],
    #portfolio {
        overflow-anchor: none;
    }
}

/* Services grid by width band (peel JS: static <768px; peel only ≥768px). */
@media (max-width: 357px), (min-width: 480px) and (max-width: 767px) {
    .services.services-peel--active .services-grid.services-grid--peel,
    .services.services-peel--static .services-grid.services-grid--peel {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-bottom: 14px;
    }

    .services.services-peel--active .service-item,
    .services.services-peel--static .service-item,
    .homepage-premium .services.services-peel--active .service-item,
    .homepage-premium .services.services-peel--static .service-item {
        min-height: 0;
        padding: 12px 14px;
    }

    .services.services-peel--active .service-item img,
    .services.services-peel--static .service-item img {
        height: 128px;
        margin-bottom: 10px;
    }

    .services.services-peel--active .service-item h3,
    .services.services-peel--static .service-item h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .services.services-peel--active .service-item p,
    .services.services-peel--static .service-item p {
        height: auto;
        min-height: 2.6rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .services.services-peel--active .service-item .cta-button,
    .services.services-peel--static .service-item .cta-button {
        font-size: 14px;
        padding: 10px 14px;
    }
}

/* 358–479px: 2×4 grid, extra-compact cards; peel off (static), same card sizing when static fallback. */
@media (min-width: 358px) and (max-width: 479px) {
    .services.services-peel--active .services-grid.services-grid--peel,
    .services.services-peel--static .services-grid.services-grid--peel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding-bottom: 12px;
    }

    .services.services-peel--active .service-item,
    .services.services-peel--static .service-item,
    .homepage-premium .services.services-peel--active .service-item,
    .homepage-premium .services.services-peel--static .service-item {
        min-height: 0;
        padding: 10px 10px;
    }

    .services.services-peel--active .service-item img,
    .services.services-peel--static .service-item img {
        height: 96px;
        margin-bottom: 8px;
    }

    .services.services-peel--active .service-item h3,
    .services.services-peel--static .service-item h3 {
        font-size: 15px;
        margin-bottom: 4px;
        line-height: 1.2;
    }

    .services.services-peel--active .service-item p,
    .services.services-peel--static .service-item p {
        height: auto;
        min-height: 0;
        margin-bottom: 10px;
        font-size: 13px;
        line-height: 1.35;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .services.services-peel--active .service-item .cta-button,
    .services.services-peel--static .service-item .cta-button {
        font-size: 12px;
        padding: 10px 12px;
        min-height: 44px;
        box-sizing: border-box;
    }
}

.service-item {
    background: #f5f5f5;
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px; /* Αυξημένο για να καλύψει 2 γραμμές */
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 16px;
    margin-bottom: 20px;
    height: 48px; /* Σταθερό ύψος για 2 γραμμές (16px * 1.5 line-height * 2) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* Standard property for compatibility */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-item .cta-button {
    background: #cee002;
    color: #333;
    margin-top: auto;
    border-radius: 0;
}

.service-item .cta-button:hover {
    background: #aabb00;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}  


/* Swiper pagination (project pages, etc.) */

.swiper-pagination {
    margin-bottom: 0px;
}

.swiper-scrollbar {
    -ms-touch-action: none;
    touch-action: none;
}


/* Portfolio Section */
.portfolio {
    padding: 80px 0;
   
}

.portfolio-cta {
    text-align: center;
    margin-top: 40px;
}
/* Ensure .portfolio h1 and h2 look the same for consistency */
.portfolio h1,
.portfolio h2 {
    font-size: 36px;
    font-weight: 600;
    color: #cee002;
    margin-bottom: 20px;
    text-align: center;
}

.portfolio-intro {
    font-size: 18px;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

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

/* Homepage featured: 8 on desktop (4+4), slots 7–8 hidden ≤1024px → 6 (3+3 tablet, stack mobile) */
@media (max-width: 1024px) {
    #portfolio-grid .portfolio-item:nth-child(n + 7) {
        display: none;
    }
}

.portfolio-image {
    width: 100%;
    height: 220px;
    border-radius: 16px;
    border: 2px solid #e0e0e0;
    overflow: hidden;
    background: #f8f8f8;
    box-sizing: border-box;
}

.portfolio-image-link {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
    text-decoration: none;
    color: inherit;
}

.portfolio-image-link:focus-visible {
    outline: 2px solid #cee002;
    outline-offset: 2px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.3s ease-in-out;
    /* SEO: descriptive alt text should be set in HTML */
}

.portfolio-image:has(.project-card-content) img {
    pointer-events: none;
}
.portfolio-item:hover .portfolio-image img,
.portfolio-item:focus-within .portfolio-image img {
    transform: scale(1.05);
}
/* Project Card Overlay for All Projects Page */
/* Removed duplicate/old .project-card-content, .project-card-title, .project-card-btn for clarity */

@media (max-width: 1024px) {
    .portfolio-image {
        height: 180px;
    }
    .portfolio-image img {
        border-radius: 12px;
    }
}

@media (max-width: 767px) {
    .portfolio-image {
        height: 140px;
    }
    .portfolio-image img {
        border-radius: 10px;
    }
}
/* ...existing code... */

/* Contact Section */
.contact {
    padding: 40px 0;
    background: #1a1a1a;
    color: #ccc;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-columns {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
}

.left-column {
    flex: 1;
    text-align: left;
}

.logo-container {
    margin-bottom: 16px;
    text-align: left;
    
}

.logo-container img {
    width: 200px;
    height: auto;
}

.copyright {
    font-size: 12px;
    color: #ccc;
    margin-top: 5px;
    margin-bottom: 0;
    text-align: left;
}

.site-map {
    margin-top: 0;
}

.site-map h4 {
    font-size: 18px;
    font-weight: 600;
    color: #cee002;
    margin-bottom: 15px;
    text-align: left;
}

.site-map ul {
    list-style: none;
}

.site-map ul li {
    margin-bottom: 10px;
}

.site-map ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.site-map ul li a:hover {
    color: #aabb00;
}

.right-column {
    flex: 1;
    text-align: left;
}

.social-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25.5px;
    margin-bottom: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #333;
    border-radius: 50%;
    color: #ccc;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.social-links a:hover {
    background: #aabb00;
    color: #333;
}

.contact-info {
    margin-bottom: 16px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #cee002;
    margin-bottom: 10px;
    text-align: left;
}

.contact-item a, .contact-item p {
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #aabb00;
}

.footer-divider {
    height: 1px;
    background: #999;
    margin: 16px 0;
}

.bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}


.privacy-policy {
    font-size: 14px;
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.privacy-policy:hover {
    color: #aabb00;
}

.messenger-button,
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    flex-shrink: 0;
}

.whatsapp-button {
    background: #25D366;
}

.whatsapp-button:hover {
    background: #2EE87D;
}

.viber-button {
    background: #7360f2;
}

.viber-button:hover {
    background: #8f7df5;
}

.contact-messenger-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 11px;
}

.bottom-spacer {
    height: 10px;
}

/* Footer */
.footer {
    padding: 20px 0;
    background: #1a1a1a;
    color: #ccc;
    text-align: center;
}

/* Animations */
[data-animate] {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* LCP: hero headline must paint on first frame (no scroll-animation gate) */
#hero .hero-content {
    opacity: 1;
    transform: none;
}

[data-animate="fade-in"] {
    transform: translateY(20px);
}

[data-animate="fade-in-left"] {
    transform: translateX(-20px);
}

[data-animate="fade-in-right"] {
    transform: translateX(20px);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive Design */
@media (max-width: 767px) {
    .container {
        padding-left: max(16px, env(safe-area-inset-left, 0px));
        padding-right: max(16px, env(safe-area-inset-right, 0px));
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero {
        min-height: 100vh;
        height: auto;
        padding-top: 72px;
    }

    .hero-content {
        justify-content: flex-start;
        padding-top: 90px;
        padding-bottom: 100px;
        padding-left: max(20px, env(safe-area-inset-left, 0px));
        padding-right: max(20px, env(safe-area-inset-right, 0px));
    }

    .hero-primary-cta,
    .hero-secondary-cta {
        width: 100%;
        max-width: 320px;
    }

    .about-content {
        flex-direction: column;
        gap: 20px;
    }

    .about-text h2, .services h2, .portfolio h2 {
        font-size: 28px;
    }

    .service-item img {
        height: 150px;
    }

    .service-item {
        min-height: 300px;
        padding: 14px;
    }

    .services-grid {
        gap: 12px;
    }

    .service-item p {
        height: 48px; /* Σταθερό ύψος για 2 γραμμές */
    }

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

    .portfolio-image {
        height: 168px;
    }

    .contact {
        padding: 30px 0;
    }

    .contact-columns {
        flex-direction: column;
        gap: 20px;
    }

    .logo-container {
        margin-bottom: 14px;
        text-align: center;
    }

    .logo-container img {
        width: 160px;
        margin-right: 0;
    }

    .copyright {
        font-size: 10px;
        text-align: left;
    }

    .site-map ul li a, .contact-item a, .contact-item p {
        font-size: 14px;
    }

    .site-map h4, .contact-item h4 {
        font-size: 16px;
    }

    .social-links {
        gap: 22.5px;
    }

    .social-links a {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

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

    .bottom-bar {
        flex-direction: column;
        gap: 14px;
        text-align: center;
        margin-top: 14px;
    }

    .languages li a, .language-divider, .privacy-policy {
        font-size: 12px;
    }

    .whatsapp-button {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .footer-divider {
        margin: 14px 0;
    }

    .bottom-spacer {
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .portfolio-image {
        height: 148px;
    }

    .logo-container {
        margin-bottom: 12px;
    }

    .logo-container img {
        width: 120px;
        margin-right: 0;
    }

    .copyright {
        font-size: 10px;
    }

    .site-map ul li a, .contact-item a, .contact-item p {
        font-size: 12px;
    }

    .site-map h4, .contact-item h4 {
        font-size: 14px;
    }

    .social-links a {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .whatsapp-button {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .footer-divider {
        margin: 12px 0;
    }

    .bottom-spacer {
        height: 10px;
    }
}
/* Extra spacing for All Projects page title */
#all-projects-title {
    margin-top: 40px; /* adjust spacing from header */
}



/* Language switcher — Gabarito matches premium nav (Phase A: no Advent Pro) */
.advent-pro-lang {
  font-family: 'Gabarito', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* =========================================================
   Homepage premium aesthetic (Stitch-inspired, scoped only)
   ========================================================= */
.homepage-premium {
    background: #131313;
    color: #e5e2e1;
    font-family: 'Inter', system-ui, sans-serif;
}

.homepage-premium .container {
    max-width: 1320px;
    padding-left: max(24px, env(safe-area-inset-left, 0px));
    padding-right: max(24px, env(safe-area-inset-right, 0px));
}

.homepage-premium .navbar {
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0 5px;
}

@media (max-width: 767px) {
    .homepage-premium .navbar,
    .homepage-premium .navbar.scrolled,
    .homepage-premium .navbar.is-nav-open {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: rgba(10, 10, 10, 0.94);
    }
}

.homepage-premium .navbar.scrolled {
    background: rgba(10, 10, 10, 0.88);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.homepage-premium .logo img {
    width: auto;
    max-width: min(210px, calc(100vw - 96px));
    height: auto;
}

.homepage-premium .nav-links a {
    font-family: 'Gabarito', 'Inter', system-ui, sans-serif;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.homepage-premium .nav-links a:visited {
    color: #ffffff;
}

.homepage-premium .nav-links a:hover {
    color: #f2ca50;
}

/* Premium homepage: mobile overlay menu matches desktop nav type + white links */
.homepage-premium .nav-links.active a {
    font-family: 'Gabarito', 'Inter', system-ui, sans-serif;
    font-weight: 500;
    color: #ffffff;
}

.homepage-premium .nav-links.active a:hover {
    color: #f2ca50;
}

.homepage-premium .lang-switcher-inside .languages a.active,
.homepage-premium .lang-switcher-inside .languages a:hover {
    color: #f2ca50;
}

.homepage-premium .hero {
    min-height: 100vh;
}

.homepage-premium .hero-background::before {
    background: linear-gradient(to top, rgba(19, 19, 19, 0.9) 10%, rgba(19, 19, 19, 0.25) 60%, rgba(19, 19, 19, 0.5) 100%);
}

.homepage-premium .hero-content {
    align-items: flex-start;
    text-align: left;
    justify-content: flex-end;
    max-width: 1080px;
    margin: 0 auto;
    width: 100%;
    padding-left: max(24px, env(safe-area-inset-left, 0px));
    padding-right: max(24px, env(safe-area-inset-right, 0px));
    padding-bottom: 80px;
    padding-top: 0;
}

.homepage-premium .hero-content h1 {
    font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
    font-size: clamp(2.2rem, 6.2vw, 6rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    max-width: 900px;
    color: #fff;
}

.homepage-premium .hero-content p {
    color: #d0c5af;
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 24px;
}

.homepage-premium .cta-button {
    border-radius: 0;
    background-color: #f2ca50;
    background: #f2ca50;
    color: #241a00;
    forced-color-adjust: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
    padding: 14px 24px;
    border: 1px solid #f2ca50;
}

.homepage-premium .cta-button:hover {
    background: #ffe088;
    border-color: #ffe088;
    box-shadow: none;
    transform: none;
}

/* Hero primary CTA: one fixed yellow — no hover/focus/active/visited tint (mouse stays over link after smooth scroll) */
.homepage-premium .hero-cta-group .hero-primary-cta,
.homepage-premium .hero-cta-group .hero-primary-cta:link,
.homepage-premium .hero-cta-group .hero-primary-cta:visited,
.homepage-premium .hero-cta-group .hero-primary-cta:hover,
.homepage-premium .hero-cta-group .hero-primary-cta:active,
.homepage-premium .hero-cta-group .hero-primary-cta:focus {
    -webkit-tap-highlight-color: transparent;
    background-color: #f2ca50;
    background: #f2ca50;
    color: #241a00;
    border-color: #f2ca50;
    forced-color-adjust: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    box-shadow: none;
    transform: none;
}

.homepage-premium .hero-cta-group .hero-primary-cta:hover i {
    transform: none;
}

.homepage-premium .hero-cta-group .hero-primary-cta:focus-visible {
    outline: 2px solid #ffe088;
    outline-offset: 3px;
}

.homepage-premium .hero-cta-group .hero-secondary-cta.secondary {
    background: transparent;
    color: #e5e2e1;
    border-color: #4d4635;
}

.homepage-premium .hero-cta-group .hero-secondary-cta.secondary:hover,
.homepage-premium .hero-cta-group .hero-secondary-cta.secondary:focus-visible {
    border-color: #f2ca50;
    color: #f2ca50;
    background: transparent;
    transform: none;
    box-shadow: none;
}

.homepage-premium .hero-cta-group {
    margin-bottom: 0;
}

.homepage-premium .cta-button.secondary {
    background: transparent;
    color: #e5e2e1;
    border-color: #4d4635;
}

.homepage-premium .cta-button.secondary:hover {
    border-color: #f2ca50;
    color: #f2ca50;
    background: transparent;
}

.homepage-premium .section-divider {
    height: 1px;
    background: #2a2a2a;
}

.homepage-premium .services,
.homepage-premium .portfolio {
    background: #1c1b1b;
    padding: 96px 0;
    border-bottom: 1px solid #2a2a2a;
}

.homepage-premium .portfolio.erga-category-list {
    padding: 32px 0 64px;
}

.homepage-premium .about {
    background: #131313;
    padding: 96px 0;
    border-bottom: 1px solid #2a2a2a;
}

.homepage-premium .about::before {
    background: linear-gradient(to right, rgba(19, 19, 19, 0.86), rgba(19, 19, 19, 0.6));
}

.homepage-premium .about-text h2,
.homepage-premium .services h2,
.homepage-premium .portfolio h1,
.homepage-premium .portfolio h2 {
    color: #e5e2e1;
    font-family: 'Noto Serif', serif;
    font-size: clamp(2rem, 4vw, 4rem);
    letter-spacing: -0.02em;
}

/* Category card titles: half the section h2 size (override .portfolio h2 above) */
.homepage-premium .portfolio.erga-category-list h2.erga-category-card__title {
    font-size: clamp(1rem, 2vw, 2rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-align: left;
    margin-bottom: 0;
}

.homepage-premium .about-text p,
.homepage-premium .portfolio-intro {
    color: #bcb5a6;
}

.homepage-premium .experience-number,
.homepage-premium .experience-label {
    color: #f2ca50;
}

/* About image: optional center vignette — remove class `about-image--smoke` from index.html to disable */
.homepage-premium .about-image.about-image--smoke {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.homepage-premium .about-image.about-image--smoke img {
    filter: brightness(0.93) contrast(1.04) saturate(0.96);
}

.homepage-premium .about-image.about-image--smoke::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(
        ellipse 78% 72% at 50% 48%,
        rgba(19, 19, 19, 0.34) 0%,
        rgba(19, 19, 19, 0.12) 45%,
        transparent 74%
    );
}

.homepage-premium .about-image.about-image--smoke:hover img {
    filter: brightness(0.97) contrast(1.05) saturate(0.98);
}

.homepage-premium .service-item {
    background: #2a2a2a;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #353535;
    text-align: left;
}

.homepage-premium .service-item h3 {
    color: #e5e2e1;
    font-family: 'Noto Serif', serif;
}

.homepage-premium .service-item p {
    color: #bcb5a6;
}

.homepage-premium .service-item img {
    border-radius: 0;
}

.homepage-premium .portfolio-image {
    border-radius: 0;
    border-color: #353535;
    background: #20201f;
}

.homepage-premium .portfolio-image-link:focus-visible {
    outline-color: #f2ca50;
}

.homepage-premium .portfolio-image img {
    border-radius: 0;
    filter: grayscale(1) contrast(1.08) brightness(0.86);
}

.homepage-premium .portfolio-item:hover .portfolio-image img,
.homepage-premium .portfolio-item:focus-within .portfolio-image img {
    transform: scale(1.04);
    filter: grayscale(0.12) contrast(1.05) brightness(0.95);
}

.homepage-premium .project-card-content {
    background: linear-gradient(to top, rgba(14, 14, 14, 0.92), rgba(14, 14, 14, 0.1));
}

.homepage-premium .project-card-title {
    font-family: 'Noto Serif', serif;
}

.homepage-premium .project-card-btn {
    background: #f2ca50;
    color: #241a00;
    border-radius: 0;
}

.homepage-premium .project-card-btn:hover {
    background: #ffe088;
}

.homepage-premium .contact,
.homepage-premium .footer {
    background: #0f0f0f;
    color: #d0c5af;
}

.homepage-premium .footer {
    padding: 0;
    text-align: left;
    border-top: 1px solid #2a2a2a;
    background: linear-gradient(180deg, #121212 0%, #101010 100%);
}

.homepage-premium .contact {
    padding: 56px 0 18px;
}

.homepage-premium .contact-content {
    max-width: 100%;
}

.homepage-premium .premium-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 56px;
    align-items: start;
    padding: 10px 0 34px;
}

.homepage-premium .premium-footer-grid > * {
    min-width: 0;
}

.homepage-premium .premium-logo-container {
    margin-bottom: 0;
}

.homepage-premium .premium-logo-container img {
    width: 208px;
    max-width: 100%;
    height: auto;
    margin-bottom: 18px;
}

.homepage-premium .premium-footer-brand-text {
    margin: 0 0 8px;
    color: #848484;
    max-width: 290px;
    font-size: 14px;
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: 0;
    line-height: 1.55;
    opacity: 0.8;
}

.homepage-premium .premium-news-column h4 {
    color: #b3b3b3;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 700;
}

.homepage-premium .premium-nav-list,
.homepage-premium .premium-news-column,
.homepage-premium .premium-contact-column {
    padding-top: 0;
    padding-left: 0;
    border-left: none;
}

.homepage-premium .premium-nav-list li {
    margin-bottom: 7px;
}

.homepage-premium .premium-nav-list li:last-child {
    margin-bottom: 0;
}

.homepage-premium .premium-newsletter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: min(280px, 100%);
    width: 100%;
    margin: 0;
    padding: 0 0 6px;
    border-bottom: 1px solid #3a3a3a;
    opacity: 0.8;
}

.homepage-premium .premium-newsletter-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    color: #9a9a9a;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    outline: none;
    padding: 2px 0;
}

.homepage-premium .premium-newsletter-input::placeholder {
    color: #5a5a5a;
}

.homepage-premium .premium-newsletter-submit {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: #f2ca50;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 4px 2px;
    margin: 0;
}

.homepage-premium .premium-newsletter-submit:hover {
    color: #ffe088;
}

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

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

.homepage-premium .premium-social-row {
    margin-top: 0;
    margin-bottom: 22px;
    padding-top: 0;
    border-top: none;
    display: flex;
    justify-content: flex-end;
}

.homepage-premium .premium-social-row .social-links {
    margin-bottom: 0;
    gap: 14px;
}

.homepage-premium .premium-brand-column .copyright {
    color: #676767;
    margin-top: 8px;
    font-size: 12px;
}

.homepage-premium .premium-nav-column {
    padding-inline-start: 30px;
    box-sizing: border-box;
}

.homepage-premium .premium-nav-column h4,
.homepage-premium .premium-contact-column h4 {
    color: #b3b3b3;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 700;
}

.homepage-premium .premium-nav-column a {
    color: #8f8f8f;
    font-size: 14px;
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.55;
    text-decoration-line: underline;
    text-decoration-color: #f2ca50;
    text-decoration-thickness: 0.1px;
    text-underline-offset: 4px;
    font-weight: 400;
    opacity: 0.8;
}

.homepage-premium .contact-messenger-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 11px;
}

.homepage-premium .contact-messenger-actions .messenger-button {
    width: 36px;
    height: 36px;
    font-size: 18px;
    margin-bottom: 0;
    opacity: 1;
    color: #fff;
}

.homepage-premium .contact-messenger-actions .whatsapp-button {
    background: #25D366;
}

.homepage-premium .contact-messenger-actions .viber-button {
    background: #7360f2;
}

.homepage-premium .premium-nav-column a:hover {
    color: #a0a0a0;
}

.homepage-premium .premium-contact-column .contact-item > a,
.homepage-premium .premium-contact-column .contact-item > p {
    color: #8f8f8f;
    font-size: 14px;
    margin-bottom: 9px;
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.55;
    opacity: 0.8;
    display: block;
}

.homepage-premium .premium-contact-column .contact-item > a.js-primary-phone-link,
.homepage-premium .premium-contact-column .contact-item > a[href^="mailto:"] {
    color: #f2ca50;
    font-weight: 600;
    opacity: 1;
}

.homepage-premium .premium-contact-column .contact-messenger-actions a {
    display: inline-flex;
    margin-bottom: 0;
}

.homepage-premium .footer-legal-note {
    color: #666;
    font-size: 13px;
    margin: 0;
}

.homepage-premium .footer-legal-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.homepage-premium .footer-divider {
    background: #232323;
    margin: 0 0 18px;
}

.homepage-premium .bottom-bar {
    align-items: center;
    min-height: 42px;
    padding-bottom: 6px;
}

.homepage-premium .privacy-policy {
    letter-spacing: 0.01em;
    font-size: 13px;
    text-transform: none;
    color: #777;
}

.homepage-premium button.privacy-policy {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    text-align: inherit;
}

.homepage-premium .privacy-policy:hover {
    color: #a0a0a0;
}

.homepage-premium .social-links a {
    background: transparent;
    color: #6f6f6f;
    border-radius: 0;
    border: 1px solid #2c2c2c;
    width: 34px;
    height: 34px;
    font-size: 14px;
}

.homepage-premium .social-links a:hover {
    background: #1e1e1e;
    color: #d7d7d7;
    border-color: #3b3b3b;
}

.homepage-premium .contact-item h4 {
    margin-bottom: 18px;
}

/* Keep first content lines under each footer heading aligned */
.homepage-premium .premium-footer-brand-text,
.homepage-premium .premium-nav-list,
.homepage-premium .premium-contact-column .contact-info,
.homepage-premium .premium-news-column .premium-newsletter-form {
    margin-top: 0;
}

/* Tablet / iPad: keep brand + nav + contact on one row; newsletter only wraps below contact */
@media (min-width: 768px) and (max-width: 1100px) {
    .homepage-premium .premium-footer-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 28px;
        row-gap: 10px;
        padding-bottom: 28px;
    }

    .homepage-premium .premium-nav-column {
        justify-self: start;
        width: 100%;
        max-width: 100%;
        display: block;
        text-align: initial;
    }

    /* First letter of title on same vertical line as links below */
    .homepage-premium .premium-nav-column h4 {
        text-align: left;
        width: 100%;
    }

    .homepage-premium .premium-nav-column .premium-nav-list {
        text-align: left;
        width: 100%;
        box-sizing: border-box;
        padding-inline-start: 0;
    }

    .homepage-premium .premium-news-column {
        grid-column: 3;
        grid-row: 2;
        align-self: start;
        margin-top: -10px;
    }
}

@media (min-width: 768px) {
    .homepage-premium .navbar {
        padding: 20px 0;
    }

    .homepage-premium .logo img {
        width: 290px;
        max-width: min(290px, calc(100vw - 120px));
    }
}

@media (max-width: 767px) {
    .homepage-premium .hero {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .homepage-premium .hero-content {
        position: relative;
        z-index: 3;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        text-align: left;
        width: 100%;
        min-height: 0;
        box-sizing: border-box;
        padding-top: max(12px, env(safe-area-inset-top, 0px));
        padding-bottom: max(104px, env(safe-area-inset-bottom, 0px));
        padding-left: max(20px, env(safe-area-inset-left, 0px));
        padding-right: max(20px, env(safe-area-inset-right, 0px));
    }

    .homepage-premium .portfolio-grid {
        gap: 14px;
    }

    .homepage-premium .portfolio-image {
        height: 158px;
    }

    .homepage-premium .project-card-content {
        padding: 12px;
        gap: 8px;
    }

    .homepage-premium .project-card-title {
        font-size: 1rem;
    }

    .homepage-premium .project-card-btn {
        padding: 7px 12px;
        font-size: 12px;
    }

    .homepage-premium .about,
    .homepage-premium .services,
    .homepage-premium .portfolio {
        padding: 72px 0;
    }

    .homepage-premium .portfolio.erga-category-list {
        padding: 24px 0 48px;
    }

    .homepage-premium .premium-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 18px;
    }

    .homepage-premium .premium-social-row {
        margin-top: 18px;
        margin-bottom: 14px;
    }

    .homepage-premium .premium-nav-list,
    .homepage-premium .premium-news-column,
    .homepage-premium .premium-contact-column {
        padding-top: 0;
        padding-left: 0;
        border-left: none;
    }

    .homepage-premium .premium-social-row {
        justify-content: flex-start;
    }

    /* Full-width column so legal copy matches container gutters (desktop row layout unchanged ≥768px). */
    .homepage-premium .bottom-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        text-align: center;
    }

    .homepage-premium .bottom-bar .footer-legal-note {
        width: 100%;
        max-width: 100%;
        text-align: center;
        text-wrap: balance;
    }

    .homepage-premium .bottom-bar .footer-legal-links {
        justify-content: center;
        width: 100%;
        gap: 16px;
        flex-wrap: wrap;
    }

    .homepage-premium .premium-nav-column a {
        font-size: 14px;
    }

    /* Keep contact block typography/icons consistent on small screens */
    .homepage-premium .premium-contact-column .contact-item > a,
    .homepage-premium .premium-contact-column .contact-item > p {
        font-size: 14px;
        line-height: 1.55;
    }

    .homepage-premium .contact-messenger-actions .messenger-button {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .homepage-premium .premium-contact-column .contact-item > a,
    .homepage-premium .premium-contact-column .contact-item > p {
        font-size: 14px;
    }
}

/* Cookie consent banner */
#cookie-consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #1a1a1a;
    color: #e8e8e8;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    max-width: 100vw;
    transform: translateZ(0);
}

#cookie-consent-bar .cookie-consent-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    box-sizing: border-box;
}

#cookie-consent-bar .cookie-consent-copy {
    flex: 1 1 220px;
    min-width: 0;
    max-width: 100%;
    order: 1;
}

#cookie-consent-bar .cookie-consent-title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #f2f2f2;
}

#cookie-consent-bar .cookie-consent-text {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

#cookie-consent-bar .cookie-consent-privacy-link {
    font-size: 12px;
    color: #cee002;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#cookie-consent-bar .cookie-consent-privacy-link:hover {
    color: #e8f04a;
}

#cookie-consent-bar .cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 0 0 auto;
    order: 2;
}

#cookie-consent-bar .cookie-consent-btn {
    border-radius: 6px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    min-height: 44px;
    white-space: nowrap;
    font-family: inherit;
}

#cookie-consent-bar .cookie-consent-btn--accept {
    background: #cee002;
    color: #1a1a1a;
    border: none;
}

#cookie-consent-bar .cookie-consent-btn--decline {
    background: transparent;
    color: #ccc;
    border: 1px solid #555;
}

@media (min-width: 900px) {
    #cookie-consent-bar .cookie-consent-title {
        font-size: 13px;
    }

    #cookie-consent-bar .cookie-consent-text {
        font-size: 12px;
        line-height: 1.4;
    }

    #cookie-consent-bar .cookie-consent-btn {
        font-size: 12px;
        padding: 8px 14px;
    }
}

@media (max-width: 767px) {
    #cookie-consent-bar .cookie-consent-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 10px;
        width: 100%;
    }

    #cookie-consent-bar .cookie-consent-copy {
        order: 1;
        flex: 0 0 auto;
        width: 100%;
    }

    #cookie-consent-bar .cookie-consent-title {
        font-size: 13px;
        margin: 0 0 4px;
    }

    #cookie-consent-bar .cookie-consent-text {
        font-size: 12px;
        line-height: 1.35;
        overflow-wrap: anywhere;
        word-break: break-word;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
        line-clamp: 5;
        overflow: hidden;
    }

    #cookie-consent-bar .cookie-consent-actions {
        order: 2;
        flex: 0 0 auto;
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 8px;
    }

    #cookie-consent-bar .cookie-consent-btn {
        width: 100%;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
        padding: 10px 6px;
        font-size: 11px;
        min-height: 44px;
    }
}

/* Legal pages (privacy, terms) */
.legal-page {
    padding: calc(118px + 1rem) 0 clamp(3rem, 6vw, 4.5rem);
    background: #131313;
    color: #d8d5d4;
}

.homepage-premium .legal-page {
    background: #131313;
}

.legal-page .legal-page-inner {
    max-width: 720px;
    font-size: 0.9375rem;
    line-height: 1.65;
}

.legal-page h1 {
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 600;
    color: #f2ca50;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.legal-page h2 {
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    font-weight: 600;
    color: #e5e2e1;
    margin: 1.75rem 0 0.65rem;
    line-height: 1.35;
}

.legal-page h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #e5e2e1;
    margin: 1.25rem 0 0.5rem;
    line-height: 1.35;
}

.legal-page p {
    margin: 0 0 0.85rem;
    color: #c9c6c5;
}

.legal-page ul {
    margin: 0 0 1rem 1.1rem;
    padding: 0;
}

.legal-page li {
    margin-bottom: 0.45rem;
    color: #c9c6c5;
}

.legal-page a {
    color: #f2ca50;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-page a:hover {
    color: #fff;
}

.legal-page > .container > p:first-of-type,
.legal-page .legal-page-inner > p:first-of-type {
    font-size: 0.875rem;
    color: #9a9796;
    margin-bottom: 1.25rem;
}

.error-page {
    padding-bottom: clamp(4.5rem, 12vw, 7rem);
}

.error-page-inner {
    text-align: center;
    max-width: 36rem;
    padding-left: clamp(1rem, 4vw, 1.5rem);
    padding-right: clamp(1rem, 4vw, 1.5rem);
}

.error-page-code {
    margin: 0 0 clamp(1rem, 3vw, 1.5rem);
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 700;
    line-height: 1;
    color: rgba(242, 202, 80, 0.35);
    letter-spacing: 0.08em;
}

.error-page h1 {
    margin: 0 0 clamp(1.25rem, 3.5vw, 1.75rem);
}

.error-page-inner > p[data-i18n="error404_body"] {
    margin: 0 auto;
    max-width: 30rem;
    line-height: 1.75;
}

.error-page-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: clamp(3.25rem, 8vw, 4.75rem);
}

.error-page-call {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .legal-page {
        padding-top: calc(132px + 1.5rem);
    }
}

@media (max-width: 767px) {
    .legal-page {
        padding-top: calc(118px + 1rem);
    }
}

/* Samsung Internet: block forced recolor (brown CTAs). Logo is now filter-free white PNG. */
html.ua-samsung-browser {
    color-scheme: only dark;
}

html.ua-samsung-browser .homepage-premium .cta-button,
html.ua-samsung-browser .homepage-premium .hero-cta-group .hero-primary-cta,
html.ua-samsung-browser .homepage-premium .hero-cta-group .hero-primary-cta:link,
html.ua-samsung-browser .homepage-premium .hero-cta-group .hero-primary-cta:visited,
html.ua-samsung-browser .homepage-premium .hero-cta-group .hero-primary-cta:hover,
html.ua-samsung-browser .homepage-premium .hero-cta-group .hero-primary-cta:active,
html.ua-samsung-browser .homepage-premium .hero-cta-group .hero-primary-cta:focus {
    background: #f2ca50 !important;
    background-color: #f2ca50 !important;
    background-image: linear-gradient(180deg, #f2ca50, #f2ca50) !important;
    border-color: #f2ca50 !important;
    color: #241a00 !important;
    forced-color-adjust: none !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
}

html.ua-samsung-browser .service-item .cta-button,
html.ua-samsung-browser body:not(.homepage-premium) .cta-button:not(.secondary) {
    background: #cee002 !important;
    background-color: #cee002 !important;
    background-image: linear-gradient(180deg, #cee002, #cee002) !important;
    border-color: #cee002 !important;
    color: #333 !important;
    forced-color-adjust: none !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
}

html.ua-samsung-browser .cta-button.secondary,
html.ua-samsung-browser .homepage-premium .cta-button.secondary,
html.ua-samsung-browser .homepage-premium .hero-cta-group .hero-secondary-cta.secondary {
    background: transparent !important;
    background-image: none !important;
    color: #e5e2e1 !important;
    border-color: #4d4635 !important;
}
