/* ============================================
   NEXUS DIGITAL — Design System
   Version: 1.0
   Mobile-First | Cardiff Web & Mobile Agency
   ============================================ */

/* ── CSS Variables ── */
:root {
  --navy: #0A1628;
  --navy-light: #111D33;
  --navy-mid: #162240;
  --navy-surface: #1B2B4B;
  --blue: #2563EB;
  --blue-hover: #1D4FD7;
  --blue-light: #3B82F6;
  --cyan: #06B6D4;
  --cyan-glow: rgba(6, 182, 212, 0.15);
  --orange: #F97316;
  --orange-hover: #EA6C0E;
  --orange-light: rgba(249, 115, 22, 0.1);
  --green: #10B981;
  --green-light: rgba(16, 185, 129, 0.1);
  --purple: #A855F7;
  --purple-light: rgba(168, 85, 247, 0.1);
  --indigo: #6366F1;
  --indigo-light: rgba(99, 102, 241, 0.1);
  --red: #EF4444;

  --bg: #F8FAFC;
  --bg-alt: #F1F5F9;
  --bg-white: #FFFFFF;
  --text: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #6B7D96;
  --text-inverse: #FFFFFF;
  --border: #E2E8F0;
  --border-dark: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-light: rgba(255, 255, 255, 0.8);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-glow-blue: 0 0 40px rgba(37, 99, 235, 0.15);
  --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.15);
  --shadow-glow-orange: 0 4px 15px rgba(249, 115, 22, 0.35);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-full: 9999px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --t-fast: 0.15s;
  --t-base: 0.3s;
  --t-slow: 0.5s;

  /* Z-index scale */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 50;
  --z-header: 100;
  --z-overlay: 500;
  --z-modal: 900;
  --z-toast: 950;
  --z-max: 999;

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Card hover lift (standardized) */
  --lift-sm: -3px;
  --lift-md: -5px;
  --lift-lg: -8px;
}

/* ── Dark Mode ── */
[data-theme="dark"] {
  --bg: #0B1120;
  --bg-alt: #111827;
  --bg-white: #151E2E;
  --text: #E2E8F0;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-light: rgba(255, 255, 255, 0.06);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: var(--text);
}

