/* ═══════════════════════════════════════════
   Spalimo — Modern Luxury Spa Theme
   ═══════════════════════════════════════════ */

:root {
  /* Light theme (default) */
  --bg-page:       #f4f7fb;
  --bg-white:      #ffffff;
  --bg-soft:       #eef2f7;
  --text-dark:     #1e293b;
  --text-body:     #475569;
  --text-muted-l:  #64748b;
  --border-light:  rgba(15, 23, 42, .08);

  /* Dark sections */
  --bg-deep:       #060b14;
  --bg-surface:    #0c1222;
  --bg-elevated:   #131b2e;
  --bg-glass:      rgba(15, 23, 42, .55);
  --text-primary:  #f1f5f9;
  --text-secondary:#cbd5e1;
  --text-muted:    #94a3b8;
  --border-subtle: rgba(148, 163, 184, .12);

  /* Accents */
  --accent-teal:   #0d9488;
  --accent-teal-d: #0f766e;
  --accent-teal-l: #2dd4bf;
  --accent-violet: #7c3aed;
  --accent-gold:   #b8860b;
  --accent-rose:   #f0abfc;

  --shadow-soft:   0 4px 24px rgba(15, 23, 42, .06);
  --shadow-card:   0 8px 32px rgba(15, 23, 42, .08);
  --shadow-glow:   0 0 40px rgba(13, 148, 136, .12);
  --radius:        20px;
  --radius-sm:     12px;
  --radius-pill:   999px;
  --transition:    .4s cubic-bezier(.4, 0, .2, 1);
  --font-display:  'Estedad', 'Vazirmatn', system-ui, sans-serif;
  --font-body:     'Vazirmatn', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: clip;
  max-width: 100%;
}

html[dir="rtl"] body { text-align: right; }

body {
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.8;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6,
.display-heading,
.section-title,
.hero-spalimo h1,
.page-header h1,
.navbar-brand,
.footer-brand {
  font-family: var(--font-display) !important;
  font-feature-settings: "ss01";
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--accent-teal);
  margin-bottom: .75rem;
  padding: .35rem 1rem;
  background: rgba(13, 148, 136, .08);
  border: 1px solid rgba(13, 148, 136, .18);
  border-radius: var(--radius-pill);
}

.section-title {
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section-sub {
  color: var(--text-muted-l);
  font-size: 1.05rem;
  max-width: 620px;
  line-height: 1.9;
}

/* Dark section overrides */
.theme-dark .section-title { color: var(--text-primary); }
.theme-dark .section-sub { color: var(--text-muted); }
.theme-dark .section-label {
  color: var(--accent-teal-l);
  background: rgba(45, 212, 191, .08);
  border-color: rgba(45, 212, 191, .2);
}

/* ── Navbar ── */
.navbar-spalimo {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  padding: .85rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar-spalimo.scrolled,
body:not(:has(.hero-spalimo)) .navbar-spalimo {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  padding: .55rem 0;
  box-shadow: var(--shadow-soft);
}

.navbar-spalimo.scrolled .nav-link,
body:not(:has(.hero-spalimo)) .navbar-spalimo .nav-link {
  color: var(--text-body);
}

.navbar-spalimo.scrolled .nav-link:hover,
.navbar-spalimo.scrolled .nav-link.active,
body:not(:has(.hero-spalimo)) .navbar-spalimo .nav-link:hover,
body:not(:has(.hero-spalimo)) .navbar-spalimo .nav-link.active {
  color: var(--accent-teal);
}

.navbar-spalimo.scrolled .navbar-toggler-icon,
body:not(:has(.hero-spalimo)) .navbar-spalimo .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23475569' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-spalimo.scrolled .navbar-toggler,
body:not(:has(.hero-spalimo)) .navbar-spalimo .navbar-toggler {
  border-color: var(--border-light);
}

.navbar-spalimo.scrolled .btn-ghost,
body:not(:has(.hero-spalimo)) .navbar-spalimo .btn-ghost {
  background: var(--bg-soft);
  color: var(--text-dark);
  border-color: var(--border-light);
}

.navbar-spalimo .brand-logo {
  height: 44px;
  max-height: 44px;
  max-width: min(140px, 42vw);
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
}

.navbar-spalimo .navbar-brand:hover .brand-logo {
  transform: scale(1.03);
}

.navbar-spalimo .nav-link {
  color: rgba(255, 255, 255, .85);
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 500;
  padding: .5rem 1.1rem !important;
  position: relative;
  transition: color var(--transition);
}

.navbar-spalimo .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-violet));
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.navbar-spalimo .nav-link:hover,
.navbar-spalimo .nav-link.active {
  color: #fff;
}

