/*
Theme Name: Social Media Italia
Theme URI: https://www.digitalstrategyborzi.com
Author: Digital Strategy Borzì
Author URI: https://www.digitalstrategyborzi.com
Description: Tema editoriale per testate e blog di social media marketing. News, analisi e guide pratiche per i professionisti italiani. Tutto modificabile da WordPress: menu, articoli, hero, ticker, newsletter, banner partner e footer tramite il Personalizza (Customizer).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: social-media-italia
Tags: blog, news, editorial, custom-logo, custom-menu, featured-images, full-width-template, translation-ready
*/

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #F8F7FF; color: #0E0C1F; font-family: 'Plus Jakarta Sans', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

:root {
  --violet:       #4B35E0;
  --violet-deep:  #2D1FA8;
  --violet-mid:   #7B68EE;
  --violet-pale:  #EAE7FF;
  --coral:        #E8355A;
  --coral-pale:   #FFE2E7;
  --amber:        #F5A623;
  --amber-pale:   #FEF3C7;
  --ink:          #0E0C1F;
  --ink-mid:      #3A3655;
  --muted:        #8B87A6;
  --bg:           #F8F7FF;
  --paper:        #FFFFFF;
  --border:       #E6E2FF;
  --line:         #DDDAF5;
  --sans:         'Plus Jakarta Sans', sans-serif;
  --mono:         'DM Mono', monospace;
  --wrap:         1200px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--violet); font-weight: 500; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700; }
.skip-link:focus { left: 0; }

