/*
Theme Name: Supermjukt
Theme URI: https://supermjukt.se
Author: Supermjukt AB
Author URI: https://supermjukt.se
Description: Custom dark theme for Supermjukt AB — AI Solutions for Business. Features dark charcoal design with orange accents, animated SVG icons, scroll reveal, counter animations, and full blog support.
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: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: supermjukt
Tags: dark, one-column, custom-menu, custom-logo, featured-images, blog
*/

/* ═══ CSS CUSTOM PROPERTIES ═══ */
:root {
  --bg-primary: #131518;
  --bg-secondary: #191b1f;
  --bg-card: #1d1f24;
  --bg-card-hover: #23262b;
  --text-primary: #eceef1;
  --text-secondary: #848a94;
  --text-muted: #555b65;
  --accent: #e8622c;
  --accent-light: #f07a4a;
  --accent-glow: rgba(232, 98, 44, 0.15);
  --accent-glow-strong: rgba(232, 98, 44, 0.3);
  --border: #282b30;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ═══ RESET ═══ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-primary);
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ═══ NAV ═══ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(20, 20, 20, 0.8);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease;
}
.site-nav.scrolled { border-bottom-color: var(--border); }

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-links > li:last-child > a,
.nav-cta {
  font-family: var(--font-body) !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  color: var(--bg-primary) !important;
  background: var(--accent);
  padding: 0.6rem 1.6rem;
  border-radius: 100px;
  transition: background 0.3s ease, transform 0.2s ease !important;
}
.nav-links > li:last-child > a::after,
.nav-cta::after { display: none !important; }
.nav-links > li:last-child > a:hover,
.nav-cta:hover {
  background: var(--accent-light) !important;
  color: var(--bg-primary) !important;
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 4rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-primary) 100%);
}

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

.hero-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  animation: glow-drift 8s ease-in-out infinite;
}
@keyframes glow-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-3%, 5%); }
}

.hero-tag {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.3s;
}
.hero-tag-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7.5vw, 8rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards 0.5s;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.9s;
}

.btn-primary {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bg-primary);
  background: var(--accent);
  padding: 1rem 2.5rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--accent-glow-strong);
  color: var(--bg-primary);
}

.btn-ghost {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
}
.btn-ghost:hover { color: var(--text-primary); }
.btn-ghost svg { transition: transform 0.3s ease; }
.btn-ghost:hover svg { transform: translateX(4px); }

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1.2s;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scroll-indicator 2s ease-in-out infinite;
}
@keyframes scroll-indicator {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ MARQUEE ═══ */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  animation: marquee 25s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.marquee-item .dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══ SECTIONS SHARED ═══ */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 600px;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}
.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 400px;
  text-align: right;
}

/* ═══ SERVICES ═══ */
.services {
  padding: 8rem 4rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: #333;
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 2rem;
  color: var(--accent);
}
.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.service-link {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}
.service-card:hover .service-link { gap: 0.8rem; }

/* ═══ ANIMATED ICONS ═══ */
.icon-animated path,
.icon-animated line,
.icon-animated circle,
.icon-animated rect,
.icon-animated polyline {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}
.in-view .icon-animated path,
.in-view .icon-animated line,
.in-view .icon-animated circle,
.in-view .icon-animated rect,
.in-view .icon-animated polyline {
  animation: draw-icon 1.5s ease forwards;
}
@keyframes draw-icon {
  to { stroke-dashoffset: 0; }
}
.service-card:hover .icon-animated {
  animation: icon-float 2s ease-in-out infinite;
}
@keyframes icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ═══ STATS ═══ */
.stats {
  padding: 5rem 4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {
  padding: 2rem;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--accent);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ═══ ABOUT ═══ */
.about {
  padding: 8rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-content .section-label { margin-bottom: 1rem; }
.about-content .section-title { margin-bottom: 2rem; }
.about-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-visual {
  position: relative;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
}
.about-visual:hover .about-image {
  transform: scale(1.03);
}

/* Animated geometric pattern */
.geo-pattern {
  position: relative;
  width: 280px;
  height: 280px;
}
.geo-ring {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: spin-ring linear infinite;
}
.geo-ring:nth-child(1) {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  animation-duration: 20s;
  border-color: var(--accent);
  opacity: 0.3;
}
.geo-ring:nth-child(2) {
  width: 75%;
  height: 75%;
  top: 12.5%;
  left: 12.5%;
  animation-duration: 15s;
  animation-direction: reverse;
  border-color: var(--accent);
  opacity: 0.5;
}
.geo-ring:nth-child(3) {
  width: 50%;
  height: 50%;
  top: 25%;
  left: 25%;
  animation-duration: 10s;
  border-color: var(--accent);
  opacity: 0.7;
}
.geo-center {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 30px var(--accent-glow-strong);
  animation: pulse-dot 2s ease-in-out infinite;
}
.geo-ring::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
}
@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ═══ CTA ═══ */
.cta {
  padding: 8rem 4rem;
  text-align: center;
  position: relative;
}
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  position: relative;
}
.cta h2 em {
  font-style: italic;
  color: var(--accent);
}
.cta p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 3rem;
  position: relative;
}
.cta .btn-primary { position: relative; }

