/*
Theme Name: Web Tribe
Theme URI: https://webtribe.si
Author: Web Tribe
Author URI: https://webtribe.si
Description: Custom, lightweight, conversion-focused theme for the Web Tribe digital agency. Hand-coded — no page builder. Mobile-first, accessible, Core Web Vitals optimized. SL/EN ready (Polylang/WPML).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: web-tribe
Tags: business, portfolio, custom-colors, translation-ready, custom-menu
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  /* Brand colors */
  --wt-navy-900: #0A1128;
  --wt-navy-800: #121A36;
  --wt-navy-700: #1C2747;
  --wt-blue-500: #2D6CFF;
  --wt-blue-400: #5B8CFF;
  --wt-cyan-400: #27D9FF;
  --wt-white: #FFFFFF;
  --wt-gray-50: #F5F7FB;
  --wt-gray-100: #EBEFF6;
  --wt-gray-300: #AAB3C5;
  --wt-gray-600: #5A6478;
  --wt-success: #1FC77E;

  /* Semantic */
  --wt-bg: var(--wt-white);
  --wt-text: #1A2238;
  --wt-text-muted: var(--wt-gray-600);
  --wt-accent: var(--wt-blue-500);

  /* Typography */
  --wt-font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wt-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --wt-container: 1200px;
  --wt-container-narrow: 860px;
  --wt-gutter: 24px;
  --wt-radius: 16px;
  --wt-radius-sm: 10px;
  --wt-section-y: 112px;

  /* Shadows */
  --wt-shadow: 0 8px 30px rgba(10, 17, 40, .08);
  --wt-shadow-lg: 0 20px 50px rgba(10, 17, 40, .14);

  /* Motion */
  --wt-ease: cubic-bezier(.2, .7, .3, 1);
  --wt-speed: .2s;
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--wt-font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--wt-text);
  background: var(--wt-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--wt-accent); text-decoration: none; transition: color var(--wt-speed) var(--wt-ease); }
a:hover { color: var(--wt-blue-400); }
ul, ol { padding-left: 1.2em; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--wt-font-head); font-weight: 700; line-height: 1.15; color: var(--wt-text); letter-spacing: -.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--wt-text-muted); }

:focus-visible { outline: 3px solid var(--wt-blue-500); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--wt-navy-900); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Visually hidden but accessible to screen readers */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: static !important; width: auto; height: auto; clip: auto; white-space: normal;
}

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */
.wt-container { width: 100%; max-width: var(--wt-container); margin-inline: auto; padding-inline: var(--wt-gutter); }
.wt-narrow { max-width: var(--wt-container-narrow); }
.wt-section { padding-block: var(--wt-section-y); }
.wt-section--tight { padding-block: 72px; }

