/* ============================================================
   HOLONET THEME — Main Stylesheet
   ============================================================ */

/* ── Brand tokens ───────────────────────────────────────────── */
:root {
    --brand-orange: #FF6B00;
    --brand-yellow: #FFB800;
    --brand-purple: #7000A5;
    --color-dark:   #080808;
    --color-bg:     #f4f4f4;
}

/* ── Base reset & typography ────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    border-radius: 0 !important;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    scroll-behavior: smooth;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6,
.nav-item,
.holonet-header nav a,
.holonet-footer,
.font-space {
    font-family: 'Space Grotesk', sans-serif;
}

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

/* ── Utility ────────────────────────────────────────────────── */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Header nav active state ────────────────────────────────── */
.holonet-header nav a:hover,
.holonet-header nav .current-menu-item > a,
.holonet-header nav .current_page_item > a {
    color: var(--brand-orange);
}
.holonet-header nav a { transition: color .2s ease; }

/* ── Mobile menu ────────────────────────────────────────────── */
#mobile-menu a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase;
    color: #555; transition: color .2s ease;
}
#mobile-menu a:hover { color: var(--brand-orange); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-brand {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-yellow) 100%);
    color: white;
    transition: all .3s ease;
    display: inline-flex; align-items: center;
}
.btn-brand:hover { opacity: .9; transform: translateY(-2px); }

.btn-connect {
    background-color: var(--brand-purple);
    border-radius: 9999px !important;
    transition: transform .3s ease;
}
.btn-connect:hover { transform: scale(1.05); }

/* ── Marquee animations ─────────────────────────────────────── */
@keyframes marquee-forward {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes marquee-reverse {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
.animate-marquee-forward {
    display: flex; width: max-content;
    animation: marquee-forward 30s linear infinite;
}
.animate-marquee-reverse {
    display: flex; width: max-content;
    animation: marquee-reverse 30s linear infinite;
}
.partner-logo {
    height: 36px; width: auto; object-fit: contain;
    filter: grayscale(100%) opacity(.35);
    transition: filter .3s ease; flex-shrink: 0;
}
.partner-logo:hover { filter: grayscale(0%) opacity(1); }

/* ── Feature rows ───────────────────────────────────────────── */
.feature-row {
    transition: all .4s ease;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 5rem;
}
.feature-row:hover h4 { color: var(--brand-orange); }
.feature-img-box {
    width: 100%; aspect-ratio: 16/9;
    overflow: hidden; background: #e5e5e5;
}
.feature-img-box img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.2s cubic-bezier(.19,1,.22,1);
}
.feature-row:hover .feature-img-box img { transform: scale(1.1); }

/* ── Location cards (homepage / network) ────────────────────── */
.location-overlay {
    transition: background .25s ease-out;
    background: linear-gradient(to top, rgba(0,0,0,.9) 0%, transparent 60%);
}
.location-content-wrapper { transition: transform .25s ease-out; }
.location-info {
    position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--brand-orange); color: white;
    padding: 20px; z-index: 30;
}
.location-card:not(.coming-soon):hover .location-content-wrapper {
    transform: translateY(-90px);
}
.location-card:not(.coming-soon):hover .location-overlay {
    background: rgba(0,0,0,.75);
}

/* ── News / article cards ───────────────────────────────────── */
.article-card .thumb,
.related-card .thumb {
    width: 100%; aspect-ratio: 4/3;
    overflow: hidden; background: #e5e5e5;
}
.article-card .thumb img,
.related-card .thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .7s ease;
}
.article-card:hover .thumb img,
.related-card:hover .thumb img { transform: scale(1.08); }
.article-card:hover h3,
.related-card:hover h4 { color: var(--brand-orange); }

/* ── Featured post (news archive) ──────────────────────────── */
.featured-post .featured-img {
    width: 100%; aspect-ratio: 16/9;
    overflow: hidden; background: #e5e5e5;
}
.featured-post .featured-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.2s cubic-bezier(.19,1,.22,1);
}
.featured-post:hover .featured-img img { transform: scale(1.05); }
.featured-post:hover h2 { color: var(--brand-orange); }

/* ── Archive pagination ─────────────────────────────────────── */
.page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px; font-weight: 700;
    border: 1px solid #e5e5e5;
    transition: all .2s ease;
    color: #888;
}
.page-numbers:hover:not(.current) { border-color: var(--brand-orange); color: var(--brand-orange); }
.page-numbers.current { background: black; color: white; border-color: black; }
.page-numbers.dots { border: none; }
.page-numbers.prev, .page-numbers.next { font-size: 11px; }

/* ── Category filter tabs (archive / news) ──────────────────── */
.cat-tab {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase;
    padding: 10px 24px;
    border: 1px solid #e5e5e5; color: #888;
    cursor: pointer; transition: all .2s ease;
    background: white;
    display: inline-block;
}
.cat-tab:hover { border-color: var(--brand-orange); color: var(--brand-orange); }
.cat-tab.active {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: white;
}