body:not(:has(.hero-spalimo)) .navbar-spalimo .nav-link:hover,
body:not(:has(.hero-spalimo)) .navbar-spalimo .nav-link.active {
  color: var(--accent-teal);
}

.navbar-spalimo .nav-link:hover::after,
.navbar-spalimo .nav-link.active::after {
  width: 55%;
}

.navbar-spalimo .navbar-toggler {
  border: 1px solid var(--border-subtle);
  padding: .35rem .65rem;
  border-radius: var(--radius-sm);
}

.navbar-spalimo .navbar-toggler:focus { box-shadow: none; }

.navbar-spalimo .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23cbd5e1' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Buttons ── */
.btn-accent {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-teal-d) 100%);
  color: #fff;
  border: none;
  padding: .7rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 4px 20px rgba(45, 212, 191, .25);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(13, 148, 136, .35);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: .65rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .88rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(45, 212, 191, .3);
  color: var(--text-primary);
}

.btn-outline-sage {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-subtle);
  padding: .65rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: var(--transition);
}

.btn-outline-sage:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}
.btn-gold {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-teal-d) 100%);
  color: #fff;
  border: none;
  padding: .7rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 4px 20px rgba(45, 212, 191, .25);
  transition: var(--transition);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(13, 148, 136, .35);
  color: #fff;
}

.btn-outline-light,
.btn-outline-glass {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255, 255, 255, .25);
  padding: .65rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  backdrop-filter: blur(12px);
}

.btn-outline-light:hover,
.btn-outline-glass:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

/* ── Hero (dark — untouched layout) ── */
section {
  max-width: 100%;
  overflow-x: clip;
}

.hero-spalimo {
  --accent-teal: #2dd4bf;
  --accent-violet: #a78bfa;
  --accent-gold: #e8c97a;
  --text-muted: #94a3b8;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-spalimo .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform-origin: center center;
  will-change: transform;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

@media (max-width: 767px) {
  @keyframes heroZoom {
    from { transform: scale(1.02); }
    to   { transform: scale(1); }
  }
}

.hero-spalimo .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(45, 212, 191, .08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(6, 11, 20, .75) 0%, rgba(6, 11, 20, .88) 50%, rgba(6, 11, 20, .95) 100%);
}

/* Floating orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px; height: 400px;
  background: var(--accent-teal);
  top: 10%; right: 15%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px; height: 300px;
  background: var(--accent-violet);
  bottom: 20%; left: 10%;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 250px; height: 250px;
  background: var(--accent-gold);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -8s;
  opacity: .2;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 15px) scale(.95); }
}

.hero-spalimo .hero-content {
  position: relative;
  z-index: 2;
  padding: 9rem 1rem 6rem;
  max-width: 820px;
  margin: 0 auto;
}

.hero-spalimo .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  color: var(--accent-teal);
  padding: .45rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  animation: fadeDown .8s ease both;
}

.hero-spalimo h1 {
  font-family: var(--font-display) !important;
  font-size: clamp(2.5rem, 7vw, 4.2rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.2;
  animation: fadeDown .8s .15s ease both;
}

.hero-spalimo h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-spalimo .hero-lead {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2.25rem;
  font-weight: 400;
  line-height: 1.9;
  animation: fadeDown .8s .3s ease both;
}

.hero-spalimo .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeDown .8s .45s ease both;
}

.hero-spalimo .hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  animation: fadeDown .8s .6s ease both;
}

.hero-spalimo .hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-spalimo .hero-stat span {
  font-size: .82rem;
  color: var(--text-muted);
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Intro Strip ── */
.intro-strip {
  position: relative;
  background: var(--bg-surface);
  color: var(--text-secondary);
  padding: 4.5rem 0;
  text-align: center;
  overflow: hidden;
}

