/*
Theme Name: TechCraft Solutions
Theme URI: https://techcraft.in
Author: TechCraft Solutions
Author URI: https://techcraft.in
Description: A modern, dark digital agency theme for TechCraft Solutions — featuring full-service web, app, AI, and digital marketing services.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techcraft
Tags: dark, agency, portfolio, one-page, responsive, custom-colors, custom-logo, featured-images, full-width-template
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg-deep:    #0d0c14;
  --bg-card:    #16141f;
  --bg-card2:   #1c1928;
  --accent-orange: #e8622a;
  --accent-orange2: #f2874e;
  --accent-purple: #7c6fe0;
  --accent-purple2: #a89ef5;
  --text-primary: #f0eeff;
  --text-muted:   #8e8aaa;
  --text-dim:     #5c5878;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(232,98,42,0.35);
  --glow-orange:  rgba(232,98,42,0.15);
  --glow-purple:  rgba(124,111,224,0.12);
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}

ul {
  list-style: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.2rem; }

p { color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  background: rgba(13,12,20,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 0.5px solid var(--border);
  transition: background .3s;
}

.site-header.scrolled {
  background: rgba(13,12,20,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-dot {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-purple2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Custom logo image */
.custom-logo-link img {
  max-height: 40px;
  width: auto;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}

.nav-menu a:hover {
  color: var(--text-primary);
}

.nav-menu .nav-cta a {
  background: var(--accent-orange);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.85rem;
  transition: background .2s, transform .15s;
}

.nav-menu .nav-cta a:hover {
  background: var(--accent-orange2);
  transform: translateY(-1px);
}

/* Mobile hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0.45rem 0.65rem;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all .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 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 5% 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.blob1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,111,224,0.18) 0%, transparent 70%);
  top: -100px; right: -100px;
}

.blob2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,98,42,0.14) 0%, transparent 70%);
  bottom: 50px; left: 10%;
}

.hero-inner {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,98,42,0.1);
  border: 0.5px solid rgba(232,98,42,0.3);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  color: var(--accent-orange2);
  font-weight: 500;
  margin-bottom: 1.8rem;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-orange);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
  color: var(--text-primary);
}

.hero-title .grad {
  background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-purple2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.4rem;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
}

.stat { display: flex; flex-direction: column; gap: 2px; }

.stat-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-num span { color: var(--accent-orange); }

.stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--accent-orange);
  color: #fff;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--accent-orange2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232,98,42,0.35);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 0.5px solid rgba(255,255,255,0.18);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 400;
  font-family: var(--font-body);
  cursor: pointer;
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost:hover {
  border-color: var(--accent-purple2);
  background: rgba(124,111,224,0.08);
  transform: translateY(-2px);
  color: var(--text-primary);
}

/* ============================================================
   SECTIONS COMMON
   ============================================================ */
section, .section-pad {
  padding: 5.5rem 5%;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.97rem;
  max-width: 540px;
  margin-bottom: 3rem;
  font-weight: 300;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  padding: 5.5rem 5%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
}

.service-cat {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
  transition: border-color .25s, transform .2s, background .2s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-cat::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--glow-orange), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  border-radius: inherit;
}

.service-cat:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.service-cat:hover::before { opacity: 1; }

.cat-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 1rem;
  background: rgba(232,98,42,0.1);
}

.cat-purple .cat-icon { background: rgba(124,111,224,0.1); }
.cat-teal .cat-icon   { background: rgba(29,158,117,0.1); }
.cat-blue .cat-icon   { background: rgba(55,138,221,0.1); }
.cat-pink .cat-icon   { background: rgba(212,83,126,0.1); }
.cat-amber .cat-icon  { background: rgba(186,117,23,0.1); }

.cat-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.cat-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cat-items li {
  font-size: 0.86rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}

