﻿/* ============================================================
   ZebraTech — Main Stylesheet
   ============================================================ */

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

:root {
  --bg: #F5F7F6;
  --bg-dark: #EEF1F0;
  --surface: #FFFFFF;
  --border: #E6EAE8;
  --text-main: #0A0A0A;
  --text-body: #333333;
  --text-muted: #666666;
  --accent-teal: #38B2AC;
  --accent-blue: #2B6CB0;
  --accent-glow: rgba(56, 178, 172, 0.45);
  --grad-primary: linear-gradient(135deg, #38B2AC 0%, #2B6CB0 100%);
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 15px 45px rgba(56, 178, 172, 0.15);
  --shadow-btn: 0 10px 25px rgba(43, 108, 176, 0.3);
}

html {
  scroll-behavior: auto !important;
  overflow-y: scroll;
}

body {
  background-color: var(--bg);
  color: var(--text-body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── ZEBRA BACKGROUND ── */
.zebra-bg {
  position: fixed;
  inset: -10%;
  background-image: url('../images/font3.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.38;
  filter: blur(4px);
  pointer-events: none;
  z-index: -1;
  animation: bgDrift 60s linear infinite;
  will-change: transform;
}

/* ── AURAS ── */
.aura {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
  animation: auraFloat 25s ease-in-out infinite;
}

.aura-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-teal);
  top: -150px;
  left: -100px;
}

.aura-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-blue);
  bottom: 10%;
  right: -100px;
  animation-delay: -5s;
}

@keyframes auraFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 30px) scale(0.9);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes bgDrift {
  0% {
    transform: translate(0, 0) scale(1.1);
  }

  50% {
    transform: translate(-2%, 2%) scale(1.15);
  }

  100% {
    transform: translate(0, 0) scale(1.1);
  }
}

.serif {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
}

/* Callout Box (Summary/Highlights) */
.callout-box {
  background: rgba(167, 139, 250, 0.05);
  border-left: 6px solid #a78bfa;
  padding: 40px;
  border-radius: 0 24px 24px 0;
  margin: 40px 0;
  color: var(--text-body);
}

.callout-box strong:first-child,
.callout-box b:first-child {
  display: block;
  color: #a78bfa;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
}


/* ── WRAPPER ── */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── HEADER ── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1300;
  background: rgba(245, 247, 246, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.3s;
}

.header-inner {
  width: 100%;
  max-width: 1240px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.05em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── CURSOR ── */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--text-main);
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  z-index: 10000;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--accent-teal);
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

/* ── HEADER RIGHT ── */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── LANG SWITCHER (desktop) ── */
/* ── LANG SWITCHER (desktop) ── */
.lang-switcher {
  position: relative;
  z-index: 100;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 4px 6px 4px 4px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.current-flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  image-rendering: -webkit-optimize-contrast;
}

.lang-toggle:hover,
.lang-switcher.open .lang-toggle {
  background: #fff;
  border-color: var(--accent-teal);
  box-shadow: 0 4px 12px rgba(56, 178, 172, 0.12);
}

.lang-chevron {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.5;
  width: 8px;
  height: 8px;
}

.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transform-origin: top right;
  min-width: 60px;
}

.lang-switcher.open .lang-dropdown {
  display: block;
  animation: langDropIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.flag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.flag-list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}


.lang-slug {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.4);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.flag-list li a:hover .lang-slug {
  color: #000;
}

.flag-list li.current-lang .lang-slug {
  color: #000;
}

/* Remove background for current lang as per screenshot */
.flag-list li.current-lang a {
  background: transparent;
  box-shadow: none;
}







/* ── LANG SWITCHER (mobile menu) ── */
.mobile-lang-bar {
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
}

.mobile-lang-bar ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 3px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  gap: 2px;
}

.mobile-lang-bar ul li a {
  display: block;
  padding: 9px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}

.mobile-lang-bar ul li a:hover {
  color: #fff;
}