.intro-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(167, 139, 250, .06) 0%, transparent 70%);
}

.intro-strip p {
  font-family: var(--font-display) !important;
  font-size: clamp(1.15rem, 2.8vw, 1.65rem);
  font-weight: 500;
  max-width: 860px;
  margin: 0 auto;
  line-height: 2;
  position: relative;
  z-index: 1;
}

.intro-strip em {
  font-style: normal;
  color: var(--accent-teal-l);
  font-weight: 700;
}

/* ── Services (light) ── */
.services-section {
  padding: 6rem 0;
  background: var(--bg-white);
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(45, 212, 191, .25);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.service-card .service-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card .service-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,.9) 0%, transparent 50%);
}

.service-card .service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

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

.service-card h5 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-muted-l);
  font-size: .875rem;
  margin-bottom: 0;
  line-height: 1.8;
}

.service-card .service-price {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: var(--accent-teal);
  color: #fff;
  padding: .35rem .85rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
}

/* Icon services grid */
.icon-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.icon-service-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: var(--transition);
}

.icon-service-item:hover {
  border-color: rgba(13, 148, 136, .25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.icon-service-item .icon-circle {
  width: 56px;
  height: 56px;
  margin: 0 auto .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(13, 148, 136, .1);
  border: 1px solid rgba(13, 148, 136, .15);
  color: var(--accent-teal);
  font-size: 1.35rem;
}

.icon-service-item h5 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

/* ── Features (light) ── */
.features-section {
  padding: 6rem 0;
  background: var(--bg-page);
}

.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.feature-item:hover {
  border-color: rgba(13, 148, 136, .2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-item .feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(13, 148, 136, .1);
  border: 1px solid rgba(13, 148, 136, .15);
  color: var(--accent-teal);
  font-size: 1.5rem;
}

.feature-item h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .5rem;
}

.feature-item p {
  color: var(--text-muted-l);
  font-size: .875rem;
  margin: 0;
}

/* ── Experience (dark) ── */
.experience-section {
  padding: 6rem 0;
  background: var(--bg-deep);
  overflow: hidden;
}

.experience-section .section-title { color: var(--text-primary); }
.experience-section .section-sub { color: var(--text-muted); }

.experience-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.experience-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .65rem 0;
  font-size: .95rem;
  color: var(--text-secondary);
}

.benefit-list li i {
  color: var(--accent-teal-l);
  font-size: 1rem;
  margin-top: .3rem;
  flex-shrink: 0;
}

/* ── Pricing (light — fixed contrast) ── */
.pricing-section {
  padding: 6rem 0;
  background: var(--bg-page);
}

.pricing-table {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.pricing-table table {
  width: 100%;
  margin: 0;
  --bs-table-bg: transparent;
  --bs-table-color: var(--text-body);
  --bs-table-border-color: var(--border-light);
}

.pricing-table thead {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
}

.pricing-table thead th {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff !important;
  border: none;
  background: transparent;
}

.pricing-table tbody tr {
  transition: background var(--transition);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-white);
}

.pricing-table tbody tr:last-child { border-bottom: none; }

.pricing-table tbody tr:hover {
  background: rgba(13, 148, 136, .04);
}

.pricing-table tbody td {
  padding: 1rem 1.5rem;
  font-size: .9rem;
  color: var(--text-dark) !important;
  background: transparent;
  border-color: var(--border-light);
  vertical-align: middle;
}

.pricing-table .price {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent-teal) !important;
  white-space: nowrap;
  font-size: 1rem;
}