/* ═══ BLOG PREVIEW (HOMEPAGE) ═══ */
.blog-preview {
  padding: 8rem 4rem;
  border-top: 1px solid var(--border);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}
.blog-card:hover {
  border-color: #333;
  transform: translateY(-3px);
}
.blog-card a {
  text-decoration: none;
  color: inherit;
}
.blog-thumb {
  height: 200px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 60%);
}
.blog-card-body {
  padding: 1.5rem;
}
.blog-tag {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.blog-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.blog-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.blog-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ═══ FOOTER ═══ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 300px;
  line-height: 1.7;
}
.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══ SCROLL REVEAL ═══ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ═══ BLOG ARCHIVE ═══ */
.archive-header {
  padding: 10rem 4rem 4rem;
  border-bottom: 1px solid var(--border);
}
.archive-header .section-label { margin-bottom: 1rem; }
.archive-header .section-title { margin-bottom: 1rem; }
.archive-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.archive-grid {
  padding: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pagination {
  padding: 2rem 4rem 4rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.3s ease;
}
.pagination a:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}
.pagination .current {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}

/* ═══ SINGLE POST ═══ */
.single-header {
  padding: 10rem 4rem 4rem;
  max-width: 800px;
  margin: 0 auto;
}
.single-header .blog-tag { margin-bottom: 1.5rem; }
.single-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.single-meta {
  display: flex;
  gap: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.single-meta a {
  color: var(--accent);
  text-decoration: none;
}
.single-meta a:hover { color: var(--accent-light); }

.single-featured {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 4rem;
}
.single-featured img {
  border-radius: 12px;
  width: 100%;
}

.single-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 4rem 4rem;
}
.single-content h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  margin: 3rem 0 1.5rem;
  letter-spacing: -0.01em;
}
.single-content h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
}
.single-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.single-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}
.single-content a:hover { color: var(--accent-light); }
.single-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--bg-card);
  border-radius: 0 8px 8px 0;
}
.single-content blockquote p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0;
}
.single-content ul,
.single-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.single-content li {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  list-style: disc;
}
.single-content ol li { list-style: decimal; }
.single-content pre {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}
.single-content code {
  font-size: 0.9em;
  background: var(--bg-card);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}
.single-content pre code {
  background: none;
  padding: 0;
}
.single-content img {
  border-radius: 8px;
  margin: 2rem 0;
}
.single-content figure {
  margin: 2rem 0;
}
.single-content figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

.post-tags {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 4rem;
  padding-right: 4rem;
}
.post-tags a {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin: 0.25rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.post-tags a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.post-nav {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  border-top: 1px solid var(--border);
}
.post-nav-item {
  text-decoration: none;
}
.post-nav-item .post-nav-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.post-nav-item .post-nav-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s ease;
}
.post-nav-item:hover .post-nav-title { color: var(--accent); }
.post-nav-item.next { text-align: right; }

/* ═══ COMMENTS ═══ */
.comments-area {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 4rem 4rem;
  border-top: 1px solid var(--border);
}
.comments-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}
.comment-list {
  list-style: none;
  padding: 0;
}
.comment {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.comment .children {
  list-style: none;
  padding-left: 2rem;
  margin-top: 1.5rem;
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.comment-meta .avatar {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.comment-author {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}
.comment-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.comment-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.comment-reply-link {
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-top: 0.75rem;
  display: inline-block;
}
.comment-reply-link:hover { color: var(--accent-light); }

.comment-respond {
  margin-top: 3rem;
}
.comment-reply-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.comment-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s ease;
  resize: vertical;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.comment-form textarea { min-height: 150px; }
.comment-form .submit {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bg-primary);
  background: var(--accent);
  padding: 0.8rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.comment-form .submit:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

/* ═══ PAGE TEMPLATE ═══ */
.page-header {
  padding: 10rem 4rem 4rem;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 4rem 6rem;
}
.page-content h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  margin: 3rem 0 1.5rem;
}
.page-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.page-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-content a:hover { color: var(--accent-light); }
.page-content ul,
.page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.page-content li {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  list-style: disc;
}
.page-content ol li { list-style: decimal; }
.page-content img {
  border-radius: 8px;
  margin: 2rem 0;
}
.page-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--bg-card);
  border-radius: 0 8px 8px 0;
}