.mobile-lang-bar ul li.current-lang a {
  background: linear-gradient(135deg, #38B2AC 0%, #2B6CB0 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(56, 178, 172, 0.4);
}

.header-btn {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #38B2AC 0%, #2B6CB0 50%, #38B2AC 100%);
  background-size: 200% auto;
  animation: headerGradientFlow 3s linear infinite;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s;
  box-shadow: 0 4px 18px rgba(56, 178, 172, 0.4);
}

.header-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 32px rgba(56, 178, 172, 0.6);
}

@keyframes headerGradientFlow {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

@media (max-width: 1024px) {
  .header-btn:not(.mobile-cta) {
    display: none;
  }
}

/* ── NAV LINKS ── */
.nav-links ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.3s;
}

.nav-link:hover,
.nav-link.active,
.current-menu-item .nav-link {
  color: var(--accent-teal);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}


/* ── BURGER ── */
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger-btn span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-main);
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .burger-btn {
    display: flex;
  }
}

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  z-index: 2000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 120px 40px 60px;
  text-align: center;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

.mobile-menu.active {
  display: flex;
  animation: menuFadeIn .4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}


@keyframes menuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

.menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
  z-index: 100;
  opacity: 0.7;
}

.menu-close:hover {
  opacity: 1;
  transform: rotate(90deg) scale(1.1);
}

.mobile-nav-link {
  font-size: 30px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  transition: .4s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(30px);
}

.mobile-menu.active .mobile-nav-link {
  animation: linkAppear 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-nav-link:hover {
  color: var(--accent-teal);
  transform: scale(1.05);
}

.mobile-menu.active li:nth-child(1) .mobile-nav-link {
  animation-delay: 0.05s;
}

.mobile-menu.active li:nth-child(2) .mobile-nav-link {
  animation-delay: 0.1s;
}

.mobile-menu.active li:nth-child(3) .mobile-nav-link {
  animation-delay: 0.15s;
}

.mobile-menu.active li:nth-child(4) .mobile-nav-link {
  animation-delay: 0.2s;
}

.mobile-menu.active li:nth-child(5) .mobile-nav-link {
  animation-delay: 0.25s;
}


.mobile-cta {
  display: inline-flex !important;
  margin-top: 10px;
  padding: 16px 32px !important;
  font-size: 16px !important;
  background: var(--grad-primary) !important;
  color: #fff !important;
  box-shadow: 0 10px 30px rgba(56, 178, 172, 0.4) !important;
}

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

.popup-socials {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 25px;
  width: 100%;
  margin-top: 30px;
  opacity: 0;
  animation: linkAppear 0.5s 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.popup-socials a {
  color: var(--text-main);
  opacity: 0.8;
  transition: 0.3s;
}

.popup-socials a:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.popup-socials svg {
  width: 24px;
  height: 24px;
}

/* ── CONTACT MODAL ── */
.modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-wrap.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245, 247, 246, 0.4);
  backdrop-filter: blur(15px);
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #fff;
  padding: 50px 40px;
  border-radius: 32px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.15);
  text-align: center;
  z-index: 2;
  animation: modalIn .4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 640px) {
  .modal-wrap {
    padding: 0;
  }

  .modal-card {
    max-width: 100%;
    height: 100vh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 20px;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.contact-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  border: none;
}

.contact-modal-close:hover {
  background: var(--accent-teal);
  color: #fff;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 12px 30px rgba(56, 178, 172, 0.3);
}

.contact-modal-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.modal-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.modal-sub {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: .3s;
  font-size: 16px;
}

.btn-tg {
  background: #229ED9;
  color: #fff;
}

.btn-wa {
  background: #25D366;
  color: #fff;
}

.btn-tel {
  background: var(--text-main);
  color: #fff;
}

.contact-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

/* ── HERO ── */
.hero {
  padding: 60px 0 120px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  text-align: left;
}

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

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 16px;
  display: block;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-agent {
  width: 100%;
  max-width: 440px;
  z-index: 2;
  animation: heroFloat 6s ease-in-out infinite;
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.hero-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-teal) 0%, transparent 70%);
  opacity: 0.35;
  filter: blur(40px);
  z-index: 1;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(1deg);
  }
}