.pricing-table .vip-row {
  background: rgba(184, 134, 11, .05);
}

.pricing-table .vip-row:hover {
  background: rgba(184, 134, 11, .08);
}

.pricing-note {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  font-size: .85rem;
  color: var(--text-muted-l);
  box-shadow: var(--shadow-soft);
}

.pricing-note i { color: var(--accent-teal); }
.pricing-note strong { color: var(--text-dark); }

/* ── Process (light) ── */
.process-section {
  padding: 6rem 0;
  background: var(--bg-white);
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
}

.process-step .step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--accent-teal);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-teal);
}

.process-step h5 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .5rem;
}

.process-step p {
  color: var(--text-muted-l);
  font-size: .85rem;
  margin: 0;
}

/* ── FAQ (light) ── */
.faq-section {
  padding: 6rem 0;
  background: var(--bg-page);
}

.faq-section .accordion-item {
  border: 1px solid var(--border-light);
  margin-bottom: .75rem;
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow-soft);
}

.faq-section .accordion-button {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--bg-white);
  padding: 1.25rem 1.5rem;
  box-shadow: none !important;
}

.faq-section .accordion-button:not(.collapsed) {
  background: rgba(13, 148, 136, .06);
  color: var(--accent-teal);
}

.faq-section .accordion-button::after {
  filter: none;
}

.faq-section .accordion-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted-l);
  font-size: .9rem;
  background: var(--bg-white);
}

/* ── Contact card (light) ── */
.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-soft);
}

.contact-card-centered {
  text-align: center;
}

.contact-card .contact-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(13, 148, 136, .1);
  color: var(--accent-teal);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact-card h5 {
  font-family: var(--font-display);
  color: var(--text-dark);
  margin-bottom: .5rem;
  font-weight: 700;
}

.contact-card p {
  color: var(--text-muted-l);
  font-size: .9rem;
}

.contact-card a:not(.btn) {
  color: var(--accent-teal);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}

.contact-card a:not(.btn):hover {
  color: var(--accent-teal-d);
}

.contact-card .btn {
  margin-top: .5rem;
  justify-content: center;
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
}

/* ── CTA (dark) ── */
.cta-banner {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-deep) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(45, 212, 191, .08) 0%, transparent 70%);
}

.cta-banner .cta-content { position: relative; z-index: 1; }

.cta-banner h2 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto 2rem;
}

.cta-banner .btn-outline-glass {
  color: #fff;
  border-color: rgba(255,255,255,.3);
}

/* ── Footer (dark) ── */
.footer-spalimo {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 5rem 0 0;
}

.footer-spalimo .footer-logo {
  height: 52px;
  margin-bottom: 1.25rem;
}

.footer-spalimo .footer-desc {
  font-size: .875rem;
  line-height: 1.9;
  max-width: 320px;
}

.footer-spalimo h6 {
  color: var(--accent-teal);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-spalimo ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-spalimo ul li { margin-bottom: .6rem; }

.footer-spalimo ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .875rem;
  transition: color var(--transition);
}

.footer-spalimo ul a:hover { color: var(--accent-teal); }

.footer-spalimo .contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1rem;
  font-size: .875rem;
}

.footer-spalimo .contact-item i { color: var(--accent-teal); margin-top: .2rem; }

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

.footer-bottom p {
  font-size: .8rem;
  margin: 0;
  color: var(--text-muted);
}

/* ── Page Header (light) ── */
.page-header {
  padding: 10rem 0 4rem;
  background: var(--bg-white);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(13, 148, 136, .06) 0%, transparent 60%);
}

.page-header h1 {
  font-family: var(--font-display) !important;
  color: var(--text-dark);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: .75rem;
  position: relative;
}

.page-header p {
  color: var(--text-muted-l);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto;
  position: relative;
}

.page-header .section-label { position: relative; }

/* ── Inner pages (light) ── */
.info-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  border-right: 3px solid var(--accent-teal);
  box-shadow: var(--shadow-soft);
}