/* Background variants */
.wt-bg-dark { background: var(--wt-navy-900); color: #fff; }
.wt-bg-alt { background: var(--wt-gray-50); }

/* Headings on dark backgrounds must be light (the global h1–h4 color rule
   otherwise leaves dark text on dark heroes — too close to the background). */
.wt-bg-dark h1, .wt-bg-dark h2, .wt-bg-dark h3, .wt-bg-dark h4,
.wt-hero h1, .wt-hero h2, .wt-hero h3,
.wt-pagehero h1, .wt-pagehero h2,
.wt-project-hero h1, .wt-project-hero h2 { color: #fff; }
.wt-bg-dark p { color: var(--wt-gray-300); }

/* …but a white card (e.g. pricing) sitting on a dark section keeps dark headings. */
.wt-bg-dark .wt-price h3 { color: var(--wt-text); }

.wt-grid { display: grid; gap: 28px; }
.wt-grid-2 { grid-template-columns: repeat(2, 1fr); }
.wt-grid-3 { grid-template-columns: repeat(3, 1fr); }
.wt-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   4. Typographic helpers
   ========================================================================== */
.wt-eyebrow {
  display: inline-block; font-family: var(--wt-font-body); font-weight: 600;
  font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--wt-blue-500); margin-bottom: 14px;
}
.wt-bg-dark .wt-eyebrow { color: var(--wt-cyan-400); }
.wt-lead { font-size: 1.1875rem; color: var(--wt-text-muted); }
.wt-bg-dark .wt-lead { color: var(--wt-gray-300); }
.wt-section-head { max-width: 720px; margin-bottom: 56px; }
.wt-section-head.is-center { margin-inline: auto; text-align: center; }
.wt-section-head h2 { margin-bottom: 16px; }

/* ==========================================================================
   5. Buttons
   ========================================================================== */
.wt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--wt-font-body); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 16px 28px; border-radius: var(--wt-radius-sm); border: 1.5px solid transparent;
  transition: transform var(--wt-speed) var(--wt-ease), box-shadow var(--wt-speed) var(--wt-ease), background var(--wt-speed) var(--wt-ease), color var(--wt-speed) var(--wt-ease), border-color var(--wt-speed) var(--wt-ease);
  cursor: pointer; text-align: center;
}
.wt-btn--primary { background: var(--wt-blue-500); color: #fff; box-shadow: 0 6px 18px rgba(45, 108, 255, .35); }
.wt-btn--primary:hover { background: var(--wt-blue-400); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(45, 108, 255, .45); }
.wt-btn--outline { background: transparent; border-color: rgba(28, 39, 71, .18); color: var(--wt-blue-500); }
.wt-btn--outline:hover { border-color: var(--wt-blue-500); color: var(--wt-blue-500); background: rgba(45, 108, 255, .06); }
.wt-bg-dark .wt-btn--outline { border-color: rgba(255, 255, 255, .25); color: #fff; }
.wt-bg-dark .wt-btn--outline:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.wt-btn--block { width: 100%; }
.wt-btn--lg { padding: 18px 34px; font-size: 1.0625rem; }

/* ==========================================================================
   6. Header
   ========================================================================== */
.wt-header {
  position: sticky; top: 0; z-index: 120; width: 100%;
  transition: background var(--wt-speed) var(--wt-ease), box-shadow var(--wt-speed) var(--wt-ease);
  background: var(--wt-navy-900);
}
.wt-header.is-transparent { background: transparent; position: fixed; }
.wt-header.is-stuck { background: var(--wt-navy-900); box-shadow: 0 4px 24px rgba(10, 17, 40, .35); }
.wt-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.wt-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--wt-font-head); font-weight: 800; font-size: 1.3rem; color: #fff; letter-spacing: -.02em; }
.wt-logo:hover { color: #fff; }
.wt-logo__mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--wt-blue-500), var(--wt-cyan-400)); display: grid; place-items: center; color: #fff; font-size: 1rem; }