@keyframes glowPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.35;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.55;
  }
}

/* ── FLIPPER ── */
.flipper-container {
  display: inline-block;
  vertical-align: bottom;
  height: 1.05em;
  line-height: 1.05em;
  overflow: hidden;
  position: relative;
}

.flipper-list {
  display: flex;
  flex-direction: column;
  transition: transform 0.8s ease-in-out;
  will-change: transform;
}

.flipper-item {
  display: block;
  height: 1.05em;
  line-height: 1.05em;
  white-space: nowrap;
}

.hero-title {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.hero-title .accent {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--text-muted);
  line-height: 1.15;
  max-width: 800px;
  margin: 0 0 48px;
}

.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid var(--border);
  padding-left: 20px;
}

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── SECTIONS ── */
.section {
  padding: 80px 0;
}

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

.section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── CARDS ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

@media (max-width: 640px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .5s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent-teal);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 178, 172, 0.08);
  border-radius: 12px;
  color: var(--accent-teal);
}

.card-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.pill {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-dark);
  border-radius: 6px;
  padding: 4px 10px;
  transition: all .2s;
}

.card:hover .pill {
  background: rgba(56, 178, 172, 0.08);
  color: var(--accent-teal);
}

/* ── MARQUEE ── */
.marquee-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  padding: 60px 0;
  position: relative;
}

.marquee-section::before,
.marquee-section::after {
  content: "";
  position: absolute;
  top: 0;
  width: 10%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-section::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}

.marquee-section::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  animation: marquee-rtl 60s linear infinite;
  width: max-content;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  height: 380px;
  width: auto;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--surface);
}

.marquee-item img {
  height: 100%;
  width: auto;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.marquee-item:hover {
  transform: scale(1.02) translateY(-10px);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent-teal);
  z-index: 3;
}

.marquee-item:hover img {
  transform: scale(1.05);
}

@keyframes marquee-rtl {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .lang-switcher {
    margin-right: 15px;
    display: block;
  }

  .lang-toggle {
    padding: 6px 8px;
    border-radius: 10px;
    background: transparent;
    border: none;
  }

  .lang-chevron {
    display: none;
  }

  .lang-dropdown {
    right: -40px;
    top: calc(100% + 15px);
  }
}

.marquee-item {
  height: 240px;
}

.marquee-track {
  gap: 16px;
  animation-duration: 40s;
}
}

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden;
  padding: 32px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 40px 0;
}

.ticker {
  display: flex;
  gap: 60px;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-item {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 20px;
}

.ticker-item::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-teal);
  border-radius: 50%;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── PRICING ── */
.pricing-section {
  padding: 80px 0 120px;
}

.price-table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-top: 48px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 800px;
}

.price-table th {
  background: var(--bg-dark);
  padding: 16px 24px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.price-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-body);
  vertical-align: middle;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-cat-row {
  background: rgba(56, 178, 172, 0.03);
}

.price-category {
  font-weight: 800;
  color: var(--text-main);
  width: 220px;
  border-right: 1px solid var(--border);
}

