/*
Theme Name: WDK Performance
Theme URI: https://wdkperformance.com
Author: WDK Performance
Author URI: https://wdkperformance.com
Description: A dark industrial motorsport theme for WDK Performance - professional chip tuning and ECU remapping services.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: wdk-performance
Tags: dark, custom-menu, featured-images, full-width-template, custom-logo

*/

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  background: #0a0a0a;
  color: #e8e4df;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 39px,
    rgba(255,255,255,0.015) 39px,
    rgba(255,255,255,0.015) 40px
  );
  pointer-events: none;
  z-index: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: #ffffff;
}

h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
  font-size: 1rem;
  font-weight: 300;
  color: #888;
  line-height: 1.7;
}

/* =========================================================
   CSS VARIABLES
   ========================================================= */
:root {
  --red: #E8381A;
  --red-dark: #c42e12;
  --black: #0a0a0a;
  --black-mid: #111111;
  --black-light: #1a1a1a;
  --white: #ffffff;
  --gray-100: #e8e4df;
  --gray-400: #888888;
  --gray-600: #555555;
  --gray-700: #444444;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.15);
  --transition: 0.25s ease;
  --container-width: 1200px;
  --container-padding: 3rem;
}

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.site-wrapper {
  position: relative;
  z-index: 1;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  cursor: pointer;
  border: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background var(--transition), color var(--transition);
  line-height: 1;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-400);
  border: 1px solid var(--border-hover);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* =========================================================
   SECTION LABELS
   ========================================================= */
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.5rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
}

/* =========================================================
   SITE HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  gap: 2rem;
}

.site-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.site-logo span,
.site-logo .logo-accent {
  color: var(--red);
}

.site-logo img {
  max-height: 44px;
  width: auto;
}

/* Main Navigation */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.main-navigation ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.main-navigation ul li a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  transition: color var(--transition);
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current_page_item a {
  color: var(--red);
}

.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition: background var(--transition);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-dark); color: var(--white); }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
  position: relative;
  padding: 5rem 0 3rem;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  top: -80px;
  right: -100px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(232,56,26,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(232,56,26,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
}
.hero-tag::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
}

.hero-title {
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: normal;
  color: var(--red);
  display: block;
}

.hero-description {
  font-size: 1rem;
  font-weight: 300;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 2.5rem;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-tachometer {
  width: 100%;
  max-width: 320px;
  opacity: 0.9;
}

/* Stats Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 2rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-number .accent { color: var(--red); font-size: 0.65em; }

.stat-label {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
}

/* =========================================================
   SERVICES SECTION
   ========================================================= */
.services-section {
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.service-card {
  background: var(--black);
  padding: 2.2rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
  cursor: pointer;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.4s ease;
}

.service-card:hover { background: var(--black-mid); }
.service-card:hover::after { width: 100%; }

.service-card.featured {
  background: var(--red);
}
.service-card.featured::after { display: none; }
.service-card.featured:hover { background: var(--red-dark); }

.service-card.featured .service-number { color: rgba(255,255,255,0.35); }
.service-card.featured .service-title { color: var(--white); }
.service-card.featured .service-description { color: rgba(255,255,255,0.75); }
.service-card.featured .service-icon { color: var(--white); }
.service-card.featured .service-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--white);
}

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.3rem;
  color: var(--red);
}

.service-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(232,56,26,0.35);
  margin-bottom: 0.7rem;
}

.service-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 0.7rem;
  line-height: 1.2;
}

.service-description {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--gray-600);
  line-height: 1.65;
}

.service-arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  color: var(--red);
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
}

/* =========================================================
   WHY US / FEATURES
   ========================================================= */
.features-section {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  background: var(--black-mid);
}

.features-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.features-text .section-title { margin-bottom: 1.5rem; }
.features-text p {
  font-size: 1rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
  max-width: 460px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.feature-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.feature-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  margin-top: 6px;
  flex-shrink: 0;
}

.feature-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.feature-item p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
}

.features-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-badge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  width: 100%;
}

.features-badge {
  background: var(--black);
  padding: 2rem 1.5rem;
  text-align: center;
}
.features-badge-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.features-badge-num .accent { color: var(--red); font-size: 0.65em; }
.features-badge-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-600);
}