[data-theme="dark"] .header {
  background: rgba(11, 17, 32, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .header.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .logo {
  color: var(--text);
}

[data-theme="dark"] .nav-desktop a {
  color: var(--text-secondary);
}

[data-theme="dark"] .nav-desktop a:hover,
[data-theme="dark"] .nav-desktop a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .menu-toggle span {
  background: var(--text);
}

[data-theme="dark"] .mobile-menu {
  background: var(--bg);
}

[data-theme="dark"] .mobile-menu a {
  color: var(--text);
}

[data-theme="dark"] .nav-mobile {
  background: var(--bg);
  border-top-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .nav-mobile__link {
  color: var(--text-muted);
}

[data-theme="dark"] .card {
  background: var(--bg-white);
  border-color: var(--border);
}

[data-theme="dark"] .service-card {
  background: var(--bg-white);
  border-color: var(--border);
}

[data-theme="dark"] .service-card h3 {
  color: var(--text);
}

[data-theme="dark"] .tag {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

[data-theme="dark"] .section--white {
  background: var(--bg);
}

[data-theme="dark"] .section--alt {
  background: var(--bg-alt);
}

[data-theme="dark"] .trust-strip {
  background: var(--bg-alt);
  border-color: var(--border);
}

[data-theme="dark"] .process-card {
  background: var(--bg-white);
  border-color: var(--border);
}

[data-theme="dark"] .process-card h3 {
  color: var(--text);
}

[data-theme="dark"] .testimonial {
  background: var(--bg-white);
  border-color: var(--border);
}

[data-theme="dark"] .testimonial__text {
  color: var(--text);
}

[data-theme="dark"] .testimonial__name {
  color: var(--text);
}

[data-theme="dark"] .btn--secondary {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.25);
}

[data-theme="dark"] .form-card {
  background: var(--bg-white);
  border-color: var(--border);
}

[data-theme="dark"] .field__input,
[data-theme="dark"] .field__textarea,
[data-theme="dark"] .field__select {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .form-option {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .faq-item {
  border-color: var(--border);
}

[data-theme="dark"] .faq-item__question {
  color: var(--text);
}

[data-theme="dark"] .faq-item__icon {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .pricing-card {
  background: var(--bg-white);
  border-color: var(--border);
}

[data-theme="dark"] .pricing-card__price {
  color: var(--text);
}

[data-theme="dark"] .blog-card {
  background: var(--bg-white);
  border-color: var(--border);
}

/* ── Skip Navigation (Accessibility) ── */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--blue);
  color: white;
  padding: 12px 24px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 600;
  font-size: 0.88rem;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-nav:focus {
  top: 0;
}

/* ── Theme Toggle ── */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--bg-alt);
  color: var(--text);
  border-color: transparent;
}

[data-theme="dark"] .theme-toggle {
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform var(--t-base) var(--ease);
}

.theme-toggle:hover svg {
  transform: rotate(30deg);
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  scroll-padding-top: 80px;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--t-base) var(--ease);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

input,
textarea,
select {
  font-family: inherit;
}

::selection {
  background: var(--cyan);
  color: var(--navy);
}

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

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.75rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.65rem, 4.5vw, 2.75rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.125rem;
  letter-spacing: -0.005em;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-gradient {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-white {
  color: var(--text-inverse) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
  position: relative;
}

.section--dark {
  background: var(--navy);
  color: var(--text-inverse);
}

.section--alt {
  background: var(--bg-alt);
}

.section--white {
  background: var(--bg-white);
}

.section-header {
  margin-bottom: 48px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.section--dark .section-label {
  color: var(--cyan);
}

.section-title {
  margin-bottom: 16px;
}

.section--dark .section-title {
  color: var(--text-inverse);
}

.section-subtitle {
  max-width: 560px;
  font-size: 1.05rem;
}

.section--dark .section-subtitle {
  color: var(--text-muted);
}

.section-subtitle.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity var(--t-fast);
}

.btn:hover::after {
  opacity: 1;
}

.btn--primary {
  background: var(--orange);
  color: var(--text-inverse);
  box-shadow: var(--shadow-glow-orange);
  position: relative;
  overflow: hidden;
}

.btn--primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(249, 115, 22, 0.45);
}

.btn--secondary {
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
  border: 1.5px solid rgba(37, 99, 235, 0.2);
}

.btn--secondary:hover {
  background: rgba(37, 99, 235, 0.18);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--bg-white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: var(--navy);
  color: var(--text-inverse);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn--outline:hover {
  background:var(--orange);
  
}

.btn--ghost {
  background: transparent;
  color: var(--blue);
  padding: 8px 0;
}

.btn--ghost:hover {
  color: var(--blue-hover);
}

.btn--ghost svg {
  transition: transform var(--t-base) var(--ease);
}

.btn--ghost:hover svg {
  transform: translateX(4px);
}

.btn--full {
  width: 100%;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Cards ── */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  transition: all var(--t-base) var(--ease);
}

.card:hover {
  transform: translateY(var(--lift-md));
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card--glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card--glass:hover {
  background: rgba(255, 255, 255, 0.1);
}

.card--dark {
  background: var(--navy);
  border-color: transparent;
  color: var(--text-inverse);
}

.card--elevated {
  box-shadow: var(--shadow-md);
  border: none;
}

/* ── Icon Badges ── */
.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.icon-badge svg {
  width: 24px;
  height: 24px;
}

.icon-badge--blue {
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
}

.icon-badge--cyan {
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan);
}

.icon-badge--purple {
  background: var(--purple-light);
  color: var(--purple);
}

.icon-badge--green {
  background: var(--green-light);
  color: var(--green);
}

.icon-badge--orange {
  background: var(--orange-light);
  color: var(--orange);
}

.icon-badge--indigo {
  background: var(--indigo-light);
  color: var(--indigo);
}

.icon-badge--gradient {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--text-inverse);
}

/* ── Tags ── */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: var(--r-full);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.tag--dark {
  background: var(--glass);
  border-color: var(--glass-border);
  color: rgba(255, 255, 255, 0.65);
}

/* ── Grids ── */
.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

/* ── Dividers ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

.divider--dark {
  background: var(--border-dark);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--t-base) var(--ease);
}

.header.is-scrolled {
  padding: 10px 0;
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  z-index: 101;
}

.logo__img {
  border-radius: 6px;
  margin-right: 8px;
  object-fit: contain;
}

.logo__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  font-weight: 700;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-desktop a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: all var(--t-fast) var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--text);
  background: var(--bg-alt);
}

.header__cta {
  display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--t-base) var(--ease);
  transform-origin: center;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Fullscreen Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-slow) var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  padding: 12px 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--t-base) var(--ease);
}

.mobile-menu.is-open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-open a:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-menu.is-open a:nth-child(2) {
  transition-delay: 0.15s;
}

.mobile-menu.is-open a:nth-child(3) {
  transition-delay: 0.2s;
}

.mobile-menu.is-open a:nth-child(4) {
  transition-delay: 0.25s;
}

.mobile-menu.is-open a:nth-child(5) {
  transition-delay: 0.3s;
}

.mobile-menu.is-open a:nth-child(6) {
  transition-delay: 0.35s;
}

.mobile-menu.is-open a:nth-child(7) {
  transition-delay: 0.4s;
}

.mobile-menu a:hover {
  color: var(--blue);
}

/* ── Bottom Mobile Nav ── */
.nav-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.06);
}

.nav-mobile__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 10px;
  transition: all var(--t-fast);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-mobile__link svg {
  width: 20px;
  height: 20px;
}

.nav-mobile__link.active,
.nav-mobile__link:hover {
  color: var(--blue);
}

.nav-mobile__cta {
  background: var(--orange);
  color: var(--text-inverse) !important;
  border-radius: var(--r-full);
  padding: 10px 18px;
  flex-direction: row;
  gap: 5px;
  font-size: 0.72rem;
  box-shadow: var(--shadow-glow-orange);
}

.nav-mobile__cta svg {
  width: 14px;
  height: 14px;
}

/* ── Floating WhatsApp ── */
.fab-whatsapp {
  position: fixed;
  bottom: 78px;
  right: 16px;
  z-index: 99;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all var(--t-base) var(--ease);
}

.fab-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.fab-whatsapp svg {
  width: 26px;
  height: 26px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 96px 0 56px;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 85%, rgba(249, 115, 22, 0.06) 0%, transparent 40%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero__orb--1 {
  width: 400px;
  height: 400px;
  background: rgba(37, 99, 235, 0.08);
  top: -100px;
  right: -100px;
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: rgba(6, 182, 212, 0.06);
  bottom: -50px;
  left: -50px;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  padding: 7px 16px;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  color: var(--cyan);
  font-weight: 500;
  margin-bottom: 24px;
}

.hero__badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}

.hero__badge .pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero h1 {
  color: var(--text-inverse);
  margin-bottom: 20px;
  max-width: 640px;
}

.hero__highlight {
  position: relative;
  display: inline;
  white-space: nowrap;
}

.hero__highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--orange);
  border-radius: 4px;
  opacity: 0.6;
  z-index: -1;
}