.price-val {
  font-weight: 800;
  color: var(--accent-teal);
  white-space: nowrap;
  text-align: right;
  width: 140px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.price-service {
  font-weight: 600;
  color: var(--text-main);
}

.price-details {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .price-table-wrap {
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

/* ── REVEAL ANIMATIONS ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px) scale(0.99);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  width: calc(100% - 40px);
  max-width: 600px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 24px 32px;
  z-index: 10005;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s;
  opacity: 0;
  pointer-events: none;
}

.cookie-banner.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.cookie-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

.cookie-btn {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.cookie-btn.accept {
  background: var(--text-main);
  color: #fff;
}

.cookie-btn.accept:hover {
  background: var(--accent-teal);
  transform: translateY(-2px);
}

.cookie-btn.secondary {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-main);
}

.cookie-btn.secondary:hover {
  background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
  .cookie-banner {
    padding: 20px;
    bottom: 20px;
  }

  .cookie-actions {
    flex-direction: column;
  }

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

/* ── FOOTER ── */
.legal-footer {
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg-dark);
  margin-top: 80px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.tg-link {
  color: var(--text-muted);
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
}

.tg-link:hover {
  color: var(--accent-teal);
  transform: translateY(-2px);
}

.legal-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.3s;
}

.legal-link:hover {
  color: var(--accent-teal);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 0 80px;
  }

  .hero-image-wrap {
    order: -1;
    margin-bottom: 40px;
  }

  .hero-agent {
    max-width: 320px;
  }

  .hero-stats {
    justify-content: center;
  }

  .cursor-dot,
  .cursor-outline {
    display: none;
  }

  .section {
    padding: 60px 0;
  }

  .stat-item {
    border-left: none;
    border-top: 2px solid var(--border);
    padding: 16px 0 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 38px;
  }

  .aura {
    display: none;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 20px;
  }

  .logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 18px;
    line-height: 1;
  }
}

/* ============================================================
   PORTFOLIO PAGE STYLES  (.portfolio-page body class)
   ============================================================ */
.portfolio-hero {
  padding: 160px 0 60px;
  text-align: center;
}

.portfolio-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -2px;
  color: var(--text-main);
}

.portfolio-hero p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 30px;
  padding-bottom: 100px;
}

.port-card {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 30px;
  overflow: hidden;
  transition: 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  cursor: pointer;
  height: 450px;
  backdrop-filter: blur(10px);
}

.port-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-teal);
  background: rgba(255, 255, 255, 0.08);
}

.port-card-img {
  flex: 0 0 280px;
  background: rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.port-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
  transition: 0.5s;
}

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

.port-card-info {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.port-card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.port-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-teal);
  background: rgba(56, 178, 172, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
}

.port-card-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
  line-height: 1.2;
}

.port-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.port-card-more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Project modal */
.project-content {
  position: relative;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  background: #fff;
  border-radius: 30px;
  overflow-y: auto;
  z-index: 2;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.2);
  animation: modalIn 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.modal-close-x {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: none;
  z-index: 10;
  font-size: 18px;
  transition: 0.3s;
}

.modal-close-x:hover {
  background: var(--accent-teal);
  color: #fff;
}

.modal-body {
  padding: 40px;
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 30px;
  background: #000;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-header {
  margin-bottom: 30px;
}

.modal-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-main);
}

.modal-header p {
  font-size: 16px;
  color: var(--text-body);
}

.gallery {
  column-count: 2;
  column-gap: 20px;
  margin-top: 40px;
}

.gallery img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 20px;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .port-card {
    height: auto;
    flex-direction: column;
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Alternating slide-in from left and right */
  .portfolio-grid a:nth-child(odd) .port-card {
    transform: translateX(-100px);
  }

  .portfolio-grid a:nth-child(even) .port-card {
    transform: translateX(100px);
  }

  .portfolio-grid a .port-card.visible {
    opacity: 1;
    transform: translateX(0);
  }


  .port-card-img {
    flex: 0 0 300px;
  }
}


/* ── BLOG ARCHIVE ── */
.blog-archive-page {
  padding: 180px 0 100px;
}

.static-page {
  padding: 180px 0 100px;
}

.static-page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 48px;
  text-align: center;
}

.static-page-body {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.static-page-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 16px;
}

.static-page-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 28px 0 12px;
}

.static-page-body p {
  margin-bottom: 16px;
}

.static-page-body ul, .static-page-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.static-page-body li {
  margin-bottom: 8px;
}

.static-page-body a {
  color: var(--accent-teal);
  text-decoration: none;
}

.static-page-body a:hover {
  text-decoration: underline;
}