/* =========================================================
   PROJECTS / GALLERY
   ========================================================= */
.projects-section {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.project-card {
  position: relative;
  overflow: hidden;
  background: var(--black-mid);
  aspect-ratio: 4/3;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.5) saturate(0.5);
}

.project-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.6) saturate(0.7);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(10,10,10,0.9));
  transform: translateY(8px);
  transition: transform var(--transition);
}
.project-card:hover .project-overlay { transform: translateY(0); }

.project-car {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.project-gain {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--red);
  text-transform: uppercase;
}

/* Placeholder when no image */
.project-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-light);
}
.project-placeholder-icon {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-700);
}

/* =========================================================
   CONTACT / CTA SECTION
   ========================================================= */
.contact-section {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  background: var(--black-mid);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(232,56,26,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-info .section-title { margin-bottom: 1rem; }
.contact-info > p {
  font-size: 1rem;
  color: var(--gray-400);
  max-width: 400px;
  margin-bottom: 2.5rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  transition: border-color var(--transition), background var(--transition);
  text-decoration: none;
}
.contact-channel:hover {
  border-color: rgba(232,56,26,0.4);
  background: rgba(232,56,26,0.04);
}

.channel-icon {
  width: 36px;
  height: 36px;
  background: rgba(232,56,26,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.channel-icon svg {
  width: 18px;
  height: 18px;
  color: var(--red);
}

.channel-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 0.1rem;
}
.channel-value {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gray-100);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.form-group input,
.form-group select,
.form-group textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--gray-100);
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.8rem 1rem;
  width: 100%;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  border-radius: 0;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: rgba(232,56,26,0.6);
  background: rgba(232,56,26,0.03);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-700); }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select option { background: #1a1a1a; color: var(--gray-100); }

.wpcf7-submit,
.form-submit-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 1rem 2.5rem;
  cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background var(--transition);
  align-self: flex-start;
}
.wpcf7-submit:hover,
.form-submit-btn:hover { background: var(--red-dark); }

/* =========================================================
   SITE FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--black);
  position: relative;
  z-index: 1;
}

.footer-top {
  padding: 4rem 0 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
}
.footer-brand .footer-logo span { color: var(--red); }

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-600);
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--gray-600);
  font-size: 0.7rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition), border-color var(--transition);
}
.footer-social a:hover {
  color: var(--red);
  border-color: rgba(232,56,26,0.5);
}

.footer-col h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-600);
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--gray-600);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--gray-700);
}
.footer-copyright a { color: var(--gray-600); }
.footer-copyright a:hover { color: var(--red); }

.footer-partner {
  font-size: 0.75rem;
  color: var(--gray-700);
}
.footer-partner a { color: var(--gray-600); }
.footer-partner a:hover { color: var(--red); }

/* =========================================================
   INNER PAGE — CONTENT
   ========================================================= */
.page-hero {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  top: -50px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,56,26,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1rem;
  color: var(--gray-400);
  max-width: 520px;
}

/* Content area */
.content-area { padding: 5rem 0; }

.entry-content {
  max-width: 720px;
}
.entry-content p { color: var(--gray-400); margin-bottom: 1.2rem; }
.entry-content h2, .entry-content h3 { color: var(--white); margin: 2rem 0 0.8rem; }
.entry-content a { color: var(--red); }
.entry-content a:hover { color: var(--red-dark); }
.entry-content ul, .entry-content ol {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--gray-400);
  margin-bottom: 1.2rem;
}
.entry-content ul li, .entry-content ol li { margin-bottom: 0.4rem; }

/* =========================================================
   PRICES TABLE
   ========================================================= */
.prices-section { padding: 5rem 0; }

.prices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.price-card {
  background: var(--black);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background var(--transition);
}
.price-card.featured {
  background: var(--black-mid);
  border-top: 2px solid var(--red);
}