.info-box h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  margin-bottom: .75rem;
}

.info-box p, .info-box li {
  font-size: .875rem;
  color: var(--text-muted-l);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.about-value {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.about-value strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text-dark);
  margin-bottom: .25rem;
}

.about-value span {
  font-size: .8rem;
  color: var(--text-muted-l);
}

/* Blog cards (light) */
.card {
  background: var(--bg-white) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.card-title a { color: var(--text-dark) !important; }
.card-text { color: var(--text-muted-l) !important; }

.pagination .page-link {
  background: var(--bg-white);
  border-color: var(--border-light);
  color: var(--text-body);
}

.pagination .page-item.active .page-link {
  background: var(--accent-teal);
  border-color: var(--accent-teal);
  color: #fff;
}

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Utilities ── */
.text-gold, .text-gold { color: var(--accent-teal) !important; }
.bg-cream { background: var(--bg-page) !important; }
.rounded-12 { border-radius: var(--radius); }
.shadow-soft { box-shadow: var(--shadow-soft); }
.text-muted { color: var(--text-muted-l) !important; }

main.no-container {
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.display-serif { font-family: var(--font-display) !important; }

/* ── Mobile Quick Call ── */
.quick-call-btn {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1030;
  margin: 0 auto;
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-d));
  color: #fff;
  padding: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 -4px 24px rgba(45, 212, 191, .3);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  font-size: .95rem;
}

@media (min-width: 992px) {
  .quick-call-btn { display: none; }
}

@media (max-width: 991px) {
  .hero-spalimo .hero-stats {
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
  }

  .navbar-spalimo .navbar-collapse {
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(24px);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-top: .5rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
  }

  .navbar-spalimo .navbar-collapse .nav-link {
    color: var(--text-dark);
  }

  .about-values { grid-template-columns: 1fr; }
  .pricing-table { overflow-x: auto; }
  .icon-services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 575px) {
  .icon-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .hero-spalimo .hero-content {
    padding: 8rem 1rem 5rem;
    width: 100%;
    max-width: 100%;
  }

  .hero-spalimo .hero-badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.6;
    text-align: center;
  }

  .hero-spalimo h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
    overflow-wrap: anywhere;
  }

  .hero-spalimo .hero-lead {
    font-size: 1rem;
    padding: 0 .25rem;
  }

  .hero-spalimo .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
  }

  .hero-spalimo .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-spalimo .hero-stat {
    flex: 1 1 calc(33.333% - .75rem);
    min-width: 0;
  }

  .hero-spalimo .hero-stat strong {
    font-size: 1.45rem;
  }

  .hero-spalimo .hero-stat span {
    font-size: .72rem;
    line-height: 1.5;
  }

  .hero-orb-1 { width: 220px; height: 220px; }
  .hero-orb-2 { width: 180px; height: 180px; }
  .hero-orb-3 { width: 150px; height: 150px; }

  .navbar-spalimo > .container {
    max-width: 100%;
  }

  .pricing-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pricing-table table {
    min-width: 0;
  }

  .page-header-tech::after {
    width: min(600px, 100vw);
  }
}

/* ═══════════════════════════════════════════
   Blog — List, Detail, Sidebar
   ═══════════════════════════════════════════ */

.section-padding { padding: 5rem 0; }

body:not(:has(.hero-spalimo)) .blog-section.section-padding {
  padding-top: 7rem;
}

/* Blog page header (dark hero variant) */
.page-header-tech {
  background: linear-gradient(135deg, var(--bg-deep) 0%, #0f3d38 50%, var(--accent-teal-d) 100%);
  color: #fff;
  padding: 9rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: none;
}

.page-header-tech::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(45, 212, 191, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 191, .06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-header-tech::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 212, 191, .15) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-tech h1 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: .75rem;
  position: relative;
  z-index: 1;
}