.blog-header {
  margin-bottom: 60px;
  text-align: center;
}

.blog-subtitle {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-teal);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 15px;
}

.blog-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -2px;
  line-height: 1;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
}

.blog-card {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-teal);
}

.blog-card-image {
  position: relative;
  display: block;
  padding-top: 60%;
  overflow: hidden;
  background: #f8fafc;
}

.blog-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.blog-card-date {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  z-index: 2;
}

.blog-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #e2e8f0;
}

.blog-card-placeholder span {
  color: var(--accent-teal);
}

.blog-card-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  margin-bottom: 15px;
}

.blog-card-cat {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-teal);
  background: rgba(56, 178, 172, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

.blog-card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
  line-height: 1.3;
}

.blog-card-title a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

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

.blog-card-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 25px;
  flex-grow: 1;
}

.blog-card-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.blog-card-more:hover {
  color: var(--accent-teal);
  gap: 12px;
}

/* ── SINGLE POST ── */
.single-post-page {
  padding-top: 0;
}

body.single #site-header {
  background: rgba(245, 247, 246, 0.97);
  border-bottom: 1px solid var(--border);
}

.post-hero {
  position: relative;
  isolation: isolate;
  padding: 140px 0 0;
  background: var(--bg);
  color: var(--text-main);
  overflow: hidden;
}

.post-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(56,178,172,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.post-hero .wrap {
  position: relative;
  z-index: 1;
  padding-bottom: 48px;
}

.post-hero-image {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  aspect-ratio: 21/9;
}

.post-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 32px;
  transition: 0.3s;
}

.back-to-blog:hover {
  color: var(--accent-teal);
  transform: translateX(-4px);
}

.post-meta-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.post-date {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.post-cat-badge {
  background: var(--accent-teal);
  color: #fff;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.post-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--text-main);
  max-width: 820px;
}

.post-body-wrap {
  padding: 80px 0;
  background: #fff;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-body);
}

.post-content h2,
.post-content h3 {
  color: var(--text-main);
  margin: 60px 0 30px;
  font-weight: 800;
  letter-spacing: -1px;
}

.post-content ul,
.post-content ol {
  margin: 30px 0;
  padding-left: 25px;
  list-style-position: inside;
}

.post-content li {
  margin-bottom: 15px;
  line-height: 1.7;
}

/* Custom Summary Block - Scoped to Style */
.post-content .is-style-summary,
.post-content .callout-box {
  margin: 50px 0;
  padding: 40px 50px;
  background: #f8f7ff;
  border-left: 6px solid #a78bfa;
  border-radius: 0 30px 30px 0;
  position: relative;
  font-style: normal;
}

/* Style headers inside Summary style */
.post-content .is-style-summary h3,
.post-content .is-style-summary h4,
.post-content .callout-box h3,
.post-content .callout-box h4 {
  font-family: 'Syne', sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #c4b5fd !important;
  margin-top: 0 !important;
  margin-bottom: 25px !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Style leading bold text as title */
.post-content .is-style-summary p:first-child strong,
.post-content .callout-box p:first-child strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #c4b5fd;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-content .is-style-summary p,
.post-content .callout-box p {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 20px;
  padding-left: 35px;
  position: relative;
  font-weight: 500;
  font-style: normal;
}

/* Arrows logic */
.post-content .is-style-summary p:not(:first-child)::before,
.post-content .is-style-summary p:first-child:not(:has(strong))::before,
.post-content .callout-box p:not(:first-child)::before,
.post-content .callout-box p:first-child:not(:has(strong))::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #a78bfa;
  font-weight: 800;
}

.post-content .is-style-summary ul li::before,
.post-content .callout-box ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #a78bfa;
  font-weight: 800;
}




/* Ensure images don't overflow */
.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
}