.wt-nav { display: flex; align-items: center; gap: 8px; }
.wt-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.wt-nav a { display: block; padding: 10px 14px; color: var(--wt-gray-300); font-weight: 500; font-size: .9375rem; border-radius: 8px; }
.wt-nav a:hover, .wt-nav .current-menu-item > a { color: #fff; background: rgba(255, 255, 255, .07); }
.wt-nav .sub-menu { display: none; }

.wt-header__actions { display: flex; align-items: center; gap: 14px; }

/* Language switcher */
.wt-lang { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .875rem; }
.wt-lang li { display: inline; }
.wt-lang a { color: var(--wt-gray-300); font-weight: 600; padding: 4px 6px; }
.wt-lang a:hover, .wt-lang .current-lang a { color: #fff; }
.wt-lang__sep { color: var(--wt-navy-700); }

/* Mobile menu toggle */
.wt-burger { display: none; width: 44px; height: 44px; background: transparent; border: 0; position: relative; }
.wt-burger span, .wt-burger span::before, .wt-burger span::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform var(--wt-speed) var(--wt-ease), opacity var(--wt-speed);
}
.wt-burger span { top: 21px; }
.wt-burger span::before { top: -7px; }
.wt-burger span::after { top: 7px; }
.wt-burger[aria-expanded="true"] span { background: transparent; }
.wt-burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.wt-burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay menu is hidden on desktop; it becomes a full-screen overlay
   only inside the mobile media query below. */
.wt-mobile-menu { display: none; }

/* ==========================================================================
   7. Hero
   ========================================================================== */
.wt-hero { position: relative; background: var(--wt-navy-900); color: #fff; padding-top: 150px; padding-bottom: var(--wt-section-y); overflow: hidden; }
.wt-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(45, 108, 255, .28), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(39, 217, 255, .14), transparent 55%);
}
.wt-hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.wt-hero h1 { margin-bottom: 20px; }
.wt-hero p { font-size: 1.1875rem; color: var(--wt-gray-300); max-width: 46ch; margin-bottom: 32px; }
.wt-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.wt-hero__trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--wt-gray-300); font-size: .9375rem; }
.wt-hero__media { position: relative; }
.wt-hero__media img { border-radius: var(--wt-radius); box-shadow: var(--wt-shadow-lg); border: 1px solid var(--wt-navy-700); }
.wt-stars { color: #FFC857; letter-spacing: 2px; }

/* CSS-only browser mockup (hero visual when no image is set) */
.wt-mockup { width: 100%; max-width: 560px; margin-left: auto; background: var(--wt-navy-800); border: 1px solid var(--wt-navy-700); border-radius: var(--wt-radius); box-shadow: var(--wt-shadow-lg); overflow: hidden; }
.wt-mockup__bar { display: flex; gap: 7px; padding: 14px 16px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--wt-navy-700); }
.wt-mockup__bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--wt-navy-700); }
.wt-mockup__bar span:first-child { background: #FF5F57; }
.wt-mockup__bar span:nth-child(2) { background: #FEBC2E; }
.wt-mockup__bar span:nth-child(3) { background: #28C840; }
.wt-mockup__body { padding: 26px; }
.wt-mockup__hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: end; margin-bottom: 22px; }
.wt-mockup__lines { display: grid; gap: 11px; }
.wt-mockup__lines span { display: block; height: 11px; border-radius: 6px; background: var(--wt-navy-700); }
.wt-mockup__lines .l1 { width: 80%; height: 16px; background: linear-gradient(90deg, var(--wt-blue-400), var(--wt-cyan-400)); }
.wt-mockup__lines .l2 { width: 100%; }
.wt-mockup__lines .l3 { width: 65%; }
.wt-mockup__lines .btn { width: 42%; height: 26px; border-radius: 8px; background: var(--wt-blue-500); margin-top: 6px; }
.wt-mockup__chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.wt-mockup__chart span { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--wt-blue-400), rgba(45,108,255,.25)); }
.wt-mockup__chart span:last-child { background: linear-gradient(180deg, var(--wt-cyan-400), rgba(39,217,255,.25)); }
.wt-mockup__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wt-mockup__cards span { height: 56px; border-radius: 10px; background: var(--wt-navy-700); border: 1px solid rgba(255,255,255,.04); }

/* ==========================================================================
   8. Cards
   ========================================================================== */
.wt-card { background: #fff; border: 1px solid var(--wt-gray-100); border-radius: var(--wt-radius); padding: 32px; box-shadow: var(--wt-shadow); transition: transform var(--wt-speed) var(--wt-ease), box-shadow var(--wt-speed) var(--wt-ease), border-color var(--wt-speed) var(--wt-ease); }
.wt-card:hover { transform: translateY(-4px); box-shadow: var(--wt-shadow-lg); }
.wt-bg-dark .wt-card { background: var(--wt-navy-800); border-color: var(--wt-navy-700); box-shadow: none; }
.wt-bg-dark .wt-card:hover { border-color: var(--wt-blue-500); }

.wt-icon { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: rgba(45, 108, 255, .1); color: var(--wt-blue-500); margin-bottom: 20px; }
.wt-bg-dark .wt-icon { background: rgba(39, 217, 255, .12); color: var(--wt-cyan-400); }
.wt-icon svg { width: 26px; height: 26px; }
.wt-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.wt-card p { font-size: 1rem; }
.wt-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .9375rem; }

/* ==========================================================================
   9. Process
   ========================================================================== */