.page-header-tech p {
  color: rgba(255, 255, 255, .82);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-header-tech .container { position: relative; z-index: 1; }

.page-header-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
  padding: .35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.search-result-label {
  color: rgba(255, 255, 255, .85);
  font-size: .95rem;
  margin-top: .75rem;
  position: relative;
  z-index: 1;
}

.breadcrumb-nav {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
  font-size: .85rem;
}

.breadcrumb-nav a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav span { color: rgba(255, 255, 255, .5); }

.breadcrumb-inline {
  justify-content: flex-start !important;
  color: var(--text-muted-l);
}

.breadcrumb-nav.breadcrumb-inline a {
  color: var(--text-muted-l);
  text-decoration: none;
}

.breadcrumb-nav.breadcrumb-inline a:hover { color: var(--accent-teal); }
.breadcrumb-nav.breadcrumb-inline span { color: var(--text-muted-l); opacity: .6; }
.breadcrumb-nav.breadcrumb-inline span:last-child { color: var(--text-dark); opacity: 1; }

/* Blog cards */
.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.blog-card-link:hover {
  color: inherit;
}

.blog-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.blog-card .card-img-wrap {
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
}

.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover img { transform: scale(1.05); }

.blog-card .card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card .card-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent-teal);
  background: rgba(13, 148, 136, .1);
  padding: .2rem .7rem;
  border-radius: var(--radius-pill);
  margin-bottom: .75rem;
}

.blog-card h5 {
  font-size: 1.05rem;
  margin-bottom: .75rem;
  line-height: 1.5;
  color: var(--text-dark);
  transition: var(--transition);
}

.blog-card:hover h5 { color: var(--accent-teal); }

.blog-card .card-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted-l);
  font-size: .82rem;
  margin-top: auto;
}

.blog-card-tech {
  position: relative;
  overflow: hidden;
}

.blog-card-tech::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-teal-l));
  opacity: 0;
  transition: var(--transition);
}

.blog-card-tech:hover::before { opacity: 1; }

.blog-card-tech:hover {
  border-color: rgba(13, 148, 136, .25);
  box-shadow: var(--shadow-glow);
}

.card-img-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--accent-teal-d) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-placeholder i {
  font-size: 3rem;
  color: rgba(255, 255, 255, .3);
}

.empty-icon {
  font-size: 4rem;
  color: var(--text-muted-l);
}

/* Article detail */
.article-container { max-width: 100%; margin: 0; }

.article-container-tech {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.article-container-tech::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-teal-l));
}

.article-header { margin-bottom: 2rem; }

.article-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-muted-l);
  font-size: .88rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.article-meta span { display: flex; align-items: center; gap: .4rem; }

.article-thumbnail {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
}

.article-thumbnail img { width: 100%; height: auto; display: block; }

.article-body {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-body);
}

.article-body h2, .article-body h3 { margin-top: 2rem; margin-bottom: 1rem; }
.article-body p { margin-bottom: 1.25rem; }
.article-body img { max-width: 100%; border-radius: var(--radius-sm); margin: 1.5rem 0; }
.article-body ul, .article-body ol { margin-bottom: 1.25rem; padding-right: 1.5rem; }
.article-body blockquote {
  border-right: 4px solid var(--accent-teal);
  padding: 1rem 1.5rem;
  background: var(--bg-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-muted-l);
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--accent-teal-d) 100%);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(45, 212, 191, .2) 0%, transparent 60%);
}

.cta-section h2, .cta-section h3 {
  color: #fff;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, .85);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.cta-section .btn { position: relative; }

/* Blog sidebar */
.blog-sidebar { position: relative; }

@media (min-width: 992px) {
  .blog-sidebar-inner {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-self: flex-start;
  }
}

.sidebar-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.sidebar-box:hover {
  box-shadow: var(--shadow-card);
  border-color: rgba(13, 148, 136, .2);
}

.sidebar-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
}

.sidebar-title i { color: var(--accent-teal); }

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li { margin-bottom: .25rem; }

