/*
Theme Name: Proteina CReativa Theme
Theme URI: https://proteinacreativa.com
Author: Antigravity
Author URI: https://google.deepmind.com
Description: A custom theme for Proteina CReativa, focusing on professionalism, attention to detail, and freshness.
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: agency, creative, clean, modern, responsive
Text Domain: proteina-creativa
*/


body:not(.logged-in) .edac-highlight-panel--right {
    display: none !important;
}


:root {
    /* Brand Colors */
    --color-web: #007bff;
    --color-adv: #fd7e14;
    --color-mkt: #28a745;
    --color-cid: #dc3545;
    --color-gde: #6f42c1;
    --color-vid: #17a2b8;
    --color-cod: #ffc107;
    --color-seo: #6c757d;

    /* Dark Mode Variables */
    --color-dark: #ffffff;
    --color-light: #121212;
    --color-grey: #1e1e1e;

    /* Typography */
    --font-primary: 'Michroma', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

/* Reset & Basics */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-secondary);
    color: var(--color-dark);
    line-height: 1.6;
    background-color: var(--color-light);
    overflow-x: hidden;
    word-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

.entry-content>*:first-child {
    margin-top: 0;
}

.entry-content>*:last-child {
    margin-bottom: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 6px 0 1px;
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
}

.admin-bar .site-header {
    top: 32px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.site-logo img {
    display: block;
    height: 120px;
    width: auto;
    max-width: min(320px, 42vw);
}

/* Tab-style Navigation */
.main-navigation {
    position: relative;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
}

.main-navigation a {
    display: block;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    background-color: transparent;
    border-radius: 5px 5px 0 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.main-navigation a:hover {
    color: var(--color-dark);
    background-color: rgba(255, 255, 255, 0.05);
}

.main-navigation li.current-menu-item > a,
.main-navigation li.current-menu-ancestor > a,
.main-navigation a.active {
    color: var(--color-web);
    background-color: #171717;
    border-bottom: 2px solid var(--color-web);
}

.main-navigation li {
    position: relative;
}

.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 22px 0 10px;
    background: rgba(18, 18, 18, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    z-index: 30;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
    display: flex;
}

.main-navigation .sub-menu a {
    padding: 12px 18px;
    border-radius: 0;
    border-bottom: 0;
    font-size: 13px;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.main-navigation .sub-menu li.current-menu-item > a {
    background-color: rgba(255, 255, 255, 0.08);
}

/* Responsive Menu */
.menu-toggle {
    display: none;
}

body.menu-open {
    overflow: hidden;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

@media screen and (max-width: 768px) {
    .site-header {
        padding: 6px 0 1px;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 14px;
    }

    .site-branding {
        flex: 1 1 auto;
        min-width: 0;
    }

    .site-logo img {
        height: 60px;
        max-width: min(240px, 58vw);
    }

    .main-navigation {
        margin-left: auto;
    }

    .main-navigation.toggled {
        width: 100%;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 16px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 999px;
        color: #fff;
        font-size: 0.95rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        cursor: pointer;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: static;
        background-color: rgba(18, 18, 18, 0.98);
        margin-top: 12px;
        padding: 8px 0;
        gap: 0;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    .main-navigation li {
        width: 100%;
    }

    .main-navigation a {
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 14px 20px;
        text-align: left;
    }

    .main-navigation .sub-menu {
        position: static;
        min-width: 0;
        display: flex;
        margin-top: 0;
        padding: 0 0 8px;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .main-navigation .sub-menu a {
        padding: 12px 20px 12px 34px;
        font-size: 0.9rem;
        white-space: normal;
        color: rgba(255, 255, 255, 0.75);
    }
}

@media (max-width: 900px) {

    .case-study-gallery--2col,
    .case-study-gallery--3col {
        grid-template-columns: 1fr;
    }

    .case-study-image--hero,
    .case-study-image--video,
    .case-study-image--wide,
    .case-study-image {
        min-height: 220px;
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    min-height: 330px;
    overflow: hidden;
    background: #121212;
    display: flex;
    width: 100%;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

.hero-slider--fixed-content {
    height: 600px;
    max-height: calc(100vh - 107px);
}

.hero-slider__backgrounds,
.hero-slider__overlay {
    position: absolute;
    inset: 0;
}

.hero-slider__bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease-in-out, transform 7s ease-out;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
}

.hero-slider__bg.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-slider__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
}

.hero-slider__overlay {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-single .slide {
    opacity: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-content--fixed {
    width: 100%;
    text-align: center;
}

.hero-content h1,
.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content .highlight {
    color: var(--color-web);
}

.hero-content p {
    font-size: 1.25rem;
    color: #cccccc;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-slider__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--color-dark);
    color: var(--color-light);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--color-web);
    color: var(--color-light);
}

.btn.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.75);
}

/* Page Hero Enhanced */
.page-hero {
    padding: 140px 0 72px;
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #000000 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.page-hero-compact {
    padding-top: 112px;
    padding-bottom: 48px;
}

.page-hero-simple {
    padding-top: 96px;
    padding-bottom: 28px;
}

.page-hero-banner {
    padding: 0 0 44px;
}

.page-hero-banner .container {
    position: relative;
    z-index: 1;
    max-width: none;
    padding: 0;
}

.page-hero-banner__media {
    min-height: 194px;
    height: 18vw;
    border-radius: 0;
    overflow: hidden;
    background-color: #111;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    width: 100%;
    margin-left: 0;
}

.page-hero-banner__content {
    width: 100%;
    padding: 42px 44px;
    text-align: center;
}

.page-hero-banner__title {
    font-size: clamp(2.5rem, 5vw, 4.3rem);
    line-height: 1.02;
    margin-bottom: 12px;
    color: #fff;
    text-wrap: balance;
}

.page-hero-banner__payoff {
    margin: 0;
    max-width: 760px;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-left: auto;
    margin-right: auto;
}

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

.hero-bg-accent {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.page-title,
.big-title {
    font-size: clamp(2.4rem, 5vw, 4.25rem);
    background: -webkit-linear-gradient(45deg, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
    line-height: 1.08;
    text-wrap: balance;
}

.hero-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-web), transparent);
    margin: 0 auto 24px;
}

.hero-subtitle {
    font-size: 1rem;
    color: #aaa;
    max-width: 680px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.page-article .entry-content {
    padding: 56px 20px 0;
    max-width: 1100px;
    margin: 0 auto 80px;
}

.page-article .entry-content>* {
    max-width: 100%;
}

/* 404 */
.pcr-404 {
    position: relative;
    overflow: hidden;
    padding: 88px 0 104px;
    background: linear-gradient(180deg, #0f0f10 0%, #121212 55%, #101010 100%);
}

.pcr-404::before {
    content: "404";
    position: absolute;
    top: 18px;
    right: min(5vw, 48px);
    font-family: var(--font-primary);
    font-size: clamp(5rem, 18vw, 12rem);
    line-height: 1;
    color: rgba(255, 255, 255, 0.02);
    letter-spacing: 0.08em;
    -webkit-text-stroke: 1px rgba(182, 182, 182, 0.18);
    text-stroke: 1px rgba(182, 182, 182, 0.18);
    pointer-events: none;
}

.pcr-404__inner {
    position: relative;
    z-index: 1;
    max-width: 980px;
    text-align: center;
}

.pcr-404__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #8cc8ff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.04);
}

.pcr-404__title {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    font-size: clamp(1.75rem, 3.2vw, 2.7rem);
    line-height: 1.16;
}

.pcr-404__lead {
    max-width: 720px;
    margin: 0 auto 34px;
    color: #c5c5c5;
    font-size: 1.08rem;
}

.pcr-404__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 42px;
}

.pcr-404__grid {
    text-align: left;
}

.pcr-404__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.pcr-404__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 220px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.pcr-404__card:hover,
.pcr-404__card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(0, 123, 255, 0.5);
    background: linear-gradient(180deg, rgba(0, 123, 255, 0.12), rgba(255, 255, 255, 0.05));
}

.pcr-404__card-label {
    color: var(--color-web);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pcr-404__card strong {
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 1.08rem;
    line-height: 1.45;
}

.pcr-404__card span:last-child {
    color: #bcbcbc;
    line-height: 1.7;
}

/* Services Grid */
.services-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card.web {
    border-color: var(--color-web);
}

.service-card.adv {
    border-color: var(--color-adv);
}

.service-card.mkt {
    border-color: var(--color-mkt);
}

.service-card.cid {
    border-color: var(--color-cid);
}

.service-card.gde {
    border-color: var(--color-gde);
}

.service-card.vid {
    border-color: var(--color-vid);
}

.service-card.cod {
    border-color: var(--color-cod);
}

.service-card.seo {
    border-color: var(--color-seo);
}

.service-card.dynamic-service {
    border-color: var(--service-color);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: #2c2c2c;
}

.service-card.web .service-icon {
    color: var(--color-web);
    background: rgba(0, 123, 255, 0.1);
}

.service-card.adv .service-icon {
    color: var(--color-adv);
    background: rgba(253, 126, 20, 0.1);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.service-card.dynamic-service .service-icon {
    color: var(--service-color);
    background: rgba(255, 255, 255, 0.06);
}

/* About / Chi Siamo Section & Page */
.section-about-intro {
    padding: 0;
}

.content-grid-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: flex-start;
    padding: 120px 0;
    position: relative;
}

.content-grid-split::after {
    content: '';
    position: absolute;
    top: 15%;
    bottom: 15%;
    left: 55%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #333, transparent);
}

.section-heading {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 30px;
}

.lead-text {
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    font-weight: 300;
    letter-spacing: -0.01em;
    color: #fff;
    line-height: 1.7;
}

.entry-content .page-hero {
    display: none;
}

.secondary-text p {
    color: #bbb;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.9;
}

/* Philosophy Section */
.section-philosophy {
    padding: 80px 0;
    background-color: var(--color-grey);
}

.section-philosophy.premium-bg {
    background: linear-gradient(180deg, #121212 0%, #1a1a1a 100%);
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.value-card {
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.icon-wrapper {
    font-size: 2.5rem;
    color: var(--color-web);
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.value-card p {
    color: #aaa;
}

/* Home Philosophy Grid (Restored) */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.philosophy-item {
    text-align: center;
}

/* Scoped Images for Philosophy/About items only */
.philosophy-item img {
    width: 100%;
    max-width: 280px;
    /* FIXED: Constrain width to prevent huge images */
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 20px;
    /* Center image */
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.philosophy-item:hover img {
    filter: grayscale(0%);
}

/* --- Services Page Styles (Premium List) --- */
.section-services-list {
    padding: 100px 0;
}

.service-row {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
    align-items: flex-start;
    padding: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, background 0.3s ease;
}

.service-row:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
}

.service-icon-col {
    flex: 0 0 100px;
}

.big-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #222, #000);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-web);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dynamic-service-row .big-icon-wrapper {
    color: var(--service-color);
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.service-content h3 a:hover {
    color: var(--color-web);
}

.service-content p {
    color: #bbb;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.service-features li {
    color: #ddd;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: var(--color-mkt);
    font-size: 0.8rem;
}

.dynamic-service-row .service-features li i {
    color: var(--service-color);
}

.service-single-content {
    max-width: 960px;
}

.service-single-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.service-single-back {
    color: #bdbdbd;
    font-weight: 600;
}

.service-single-back:hover {
    color: #fff;
}

.service-single-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}

.service-single-chip i {
    color: var(--service-color, var(--color-web));
}

.service-single-figure {
    margin: 0 0 36px;
    border-radius: 18px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.service-single-figure img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.service-single-article {
    color: #ddd;
}

.service-single-article h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-top: 42px;
    margin-bottom: 18px;
}

.service-single-article h3 {
    font-size: 1.15rem;
    margin-top: 26px;
    margin-bottom: 12px;
    color: #fff;
}

.service-single-article p,
.service-single-article li {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #d5d5d5;
}

.service-single-article ul {
    padding-left: 22px;
}

.service-article-lead {
    font-size: 1.18rem;
    color: #fff;
}

.service-single-cta {
    margin-top: 52px;
    padding: 32px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.service-single-cta p {
    max-width: 720px;
    margin: 0 auto 20px;
    color: #c7c7c7;
}

@media (max-width: 768px) {
    .service-row {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }

    .service-icon-col {
        margin: 0 auto;
    }

    .service-content h3 {
        font-size: 1.6rem;
    }

    .service-single-cta {
        padding: 24px 18px;
    }
}


/* Portfolio Zig-Zag */
.section-portfolio {
    padding: 80px 0;
}

.portfolio-clients {
    margin-top: 24px;
    padding-top: 8px;
}

.portfolio-clients__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.portfolio-clients__header h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
}

.portfolio-clients__nav {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.portfolio-clients__nav:hover,
.portfolio-clients__nav:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
}

.portfolio-clients__row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.portfolio-clients__viewport {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: nowrap;
}

.portfolio-clients__viewport.is-scrollable {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-bottom: 10px;
}

.portfolio-clients__nav--inline {
    flex: 0 0 auto;
}

.portfolio-clients__viewport.is-scrollable::-webkit-scrollbar {
    display: none;
}

.portfolio-clients__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    min-height: 108px;
}

.portfolio-clients__link {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.portfolio-clients__logo-wrap {
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-clients__viewport.is-scrollable .portfolio-clients__item {
    flex: 0 0 min(200px, 42vw);
    scroll-snap-align: start;
}

.portfolio-clients__logo-wrap img,
.portfolio-clients__link img {
    display: block;
    width: auto;
    max-width: 150px;
    max-height: 54px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.15);
    opacity: 0.92;
}

.portfolio-clients__link:hover img,
.portfolio-clients__link:focus-visible img {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

.portfolio-rows {
    padding: 20px 0;
}

.portfolio-row {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    gap: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.portfolio-row.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.row-reverse {
    flex-direction: row-reverse;
}

.portfolio-col-img {
    flex: 0 0 45%;
    max-width: 500px;
    position: relative;
}

.portfolio-col-img>a {
    position: relative;
    display: block;
}

.portfolio-col-text {
    flex: 1;
}

.img-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    aspect-ratio: 4 / 3;
    background: #101010;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    filter: none;
    object-fit: cover;
}

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

.img-wrapper--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    color: rgba(255, 255, 255, 0.72);
    border: 1px dashed rgba(255, 255, 255, 0.18);
}

.portfolio-carousel {
    position: relative;
}

.portfolio-carousel__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.portfolio-carousel__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.portfolio-carousel__nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.portfolio-carousel__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.portfolio-carousel__dot.is-active,
.portfolio-carousel__dot:hover,
.portfolio-carousel__dot:focus-visible {
    background: var(--color-web);
    transform: scale(1.15);
}

.cat-label {
    color: var(--color-web);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.portfolio-col-text h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.portfolio-col-text p {
    color: #bbb;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

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

.portfolio-empty-state {
    color: #bbb;
    text-align: center;
    padding: 40px 0 20px;
}

.portfolio-single-content {
    max-width: 1080px;
    margin: 0 auto;
}

.portfolio-single-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.portfolio-single-back {
    color: #fff;
    font-weight: 600;
}

.portfolio-single-back:hover {
    color: var(--color-web);
}

.portfolio-single-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-web);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portfolio-single-gallery {
    margin-bottom: 42px;
}

.portfolio-single-figure {
    margin: 0;
}

.portfolio-single-article {
    color: #bbb;
    line-height: 1.8;
    font-size: 1.05rem;
}

.portfolio-single-article h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-top: 2.4rem;
    margin-bottom: 1rem;
}

.portfolio-single-article h3 {
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.portfolio-single-article p,
.portfolio-single-article li {
    color: #bbb;
}

.portfolio-single-cta {
    margin-top: 56px;
    padding: 32px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.14), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-single-cta h2 {
    margin-bottom: 12px;
    color: #fff;
}

.portfolio-single-cta p {
    color: #bbb;
    margin-bottom: 22px;
}

.case-study-image,
.case-study-gallery .case-study-image {
    background: #f3f3f3;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    margin: 30px 0;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study-image img,
.case-study-gallery .case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-study-image--hero {
    min-height: 420px;
}

.case-study-image--wide {
    min-height: 340px;
}

.case-study-image--video {
    min-height: 420px;
}

.case-study-gallery--2col,
.case-study-gallery--3col {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

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

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

.btn-text {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--color-web);
    padding-bottom: 5px;
    transition: color 0.3s;
}

.btn-text:hover {
    color: var(--color-web);
}

/* CTA */
.section-cta {
    padding: 100px 0;
    text-align: center;
}

.big-btn {
    padding: 20px 50px;
    font-size: 1.2rem;
}

/* Footer */
.site-footer {
    background-color: #000000;
    color: #aaa;
    padding: 60px 0 20px;
    border-top: 1px solid #333;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h2 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal-note {
    margin-top: 8px !important;
    font-size: 0.72rem;
    opacity: 0.72;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1e1e1e;
    margin: 5% auto;
    padding: 40px;
    border: 1px solid #333;
    width: 90%;
    max-width: 600px;
    color: #fff;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: modalopen 0.4s;
}

.modal-content-wide {
    max-width: 760px;
}

@keyframes modalopen {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

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

.close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #fff;
}

.cv-form label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 600;
}

.cv-form input[type="text"],
.cv-form input[type="email"],
.cv-form textarea,
.cv-form input[type="file"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    background-color: #2c2c2c;
    border: 1px solid #444;
    color: #fff;
    border-radius: 4px;
    font-family: inherit;
}

.cv-form button[type="submit"] {
    background-color: var(--color-web);
    color: black;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: background 0.3s;
    font-family: var(--font-secondary);
}

.cv-form button[type="submit"]:hover {
    background-color: #0062cc;
    transform: translateY(-2px);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.4;
}

.form-checkbox input {
    width: 20px !important;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.intro-text {
    margin-bottom: 25px;
    color: #ddd;
    font-size: 0.95rem;
}

.pcr-contact-section {
    padding: 20px 0 0;
}

.pcr-contact-section__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    gap: 28px;
    align-items: stretch;
}

.pcr-contact-section__form-col,
.pcr-contact-section__info {
    padding: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pcr-contact-section__intro {
    text-align: left;
    margin-bottom: 28px;
}

.pcr-contact-section__intro h2 {
    margin-bottom: 12px;
}

.pcr-contact-section__intro p {
    margin: 0;
    max-width: 640px;
    color: #bdbdbd;
}

.pcr-contact-section__info {
    padding-top: 34px;
}

.pcr-contact-section__info h2 {
    margin-bottom: 18px;
}

.pcr-contact-section__info>p {
    margin: 0 0 18px;
    color: #ddd;
}

.pcr-contact-section__info>p:last-of-type {
    margin-bottom: 0;
}

.pcr-contact-section__info strong {
    color: #fff;
    display: inline-block;
    margin-bottom: 4px;
}

.pcr-contact-section__info a {
    color: #fff;
}

.pcr-contact-card {
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 20px;
}

.pcr-contact-card p {
    margin: 0 0 18px;
    color: #ddd;
}

.pcr-contact-card p:last-child {
    margin-bottom: 0;
}

.pcr-contact-card strong {
    color: #fff;
    display: inline-block;
    margin-bottom: 4px;
}

.pcr-contact-card a {
    color: #fff;
}

.pcr-contact-map {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 320px;
}

.pcr-contact-map .wp_mapit_multipin_map {
    width: 100% !important;
    height: 100% !important;
    min-height: 320px;
}

.pcr-contact-map-trigger {
    margin-top: 20px;
}

.pcr-cf7-grid {
    display: grid;
    gap: 20px;
}

.pcr-cf7-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wpcf7-form label {
    display: block;
    color: #ddd;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.wpcf7-form-control-wrap {
    display: block;
    margin-top: 8px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: #171717;
    border: 1px solid #333;
    color: #fff;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
}

.wpcf7-form textarea {
    min-height: 180px;
    resize: vertical;
}

.wpcf7-form .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #bdbdbd;
    font-size: 0.9rem;
}

.wpcf7-form .wpcf7-acceptance input {
    margin-top: 4px;
}

.wpcf7-form .btn-form {
    margin-top: 12px;
    border: 0;
    cursor: pointer;
}

.wpcf7-response-output {
    margin: 18px 0 0 !important;
    color: #fff;
    border-width: 1px !important;
    border-radius: 10px;
}

.wpcf7-not-valid-tip {
    color: #ff8f8f !important;
    margin-top: 8px;
    font-size: 0.85rem;
}

.wpcf7-form-control-wrap .wpcf7-not-valid-tip~.wpcf7-not-valid-tip {
    display: none !important;
}

[data-form-success-scope].is-success .wpcf7,
[data-form-success-scope].is-success form,
[data-form-success-scope].is-success .intro-text,
[data-form-success-scope].is-success .recaptcha-disclaimer,
[data-form-success-scope].is-success > h2 {
    display: none !important;
}

.pcr-form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 280px;
    padding: 32px 24px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 191, 0, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 191, 0, 0.25);
    border-radius: 18px;
}

.pcr-form-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 999px;
    background: rgba(255, 191, 0, 0.14);
    color: var(--color-web);
    font-size: 2rem;
}

.pcr-form-success__title {
    margin: 0;
    color: #fff;
    font-size: 1.8rem;
}

.pcr-form-success__text {
    margin: 0;
    max-width: 560px;
    color: #d7d7d7;
    font-size: 1rem;
    line-height: 1.7;
}

.cv-form-response {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cv-form-response:empty {
    display: none;
}

.cv-form-response.is-error {
    color: #ffd0d0;
    background: rgba(145, 22, 22, 0.25);
    border: 1px solid rgba(255, 143, 143, 0.35);
}

.cv-form-response.is-success {
    color: #d7d7d7;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .page-hero {
        padding: 108px 0 52px;
    }

    .page-hero-banner {
        padding: 0 0 28px;
    }

    .page-hero-banner__media {
        min-height: 144px;
        height: auto;
        border-radius: 0;
        align-items: flex-end;
        position: relative;
    }

    .page-hero-banner__media:before {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        content: "";
        display: block;
        z-index: 0;
        background-color: rgba(0, 0, 0, 0.35);
    }

    .page-hero-banner__content {
        padding: 80px 24px 28px 24px;
        z-index: 1;
    }

    .page-hero-banner__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .page-hero-banner__payoff {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .page-hero-compact {
        padding-top: 92px;
        padding-bottom: 36px;
    }

    .page-hero-simple {
        padding-top: 84px;
        padding-bottom: 20px;
    }

    .content-grid-split {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 60px 0;
    }

    .content-grid-split::after {
        display: none;
    }

    .page-title,
    .big-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .pcr-404 {
        padding: 72px 0 84px;
    }

    .pcr-404__grid {
        grid-template-columns: 1fr;
    }

    .pcr-404__card {
        min-height: auto;
    }

    .page-article .entry-content {
        padding: 40px 20px 0;
        margin-bottom: 64px;
    }

    .lead-text {
        font-size: 1rem;
    }

    .pcr-contact-section__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pcr-contact-section__form-col,
    .pcr-contact-section__info {
        padding: 28px 20px;
        border-radius: 14px;
    }

    .pcr-cf7-grid--two {
        grid-template-columns: 1fr;
    }

    .portfolio-row,
    .row-reverse {
        flex-direction: column;
        margin-bottom: 80px;
        gap: 40px;
        transform: none;
        opacity: 1;
        /* Disable fade scroll on mobile for safety */
    }

    .portfolio-col-img {
        flex: auto;
        max-width: 100%;
    }

    .portfolio-col-text {
        color: #e0e0e0;
    }

    .portfolio-clients {
        margin-top: 12px;
    }

    .portfolio-clients__header {
        align-items: start;
        flex-direction: column;
        margin-bottom: 22px;
    }

    .portfolio-clients__row {
        gap: 10px;
    }

    .portfolio-clients__viewport {
        gap: 14px;
    }

    .portfolio-clients__viewport.is-scrollable .portfolio-clients__item {
        flex-basis: min(190px, 68vw);
    }

    .portfolio-clients__item {
        min-height: 88px;
    }

    .portfolio-clients__logo-wrap {
        height: 58px;
    }

    .portfolio-clients__logo-wrap img {
        max-width: 128px;
        max-height: 44px;
    }

    .hero-slider {
        height: 520px;
    }

    .hero-slider--fixed-content {
        height: 520px;
        max-height: calc(100vh - 67px);
    }

    .slide {
        min-height: 520px;
        position: relative;
    }

    .hero-content {
        padding-top: 112px;
        padding-bottom: 72px;
    }

    .hero-content--fixed {
        padding-top: 112px;
        padding-bottom: 72px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: clamp(2rem, 10vw, 3rem);
        letter-spacing: 1px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .hero-slider__actions {
        gap: 12px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 36px;
    }

    .services-grid,
    .values-grid,
    .philosophy-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card,
    .value-card {
        padding: 24px;
    }

    .modal-content {
        width: calc(100% - 24px);
        margin: 24px auto;
        padding: 32px 20px 24px;
    }
}

/* Quotes Section Enhanced */
.section-quote {
    padding: 48px 0;
    position: relative;
    margin-bottom: 56px;
    border-bottom: none;
}

/* Animated Gradient Line */
.section-quote::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    /* Thinner line */
    background: linear-gradient(90deg, #0090D0, #D6008D, #FFC600, #0090D0);
    /* Repeat first color for smooth loop */
    background-size: 200% 100%;
    animation: gradientScroll 3s linear infinite;
    z-index: 3;
}

@keyframes gradientScroll {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.relative-z {
    position: relative;
    z-index: 2;
}

.section-quote .container {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 260px;
    padding-top: 8px;
    position: relative;
}

.quote-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.58) 100%);
    z-index: 1;
}

.quote-visual {
    position: absolute;
    top: 0;
    right: 20px;
    width: min(46%, 420px);
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    opacity: 0.95;
    pointer-events: none;
}

.section-quote blockquote {
    margin: 0;
    padding: 22px 24px;
    max-width: 560px;
    font-family: 'Playfair Display', serif;
    color: #fff;
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-quote i {
    font-size: 2rem;
    color: var(--color-web);
    margin-bottom: 18px;
    opacity: 0.8;
    display: block;
}

.section-quote p {
    font-size: 1.7rem;
    font-style: italic;
    line-height: 1.4;
    max-width: 500px;
    margin: 0 auto 18px;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-quote cite {
    display: block;
    font-size: 1.1rem;
    color: #ccc;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

.footer-map {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #141414;
}

.footer-map .wp_mapit_multipin_map {
    height: 170px !important;
    width: 100% !important;
}

.footer-map-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.footer-map-trigger .footer-map {
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.footer-map-trigger:hover .footer-map,
.footer-map-trigger:focus-visible .footer-map {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.pcr-map-marker-icon {
    background: transparent;
    border: 0;
}

.pcr-map-marker {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.pcr-map-marker__pin {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pcr-map-marker__badge {
    position: absolute;
    top: 32%;
    left: 50%;
    width: 38%;
    height: 38%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 50%;
    padding: 6%;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.pcr-map-marker__favicon {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-content-map {
    max-width: 960px;
}

.modal-map-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #111;
}

.modal-map-placeholder {
    width: 100%;
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}

.modal-map-placeholder p {
    margin: 0;
    max-width: 36rem;
}

.modal-map-actions {
    margin: 18px 0 0;
    text-align: right;
}

.modal-map-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.recaptcha-disclaimer {
    margin: 18px 0 0;
    color: #a9a9a9;
    font-size: 0.85rem;
    line-height: 1.6;
}

.recaptcha-disclaimer a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* portfolio */

.case-study-image,
.case-study-gallery .case-study-image {
    background: #f7f7f7;
    border: 1px dashed #cfcfcf;
    border-radius: 12px;
    margin: 30px 0;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.case-study-image--hero {
    min-height: 420px;
}

.case-study-image--wide {
    min-height: 340px;
}

.case-study-image--video {
    min-height: 420px;
}

.case-study-image-placeholder {
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    max-width: 80%;
    color: #333 !important;
}

.case-study-image-placeholder * {
    color: #333 !important;
}

.case-study-gallery--2col,
.case-study-gallery--3col {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

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

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

@media (max-width: 900px) {

    .case-study-gallery--2col,
    .case-study-gallery--3col {
        grid-template-columns: 1fr;
    }

    .case-study-image--hero,
    .case-study-image--video,
    .case-study-image--wide,
    .case-study-image {
        min-height: 220px;
    }

    .section-philosophy .container {
        padding: 0 10px;
    }
}

@media (max-width:780px) {

    .section-philosophy,
    .section-philosophy.premium-bg {
        background: none;
        padding: 0;
        background-color: transparent;
    }

    .section-philosophy .container {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 1.8rem;
    }

    .section-quote {
        padding: 32px 0;
    }

    .section-quote .container {
        min-height: auto;
        padding-top: 0;
        justify-content: center;
    }

    .quote-visual {
        right: 20px;
        left: 20px;
        width: auto;
        height: 180px;
        opacity: 0.35;
        background-position: center center;
    }

    .section-quote p {
        font-size: 1.25rem;
    }

    .section-quote blockquote {
        padding: 20px 18px;
    }

    .modal-map-frame {
        aspect-ratio: 4 / 5;
    }

    .modal-map-actions {
        text-align: center;
    }

    .pcr-contact-map,
    .pcr-contact-map .wp_mapit_multipin_map {
        min-height: 240px;
    }
}

@media (max-width: 570px) {

    .hero-content h1,
    .hero-content h2 {
        font-size: clamp(2rem, 10vw, 1.9rem);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-slider,
    .slide,
    .hero-slider--fixed-content {
        height: 460px;
        max-height: calc(100vh - 67px);
    }

    .hero-content {
        padding-top: 96px;
        padding-bottom: 56px;
    }

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

    .service-row,
    .pcr-contact-section__form-col,
    .pcr-contact-section__info {
        padding: 22px 16px;
    }

    .page-hero-banner__content {
        padding: 24px 16px;
    }

    .section-quote p {
        font-size: 1.08rem;
    }

    .section-quote cite {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
	.page-hero-banner__content {
        padding: 60px 14px 18px 14px;
        z-index: 1;
    }
}


figure.wp-block-image img {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.video-embed-16-9 {
    position: relative;
    padding-bottom: 56.25%;
}

.video-embed-16-9 iframe {
    width: 100% !important;
    height: 100% !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
}