.price-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.price-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.price-amount {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.price-amount .currency {
  font-size: 1.5rem;
  vertical-align: super;
  color: var(--red);
}
.price-amount .period {
  font-size: 1rem;
  font-weight: 300;
  color: var(--gray-600);
}

.price-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

.price-features { list-style: none; margin-bottom: 2rem; }
.price-features li {
  font-size: 0.875rem;
  color: var(--gray-400);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.price-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  flex-shrink: 0;
}

/* =========================================================
   SINGLE POST / PROJECT
   ========================================================= */
.single-hero {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.single-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: center;
}
.single-meta-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.single-meta-item.accent { color: var(--red); }

.single-featured-image {
  margin: 3rem 0;
  overflow: hidden;
}
.single-featured-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  filter: brightness(0.7);
}

/* =========================================================
   BLOG / ARCHIVE
   ========================================================= */
.archive-section { padding: 5rem 0; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.post-card {
  background: var(--black);
  transition: background var(--transition);
}
.post-card:hover { background: var(--black-mid); }

.post-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.6);
  transition: transform 0.5s ease, filter 0.5s ease;
}
.post-card:hover .post-thumb img {
  transform: scale(1.04);
  filter: brightness(0.65) saturate(0.8);
}

.post-body { padding: 1.5rem; }

.post-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.post-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.post-excerpt {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* =========================================================
   WOOCOMMERCE (if used)
   ========================================================= */
.woocommerce-page .woocommerce,
.woocommerce .woocommerce-page {
  color: var(--gray-100);
}

/* =========================================================
   GUTENBERG BLOCK OVERRIDES
   ========================================================= */
.wp-block-image img { border-radius: 0; }
.wp-block-separator { border-color: var(--border); }
.wp-block-quote {
  border-left: 3px solid var(--red);
  padding-left: 1.5rem;
}
.wp-block-quote p { color: var(--gray-400); font-style: italic; }

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}
.wp-block-table td, .wp-block-table th {
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}
.wp-block-table th {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  background: rgba(255,255,255,0.04);
}

/* =========================================================
   CONTACT FORM 7 OVERRIDES
   ========================================================= */
.wpcf7 { margin-top: 0; }
.wpcf7-response-output {
  border: 1px solid var(--border) !important;
  padding: 1rem !important;
  font-size: 0.875rem;
  margin: 1rem 0 0 !important;
}
.wpcf7-mail-sent-ok { border-color: rgba(100,200,100,0.3) !important; color: #8cce8c; }
.wpcf7-validation-errors { border-color: rgba(232,56,26,0.4) !important; color: var(--red); }
span.wpcf7-not-valid-tip { color: var(--red); font-size: 0.8rem; }

/* =========================================================
   SCROLL ANIMATIONS
   ========================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }
.fade-up:nth-child(6) { transition-delay: 0.4s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  :root {
    --container-padding: 2rem;
  }

  .hero-inner { gap: 2.5rem; }
  .features-inner { gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .prices-grid { grid-template-columns: 1fr; max-width: 400px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1.25rem;
  }

  .site-header .container { flex-wrap: wrap; gap: 0; }

  .main-navigation {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    align-items: flex-start;
  }
  .main-navigation.open { display: flex; }
  .main-navigation ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .main-navigation ul li a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .nav-cta { margin-top: 1rem; }
  .menu-toggle { display: flex; }

  .hero-section { padding: 3rem 0 2rem; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .hero-tachometer { max-width: 220px; }
  .hero-description { max-width: 100%; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .stat-item:last-child { border-right: none; grid-column: span 2; }

  .services-grid { grid-template-columns: 1fr; }
  .features-inner { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }

  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  .projects-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats .stat-item:last-child { grid-column: span 1; }
  .hero-stats .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .features-badge-grid { grid-template-columns: 1fr 1fr; }
  .btn-group { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   SERVICES PAGE
   ========================================================= */

/* --- Hero --- */
.svc-hero {
    overflow: hidden;
    padding-bottom: 4rem;
}
.svc-hero-lines {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    z-index: 0;
}
.svc-hero-line {
    flex: 1;
    border-right: 1px solid rgba(255,255,255,0.03);
}
.svc-hero-sub {
    font-size: 1rem;
    color: var(--gray-400);
    max-width: 540px;
    margin-top: 0.75rem;
    font-weight: 300;
}

/* --- Intro strip --- */
.svc-intro-strip {
    background: var(--black-mid);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
    position: relative;
    z-index: 1;
}
.svc-intro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.svc-intro-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 1.2rem 1.5rem;
    border-right: 1px solid var(--border);
    font-family: 'Barlow', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--gray-400);
    line-height: 1.4;
}
.svc-intro-item:last-child { border-right: none; }
.svc-intro-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.svc-intro-icon svg {
    display: block;
}