.wt-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.wt-step { position: relative; }
.wt-step__num { font-family: var(--wt-font-head); font-weight: 800; font-size: 1rem; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--wt-blue-500); color: #fff; margin-bottom: 18px; }
.wt-step h4 { color: #fff; margin-bottom: 8px; }
.wt-step p { font-size: .9375rem; }

/* ==========================================================================
   10. Portfolio cards
   ========================================================================== */
.wt-project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.wt-project { background: #fff; border: 1px solid var(--wt-gray-100); border-radius: var(--wt-radius); overflow: hidden; box-shadow: var(--wt-shadow); transition: transform var(--wt-speed) var(--wt-ease), box-shadow var(--wt-speed) var(--wt-ease); }
.wt-project:hover { transform: translateY(-4px); box-shadow: var(--wt-shadow-lg); }
.wt-project__thumb { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--wt-gray-100); }
.wt-project__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--wt-ease); }
.wt-project:hover .wt-project__thumb img { transform: scale(1.05); }
.wt-badge { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: rgba(45, 108, 255, .1); color: var(--wt-blue-500); }
.wt-project__thumb .wt-badge { position: absolute; top: 14px; left: 14px; background: rgba(10, 17, 40, .82); color: #fff; backdrop-filter: blur(4px); }
.wt-project__body { padding: 24px; }
.wt-project__body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.wt-project__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8125rem; color: var(--wt-text-muted); margin-bottom: 12px; }
.wt-project__meta strong { color: var(--wt-text); font-weight: 600; }
.wt-project__body p { font-size: .9375rem; }

/* ==========================================================================
   11. Pricing
   ========================================================================== */
.wt-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.wt-price { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--wt-gray-100); border-radius: var(--wt-radius); padding: 36px 30px; box-shadow: var(--wt-shadow); }
.wt-price.is-featured { border: 2px solid var(--wt-blue-500); box-shadow: var(--wt-shadow-lg); position: relative; }
.wt-price__tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--wt-blue-500); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.wt-price h3 { font-size: 1.375rem; margin-bottom: 6px; }
.wt-price__sub { font-size: .9375rem; color: var(--wt-text-muted); margin-bottom: 20px; }
.wt-price__amount { font-family: var(--wt-font-head); font-weight: 800; font-size: 2.75rem; color: var(--wt-text); line-height: 1; margin-bottom: 6px; }
.wt-price__amount small { font-size: 1rem; font-weight: 600; color: var(--wt-text-muted); }
.wt-price ul { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.wt-price li { position: relative; padding-left: 30px; font-size: .9375rem; color: var(--wt-text); }
.wt-price li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(31, 199, 126, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231FC77E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat; }
.wt-price .wt-btn { margin-top: auto; }

/* Wide package cards (Growth / Custom) */
.wt-price-wide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 28px; }
.wt-price-wide .wt-price { flex-direction: row; flex-wrap: wrap; gap: 8px 32px; align-items: flex-start; }
.wt-price-wide .wt-price > div { flex: 1 1 240px; }

/* ==========================================================================
   12. Testimonials
   ========================================================================== */
