/* Additions on top of the original page styles (language switch, icon thumbnails, etc.) */

[hidden] { display: none !important; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10001; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* Right-hand nav group: language switch, theme toggle, CTA, burger */
.nav-right { position: absolute; right: 52px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 12px; z-index: 10; }
.nav-right .theme-toggle, .nav-right .nav-burger { position: static !important; transform: none !important; }
.nav-right .nav-cta-override { position: relative; }
.lang-switch { display: flex; align-items: center; gap: 2px; border: 1px solid var(--border2, #c8c0b0); border-radius: 100px; padding: 2px; }
.lang-switch a { font-family: 'Unbounded', sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 0.08em; color: var(--muted2, #5a4e40); text-decoration: none; padding: 6px 9px; border-radius: 100px; transition: background 0.2s, color 0.2s; }
.lang-switch a:hover { color: var(--text, #18140e); }
.lang-switch a[aria-current="true"] { background: #e05c08; color: #fff; }
[data-theme="dark"] .lang-switch { border-color: #3c3428; }
[data-theme="dark"] .lang-switch a { color: #c0b8a0; }
.nav-mobile .lang-switch { align-self: flex-start; margin: 8px 0 0 14px; }
.nav-mobile .lang-switch a { padding: 6px 10px; font-size: 11px; }

@media (max-width: 1100px) {
  body > nav ul { display: none !important; }
  .nav-burger { display: flex !important; }
}
@media (max-width: 768px) {
  .nav-right { right: 16px; }
  .nav-right .lang-switch { display: none; }
}

/* Case thumbnails without screenshots: striped pattern + icon or metric */
.case-thumb-icon, .case-img-icon { position: relative; z-index: 1; width: 60px; height: 60px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; }
.case-thumb-icon svg, .case-img-icon svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.case-metric { position: relative; z-index: 1; text-align: center; }
.case-metric strong { display: block; font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 54px; line-height: 1; color: var(--accent); }
.case-metric span { display: block; margin-top: 10px; font-size: 12px; color: var(--muted2); background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: 4px 12px; }
.case-img-area.case-pattern { display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); }
.case-img-area.case-pattern::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, var(--surface2) 0px, var(--surface2) 12px, var(--border) 12px, var(--border) 13px); }
.case-badge.new { background: var(--accent-dim); color: var(--accent); }

/* Businesses of every size (home) */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.who-card { background: var(--surface); padding: 36px 30px; transition: background 0.3s; position: relative; overflow: hidden; }
.who-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent2)); opacity: 0; transition: opacity 0.3s; }
.who-card:hover { background: var(--surface2); }
.who-card:hover::after { opacity: 1; }
.who-size { font-family: 'Unbounded', sans-serif; font-size: 11px; color: var(--accent); font-weight: 600; letter-spacing: 0.12em; margin-bottom: 18px; }
.who-name { font-family: 'Unbounded', sans-serif; font-size: 14px; font-weight: 400; line-height: 1.3; margin-bottom: 12px; }
.who-desc { font-size: 13px; color: var(--muted2); line-height: 1.7; }
@media (max-width: 980px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .who-grid { grid-template-columns: 1fr; } }

/* Two-person team */
.team-mini-grid.duo { grid-template-columns: repeat(2, minmax(0, 300px)) !important; }
.team-grid.duo { grid-template-columns: repeat(2, minmax(0, 380px)) !important; justify-content: center; }
@media (max-width: 560px) {
  .team-mini-grid.duo { grid-template-columns: repeat(2, 1fr) !important; }
  .team-grid.duo { grid-template-columns: 1fr !important; }
}

/* Contact form additions */
.budget-chip input { position: absolute; opacity: 0; pointer-events: none; }
.budget-chip:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact-item.static { cursor: default; }
.contact-item.static:hover { color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: rgba(224, 92, 8, 0.08); border: 1px solid rgba(224, 92, 8, 0.25); color: var(--accent2); font-size: 13px; line-height: 1.5; }
.form-error.show { display: block; }
.form-error a { color: inherit; font-weight: 600; }
.form-submit[disabled] { opacity: 0.6; cursor: progress; }
.form-success.show { display: block; animation: fadeIn 0.5s ease forwards; }

/* Privacy page nav */
.nav-right.privacy { right: 52px; }
.privacy .controller { color: var(--muted2); }
@media (max-width: 640px) {
  .nav-right.privacy { right: 20px; }
  .nav-right.privacy .nav-back { display: none; }
}

/* 404 */
.notfound { padding: 200px 52px 120px; max-width: 1360px; margin: 0 auto; text-align: center; }
.notfound .page-title { font-family: 'Unbounded', sans-serif; font-size: clamp(32px, 4vw, 58px); font-weight: 400; margin-bottom: 20px; }
.notfound p { color: var(--muted2); margin-bottom: 36px; }
@media (max-width: 768px) {
  body > nav > a[aria-label] { left: 16px !important; }
}
/* WhatsApp: nav icon (original Telegram slot) and floating button */
body > nav ul a.nav-wa { display: flex !important; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0 !important; border-radius: 50% !important; border: 1px solid var(--border); color: #6a5e52; }
body > nav ul a.nav-wa svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
body > nav ul a.nav-wa::before { border-radius: 50%; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 9000; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0, 0, 0, 0.12); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.wa-float:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.12); }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.modal-overlay.open ~ .wa-float { display: none; }
@media (max-width: 768px) { .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; } }