.hero__subtitle {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 32px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 36px;
  margin-top: 36px;
}

.hero-stat {
  text-align: center;
  padding: 16px 8px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  backdrop-filter: blur(10px);
}

.hero-stat__number {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-inverse);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.hero-stat__number .accent {
  color: var(--cyan);
}

.hero-stat__label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero__tech {
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}

.hero__tech-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.hero__tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__tech-item {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
  padding: 5px 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
}

.hero__image-wrapper {
  position: relative;
  z-index: 2;
  perspective: 1000px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  display: none;
}
@media (min-width: 992px) {
  .hero__image-wrapper { display: block; }
}
.hero__floating-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 30px 60px -15px rgba(0, 20, 50, 0.5), 0 0 40px rgba(0, 220, 255, 0.15);
  animation: heroFloat 6s ease-in-out infinite;
  transform-style: preserve-3d;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s ease;
}
.hero__image-wrapper:hover .hero__floating-image {
  animation-play-state: paused;
  transform: translateY(-10px) scale(1.02) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 40px 80px -15px rgba(0, 20, 50, 0.6), 0 0 60px rgba(0, 220, 255, 0.25);
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotateX(0) rotateY(0); }
  50% { transform: translateY(-20px) rotateX(1deg) rotateY(-1deg); }
}
@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SERVICES BENTO GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: all var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(var(--lift-md));
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card__visual {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.service-card__visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.service-card__body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__body .icon-badge {
  margin-top: -34px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
  margin: 14px 0 8px;
}

.service-card p {
  font-size: 0.88rem;
  margin-bottom: 16px;
  flex: 1;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: auto;
  transition: all var(--t-base);
}

.service-card__link:hover {
  gap: 10px;
}

.service-card--web .service-card__link {
  color: var(--blue);
}

.service-card--mobile .service-card__link {
  color: var(--cyan);
}

.service-card--design .service-card__link {
  color: #A855F7;
}

.service-card--ai .service-card__link {
  color: var(--green);
}

.service-card--seo .service-card__link {
  color: var(--orange);
}

.service-card--hosting .service-card__link {
  color: #6366F1;
}

/* SVG visual animations */
@keyframes svc-float1 {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-5px)
  }
}