/* placeholder image bg */
.ph { background: linear-gradient(135deg, var(--violet-pale) 0%, rgba(75,53,224,0.05) 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; background-size: cover; background-position: center; }
.ph::after { content: attr(data-label); font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: rgba(14,12,31,0.3); background: rgba(255,255,255,0.65); padding: 4px 9px; border-radius: 5px; }
.ph.has-img::after { display: none; }

/* ===== NAV ===== */
header.nav { position: sticky; top: 0; z-index: 100; background: rgba(248,247,255,0.9); backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid var(--border); }
.nav-row { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img.custom-logo { width: 38px; height: 38px; border-radius: 10px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name .n1 { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; color: var(--ink); }
.brand-name .n2 { font-size: 9px; font-weight: 700; letter-spacing: 0.42em; text-transform: uppercase; color: var(--violet); margin-top: 3px; }
nav.links { display: flex; gap: 20px; margin-left: 4px; }
nav.links ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
nav.links a { font-weight: 600; font-size: 14px; color: var(--ink); opacity: 0.72; transition: opacity .15s, color .15s; white-space: nowrap; }
nav.links a:hover, nav.links li.current-menu-item > a { opacity: 1; color: var(--violet); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 7px; font-family: var(--sans); font-weight: 700; font-size: 13.5px; padding: 9px 18px; border-radius: 999px; cursor: pointer; border: none; transition: transform .12s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 2px 14px rgba(75,53,224,0.3); }
.btn-primary:hover { background: var(--violet-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); }

/* mobile menu toggle */
.menu-toggle { display: none; background: transparent; border: 1.5px solid var(--line); border-radius: 10px; width: 42px; height: 40px; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { stroke: var(--ink); }

/* ===== TICKER ===== */
.ticker { background: var(--ink); overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.04); }
.ticker-inner { display: flex; align-items: center; height: 42px; }
.ticker-badge { flex-shrink: 0; display: flex; align-items: center; gap: 8px; background: var(--coral); height: 42px; padding: 0 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; z-index: 2; }
.ticker-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.18; } }
.ticker-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-scroll { display: inline-flex; gap: 48px; white-space: nowrap; padding-left: 48px; animation: scrollticker 50s linear infinite; }
.ticker-scroll a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.76); display: inline-flex; align-items: center; gap: 10px; }
.ticker-scroll a::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--violet-mid); flex-shrink: 0; }
.ticker-scroll a:hover { color: #fff; }
@keyframes scrollticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== HERO ===== */
.hero { padding: 68px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; margin: 18px 0 0; text-wrap: balance; }
.hero h1 .accent  { color: var(--violet); }
.hero h1 .accent2 { color: var(--coral); }
.hero .lead { font-size: 18px; line-height: 1.6; color: var(--ink-mid); max-width: 520px; margin: 20px 0 0; font-weight: 500; }
.hero-actions { display: flex; gap: 11px; margin-top: 28px; flex-wrap: wrap; }
.hero-search { display: flex; align-items: center; gap: 9px; background: var(--paper); border: 1.5px solid var(--border); border-radius: 999px; padding: 5px 5px 5px 18px; max-width: 430px; margin-top: 22px; transition: border-color .15s; box-shadow: 0 1px 6px rgba(75,53,224,0.07); }
.hero-search:focus-within { border-color: var(--violet); }
.hero-search input { flex: 1; border: none; outline: none; font-family: var(--sans); font-size: 14px; color: var(--ink); background: transparent; }
.hero-search input::placeholder { color: var(--muted); }
.hero-search button { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--violet); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.hero-search button:hover { background: var(--violet-deep); }

/* stat card */
.stat-card { background: var(--violet); border-radius: 24px; padding: 36px 32px; color: #fff; position: relative; overflow: hidden; box-shadow: 0 24px 64px rgba(45,31,168,0.35); }
.sc-glow1 { position: absolute; top: -50px; right: -50px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,0.07); pointer-events: none; }
.sc-glow2 { position: absolute; bottom: -40px; left: -30px; width: 180px; height: 180px; border-radius: 50%; background: rgba(232,53,90,0.16); pointer-events: none; }
.stat-card > *:not(.sc-glow1):not(.sc-glow2) { position: relative; }
.stat-row { padding: 17px 0; }
.stat-row + .stat-row { border-top: 1px solid rgba(255,255,255,0.12); }
.stat-n { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat-n small { font-size: 20px; color: rgba(255,255,255,0.55); margin-left: 2px; }
.stat-l { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 5px; font-weight: 500; }
.platforms { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.pchip { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; font-family: var(--mono); letter-spacing: 0.04em; }
.pchip-v { background: rgba(255,255,255,0.13); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.pchip-c { background: var(--coral); color: #fff; }
.pchip-a { background: var(--amber); color: var(--ink); }

/* ===== TRENDING BAR ===== */
.trend-bar { background: var(--paper); border-bottom: 1px solid var(--border); padding: 11px 0; }
.trend-inner { display: flex; align-items: center; gap: 16px; overflow-x: auto; scrollbar-width: none; }
.trend-inner::-webkit-scrollbar { display: none; }
.trend-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; }
.trend-chips { display: flex; gap: 7px; flex-shrink: 0; }
.tchip { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 700; padding: 5px 13px; border-radius: 999px; border: 1.5px solid transparent; transition: border-color .15s, background .15s; cursor: pointer; white-space: nowrap; }
.tchip-v { background: var(--violet-pale); color: var(--violet); }
.tchip-v:hover { border-color: var(--violet); }
.tchip-c { background: var(--coral-pale); color: var(--coral); }
.tchip-c:hover { border-color: var(--coral); }
.tchip-a { background: var(--amber-pale); color: #92400E; }
.tchip-a:hover { border-color: var(--amber); }
.tchip-n { background: var(--bg); color: var(--ink-mid); border-color: var(--border); }
.tchip-n:hover { border-color: var(--violet-mid); color: var(--violet); }

/* ===== SECTIONS ===== */
section.block { padding: 60px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.sec-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 0; }
.sec-head .see-all { font-weight: 700; font-size: 13px; color: var(--violet); display: inline-flex; align-items: center; gap: 5px; transition: gap .15s; }
.sec-head .see-all:hover { gap: 8px; }

/* ===== ARTICLE CARDS ===== */
.feat { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.feat-col { display: flex; flex-direction: column; gap: 18px; }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; transition: transform .18s, box-shadow .18s; cursor: pointer; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(75,53,224,0.13); }
.card .ph { width: 100%; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cat-tag { display: inline-flex; align-items: center; align-self: flex-start; font-family: var(--mono); font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.tag-meta     { background: var(--violet-pale); color: var(--violet); }
.tag-tiktok   { background: var(--coral-pale); color: var(--coral); }
.tag-linkedin { background: #DDEFFF; color: #0A66C2; }
.tag-ai       { background: var(--amber-pale); color: #92400E; }
.tag-x        { background: #F0EFF5; color: #3A3655; }
.tag-content  { background: #E2F5EC; color: #0A6D3C; }
.card h3 { font-size: 17px; line-height: 1.26; letter-spacing: -0.01em; font-weight: 700; margin: 0; text-wrap: balance; }
.card h3 a { color: inherit; }
.card.lg h3 { font-size: 26px; line-height: 1.12; }
.card p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }
.meta-row { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 500; padding-top: 10px; border-top: 1px solid var(--border); }
.card.row-card { flex-direction: row; }
.card.row-card .ph { width: 120px; min-height: 100px; flex-shrink: 0; }
.card.row-card .card-body { padding: 15px 17px; gap: 8px; }
.card.row-card h3 { font-size: 15px; }

/* 3-col grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ===== NEWSLETTER ===== */
.nl-block { background: var(--ink); border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: 1.15fr 0.85fr; color: #fff; }
.nl-left { padding: 54px 50px; position: relative; }
.nl-left .glow { position: absolute; top: -60px; right: -40px; width: 280px; height: 280px; border-radius: 50%; background: rgba(75,53,224,0.22); filter: blur(50px); pointer-events: none; }
.nl-left > * { position: relative; }
.nl-kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--violet-mid); }
.nl-left h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.07; margin: 14px 0 0; }
.nl-left h2 .a { color: var(--violet-mid); }
.nl-perks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.nl-perks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: rgba(255,255,255,0.8); font-weight: 500; line-height: 1.4; }
.nl-perks li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--violet-mid); flex-shrink: 0; margin-top: 7px; }
.nl-right { background: var(--violet); padding: 54px 44px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.nl-form-label { font-weight: 700; font-size: 14px; color: rgba(255,255,255,0.88); }
.nl-field { display: flex; gap: 8px; margin-top: 6px; }
.nl-field input { flex: 1; border: none; border-radius: 10px; padding: 13px 16px; font-family: var(--sans); font-size: 14px; outline: none; color: var(--ink); min-width: 0; }
.nl-field input:focus { outline: 2px solid var(--violet-mid); outline-offset: 2px; }
.nl-submit { flex-shrink: 0; background: var(--coral); color: #fff; border: none; border-radius: 10px; padding: 0 20px; font-family: var(--sans); font-weight: 700; font-size: 14px; cursor: pointer; transition: background .15s; }
.nl-submit:hover { background: #c82647; }
.nl-social-proof { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 12px 14px; }
.nl-sp-ico { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nl-sp-b { font-size: 13px; font-weight: 700; }
.nl-sp-s { font-size: 11.5px; color: rgba(255,255,255,0.6); display: block; margin-top: 2px; }
.nl-fine { font-size: 11.5px; color: rgba(255,255,255,0.45); }

/* ===== CATEGORIES ===== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-card { border: 1px solid var(--border); border-radius: 18px; padding: 22px 22px 20px; background: var(--paper); transition: border-color .15s, transform .15s; cursor: pointer; }
.cat-card:hover { border-color: var(--violet); transform: translateY(-2px); }
.cat-top { display: flex; align-items: center; justify-content: space-between; }
.cat-ico { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--violet-pale); }
.cat-ico svg { stroke: var(--violet); }
.cat-count { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.cat-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin: 15px 0 0; }
.cat-card h3 a { color: inherit; }
.cat-card .cat-desc { font-size: 13px; line-height: 1.5; color: var(--ink-mid); margin: 9px 0 0; font-weight: 500; }
.cat-card ul { list-style: none; padding: 0; margin: 11px 0 0; display: flex; flex-direction: column; gap: 8px; }
.cat-card li { font-size: 13px; line-height: 1.4; color: var(--ink-mid); padding-left: 13px; position: relative; font-weight: 500; transition: color .12s; }
.cat-card li::before { content: ''; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--dot, var(--violet)); }
.cat-card li a { color: inherit; }
.cat-card li:hover { color: var(--violet); }

/* ===== AGENCY BANNERS ===== */
.agency-section { padding: 0 0 60px; }
.agency-intro { margin-bottom: 22px; }
.agency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.agency-card { border-radius: 24px; padding: 44px 44px 44px; color: #fff; position: relative; overflow: hidden; }
.agency-card .bg-noise { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 18px 18px; }
.agency-card > .inner { position: relative; }

.agency-card .a-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.agency-card .a-mark { width: 46px; height: 46px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex-shrink: 0; overflow: hidden; }
.agency-card .a-mark img { width: 100%; height: 100%; object-fit: cover; }
.agency-card .a-mname { font-size: 13px; font-weight: 700; opacity: 0.88; }
.agency-card .a-msub { font-size: 11px; font-family: var(--mono); letter-spacing: 0.1em; opacity: 0.55; text-transform: uppercase; margin-top: 2px; }

.agency-card .a-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.65; margin-bottom: 10px; }
.agency-card h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
.agency-card p { font-size: 14.5px; line-height: 1.6; margin: 12px 0 0; opacity: 0.8; font-weight: 500; }
.a-btn { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; padding: 12px 22px; border-radius: 999px; cursor: pointer; border: none; transition: transform .12s, opacity .15s; margin-top: 22px; }
.a-btn:hover { transform: translateY(-2px); opacity: 0.9; }

.card-borzi { background: linear-gradient(140deg, #0F1E3A 0%, #1A3056 100%); }
.card-borzi .a-mark { background: var(--violet); color: #fff; }
.card-borzi .a-btn { background: #fff; color: #0F1E3A; }

.card-colibri { background: linear-gradient(140deg, #A83C22 0%, #C8603C 100%); }
.card-colibri .a-mark { background: rgba(255,255,255,0.18); color: #fff; font-size: 18px; }
.card-colibri .a-btn { background: var(--ink); color: #fff; }

/* ===== SINGLE / ARCHIVE / PAGE ===== */
.page-head { padding: 52px 0 8px; }
.page-head .crumbs { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; }
.page-head .crumbs a { color: var(--violet); }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; margin: 12px 0 0; max-width: 900px; text-wrap: balance; }
.page-head .lead { font-size: 17px; color: var(--ink-mid); line-height: 1.6; max-width: 720px; margin: 16px 0 0; font-weight: 500; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 18px; flex-wrap: wrap; }
.post-hero { width: 100%; max-height: 520px; border-radius: 20px; overflow: hidden; margin: 28px 0 0; }
.post-hero .ph { height: 420px; }

.article-body { max-width: 720px; margin: 40px auto 0; font-size: 17.5px; line-height: 1.75; color: var(--ink-mid); }
.article-body > * { margin: 0 0 22px; }
.article-body h2 { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 40px 0 14px; line-height: 1.18; }
.article-body h3 { font-size: 21px; font-weight: 700; color: var(--ink); margin: 32px 0 10px; }
.article-body a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li { margin-bottom: 9px; }
.article-body blockquote { border-left: 4px solid var(--violet); background: var(--violet-pale); margin: 28px 0; padding: 18px 24px; border-radius: 0 12px 12px 0; font-size: 18px; color: var(--ink); font-weight: 500; }
.article-body img { border-radius: 14px; }
.article-body figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.article-body code { font-family: var(--mono); background: var(--violet-pale); padding: 2px 6px; border-radius: 5px; font-size: 0.88em; }
.article-body pre { background: var(--ink); color: #fff; padding: 20px; border-radius: 14px; overflow-x: auto; font-family: var(--mono); font-size: 14px; }

.entry-tags { max-width: 720px; margin: 36px auto 0; display: flex; gap: 8px; flex-wrap: wrap; }
.entry-share { max-width: 720px; margin: 28px auto 0; padding-top: 24px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }

/* pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 46px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 11px; border: 1.5px solid var(--border); background: var(--paper); font-weight: 700; font-size: 14px; color: var(--ink-mid); }
.pagination .page-numbers.current { background: var(--violet); color: #fff; border-color: var(--violet); }
.pagination a.page-numbers:hover { border-color: var(--violet); color: var(--violet); }

/* widgets / sidebar (footer-less generic) */
.content-area { padding: 8px 0 60px; }

/* ===== FOOTER ===== */
footer.site-footer { background: var(--ink); color: #fff; padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand .f-logo { display: flex; align-items: center; gap: 10px; }
.foot-brand .f-logo img { width: 34px; height: 34px; border-radius: 9px; }
.foot-brand .f-name { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.foot-brand .f-sub { font-size: 8.5px; font-weight: 700; letter-spacing: 0.4em; text-transform: uppercase; color: var(--violet-mid); margin-top: 3px; }
.foot-brand p { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,0.52); max-width: 300px; margin: 16px 0 0; }
.foot-col h4 { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--violet-mid); margin: 0 0 14px; font-weight: 700; font-family: var(--mono); }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.68); margin-bottom: 10px; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.07); font-size: 12.5px; color: rgba(255,255,255,0.38); flex-wrap: wrap; }
.foot-partners { display: flex; align-items: center; gap: 14px; }
.foot-partners a { color: rgba(255,255,255,0.52); font-size: 12.5px; font-weight: 600; transition: color .15s; }
.foot-partners a:hover { color: #fff; }

/* success state */
.nl-success { display: none; align-items: center; gap: 12px; background: rgba(75,53,224,0.15); border: 1px solid rgba(75,53,224,0.4); border-radius: 12px; padding: 14px 18px; }
.nl-success.show { display: flex; }

/* WP core alignment helpers */
.alignwide { max-width: 1040px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 6px 24px 12px 0; }
.alignright { float: right; margin: 6px 0 12px 24px; }
.wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; }
.sticky, .gallery-caption, .bypostauthor { }

@media (max-width: 960px) {
  nav.links, .nav-right .btn-ghost { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid, .feat, .nl-block, .agency-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .stat-card { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  /* mobile drawer */
  nav.links.open { display: block; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--border); padding: 14px 32px 20px; box-shadow: 0 12px 30px rgba(75,53,224,0.12); }
  nav.links.open ul { flex-direction: column; gap: 4px; }
  nav.links.open a { display: block; padding: 10px 0; font-size: 15px; opacity: 1; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .cat-grid, .grid-3 { grid-template-columns: 1fr; }
  .nl-left, .nl-right { padding: 36px 28px; }
}