.wt-quote { background: var(--wt-navy-800); border: 1px solid var(--wt-navy-700); border-radius: var(--wt-radius); padding: 32px; }
.wt-quote__stars { color: #FFC857; letter-spacing: 2px; margin-bottom: 16px; }
.wt-quote blockquote { font-size: 1.0625rem; color: #fff; line-height: 1.6; margin: 0 0 20px; }
.wt-quote__author { font-size: .9375rem; color: var(--wt-gray-300); }
.wt-quote__author strong { color: #fff; display: block; }

/* ==========================================================================
   13. Statistics
   ========================================================================== */
.wt-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.wt-stat__num { font-family: var(--wt-font-head); font-weight: 800; font-size: clamp(2.25rem, 4vw, 3rem); background: linear-gradient(135deg, var(--wt-blue-400), var(--wt-cyan-400)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.wt-stat__label { color: var(--wt-gray-300); font-size: .9375rem; margin-top: 8px; }

/* ==========================================================================
   14. FAQ (accordion via <details>)
   ========================================================================== */
.wt-faq { max-width: 820px; margin-inline: auto; }
.wt-faq details { border: 1px solid var(--wt-gray-100); border-radius: var(--wt-radius-sm); margin-bottom: 14px; background: #fff; overflow: hidden; }
.wt-faq summary { list-style: none; cursor: pointer; padding: 22px 24px; font-family: var(--wt-font-head); font-weight: 600; font-size: 1.0625rem; color: var(--wt-text); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.wt-faq summary::-webkit-details-marker { display: none; }
.wt-faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--wt-blue-500); transition: transform var(--wt-speed) var(--wt-ease); }
.wt-faq details[open] summary::after { transform: rotate(45deg); }
.wt-faq details > div { padding: 0 24px 22px; }
.wt-faq details p { font-size: 1rem; }

/* ==========================================================================
   14b. Merch & print
   ========================================================================== */
.wt-merch { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.wt-merch__copy h2 { margin-bottom: 16px; }
.wt-checklist { list-style: none; margin: 24px 0 32px; padding: 0; display: grid; gap: 14px; }
.wt-checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--wt-text); font-weight: 500; }
.wt-checklist li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--wt-blue-500); }
.wt-merch__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.wt-merch__media { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.wt-merch-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  aspect-ratio: 1 / 1; text-align: center; font-weight: 600; color: var(--wt-text);
  background: linear-gradient(160deg, var(--wt-navy-900), var(--wt-navy-700)); color: #fff;
  border-radius: var(--wt-radius); box-shadow: var(--wt-shadow);
}
.wt-merch-tile .wt-icon { background: rgba(255, 255, 255, .1); color: #fff; margin-bottom: 0; }
.wt-merch-tile:nth-child(2), .wt-merch-tile:nth-child(3) { background: linear-gradient(160deg, var(--wt-blue-500), var(--wt-cyan-400)); }

/* ==========================================================================
   15. CTA band
   ========================================================================== */
.wt-cta { background: linear-gradient(120deg, var(--wt-blue-500), var(--wt-cyan-400)); color: #fff; text-align: center; }
.wt-cta h2 { color: #fff; margin-bottom: 14px; }
.wt-cta p { color: rgba(255, 255, 255, .9); max-width: 52ch; margin: 0 auto 28px; }
.wt-cta .wt-btn--primary { background: #fff; color: var(--wt-navy-900); box-shadow: 0 8px 24px rgba(10, 17, 40, .2); }
.wt-cta .wt-btn--primary:hover { background: var(--wt-navy-900); color: #fff; }

/* ==========================================================================
   16. Forms
   ========================================================================== */
.wt-form { display: grid; gap: 18px; }
.wt-field { display: grid; gap: 7px; }
.wt-field label { font-size: .875rem; font-weight: 600; color: var(--wt-text); }
.wt-field input, .wt-field select, .wt-field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--wt-gray-100);
  border-radius: var(--wt-radius-sm); background: var(--wt-gray-50); color: var(--wt-text); transition: border-color var(--wt-speed) var(--wt-ease), background var(--wt-speed) var(--wt-ease);
}
.wt-field input:focus, .wt-field select:focus, .wt-field textarea:focus { outline: none; border-color: var(--wt-blue-500); background: #fff; }
.wt-field textarea { min-height: 130px; resize: vertical; }
.wt-field--checkbox { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.wt-field--checkbox input { width: auto; margin-top: 3px; }
.wt-field--checkbox label { font-weight: 400; font-size: .875rem; color: var(--wt-text-muted); }
.wt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wt-form__note { font-size: .8125rem; color: var(--wt-text-muted); }
.wt-alert { padding: 14px 18px; border-radius: var(--wt-radius-sm); font-size: .9375rem; }
.wt-alert--ok { background: rgba(31, 199, 126, .12); color: #0f7a4d; }
.wt-alert--err { background: rgba(255, 90, 90, .12); color: #b3261e; }

/* Contact layout */
.wt-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
#kontakt { scroll-margin-top: 100px; }
.wt-contact__info ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.wt-contact__info li { display: flex; gap: 12px; align-items: center; color: var(--wt-text-muted); }
.wt-contact__info li svg { width: 20px; height: 20px; flex: none; color: var(--wt-blue-500); }
.wt-contact__card { background: #fff; border: 1px solid var(--wt-gray-100); border-radius: var(--wt-radius); padding: 36px; box-shadow: var(--wt-shadow); }

/* ==========================================================================
   17. Single project
   ========================================================================== */
.wt-project-hero { background: var(--wt-navy-900); color: #fff; padding-top: 140px; padding-bottom: 64px; }
.wt-project-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.wt-project-hero h1 { margin: 14px 0 20px; }
.wt-project-hero__meta { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.wt-meta-item { font-size: .875rem; }
.wt-meta-item span { display: block; color: var(--wt-gray-300); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; }
.wt-meta-item strong { color: #fff; font-weight: 600; }
.wt-project-hero__media img { border-radius: var(--wt-radius); border: 1px solid var(--wt-navy-700); }

.wt-project-overview { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.wt-sidecard { position: sticky; top: 100px; background: #fff; border: 1px solid var(--wt-gray-100); border-radius: var(--wt-radius); padding: 28px; box-shadow: var(--wt-shadow); display: grid; gap: 16px; }
.wt-sidecard dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--wt-text-muted); margin-bottom: 3px; }
.wt-sidecard dd { margin: 0 0 14px; font-weight: 600; }
.wt-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.wt-tags span { font-size: .8125rem; padding: 5px 11px; border-radius: 999px; background: var(--wt-gray-50); border: 1px solid var(--wt-gray-100); color: var(--wt-text); }
.wt-prose h2 { margin: 36px 0 14px; }
.wt-prose h2:first-child { margin-top: 0; }
.wt-prose p { margin-bottom: 16px; }
.wt-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wt-gallery a { border-radius: var(--wt-radius-sm); overflow: hidden; display: block; }
.wt-gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .4s var(--wt-ease); }
.wt-gallery a:hover img { transform: scale(1.05); }

.wt-prevnext { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wt-prevnext a { font-weight: 600; }

/* ==========================================================================
   18. Filter bar
   ========================================================================== */
.wt-filterbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.wt-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.wt-pill { font-size: .875rem; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--wt-gray-100); background: #fff; color: var(--wt-text); cursor: pointer; transition: all var(--wt-speed) var(--wt-ease); }
.wt-pill:hover { border-color: var(--wt-blue-500); color: var(--wt-blue-500); }
.wt-pill.is-active { background: var(--wt-navy-900); border-color: var(--wt-navy-900); color: #fff; }
.wt-search { position: relative; }
.wt-search input { padding: 11px 16px 11px 42px; border: 1.5px solid var(--wt-gray-100); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235A6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") 14px center no-repeat; font-size: .9375rem; min-width: 240px; }
.wt-search input:focus { outline: none; border-color: var(--wt-blue-500); }

/* Pagination */
.wt-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.wt-pagination a, .wt-pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--wt-radius-sm); border: 1.5px solid var(--wt-gray-100); font-weight: 600; color: var(--wt-text); }
.wt-pagination .current { background: var(--wt-navy-900); border-color: var(--wt-navy-900); color: #fff; }
.wt-pagination a:hover { border-color: var(--wt-blue-500); color: var(--wt-blue-500); }

/* ==========================================================================
   19. Footer
   ========================================================================== */
.wt-footer { background: var(--wt-navy-900); color: var(--wt-gray-300); padding-block: 72px 32px; }
.wt-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.wt-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.wt-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.wt-footer a { color: var(--wt-gray-300); font-size: .9375rem; }
.wt-footer a:hover { color: #fff; }
.wt-footer__brand p { font-size: .9375rem; margin: 14px 0 20px; max-width: 36ch; }
.wt-social { display: flex; gap: 10px; }
.wt-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--wt-navy-800); border: 1px solid var(--wt-navy-700); color: var(--wt-gray-300); }
.wt-social a svg { width: 18px; height: 18px; }
.wt-social a:hover { color: #fff; border-color: var(--wt-blue-500); }
.wt-newsletter { display: flex; gap: 8px; margin-top: 14px; align-items: stretch; }
.wt-newsletter input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: var(--wt-radius-sm); border: 1px solid var(--wt-navy-700); background: var(--wt-navy-800); color: #fff; font-size: .9375rem; }
.wt-newsletter__btn { flex: none; width: 46px; height: auto; min-height: 46px; padding: 0; border-radius: var(--wt-radius-sm); }
.wt-newsletter__btn svg { width: 20px; height: 20px; display: block; flex: none; }
.wt-footer__bottom { border-top: 1px solid var(--wt-navy-700); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8125rem; }
.wt-footer__bottom a { font-size: .8125rem; }

/* ==========================================================================
   20. Mobile action bar
   ========================================================================== */
.wt-mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--wt-navy-900); border-top: 1px solid var(--wt-navy-700); padding: 10px 14px env(safe-area-inset-bottom); gap: 10px; }
.wt-mobile-bar .wt-btn { flex: 1; padding: 13px 10px; font-size: .875rem; min-width: 0; }
.wt-mobile-bar .wt-btn svg { width: 18px; height: 18px; flex: none; }

/* ==========================================================================
   21. Motion: fade-up on scroll
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--wt-ease), transform .5s var(--wt-ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ==========================================================================
   22. Page hero (interior pages)
   ========================================================================== */
.wt-pagehero { background: var(--wt-navy-900); color: #fff; padding-top: 140px; padding-bottom: 72px; text-align: center; }
.wt-pagehero p { max-width: 60ch; margin: 16px auto 0; }
.wt-breadcrumb { font-size: .8125rem; color: var(--wt-gray-300); margin-bottom: 14px; }
.wt-breadcrumb a { color: var(--wt-gray-300); }
.wt-breadcrumb a:hover { color: #fff; }

/* Utility */
.wt-center { text-align: center; }
.wt-mt-40 { margin-top: 40px; }
.wt-mt-56 { margin-top: 56px; }
.is-hidden { display: none !important; }

/* ==========================================================================
   23. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  :root { --wt-section-y: 88px; }
  .wt-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .wt-hero__media { order: -1; max-width: 520px; }
  .wt-grid-4, .wt-stats, .wt-steps { grid-template-columns: repeat(2, 1fr); }
  .wt-grid-3, .wt-project-grid, .wt-pricing { grid-template-columns: repeat(2, 1fr); }
  .wt-project-overview { grid-template-columns: 1fr; }
  .wt-sidecard { position: static; }
  .wt-project-hero__grid { grid-template-columns: 1fr; }
  .wt-contact { grid-template-columns: 1fr; gap: 36px; }
  .wt-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 767px) {
  :root { --wt-section-y: 64px; --wt-gutter: 18px; }
  body { font-size: 16px; }
  .wt-nav, .wt-header__actions .wt-btn { display: none; }
  .wt-burger { display: block; }
  .wt-header__actions .wt-lang { display: none; }

  /* Mobile overlay nav */
  .wt-mobile-menu { position: fixed; inset: 0; z-index: 110; background: var(--wt-navy-900); padding: 90px 24px 40px; transform: translateX(100%); transition: transform .3s var(--wt-ease); overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
  .wt-mobile-menu.is-open { transform: none; }
  .wt-mobile-menu a { color: #fff; font-family: var(--wt-font-head); font-weight: 600; font-size: 1.25rem; padding: 14px 0; border-bottom: 1px solid var(--wt-navy-700); }
  .wt-mobile-menu .wt-btn { margin-top: 16px; }
  .wt-mobile-menu .wt-lang { margin-top: auto; }

  .wt-grid-2, .wt-grid-3, .wt-grid-4, .wt-project-grid, .wt-pricing, .wt-steps, .wt-stats, .wt-gallery, .wt-price-wide, .wt-footer__grid, .wt-merch { grid-template-columns: 1fr; }
  .wt-stats { grid-template-columns: 1fr 1fr; }
  .wt-merch { gap: 36px; }
  .wt-section-head { margin-bottom: 36px; }
  .wt-hero { padding-top: 120px; }
  .wt-hero__actions .wt-btn { flex: 1; }
  .wt-mobile-bar { display: flex; }
  body { padding-bottom: 72px; }
  .wt-footer__bottom { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .wt-stats { grid-template-columns: 1fr; }
}