@keyframes svc-float2 {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

@keyframes svc-float3 {

  0%,
  100% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(3px, -6px)
  }
}

@keyframes svc-blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

@keyframes svc-bar {
  from {
    transform: scaleY(0)
  }

  to {
    transform: scaleY(1)
  }
}

@keyframes svc-pop {
  0% {
    transform: scale(0)
  }

  50% {
    transform: scale(1.15)
  }

  100% {
    transform: scale(1)
  }
}

.svc-float1 {
  animation: svc-float1 4s ease-in-out infinite;
}

.svc-float2 {
  animation: svc-float2 3.5s ease-in-out infinite 0.5s;
}

.svc-float3 {
  animation: svc-float3 5s ease-in-out infinite 1s;
}

.svc-blink {
  animation: svc-blink 1s infinite;
}

.svc-bar {
  transform-origin: bottom;
  animation: svc-bar 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.svc-pop {
  animation: svc-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both 1s;
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
  text-align: center;
}

.trust-strip__title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.trust-stat__number {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.trust-stat__label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.portfolio-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 16/11;
  transition: all var(--t-base) var(--ease);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.portfolio-card:hover {
  transform: translateY(var(--lift-md));
  box-shadow: var(--shadow-xl);
}

.portfolio-card__preview {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 0%, rgba(10, 22, 40, 0.92));
  transition: opacity var(--t-base);
}

.portfolio-card:hover .portfolio-card__overlay {
  opacity: 0.95;
}

.portfolio-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  z-index: 2;
}

.portfolio-card__type {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--cyan);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.portfolio-card__info h3 {
  color: var(--text-inverse);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.portfolio-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--t-base) var(--ease);
}

.portfolio-card:hover .portfolio-card__desc {
  opacity: 1;
  transform: translateY(0);
}

/* Mockup inside portfolio card */
.mockup {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: 1px solid var(--border-dark);
  overflow: hidden;
  position: relative;
}

.mockup--phone {
  width: 42%;
  margin: 0 auto;
  border-radius: 16px;
}

.mockup__bar {
  height: 22px;
  background: var(--navy-light);
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 4px;
}