/* ── Network page ───────────────────────────────────────────── */
.city-tab {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase;
    padding: 10px 28px;
    border: 1px solid #e5e5e5; color: #999;
    cursor: pointer; transition: all .2s ease;
    background: white;
}
.city-tab:hover { border-color: var(--brand-orange); color: var(--brand-orange); }
.city-tab.active { background: var(--brand-orange); border-color: var(--brand-orange); color: white; }

.alpha-btn {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px; font-weight: 700;
    border: 1px solid #e5e5e5; color: #aaa;
    cursor: pointer; transition: all .2s ease;
}
.alpha-btn:hover { border-color: var(--brand-orange); color: var(--brand-orange); }
.alpha-btn.active { background: #1a1a1a; border-color: #1a1a1a; color: white; }
.alpha-btn.disabled { opacity: .3; pointer-events: none; }

.search-input {
    font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 400;
    border: none; border-bottom: 2px solid #e5e5e5;
    background: transparent; color: #1a1a1a; outline: none; width: 100%;
    padding: 12px 0; transition: border-color .2s ease;
}
.search-input::placeholder { color: #bbb; }
.search-input:focus { border-color: var(--brand-orange); }

.detail-card { border-bottom: 1px solid #e5e5e5; transition: all .3s ease; }
.detail-card:hover { background: #fafafa; }
.detail-card:hover .card-name { color: var(--brand-orange); }
.detail-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #e5e5e5; }
.detail-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.detail-card:hover .detail-img img { transform: scale(1.06); }

.stat-item-light { border-right: 1px solid #e5e5e5; }
.stat-item-light:last-child { border-right: none; }

/* ── Post detail ────────────────────────────────────────────── */
.share-btn {
    width: 44px; height: 44px;
    border: 1px solid #e5e5e5;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: #888;
    transition: all .2s ease; cursor: pointer;
    text-decoration: none;
}
.share-btn:hover { border-color: var(--brand-orange); color: var(--brand-orange); }

.toc-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: #aaa; padding: 6px 0 6px 12px;
    border-left: 2px solid transparent;
    transition: all .2s ease; display: block;
    text-decoration: none;
}
.toc-link:hover, .toc-link.active {
    color: var(--brand-orange);
    border-left-color: var(--brand-orange);
}

/* ── CTA section ────────────────────────────────────────────── */
.cta-outfront-title { line-height: .9; letter-spacing: -.05em; }

/* ── About page ─────────────────────────────────────────────── */
.timeline-item { position: relative; padding-left: 2rem; }
.timeline-item::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 8px; height: 8px; background: var(--brand-orange);
}
.timeline-item::after {
    content: ''; position: absolute; left: 3px; top: 16px;
    width: 2px; height: calc(100% + 2rem); background: #e5e5e5;
}
.timeline-item:last-child::after { display: none; }

.value-card { border-top: 3px solid var(--brand-orange); transition: background .3s ease; }
.value-card:hover { background: #fff8f4; }

.client-logo {
    height: 40px; width: auto; object-fit: contain;
    filter: grayscale(100%) opacity(.35);
    transition: filter .3s ease;
}
.client-logo:hover { filter: grayscale(0%) opacity(1); }

/* ── Contact page ───────────────────────────────────────────── */
.form-field {
    width: 100%; background: transparent;
    border: none; border-bottom: 1px solid #e5e5e5;
    font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 400;
    color: #1a1a1a; padding: 14px 0; outline: none;
    transition: border-color .2s ease;
}
.form-field::placeholder { color: #bbb; }
.form-field:focus { border-color: var(--brand-orange); }
textarea.form-field { resize: none; min-height: 120px; }
select.form-field { cursor: pointer; }

.form-label {
    display: block; font-family: 'Space Grotesk', sans-serif;
    font-size: 10px; font-weight: 700; letter-spacing: .2em;
    text-transform: uppercase; color: #888; margin-bottom: 4px;
}

.dept-card { border: 1px solid #e5e5e5; transition: all .25s ease; cursor: pointer; }
.dept-card:hover { border-color: var(--brand-orange); background: #fff8f4; }
.dept-card:hover .dept-icon { color: var(--brand-orange); }
.dept-card:hover .dept-name { color: var(--brand-orange); }

.office-card { border-top: 3px solid var(--brand-orange); transition: background .3s ease; }
.office-card:hover { background: #fff8f4; }

.city-toggle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: .2em;
    text-transform: uppercase; padding: 10px 28px;
    border: 1px solid #e5e5e5; color: #aaa;
    cursor: pointer; transition: all .2s ease; background: white;
}
.city-toggle.active { background: #1a1a1a; border-color: #1a1a1a; color: white; }
.city-toggle:hover:not(.active) { border-color: var(--brand-orange); color: var(--brand-orange); }

.budget-btn {
    border: 1px solid #e5e5e5;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase;
    padding: 10px 20px; color: #aaa;
    transition: all .2s ease; cursor: pointer; background: white;
}
.budget-btn:hover { border-color: var(--brand-orange); color: var(--brand-orange); }
.budget-btn.selected { background: black; color: white; border-color: black; }

.btn-submit {
    background: black; color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
    padding: 18px 48px; border: none; cursor: pointer; transition: all .3s ease;
}
.btn-submit:hover { background: var(--brand-orange); }

.map-placeholder {
    background: #f0f0f0;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.map-placeholder::before {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(45deg, #e8e8e8, #e8e8e8 1px, #f0f0f0 1px, #f0f0f0 20px);
}

/* ── Prose / article body typography ────────────────────────── */
.holonet-prose { max-width: 720px; }
.holonet-prose p {
    font-size: 17px; line-height: 1.85;
    color: #444; margin-bottom: 1.75rem; font-weight: 300;
}
.holonet-prose h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px; font-weight: 700; color: #1a1a1a;
    margin: 3rem 0 1.25rem;
    text-transform: uppercase; letter-spacing: -.03em; line-height: 1.15;
}
.holonet-prose h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px; font-weight: 700; color: #1a1a1a;
    margin: 2.5rem 0 1rem;
    text-transform: uppercase; letter-spacing: -.02em;
}
.holonet-prose h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px; font-weight: 700; color: #1a1a1a;
    margin: 2rem 0 .75rem; text-transform: uppercase;
}
.holonet-prose blockquote {
    border-left: 4px solid var(--brand-orange);
    padding: 1.25rem 2rem; margin: 2.5rem 0;
    background: #fff8f4;
}
.holonet-prose blockquote p {
    font-size: 20px; font-weight: 600; color: #1a1a1a;
    font-style: italic; margin: 0; line-height: 1.6;
}
.holonet-prose ul { margin-bottom: 1.75rem; padding-left: 0; list-style: none; }
.holonet-prose ul li {
    font-size: 17px; line-height: 1.7; color: #444; font-weight: 300;
    padding: 6px 0 6px 24px; position: relative;
}
.holonet-prose ul li::before {
    content: ''; position: absolute; left: 0; top: 16px;
    width: 8px; height: 2px; background: var(--brand-orange);
}
.holonet-prose ol { margin-bottom: 1.75rem; padding-left: 1.5rem; }
.holonet-prose ol li {
    font-size: 17px; line-height: 1.7; color: #444; font-weight: 300;
    padding: 4px 0;
}
.holonet-prose a { color: var(--brand-orange); text-decoration: underline; }
.holonet-prose a:hover { opacity: .8; }
.holonet-prose strong { font-weight: 700; color: #1a1a1a; }
.holonet-prose em { font-style: italic; }
.holonet-prose img {
    width: 100%; height: auto; margin: 2.5rem 0; display: block;
}
.holonet-prose figure { margin: 2.5rem 0; }
.holonet-prose figcaption {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .2em;
    color: #aaa; margin-top: .75rem;
}
.holonet-prose hr {
    border: none; border-top: 1px solid #e5e5e5; margin: 3rem 0;
}
.holonet-prose table {
    width: 100%; border-collapse: collapse; margin-bottom: 1.75rem;
    font-size: 15px;
}
.holonet-prose th {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .2em;
    border-bottom: 2px solid #1a1a1a; padding: 10px 12px;
    text-align: left;
}
.holonet-prose td {
    border-bottom: 1px solid #e5e5e5; padding: 12px; color: #444;
}
.holonet-prose code {
    font-family: monospace; font-size: 14px;
    background: #f4f4f4; padding: 2px 6px; color: var(--brand-orange);
}
.holonet-prose pre {
    background: #1a1a1a; color: #f4f4f4;
    padding: 1.5rem; overflow-x: auto;
    font-family: monospace; font-size: 14px; margin-bottom: 1.75rem;
}

/* ── Elementor overrides ────────────────────────────────────── */
.elementor-section.elementor-section-full_width > .elementor-container {
    max-width: 100%;
}
.elementor-page .holonet-header { z-index: 9999; }

/* ── WP Admin bar offset ────────────────────────────────────── */
.admin-bar .holonet-header { top: 32px; }
@media (max-width: 782px) {
    .admin-bar .holonet-header { top: 46px; }
}

/* ── Custom logo ────────────────────────────────────────────── */
.custom-logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
    flex-shrink: 0;
}
.custom-logo {
    height: 48px;
    width: auto;
    max-height: 48px;
    object-fit: contain;
    display: block;
}
@media (max-width: 767px) {
    .custom-logo {
        height: 36px;
        max-height: 36px;
    }
}
