/* portfolio-2026.css — styling for /portfolio/, /india/portfolio/, /us/portfolio/, /eu/portfolio/
   Built on the same tokens as style-2026.css (--primary-color, --dark, --shadow-*, --font-heading)
   so these pages look like part of the site, not a bolted-on section. */

.pf-hero {
    background: linear-gradient(120deg, var(--dark, #1a1a1a) 0%, var(--primary-dark, #004a99) 100%);
    color: #fff;
    padding: 64px 24px 56px;
    position: relative;
    overflow: hidden;
}
.pf-hero::after {
    content: "";
    position: absolute;
    right: -80px; top: -80px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(255,102,0,0.25) 0%, rgba(255,102,0,0) 70%);
    border-radius: 50%;
}
.pf-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.pf-eyebrow {
    text-transform: uppercase; letter-spacing: .08em; font-size: 13px;
    color: var(--secondary-color, #ff6600); font-weight: 700; margin: 0 0 10px;
}
.pf-h1 {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 2.4rem; margin: 0 0 14px; line-height: 1.15;
}
.pf-sub { font-size: 1.05rem; color: rgba(255,255,255,0.78); max-width: 640px; margin: 0; }
.pf-breadcrumb { font-size: .8rem; color: rgba(255,255,255,0.55); margin-top: 18px; }
.pf-breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }

.pf-main { max-width: 1100px; margin: 0 auto; padding: 48px 24px 70px; }

.pf-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.pf-tab {
    padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600;
    text-decoration: none; border: 1px solid #e0e4f0; color: var(--dark-gray, #333);
    transition: var(--transition, all .3s ease);
}
.pf-tab:hover { border-color: var(--primary-color, #0066cc); color: var(--primary-color, #0066cc); }
.pf-tab.is-active { background: var(--primary-color, #0066cc); border-color: var(--primary-color, #0066cc); color: #fff; }

.pf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 26px; }

.pf-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0,0,0,.1));
    transition: var(--transition, all .3s ease);
    position: relative;
}
.pf-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg, 0 10px 20px rgba(0,0,0,.12)); }

.pf-card-media {
    position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #0a1a2e;
}
.pf-card-media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .5s ease;
}
.pf-card:hover .pf-card-media img { transform: scale(1.06); }
.pf-card-media-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 45%);
    display: flex; align-items: flex-end; padding: 14px;
}
.pf-card-tag {
    display: inline-block; background: rgba(255,255,255,0.16);
    backdrop-filter: blur(6px); color: #fff; font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
    padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.35);
}