.mockup__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.mockup__body {
  padding: 10px;
  height: calc(100% - 22px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup__line {
  height: 7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
}

.mockup__block {
  flex: 1;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  min-height: 30px;
}

/* ============================================
   PROCESS
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: step;
}

.process-card {
  counter-increment: step;
  position: relative;
  padding: 28px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: all var(--t-base) var(--ease);
}

.process-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(var(--lift-sm));
}

.process-card::after {
  content: counter(step, decimal-leading-zero);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: rgba(37, 99, 235, 0.06);
  position: absolute;
  top: 12px;
  right: 16px;
  line-height: 1;
}

.process-card h3 {
  margin-bottom: 8px;
}

.process-card p {
  font-size: 0.9rem;
}

/* ============================================
   WHY US
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.why-card {
  padding: 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(10px);
  transition: all var(--t-base) var(--ease);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(var(--lift-sm));
}

.why-card__icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}

.why-card h3 {
  color: var(--text-inverse);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial {
  flex: 0 0 85%;
  scroll-snap-align: start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 24px;
}

.testimonial__stars {
  color: var(--orange);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial__text {
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial__name {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.88rem;
}

.testimonial__role {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 50%, rgba(249, 115, 22, 0.1), transparent 50%),
    radial-gradient(circle at 75% 50%, rgba(6, 182, 212, 0.08), transparent 50%);
}

.cta-banner__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--text-inverse);
  margin-bottom: 14px;
}

.cta-banner p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-group {
  justify-content: center;
}

.cta-banner__alt {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cta-banner__alt a {
  color: var(--cyan);
  font-weight: 600;
}

.cta-banner__alt a:hover {
  text-decoration: underline;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
}

.contact-method:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.contact-method__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-method__label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-method__value {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}

.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
}

.form-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.form-progress__step {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--bg-alt);
  transition: background var(--t-base);
}

.form-progress__step.is-active {
  background: var(--blue);
}

.form-progress__step.is-done {
  background: var(--green);
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

.form-step__title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.form-step__subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.form-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.form-option {
  padding: 14px 12px;
  text-align: center;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t-fast);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-option:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.form-option.is-selected {
  border-color: var(--blue);
  background: rgba(37, 99, 235, 0.04);
  color: var(--blue);
}

.form-option__icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 6px;
}

.field {
  margin-bottom: 16px;
}

.field__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field__input,
.field__textarea,
.field__select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 1rem;
  color: var(--text);
  transition: all var(--t-fast);
  -webkit-appearance: none;
}

.field__input:focus,
.field__textarea:focus,
.field__select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.field__textarea {
  resize: vertical;
  min-height: 100px;
}

.field__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field__error {
  border-color: var(--red) !important;
}

.form-buttons {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.form-buttons .btn {
  flex: 1;
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.is-visible {
  display: block;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem;
  color: var(--green);
}

/* ============================================
   PAGE HERO (Inner pages)
   ============================================ */
.page-hero {
  background: var(--navy);
  padding: 120px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(37, 99, 235, 0.12), transparent 55%),
    radial-gradient(ellipse at 70% 30%, rgba(6, 182, 212, 0.08), transparent 45%);
}

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

.page-hero .section-label {
  color: var(--cyan);
}

.page-hero h1 {
  color: var(--text-inverse);
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.page-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}

.page-hero__breadcrumb a:hover {
  color: var(--cyan);
}

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  transition: all var(--t-base) var(--ease);
  position: relative;
}

.pricing-card--popular {
  border-color: var(--blue);
  box-shadow: var(--shadow-glow-blue);
}

.pricing-card--popular::before {
  content: 'Key Step';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.pricing-card__price {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.pricing-card__price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-card__note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-card__features {
  margin-bottom: 24px;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pricing-card__check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 16px;
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: all var(--t-base);
}

.faq-item.is-open .faq-item__icon {
  background: var(--blue);
  color: var(--text-inverse);
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease);
}

.faq-item.is-open .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer p {
  padding-bottom: 20px;
  font-size: 0.92rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.55);
  padding: 56px 0 120px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer__brand .logo {
  margin-bottom: 14px;
  color: var(--text-inverse);
}

.footer__brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer__links h4 {
  color: var(--text-inverse);
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer__links a {
  display: block;
  padding: 5px 0;
  font-size: 0.85rem;
}

.footer__links a:hover {
  color: var(--cyan);
}

.footer__bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.75rem;
}

.footer__bottom a {
  color: var(--cyan);
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-inverse);
}