.service-cat:hover .cat-items li { color: #b0adc8; }

.cat-items li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-orange);
  flex-shrink: 0;
  opacity: 0.6;
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-section {
  background: var(--bg-card);
  padding: 5.5rem 5%;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.why-card {
  background: var(--bg-deep);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color .2s, transform .2s;
}

.why-card:hover {
  border-color: rgba(124,111,224,0.35);
  transform: translateY(-2px);
}

.why-icon {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(124,111,224,0.1);
}

.why-title {
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.why-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-section { padding: 5.5rem 5%; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}

.step {
  padding: 2rem 1.5rem;
  border: 0.5px solid var(--border);
  background: var(--bg-card);
  transition: background .2s;
}

.step:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.step:last-child  { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.step:hover { background: var(--bg-card2); }

.step-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(232,98,42,0.15);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.step-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.step-desc { font-size: 0.82rem; color: var(--text-muted); }

/* ============================================================
   TECH STACK SECTION
   ============================================================ */
.tech-section {
  background: var(--bg-card);
  padding: 5.5rem 5%;
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.tech-chip {
  background: var(--bg-card2);
  border: 0.5px solid var(--border);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: border-color .2s, color .2s;
  cursor: default;
}

.tech-chip:hover {
  border-color: var(--accent-purple2);
  color: var(--accent-purple2);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  margin: 0 5% 5rem;
  background: linear-gradient(135deg, #1a1430 0%, #1e1526 40%, #1a1528 100%);
  border: 0.5px solid rgba(124,111,224,0.2);
  border-radius: var(--radius-xl);
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-blob1 {
  position: absolute;
  width: 350px; height: 350px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  background: radial-gradient(circle, rgba(232,98,42,0.12) 0%, transparent 70%);
  top: -80px; left: -60px;
}

.cta-blob2 {
  position: absolute;
  width: 350px; height: 350px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  background: radial-gradient(circle, rgba(124,111,224,0.15) 0%, transparent 70%);
  bottom: -80px; right: -60px;
}

.cta-section h2 {
  margin-bottom: 0.8rem;
  position: relative; z-index: 1;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 2.2rem;
  position: relative; z-index: 1;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative; z-index: 1;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { padding: 5.5rem 5%; }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
}

.contact-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(232,98,42,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-detail-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Contact Form Box */
.contact-form-box {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

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

.form-grid .full { grid-column: 1 / -1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea,
.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea {
  background: var(--bg-deep);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-purple2);
}

.form-group select option { background: var(--bg-card); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* WP Forms / CF7 compatibility */
.wpcf7-form p { margin-bottom: 1rem; }
.wpcf7-submit { @extend .btn-primary; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 0.5px solid var(--border);
  padding: 2rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color .2s;
}

.footer-nav a:hover { color: var(--text-muted); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ============================================================
   WORDPRESS CORE COMPATIBILITY
   ============================================================ */
.alignleft  { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.alignwide  { width: 100%; }
.alignfull  { width: 100vw; margin-left: calc(50% - 50vw); }

.wp-block-image figcaption,
.wp-caption-text {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.5rem;
}

/* ============================================================
   BLOG / ARCHIVE / SINGLE
   ============================================================ */
.blog-section { padding: 8rem 5% 5rem; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.post-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s, transform .2s;
}

.post-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.post-card-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card-body { padding: 1.5rem; }

.post-card-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.post-card-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.post-card-title a { color: var(--text-primary); }
.post-card-title a:hover { color: var(--accent-orange); }

.post-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.post-card-link {
  font-size: 0.83rem;
  color: var(--accent-orange);
  font-weight: 500;
}

/* Single Post */
.single-post { padding: 8rem 5% 5rem; max-width: 800px; margin: 0 auto; }

.single-post .post-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.single-post .post-meta {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.single-post .post-content h2,
.single-post .post-content h3 {
  margin: 2rem 0 1rem;
}

.single-post .post-content p { margin-bottom: 1rem; }

.single-post .post-content a { color: var(--accent-orange); }
.single-post .post-content a:hover { color: var(--accent-orange2); }

.single-post .post-content ul,
.single-post .post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.single-post .post-content blockquote {
  border-left: 3px solid var(--accent-orange);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-style: italic;
}

.single-post .post-content code {
  background: var(--bg-card2);
  padding: 0.2em 0.5em;
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--accent-purple2);
}

.single-post .post-content pre {
  background: var(--bg-card2);
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin-bottom: 1rem;
  border: 0.5px solid var(--border);
}

/* Pagination */
.pagination, .nav-links {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.page-numbers, .nav-links a, .nav-links span {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}

.page-numbers:hover,
.nav-links a:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.page-numbers.current {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 5% 5rem;
}

.error-404 .error-code {
  font-family: var(--font-head);
  font-size: 8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-purple2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-results-header {
  padding: 8rem 5% 2rem;
}

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-area {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 0.5px solid var(--border);
}

.comments-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.comment-list { list-style: none; }

.comment {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.comment-author { font-weight: 600; color: var(--text-primary); }
.comment-meta { font-size: 0.78rem; color: var(--text-dim); }
.comment-content { margin-top: 0.6rem; font-size: 0.88rem; color: var(--text-muted); }

.comment-reply-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
}

.comment-form input,
.comment-form textarea {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color .2s;
  width: 100%;
  margin-bottom: 1rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--accent-purple2);
}

.comment-form .submit {
  background: var(--accent-orange);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background .2s;
}

.comment-form .submit:hover { background: var(--accent-orange2); }

/* ============================================================
   WIDGETS / SIDEBAR
   ============================================================ */
.widget-area {
  padding: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 0.5px solid var(--border);
}

.widget { margin-bottom: 2rem; }
.widget:last-child { margin-bottom: 0; }

.widget-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: var(--accent-orange);
}

.widget ul { list-style: none; }

.widget ul li {
  padding: 0.4rem 0;
  border-bottom: 0.5px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.widget ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}

.widget ul li a:hover { color: var(--accent-orange); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-header { padding: 0.9rem 4%; }
  .menu-toggle { display: flex; }

  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(13,12,20,0.98);
    border-bottom: 0.5px solid var(--border);
    padding: 1.5rem 5%;
  }

  .main-navigation.active { display: block; }

  .nav-menu {
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
  }

  .hero-section { padding: 7rem 4% 4rem; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  .cta-section {
    padding: 2.5rem 1.5rem;
    margin: 0 4% 4rem;
  }

  section, .section-pad { padding: 4rem 4%; }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .step:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .step:last-child  { border-radius: 0 0 var(--radius-md) var(--radius-md); }

  .site-footer { flex-direction: column; text-align: center; }

  .hero-stats { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .step:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .step:last-child  { border-radius: 0 0 var(--radius-md) var(--radius-md); }
  .why-grid { grid-template-columns: 1fr; }
}