.pf-sample-ribbon {
    position: absolute; top: 10px; right: -30px; z-index: 2;
    background: var(--warning, #ffc107); color: #4a3800;
    font-size: .65rem; font-weight: 700; letter-spacing: .04em;
    padding: 4px 34px; transform: rotate(35deg);
    box-shadow: 0 2px 4px rgba(0,0,0,.15);
}

.pf-card-body { padding: 20px 22px 24px; }
.pf-client { font-size: 1.15rem; font-weight: 700; margin: 0 0 2px; color: var(--dark, #1a1a1a); }
.pf-industry { font-size: .8rem; color: var(--medium-gray, #666); margin: 0 0 12px; }

.pf-headline-result {
    font-size: .92rem; font-weight: 600; color: var(--primary-color, #0066cc);
    background: rgba(0,102,204,0.08); border-radius: 8px;
    padding: 8px 12px; margin: 0 0 14px;
}

.pf-details { margin-top: 4px; }
.pf-details-toggle {
    cursor: pointer; list-style: none; font-size: .85rem; font-weight: 700;
    color: var(--secondary-color, #ff6600); user-select: none;
}
.pf-details-toggle::-webkit-details-marker { display: none; }
.pf-details-toggle::after { content: " →"; }
.pf-details[open] .pf-details-toggle::after { content: " ↓"; }
.pf-details[open] .pf-details-toggle { display: block; margin-bottom: 10px; }

.pf-label {
    font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    color: var(--primary-color, #0066cc); margin: 0 0 4px;
}
.pf-text { font-size: .92rem; color: #333; margin: 0 0 14px; line-height: 1.5; }
.pf-results { margin: 0 0 14px; padding-left: 18px; }
.pf-results li { font-size: .92rem; color: #333; margin-bottom: 3px; }

.pf-quote {
    font-style: italic; font-size: .88rem; color: var(--medium-gray, #666);
    border-left: 3px solid var(--secondary-color, #ff6600); padding-left: 12px; margin: 14px 0 0;
}
.pf-crosslink {
    display: inline-block; margin-top: 14px; font-size: .82rem; font-weight: 600;
    color: var(--primary-color, #0066cc); text-decoration: none;
}
.pf-crosslink:hover { text-decoration: underline; }

.pf-empty { color: var(--medium-gray, #8892b0); margin-top: 32px; }

.pf-region-cards, .pf-service-cards {
    display: grid; gap: 18px; margin-bottom: 20px;
}
.pf-region-cards { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pf-service-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.pf-region-btn {
    background: var(--primary-color, #0066cc); color: #fff; text-align: center;
    padding: 16px 20px; border-radius: 10px; text-decoration: none; font-weight: 700;
    transition: var(--transition, all .3s ease);
}
.pf-region-btn:hover { background: var(--primary-dark, #004a99); transform: translateY(-2px); }

.pf-service-card {
    background: #fff; border: 1px solid #e4e8f5; border-radius: 12px; padding: 20px;
    transition: var(--transition, all .3s ease);
}
.pf-service-card:hover { box-shadow: var(--shadow-md, 0 4px 6px rgba(0,0,0,.1)); }
.pf-service-card h3 { font-size: 1rem; margin: 0 0 10px; }
.pf-service-card a { font-size: .85rem; color: var(--primary-color, #0066cc); margin-right: 10px; text-decoration: none; }
.pf-service-card a:hover { text-decoration: underline; }

.pf-hub-card {
    display: block; background: #fff; border: 1px solid #e4e8f5; border-radius: 14px;
    padding: 24px; text-decoration: none; color: inherit;
    transition: var(--transition, all .3s ease);
}
.pf-hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md, 0 4px 6px rgba(0,0,0,.1)); }

/* ── Industry filter bar ─────────────────────────────────────────────── */
.pf-filterbar {
    display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px;
}
.pf-industry-select, .pf-search {
    padding: 10px 14px; border-radius: 8px; border: 1px solid #d7dcec;
    font-size: .9rem; font-family: inherit; background: #fff;
}
.pf-industry-select { min-width: 200px; }
.pf-search { flex: 1; min-width: 220px; }
.pf-industry-select:focus, .pf-search:focus {
    outline: none; border-color: var(--primary-color, #0066cc);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.12);
}

/* ── Brand / client grid (logo-style tiles, click to reveal case study) ─ */
.pf-brand-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px; margin-bottom: 8px;
}
.pf-brand {
    background: #fff; border: 1px solid #e4e8f5; border-radius: 14px;
    padding: 0 0 14px; cursor: pointer; text-align: center;
    font-family: inherit; position: relative; overflow: hidden;
    transition: var(--transition, all .3s ease);
    display: flex; flex-direction: column; align-items: stretch;
}
.pf-brand[hidden] { display: none !important; }
.pf-brand:hover { transform: translateY(-3px); box-shadow: var(--shadow-md, 0 4px 6px rgba(0,0,0,.1)); border-color: var(--primary-color, #0066cc); }
.pf-brand-media {
    display: block; aspect-ratio: 16/10; overflow: hidden; background: #0a1a2e;
    border-radius: 14px 14px 0 0; margin-bottom: 12px;
}
.pf-brand-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.pf-brand:hover .pf-brand-media img { transform: scale(1.06); }
.pf-brand-name { display: block; font-weight: 700; font-size: .95rem; color: var(--dark, #1a1a1a); padding: 0 12px; }
.pf-brand-industry { display: block; font-size: .78rem; color: var(--medium-gray, #666); padding: 2px 12px 0; }

/* ── Detail panel (revealed below the grid on click) ────────────────── */
.pf-detail-panel {
    background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg, 0 10px 20px rgba(0,0,0,.12));
    margin-top: 28px; padding: 30px 30px 34px; position: relative;
    border-top: 4px solid var(--secondary-color, #ff6600);
}
.pf-detail-close {
    position: absolute; top: 16px; right: 18px; background: #f1f3f9; border: none;
    width: 32px; height: 32px; border-radius: 50%; font-size: 1.2rem; line-height: 1;
    color: #555; cursor: pointer;
}
.pf-detail-close:hover { background: #e2e6f2; }
.pf-detail-title { font-size: 1.5rem; margin: 8px 0 2px; font-family: var(--font-heading, 'Poppins', sans-serif); }
.pf-detail-head { margin-bottom: 20px; }

.pf-detail-cover { border-radius: 12px; overflow: hidden; margin-bottom: 22px; }
.pf-detail-cover img { width: 100%; display: block; }

.pf-gallery { margin-bottom: 22px; }
.pf-gallery-main { border-radius: 12px; overflow: hidden; margin-bottom: 10px; background: #0a1a2e; }
.pf-gallery-main img { width: 100%; display: block; }
.pf-gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pf-gallery-thumb {
    width: 84px; height: 54px; object-fit: cover; border-radius: 6px; cursor: pointer;
    border: 2px solid transparent; opacity: .7; transition: var(--transition, all .3s ease);
}
.pf-gallery-thumb:hover { opacity: 1; }
.pf-gallery-thumb.is-active { border-color: var(--secondary-color, #ff6600); opacity: 1; }

.pf-detail-body .pf-label { margin-top: 4px; }

/* ── Global root portfolio — country badge on brand tiles ──────────────── */
.pf-brand-media { position: relative; }
.pf-brand-country-badge {
    position: absolute; left: 10px; bottom: 10px; z-index: 2;
    background: rgba(0,0,0,0.55); backdrop-filter: blur(4px);
    color: #fff; font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
    padding: 3px 10px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.3);
}