/* ============================================
   MODAL POPUP SYSTEM
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10, 22, 40, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay.is-open .modal {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.modal {
  background: var(--bg-white);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  transform: translate3d(0, 30px, 0) scale(0.96);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

[data-theme="dark"] .modal {
  background: #151E2E;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal__header {
  padding: 28px 28px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal__header-content {
  flex: 1;
}

.modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 8px;
}

.modal__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.modal__title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  margin: 0;
}

[data-theme="dark"] .modal__title {
  color: var(--text);
}

.modal__subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.5;
}

.modal__close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--t-fast) var(--ease);
  flex-shrink: 0;
  margin-left: 12px;
}

.modal__close:hover {
  background: var(--border);
  color: var(--text);
}

[data-theme="dark"] .modal__close {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.modal__close svg {
  width: 18px;
  height: 18px;
}

.modal__body {
  padding: 24px 28px 28px;
}

/* Modal form fields */
.modal__field {
  margin-bottom: 16px;
}

.modal__field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.modal__field input,
.modal__field textarea,
.modal__field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.92rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--t-fast) var(--ease);
}

.modal__field input:focus,
.modal__field textarea:focus,
.modal__field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

[data-theme="dark"] .modal__field input,
[data-theme="dark"] .modal__field textarea,
[data-theme="dark"] .modal__field select {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.modal__field textarea {
  resize: vertical;
  min-height: 80px;
}

.modal__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.svc-cta-block{
  margin-top: 2rem;
}
/* Modal service pills (for quote form) */
.svc-mb-20,
.svc-tags,
.svc-subtitle{
  margin-bottom: 1.5rem;
  .tag{
    margin-bottom: 8px;
    margin-right: 8px;
  }
}
.svc-grid-gap{
  margin-bottom: 2rem;
}
.service-card__link{
  margin-left: 8px;
}
.modal__services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.modal__service-pill {
  padding: 8px 16px;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}

.modal__service-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.modal__service-pill.is-selected {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

[data-theme="dark"] .modal__service-pill {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .modal__service-pill.is-selected {
  background: var(--blue);
  border-color: var(--blue);
}

/* Modal steps */
.modal__step {
  display: none;
}

.modal__step.is-active {
  display: block;
  animation: fadeUp 0.3s var(--ease) both;
}

.modal__progress {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.modal__progress-dot {
  height: 3px;
  flex: 1;
  border-radius: 3px;
  background: var(--border);
  transition: background 0.3s;
}

.modal__progress-dot.is-active {
  background: var(--blue);
}

.modal__progress-dot.is-done {
  background: var(--green);
}

/* Modal footer buttons */
.modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.modal__actions .btn {
  flex: 1;
  justify-content: center;
  text-align: center;
}

.modal__back {
  padding: 12px 20px;
  border-radius: var(--r-full);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast);
}

.modal__back:hover {
  background: var(--border);
  color: var(--text);
}

[data-theme="dark"] .modal__back {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Modal success */
.modal__success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.modal__success.is-visible {
  display: block;
  animation: fadeUp 0.4s var(--ease) both;
}

.modal__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
}

.modal__success h3 {
  margin-bottom: 8px;
}

.modal__success p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ============================================
   ENHANCED MICRO-INTERACTIONS
   ============================================ */
.service-card__link svg {
  transition: transform var(--t-base) var(--ease);
}

.service-card__link:hover svg {
  transform: translateX(5px);
}

.service-card:hover .icon-badge svg {
  animation: float 1.5s ease-in-out;
}

/* CTA Button shimmer */
.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s var(--ease);
}

.btn--primary:hover::before {
  left: 120%;
}

/* Form step slide transition */
.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
  animation: fadeUp 0.35s var(--ease) both;
}

/* ============================================
   GLASSMORPHISM ENHANCEMENTS
   ============================================ */
.service-card:hover {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

[data-theme="dark"] .service-card:hover {
  background: rgba(21, 30, 46, 0.9);
}

.testimonial {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

[data-theme="dark"] .testimonial {
  background: rgba(21, 30, 46, 0.85);
}

.nav-mobile {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ============================================
   PORTFOLIO RESULT BADGES
   ============================================ */
.portfolio-card__result {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(16, 185, 129, 0.9);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--r-full);
  backdrop-filter: blur(8px);
  z-index: 3;
  letter-spacing: 0.02em;
}

.portfolio-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.portfolio-card__tech span {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   BLOG AUTHOR & READING TIME
   ============================================ */
.blog-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.blog-card__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.blog-card__author-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}

.blog-card__author-role {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.blog-card__read-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   SUSTAINABILITY BADGE
   ============================================ */
.eco-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--green);
  padding: 4px 0;
}

.eco-badge svg {
  width: 14px;
  height: 14px;
}

/* (Duplicate modal block removed — styles live in MODAL POPUP SYSTEM above) */

/* ============================================
   HERO SPLIT LAYOUT (Desktop)
   ============================================ */
.hero__split {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero__text {
  flex: 1;
}

.hero__mockups {
  flex: 1;
  position: relative;
  display: none;
  /* Hidden on mobile, shown on desktop */
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.hero__device {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  background: var(--navy-light);
}

.hero__device--browser {
  width: 100%;
  max-width: 420px;
}

.hero__device--phone {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero__device-bar {
  height: 28px;
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__device-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.hero__device-dot:nth-child(1) {
  background: #EF4444;
  opacity: 0.6;
}

.hero__device-dot:nth-child(2) {
  background: #F59E0B;
  opacity: 0.6;
}

.hero__device-dot:nth-child(3) {
  background: #10B981;
  opacity: 0.6;
}

.hero__device-url {
  margin-left: 12px;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 10px;
  border-radius: 4px;
}

.hero__device-body {
  padding: 12px;
  min-height: 220px;
  background: linear-gradient(135deg, #111D33, #162240);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero__device--phone .hero__device-bar {
  height: 20px;
  border-radius: 18px 18px 0 0;
}

.hero__device--phone .hero__device-body {
  min-height: 200px;
  padding: 10px;
}

/* Skeleton content for mockup */
.hero__mock-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
}

.hero__mock-line--accent {
  background: rgba(37, 99, 235, 0.2);
}

.hero__mock-block {
  flex: 1;
  border-radius: 6px;
  min-height: 40px;
  background: rgba(37, 99, 235, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero__mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  flex: 1;
}

.hero__mock-card {
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__mock-stat {
  font-size: 0.55rem;
  font-weight: 700;
  color: rgba(37, 99, 235, 0.7);
  font-family: 'Outfit', sans-serif;
}

.hero__mock-label {
  font-size: 0.4rem;
  color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__device-badge {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  background: rgba(17, 29, 51, 0.95);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ============================================
   MOBILE SERVICES HORIZONTAL SCROLL
   ============================================ */
@media (max-width: 639px) {
  .services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .services-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    min-width: 280px;
  }
}

/* ============================================
   BLOG PREVIEW
   ============================================ */
.blog-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--t-base) var(--ease);
}

.blog-card:hover {
  transform: translateY(var(--lift-sm));
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.blog-card__image {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  position: relative;
  overflow: hidden;
}

.blog-card__image-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 32px 32px;
}

.blog-card__category {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: rgba(37, 99, 235, 0.9);
  color: white;
  letter-spacing: 0.04em;
}

.blog-card__body {
  padding: 20px;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card__body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.35;
}

.blog-card__body h3 a {
  color: var(--text);
  transition: color var(--t-fast);
}

.blog-card__body h3 a:hover {
  color: var(--blue);
}

.blog-card__excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }

  .section {
    padding: 96px 0;
  }

  .hero {
    padding: 120px 0 72px;
  }

  .hero__stats {
    gap: 16px;
  }

  .hero-stat__number {
    font-size: 1.8rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial {
    flex: 0 0 46%;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
  }

  .cta-banner .btn-group {
    flex-direction: row;
  }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  .section {
    padding: 112px 0;
  }

  .nav-desktop {
    display: flex;
  }

  .header__cta {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .nav-mobile {
    display: none;
  }

  .fab-whatsapp {
    display: none;
  }

  .hero {
    padding: 140px 0 96px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__split {
    flex-direction: row;
    align-items: center;
  }

  .hero__mockups {
    display: flex;
  }

  .hero h1 {
    max-width: 560px;
  }

  .hero__subtitle {
    max-width: 440px;
  }

  .blog-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .testimonial {
    flex: 0 0 31%;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
  }

  .footer {
    padding-bottom: 48px;
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ══════════════════════════════════════════════
   Utility Classes
   ============================================== */

.u-cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.u-cover-top { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.u-flex-center { display: flex; align-items: center; justify-content: center; }
.u-flex-col-center { display: flex; flex-direction: column; justify-content: center; }
.u-text-center { text-align: center; }
.u-hidden { display: none; }
.u-relative { position: relative; }
.u-z1 { position: relative; z-index: 1; }
.u-mt-40 { margin-top: 40px; }
.u-no-pad { padding: 0; }

/* ══════════════════════════════════════════════
   Front-Page Specific Classes
   ============================================== */

/* -- Hero Stat Colors -- */
.hero-stat__number--orange { color: var(--orange); }

/* -- Hero Mockup Stat Colors -- */
.stat--green  { color: rgba(16, 185, 129, 0.8); }
.stat--orange { color: rgba(249, 115, 22, 0.8); }
.stat--cyan   { color: rgba(6, 182, 212, 0.8); }

/* -- Hero Mockup Line Widths -- */
.hero__mock-line--w35  { width: 35%; }
.hero__mock-line--w50  { width: 50%; }
.hero__mock-line--w60  { width: 60%; }
.hero__mock-line--w65  { width: 65%; }
.hero__mock-line--w80  { width: 80%; }

/* -- Hero Mockup Phone & Block Variants -- */
.hero__device-body--phone { background: linear-gradient(135deg, #0f172a, #1a1a2e); }
.hero__mock-block--cyan   { background: rgba(6, 182, 212, 0.06); border-color: rgba(6, 182, 212, 0.1); }
.hero__mock-block--sm     { flex: 0.5; background: rgba(6, 182, 212, 0.04); }

/* -- Portfolio Card Background -- */
.portfolio-card__bg { background: #0a1628; }

/* -- Button Group Center -- */
.btn-group--center { justify-content: center; }

/* -- Section CTA Wrapper -- */
.section-cta { text-align: center; margin-top: 40px; }

/* -- Blog Card Styles -- */
.blog-card__image--default { padding: 0; background: rgba(37, 99, 235, 0.05); }
.blog-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* -- Blog Empty State -- */
.blog-empty {
  text-align: center;
  grid-column: 1 / -1;
  color: var(--text-muted);
}

/* ── Header Actions ── */
.header__actions { display: flex; align-items: center; gap: 10px; }

/* ── Eco Badge Spacing ── */
.eco-badge--spaced { margin-top: 14px; }

/* ── Error Page (404) ── */
.error-page__content { text-align: center; padding: 80px 0; }
.error-page__code {
  font-size: 6rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.error-page__heading { margin-top: 16px; }
.error-page__text {
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Shared Grid & Card Utilities ── */
.grid--gap-24 { gap: 24px; }
.card--padded { padding: 24px; }

/* ── Post Card (index/archive fallback) ── */
.post-card__date { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 10px; }
.post-card__title { margin-bottom: 8px; }
.post-card__title a { color: var(--text); text-decoration: none; }
.post-card__title a:hover { color: var(--blue); }
.post-card__excerpt { font-size: 0.88rem; margin-bottom: 16px; }