/* ═══ 404 ═══ */
.error-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem;
}
.error-404-number {
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 15rem);
  line-height: 1;
  color: var(--accent);
  opacity: 0.15;
  margin-bottom: -2rem;
  position: relative;
}
.error-404 h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  position: relative;
}
.error-404 p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 450px;
  margin-bottom: 2.5rem;
}

/* ═══ SEARCH ═══ */
.search-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
}
.search-form .search-field {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.8rem 1.5rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}
.search-form .search-field:focus {
  outline: none;
  border-color: var(--accent);
}
.search-form .search-submit {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bg-primary);
  background: var(--accent);
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.search-form .search-submit:hover {
  background: var(--accent-light);
}

.search-results-page {
  padding: 10rem 4rem 2rem;
}
.search-results-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}
.search-results-page h1 span {
  color: var(--accent);
  font-style: italic;
}
.no-results {
  padding: 4rem;
  text-align: center;
}
.no-results p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ═══ SIDEBAR ═══ */
.sidebar {
  padding: 2rem;
}
.widget {
  margin-bottom: 2.5rem;
}
.widget-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}
.widget ul {
  list-style: none;
  padding: 0;
}
.widget li {
  margin-bottom: 0.75rem;
}
.widget a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.widget a:hover { color: var(--accent); }

/* ═══ SCREEN READER ═══ */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ═══ WORDPRESS CORE ═══ */
.alignnone { margin: 1rem 0; }
.aligncenter { display: block; margin: 1.5rem auto; }
.alignleft { float: left; margin: 0.5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.5rem 0 1rem 1.5rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-align: center;
}
.gallery { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gallery-item { flex: 1 1 calc(33% - 0.5rem); }
.gallery-item img { border-radius: 8px; }

/* WordPress block editor */
.wp-block-image { margin: 2rem 0; }
.wp-block-image img { border-radius: 8px; }
.wp-block-quote {
  border-left: 3px solid var(--accent);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--bg-card);
  border-radius: 0 8px 8px 0;
}
.wp-block-code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.wp-block-separator {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}
.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}
.wp-block-table td,
.wp-block-table th {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  font-size: 0.95rem;
}
.wp-block-table th {
  background: var(--bg-card);
  font-weight: 600;
  text-align: left;
}

/* ═══ CONTACT PAGE ═══ */
.contact-hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 4rem 4rem;
  position: relative;
  overflow: hidden;
}
.contact-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  z-index: 0;
}
.contact-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.contact-hero-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-primary) 100%);
}
.contact-hero-content {
  position: relative;
  z-index: 2;
}
.contact-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.contact-hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.contact-section {
  padding: 4rem 4rem 8rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}