.sidebar-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem .6rem;
  border-radius: 8px;
  color: var(--text-body);
  text-decoration: none;
  font-size: .88rem;
  transition: var(--transition);
}

.sidebar-list a:hover {
  background: rgba(13, 148, 136, .06);
  color: var(--accent-teal);
}

.sidebar-count {
  font-size: .75rem;
  color: var(--text-muted-l);
  background: var(--bg-soft);
  padding: .15rem .5rem;
  border-radius: var(--radius-pill);
}

.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.sidebar-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-teal);
  background: rgba(13, 148, 136, .08);
  border: 1px solid rgba(13, 148, 136, .15);
  padding: .25rem .65rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: var(--transition);
}

.sidebar-tag:hover {
  background: var(--accent-teal);
  color: #fff;
}

.sidebar-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-posts li { margin-bottom: .75rem; }
.sidebar-posts li:last-child { margin-bottom: 0; }

.sidebar-posts a {
  display: flex;
  gap: .75rem;
  align-items: center;
  text-decoration: none;
  color: var(--text-body);
  transition: var(--transition);
}

.sidebar-posts a:hover { color: var(--accent-teal); }

.sidebar-posts img,
.sidebar-post-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-post-placeholder {
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--accent-teal-d) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .5);
  font-size: 1.2rem;
}

.sidebar-post-info { display: flex; flex-direction: column; gap: .2rem; }

.sidebar-post-title {
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.4;
}

.sidebar-post-meta {
  font-size: .75rem;
  color: var(--text-muted-l);
}

.sidebar-list-compact a {
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
}

.sidebar-date {
  font-size: .75rem;
  color: var(--text-muted-l);
}

.sidebar-spa-cta {
  background: linear-gradient(135deg, var(--bg-deep) 0%, #0f3d38 100%);
  border-color: rgba(13, 148, 136, .3);
  color: #fff;
  text-align: center;
}

.sidebar-spa-cta h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: .5rem;
}

.sidebar-spa-cta p {
  color: rgba(255, 255, 255, .75);
  font-size: .85rem;
  margin-bottom: 1rem;
}

.sidebar-spa-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-teal-l);
  margin: 0 auto .75rem;
}

.sidebar-search-form .form-control {
  font-size: .88rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
}

.sidebar-search-form .form-control:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, .15);
}

/* Blog pagination */
.blog-pagination .pagination { gap: .25rem; }

.blog-pagination .page-link {
  border: 1px solid var(--border-light);
  border-radius: 8px !important;
  color: var(--text-body);
  font-weight: 600;
  min-width: 40px;
  text-align: center;
  padding: .5rem .75rem;
  transition: var(--transition);
}

.blog-pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-d));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(13, 148, 136, .25);
}

.blog-pagination .page-link:hover {
  background: rgba(13, 148, 136, .08);
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.blog-pagination .page-item.disabled .page-link {
  background: transparent;
  border-color: transparent;
  color: var(--text-muted-l);
}

@media (max-width: 991px) {
  .section-padding { padding: 3.5rem 0; }
  .page-header-tech { padding: 8rem 0 3rem; }
}

@media (max-width: 767px) {
  .article-container-tech { padding: 1.25rem; }
  .cta-section { padding: 2.5rem 1.5rem; }
}

/* ── 404 Error Page ── */
.error-404 {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  padding: 4rem 0 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(13, 148, 136, 0.08) 0%, transparent 70%),
    var(--bg-page);
}

.error-404-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.error-404-visual {
  position: relative;
  margin-bottom: 2rem;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-404-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
  animation: error-pulse 3s ease-in-out infinite;
}

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

.error-404-code {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 18vw, 8rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.error-404-icon {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: var(--accent-gold);
  opacity: 0.7;
}

.error-404 h1 {
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.error-404-lead {
  color: var(--text-muted-l);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.error-404-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.error-404-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.error-404-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted-l);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.error-404-links a:hover {
  color: var(--accent-teal);
}

.text-accent { color: var(--accent-teal); }