/* --- Section wrapper --- */
.svc-section {
    padding: 7rem 0;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
}
.svc-alt {
    background: var(--black-mid);
}

/* --- Two-col layout --- */
.svc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.svc-layout-reverse {
    direction: rtl;
}
.svc-layout-reverse > * {
    direction: ltr;
}

/* --- Illustration wrap --- */
.svc-illustration-wrap {
    position: relative;
}
.svc-illustration {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.svc-illustration-badge {
    position: absolute;
    bottom: -8px;
    right: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red);
    padding: 0.3rem 1rem;
    clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
}

/* --- Service content --- */
.svc-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255,255,255,0.04);
    letter-spacing: -0.02em;
    margin-bottom: -1rem;
    user-select: none;
}
.svc-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.2rem;
    line-height: 1;
}
.svc-lead {
    font-size: 1rem;
    font-weight: 300;
    color: var(--gray-400);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 520px;
}
.svc-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78rem;
    color: #666;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 0.65rem 0.9rem;
    margin-bottom: 1.8rem;
    line-height: 1.55;
}

/* --- Service blocks (feature list) --- */
.svc-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.svc-block {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.svc-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.svc-block-icon {
    width: 32px;
    height: 32px;
    background: rgba(232,56,26,0.08);
    border: 1px solid rgba(232,56,26,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.svc-block-icon svg {
    width: 16px;
    height: 16px;
}
.svc-block h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--white);
    margin-bottom: 0.4rem;
    line-height: 1.2;
}
.svc-block p {
    font-size: 0.875rem;
    font-weight: 300;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

/* --- Tags --- */
.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.svc-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-600);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 0.25rem 0.75rem;
    transition: color var(--transition), border-color var(--transition);
}
.svc-tag:hover {
    color: var(--red);
    border-color: rgba(232,56,26,0.3);
}

.svc-cta {
    display: inline-flex;
    align-items: center;
}

/* --- Process / How it works --- */
.svc-process {
    padding: 6rem 0;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}
.svc-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 3rem;
    position: relative;
}
.svc-step-item {
    padding: 0 2rem 0 0;
    position: relative;
}
.svc-step-item:last-child { padding-right: 0; }
.svc-step-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--red);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.svc-step-line {
    width: 40px;
    height: 2px;
    background: rgba(232,56,26,0.3);
    margin-bottom: 1rem;
}
.svc-step-item h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}
.svc-step-item p {
    font-size: 0.84rem;
    font-weight: 300;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* --- CTA Banner --- */
.svc-cta-banner {
    padding: 5rem 0;
    background: var(--black-mid);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.svc-cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(232,56,26,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.svc-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.svc-cta-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.4rem;
}
.svc-cta-tag::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 2px;
    background: var(--red);
}
.svc-cta-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 0.5rem;
}
.svc-cta-banner p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}
.svc-cta-btns {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* =========================================================
   SERVICES PAGE RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .svc-layout { gap: 3rem; }
    .svc-intro-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-intro-item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
    .svc-section { padding: 4rem 0; }
    .svc-layout,
    .svc-layout-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 2.5rem;
    }
    .svc-layout-reverse > * { direction: ltr; }
    .svc-visual { order: -1; }
    .svc-intro-grid { grid-template-columns: 1fr; }
    .svc-intro-item { border-right: none; border-bottom: 1px solid var(--border); }
    .svc-intro-item:last-child { border-bottom: none; }
    .svc-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .svc-cta-inner { flex-direction: column; align-items: flex-start; }
    .svc-number { font-size: 3.5rem; }
}

@media (max-width: 480px) {
    .svc-steps { grid-template-columns: 1fr; }
    .svc-cta-btns { flex-direction: column; width: 100%; }
}