.form-group label .optional {
  color: var(--text-muted);
  font-weight: 400;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group select {
  cursor: pointer;
  color: var(--text-secondary);
}
.form-group textarea {
  resize: vertical;
  min-height: 140px;
}
.contact-form .btn-primary {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

/* Contact Form 7 Overrides */
.wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.wpcf7 label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  -webkit-appearance: none;
  width: 100%;
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: var(--text-muted);
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.wpcf7 select {
  cursor: pointer;
  color: var(--text-secondary);
}
.wpcf7 textarea {
  resize: vertical;
  min-height: 140px;
}
.wpcf7 input[type="submit"] {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bg-primary);
  background: var(--accent);
  padding: 1rem 2.5rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}
.wpcf7 input[type="submit"]:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--accent-glow-strong);
}
.wpcf7-response-output {
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  padding: 1rem 1.2rem !important;
  font-size: 0.9rem;
  margin: 1rem 0 0 !important;
}
.wpcf7-not-valid-tip {
  color: var(--accent) !important;
  font-size: 0.8rem;
}
.wpcf7 .wpcf7-spinner {
  display: none;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 0.5rem;
}
.contact-info-block h3 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.contact-info-block a,
.contact-info-block p {
  font-size: 1.05rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-info-block a:hover {
  color: var(--accent);
}
.contact-social {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.contact-social a {
  font-size: 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-social a:hover {
  color: var(--accent);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .site-nav { padding: 1.2rem 2rem; }
  .hero { padding: 7rem 2rem 5rem; }
  .services { padding: 5rem 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .stats { padding: 3rem 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about { padding: 5rem 2rem; grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { height: 350px; }
  .blog-preview { padding: 5rem 2rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .cta { padding: 5rem 2rem; }
  .site-footer { padding: 3rem 2rem; grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { padding: 1.5rem 2rem; flex-direction: column; gap: 0.5rem; }
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .menu-toggle { display: block; }
  .archive-grid { padding: 2rem; grid-template-columns: 1fr; }
  .archive-header { padding: 8rem 2rem 3rem; }
  .contact-hero { min-height: 50vh; padding: 0 2rem 3rem; }
  .contact-section { padding: 3rem 2rem 5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .single-header { padding: 8rem 2rem 2rem; }
  .single-content { padding: 2rem; }
  .single-featured { padding: 2rem; }
  .post-nav { padding: 2rem; grid-template-columns: 1fr; }
  .comments-area { padding: 2rem; }
  .page-header { padding: 8rem 2rem 3rem; }
  .page-content { padding: 2rem; }
  .search-results-page { padding: 8rem 2rem 2rem; }
  .post-tags { padding-left: 2rem; padding-right: 2rem; }
  .hero-scroll { left: 2rem; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .section-desc { text-align: left; }
  .stat-number { font-size: 2.5rem; }
}

/* ═══ SERVICE LANDING PAGE ═══ */

/* 1. THIN HERO */
.service-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 4rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.service-hero-image {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  z-index: 0;
}
.service-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.service-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(19,21,24,0.4) 0%, rgba(19,21,24,0.75) 60%, var(--bg-primary) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(232,98,44,0.18), transparent 60%);
}
.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.service-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 1rem 0 1.25rem;
}
.service-hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.service-hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.6;
}

/* 2. PROBLEMS */
.service-problems {
  padding: 6rem 4rem;
}
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: border-color 0.4s ease, transform 0.4s ease, background 0.4s ease;
}
.problem-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.problem-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
.problem-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1.3;
}
.problem-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 3. EXPLAINER (text + workflow image) */
.service-explainer {
  padding: 6rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.service-explainer-text .section-label {
  margin-bottom: 1rem;
}
.service-explainer-text h2 {
  margin-bottom: 1.75rem;
}
.service-explainer-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.service-workflow-image {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(232,98,44,0.08);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}
.service-explainer-visual:hover .service-workflow-image {
  transform: translateY(-4px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(232,98,44,0.2);
}
.service-workflow-caption {
  margin-top: 1.25rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  font-style: italic;
}

/* 4. SOLUTIONS */
.service-solutions {
  padding: 6rem 4rem;
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s ease, background 0.4s ease;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.solution-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.solution-card:hover::before {
  transform: scaleX(1);
}
.solution-icon {
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0.95;
}
.solution-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.solution-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.solution-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.solution-points li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
}
.solution-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow-strong);
}

/* 5. VIDEO */
.service-video {
  padding: 6rem 4rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.service-video-header {
  margin-bottom: 3rem;
}
.service-video-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}
.service-video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}
.service-video-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.service-video-placeholder {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 20px;
  border: 1px dashed var(--border);
  background:
    radial-gradient(ellipse at center, rgba(232,98,44,0.08), transparent 70%),
    var(--bg-card);
  overflow: hidden;
}
.service-video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 60px var(--accent-glow-strong);
  animation: pulse-play 2.5s ease-in-out infinite;
}
.service-video-play svg {
  margin-left: 8px;
}
@keyframes pulse-play {
  0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 60px var(--accent-glow-strong); }
  50% { transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 0 90px var(--accent-glow-strong); }
}
.service-video-placeholder-text {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-heading);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.service-video-placeholder-text strong {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
}
.service-video-placeholder-text span {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 400;
}

/* 6. SERVICE CTA */
.service-cta {
  padding: 8rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.service-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.service-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}
.service-cta .section-label {
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.service-cta h2 em {
  font-style: italic;
  color: var(--accent);
}
.service-cta p {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.service-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.service-cta-meta {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .service-hero { padding: 0 2rem 2.5rem; min-height: 42vh; }
  .service-problems,
  .service-solutions,
  .service-video { padding: 4rem 2rem; }
  .service-explainer {
    padding: 4rem 2rem;
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .problems-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .service-cta { padding: 5rem 2rem; }
  .service-cta h2 br { display: none; }
  .service-video-play { width: 90px; height: 90px; }
  .service-video-play svg { width: 48px; height: 48px; }
}