.post-footer {
  max-width: 800px;
  margin: 60px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.post-share {
  display: flex;
  align-items: center;
  gap: 20px;
}

.post-share span {
  font-weight: 700;
  color: var(--text-main);
}

.post-share a {
  text-decoration: none;
  color: var(--accent-teal);
  font-weight: 600;
  font-size: 15px;
}

.related-posts {
  padding: 100px 0;
  background: #f8fafc;
  border-top: 1px solid var(--border);
}

.related-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 50px;
  text-align: center;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .blog-archive-page {
    padding-top: 140px;
  }

  .post-hero {
    padding: 110px 0 0;
  }

  .post-hero .wrap {
    padding-bottom: 32px;
  }

  .post-hero-image {
    aspect-ratio: 16/9;
    border-radius: 16px 16px 0 0;
  }

  .post-title {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .post-content {
    font-size: 17px;
  }
}

@media (max-width: 640px) {
  .modal-wrap {
    padding: 0;
  }

  .project-content {
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
}

/* ── TL;DR / КРАТКАЯ ВЫЖИМКА ── */
.tldr-block {
  margin-bottom: 40px;
  padding: 25px 30px;
  background: rgba(56, 178, 172, 0.04);
  border-left: 4px solid var(--accent-teal);
  border-radius: 0 16px 16px 0;
  position: relative;
}

.tldr-block p:first-child strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 15px;
}

.tldr-block__title {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 15px;
}

.tldr-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tldr-block p:not(:first-child),
.tldr-block ul li {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.tldr-block p:last-child,
.tldr-block ul li:last-child {
  margin-bottom: 0;
}

.tldr-block p:not(:first-child)::before,
.tldr-block ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  font-weight: bold;
}

@media (max-width: 480px) {
  .tldr-block {
    padding: 20px;
    margin-bottom: 30px;
  }
}

/* ── FAQ ACCORDION ── */
.faq-accordion {
  margin: 50px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--accent-teal);
}

.faq-q svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.open .faq-q {
  color: var(--accent-teal);
}

.faq-item.open .faq-q svg {
  transform: rotate(180deg);
  color: var(--accent-teal);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 28px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-muted);
}

.faq-item.open .faq-a {
  max-height: 600px;
  padding: 0 28px 22px;
}

.faq-a p {
  margin: 0;
}

@media (max-width: 640px) {
  .faq-q {
    padding: 18px 20px;
    font-size: 0.95rem;
  }
  .faq-a,
  .faq-item.open .faq-a {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ── FAQ BLOCK (plain) ── */
.faq-block {
  margin: 50px 0;
}

.faq-block p:has(> strong) {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  margin-bottom: 8px;
}

.faq-block p:has(> strong):first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.faq-block p:not(:has(> strong)) {
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ── AUTHOR BLOCK ── */
.post-author {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  max-width: 800px;
  margin: 60px auto 0;
  padding: 36px 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.post-author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-teal);
  flex-shrink: 0;
}

.post-author-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-teal);
  margin-bottom: 6px;
}

.post-author-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.post-author-bio {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 640px) {
  .post-author {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }
}

/* ── POST CTA BLOCK ── */
.post-cta {
  max-width: 800px;
  margin: 60px auto 0;
  padding: 48px 52px;
  background: var(--text-main);
  border-radius: var(--radius-lg);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.post-cta::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(56,178,172,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.post-cta-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-teal);
  margin-bottom: 14px;
}

.post-cta-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 16px;
}

.post-cta-title span {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.post-cta-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  max-width: 520px;
}

.post-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.post-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--grad-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: 0.3s;
  box-shadow: var(--shadow-btn);
}

.post-cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(43,108,176,0.4);
}

.post-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  transition: 0.3s;
}

.post-cta-btn-secondary:hover {
  background: rgba(255,255,255,0.14);
}

@media (max-width: 640px) {
  .post-cta {
    padding: 32px 24px;
  }
  .post-cta-actions {
    flex-direction: column;
  }
  .post-cta-btn-primary,
  .post-cta-btn-secondary {
    justify-content: center;
  }
}

/* 404 styles moved to assets/css/404.css */
