/*
Theme Name: Clawser
Theme URI: https://clawser.com
Author: Clawser LLC
Author URI: https://clawser.com
Description: Clawser — AI automation studio theme. Press play on AI. A fast, animated, brand-aligned WordPress theme for small-business AI service companies. Built with vanilla CSS/JS, GSAP for animations, Lenis for smooth scroll, full RTL/Arabic support, integrated lead-gen chatbot, newsletter, blog with mixed media (article, video, podcast, infographic) and a Customizer panel for contact info.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clawser
Tags: blog, business, custom-colors, custom-menu, custom-logo, featured-images, full-width-template, post-formats, rtl-language-support, threaded-comments, translation-ready, two-columns, three-columns, four-columns, theme-options
*/

/* =========================================================
   CLAWSER · Design system
   Brand: Press play on AI
   Stack-agnostic vanilla CSS, ready for WordPress conversion
   ========================================================= */

:root {
  /* Brand color tokens */
  --navy: #0D1F33;
  --navy-soft: #15273E;
  --navy-deep: #081522;

  --orange: #FF6B4D;
  --orange-bright: #FF8270;
  --orange-deep: #E55C40;
  --orange-glow: rgba(255, 107, 77, 0.32);
  --orange-tint: rgba(255, 107, 77, 0.08);

  --gray: #A3A8AF;
  --gray-soft: #C8CCD2;

  --cream: #F3F1EC;
  --cream-soft: #EDEAE3;
  --cream-deep: #E5E1D6;

  /* Semantic tokens */
  --bg: var(--cream);
  --bg-elev: #FFFFFF;
  --bg-elev-2: #FBFAF6;
  --bg-inverse: var(--navy);
  --surface: #FFFFFF;
  --surface-soft: #FBFAF6;
  --surface-tinted: rgba(255, 255, 255, 0.6);

  --line: rgba(13, 31, 51, 0.08);
  --line-strong: rgba(13, 31, 51, 0.14);
  --line-inverse: rgba(243, 241, 236, 0.1);
  --line-inverse-strong: rgba(243, 241, 236, 0.18);

  --text: var(--navy);
  --text-soft: #2A3D52;
  --text-mute: #6B7585;
  --text-faint: var(--gray);
  --text-on-dark: var(--cream);
  --text-on-dark-soft: rgba(243, 241, 236, 0.78);

  --accent: var(--orange);
  --accent-bright: var(--orange-bright);

  /* Type */
  --font-sans: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Satoshi', 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spacing */
  --container: 1280px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);

  /* Motion */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* z scale */
  --z-cursor: 9999;
  --z-loader: 9000;
  --z-nav: 100;
  --z-menu: 90;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
  letter-spacing: -0.005em;
}

@media (max-width: 768px) {
  body { cursor: auto; }
}

input, textarea, select { cursor: text; }
@media (min-width: 769px) {
  .cta-field input, .cta-field textarea { cursor: text; }
}

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

a {
  color: inherit;
  text-decoration: none;
}

button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea { font-family: inherit; }

::selection { background: var(--orange); color: #fff; }

/* =========================================================
   Layout helpers
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =========================================================
   Custom cursor
   ========================================================= */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}
.cursor {
  width: 32px; height: 32px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out),
              background 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
              opacity 0.3s var(--ease-out);
  margin: -16px 0 0 -16px;
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--orange);
  border-radius: 50%;
  margin: -2.5px 0 0 -2.5px;
}
.cursor.is-hover {
  width: 64px; height: 64px;
  background: rgba(255, 107, 77, 0.12);
  border-color: var(--orange);
  margin: -32px 0 0 -32px;
}
.cursor.is-hidden { opacity: 0; }
@media (max-width: 768px) {
  .cursor, .cursor-dot { display: none; }
}

/* =========================================================
   Loader
   ========================================================= */
.loader {
  position: fixed; inset: 0;
  background: var(--cream);
  z-index: var(--z-loader);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-mark {
  width: 96px;
  opacity: 0;
  transform: scale(0.8);
  animation: loaderMark 0.8s var(--ease-out) forwards;
}
.loader-mark svg { width: 100%; height: auto; }
.loader-circle-2 {
  transform-origin: 34px 16px;
  animation: loaderPulse 1.6s var(--ease) infinite;
}
@keyframes loaderMark {
  to { opacity: 1; transform: scale(1); }
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.loader-text {
  display: flex;
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.loader-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: loaderLetter 0.6s var(--ease-out) forwards;
}
.loader-letter:nth-child(1) { animation-delay: 0.3s; }
.loader-letter:nth-child(2) { animation-delay: 0.36s; }
.loader-letter:nth-child(3) { animation-delay: 0.42s; }
.loader-letter:nth-child(4) { animation-delay: 0.48s; }
.loader-letter:nth-child(5) { animation-delay: 0.54s; }
.loader-letter:nth-child(6) { animation-delay: 0.60s; }
.loader-letter:nth-child(7) { animation-delay: 0.66s; }
@keyframes loaderLetter {
  to { opacity: 1; transform: translateY(0); }
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(13, 31, 51, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar-fill {
  width: 100%;
  height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: loaderBar 0.9s var(--ease-out) 0.3s forwards;
}
@keyframes loaderBar {
  to { transform: scaleX(1); }
}

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  top: 16px;
  left: 16px; right: 16px;
  z-index: var(--z-nav);
  transition: transform 0.4s var(--ease-out);
}
.nav.is-hidden { transform: translateY(-120%); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 12px 12px 22px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 999px;
  max-width: 1280px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(13, 31, 51, 0.04);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.nav-logo-mark {
  display: inline-flex;
  width: 44px; height: 22px;
  transition: transform 0.6s var(--ease-out);
}
.nav-logo-mark svg { width: 100%; height: auto; }
.nav-logo:hover .nav-logo-mark { transform: scale(1.05); }
.nav-logo-text { color: var(--navy); }
.nav-logo-large { font-size: 32px; }
.nav-logo-large .nav-logo-mark { width: 64px; height: 32px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  position: relative;
  padding: 9px 16px;
  font-size: 14.5px;
  color: var(--text-soft);
  font-weight: 500;
  border-radius: 999px;
  transition: color 0.3s var(--ease);
}
.nav-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 31, 51, 0.06);
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::before { opacity: 1; transform: scale(1); }
.nav-links a span { position: relative; z-index: 1; }

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--navy);
  color: var(--cream);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease-out);
}
.nav-cta:hover { background: var(--orange); transform: scale(1.02); }
.nav-cta svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.nav-cta:hover svg { transform: translateX(3px); }

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

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--navy);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

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

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.03em;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a { color: var(--navy); transition: color 0.3s var(--ease); }
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu-cta {
  margin-top: 24px;
  padding: 14px 32px;
  background: var(--navy);
  color: var(--cream) !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: transform 0.4s var(--ease-out), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn svg {
  width: 14px; height: 14px;
  transition: transform 0.4s var(--ease-out);
}
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 6px 18px rgba(13, 31, 51, 0.15);
}
.btn-primary:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 107, 77, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--navy);
}

.btn-lg {
  padding: 18px 28px;
  font-size: 16px;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--orange);
  border-radius: 50%;
  margin-right: 4px;
  position: relative;
}
.btn-play::after {
  content: '';
  width: 0; height: 0;
  border-left: 6px solid #fff;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  margin-left: 2px;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--gutter) 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.12 0 0 0 0 0.2 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.04;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: -0.005em;
  margin-bottom: 32px;
  box-shadow: 0 2px 12px rgba(13, 31, 51, 0.04);
}
.hero-eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 0 0 var(--orange);
  animation: pulseDot 2s var(--ease) infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 var(--orange-glow); }
  50% { box-shadow: 0 0 0 10px transparent; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--navy);
  margin-bottom: 32px;
}
.hero-line {
  display: block;
  overflow: hidden;
  padding: 0.05em 0;
}
.hero-line.italic {
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
}
.hero-line > span {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 18px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 6px 24px rgba(13, 31, 51, 0.05);
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.hero-meta-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--orange);
  line-height: 1;
}
.hero-meta-plus { font-size: 0.6em; vertical-align: super; opacity: 0.7; }
.hero-meta-label {
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.hero-meta-divider {
  width: 1px; height: 32px;
  background: var(--line-strong);
}
@media (max-width: 600px) {
  .hero-meta { flex-direction: column; gap: 14px; padding: 18px 24px; }
  .hero-meta-divider { display: none; }
  .hero-meta-item { align-items: center; }
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--orange) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* =========================================================
   Marquee
   ========================================================= */
.marquee-section {
  padding: 48px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  animation: marqueeMove 60s linear infinite;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.03em;
  color: var(--navy);
}
.marquee-track > span:not(.marquee-dot) { font-style: italic; }
.marquee-dot {
  font-style: normal !important;
  color: var(--orange);
  font-size: 0.6em;
}
@keyframes marqueeMove {
  to { transform: translateX(-50%); }
}

/* =========================================================
   Section heads
   ========================================================= */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 80px;
  max-width: 900px;
}
@media (max-width: 768px) {
  .section-head { margin-bottom: 56px; gap: 20px; }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 5px 16px 5px 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-family: var(--font-mono);
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.section-label-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.section-title .line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0;
}
.section-title .line.italic {
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
}
.section-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

.section-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 600px;
}

/* =========================================================
   Why section
   ========================================================= */
.why {
  padding: 140px 0;
  background: var(--bg);
}
@media (max-width: 768px) { .why { padding: 96px 0; } }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  position: relative;
  padding: 48px 40px;
  background: var(--surface);
  transition: background 0.5s var(--ease);
}
.why-card:hover { background: var(--bg-elev-2); }
.why-card-num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--orange);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 14px;
}
.why-card p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 460px;
}

/* =========================================================
   Services / Bento
   ========================================================= */
.services {
  padding: 140px 0;
  background: var(--bg);
}
@media (max-width: 768px) { .services { padding: 96px 0; } }

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 14px;
}

.bento-card {
  position: relative;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s var(--ease), background 0.5s var(--ease), box-shadow 0.5s var(--ease);
  isolation: isolate;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 48px rgba(13, 31, 51, 0.08);
}

.bento-card-glow {
  position: absolute;
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 65%);
  top: var(--y, 50%);
  left: var(--x, 50%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: 0;
  filter: blur(20px);
}
.bento-card:hover .bento-card-glow { opacity: 1; }

.bento-card > * { position: relative; z-index: 1; }

.bento-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.bento-icon {
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease-out), border-color 0.4s var(--ease);
}
.bento-icon svg { width: 22px; height: 22px; }
.bento-icon.accent {
  background: var(--orange-tint);
  color: var(--orange);
  border-color: rgba(255, 107, 77, 0.2);
}
.bento-card:hover .bento-icon {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  transform: rotate(-8deg) scale(1.05);
}

.bento-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  font-size: 10.5px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--orange);
  background: var(--orange-tint);
  border: 1px solid rgba(255, 107, 77, 0.2);
  border-radius: 999px;
}

.bento-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 14px;
}
.bento-large .bento-title { font-size: clamp(28px, 3.2vw, 44px); }

.bento-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-soft);
  margin-bottom: auto;
  max-width: 440px;
}

.bento-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}
.bento-list li {
  font-size: 14px;
  color: var(--text-soft);
  padding-left: 18px;
  position: relative;
}
.bento-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 1.5px;
  background: var(--orange);
}

.bento-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.bento-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.bento-card:hover .bento-chip {
  background: var(--surface);
  color: var(--navy);
  border-color: var(--line-strong);
}

.bento-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.bento-price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.02em;
  font-weight: 500;
}
.bento-arrow {
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  margin-left: auto;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease-out), border-color 0.4s var(--ease);
}
.bento-arrow svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease-out); }
.bento-card:hover .bento-arrow {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.bento-card:hover .bento-arrow svg { transform: translateX(3px); }

/* =========================================================
   How it works
   ========================================================= */
.how {
  padding: 140px 0;
  background: var(--navy);
  color: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.how::before {
  content: '';
  position: absolute;
  top: -40%; left: -10%;
  width: 70%; height: 80%;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 60%);
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
}
@media (max-width: 768px) { .how { padding: 96px 0; } }

.how .section-label {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-inverse);
  color: var(--text-on-dark-soft);
}
.how .section-title {
  color: var(--cream);
}
.how .section-title .line.italic {
  color: var(--orange);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 1024px) { .how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .how-grid { grid-template-columns: 1fr; } }

.how-step {
  position: relative;
  padding: 32px 24px 32px 0;
}
.how-step-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 6.5vw, 96px);
  font-weight: 500;
  font-style: italic;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 32px;
  letter-spacing: -0.04em;
  display: inline-block;
}
.how-step-line {
  position: absolute;
  top: 60px;
  left: 80px;
  right: -24px;
  height: 1px;
  background: linear-gradient(90deg, var(--orange) 0%, transparent 100%);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.how-step.is-revealed .how-step-line { transform: scaleX(1); transition: transform 1s var(--ease-out) 0.3s; }
@media (max-width: 1024px) { .how-step-line { display: none; } }

.how-step h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-bottom: 12px;
}
.how-step p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-on-dark-soft);
}

/* =========================================================
   Industries
   ========================================================= */
.industries {
  padding: 140px 0;
  background: var(--bg);
  position: relative;
}
@media (max-width: 768px) { .industries { padding: 96px 0; } }

.industry-list {
  list-style: none;
  border-top: 1px solid var(--line-strong);
}
.industry-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line-strong);
  cursor: none;
  position: relative;
  transition: padding 0.5s var(--ease-out);
}
.industry-row::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 107, 77, 0.05) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.industry-row:hover { padding-left: 16px; padding-right: 16px; }
.industry-row:hover::before { opacity: 1; }

.industry-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.05em;
  font-weight: 500;
}
.industry-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy);
  transition: color 0.4s var(--ease), font-style 0.4s var(--ease);
}
.industry-row:hover .industry-name {
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
}
.industry-tag {
  font-size: 13px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  text-align: right;
  font-weight: 500;
}
@media (max-width: 768px) {
  .industry-row { grid-template-columns: 40px 1fr; gap: 16px; padding: 24px 0; }
  .industry-tag { display: none; }
}

.industry-preview {
  position: fixed;
  top: 0; left: 0;
  width: 360px; height: 240px;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(13, 31, 51, 0.2);
}
.industry-preview.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.industry-preview-inner {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}
.industry-preview-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 77, 0.3) 0%, transparent 50%);
}
.industry-preview-inner.restaurant { background: linear-gradient(135deg, #FF6B4D 0%, #C94928 60%, #0D1F33 100%); }
.industry-preview-inner.barber { background: linear-gradient(135deg, #0D1F33 0%, #2A3D52 60%, #FF6B4D 100%); }
.industry-preview-inner.realestate { background: linear-gradient(135deg, #F3F1EC 0%, #FF6B4D 60%, #0D1F33 100%); }
.industry-preview-inner.contractor { background: linear-gradient(135deg, #FF8270 0%, #FF6B4D 60%, #15273E 100%); }
.industry-preview-inner.freelancer { background: linear-gradient(135deg, #15273E 0%, #FF6B4D 60%, #F3F1EC 100%); }
.industry-preview-inner.local { background: linear-gradient(135deg, #FF6B4D 0%, #F3F1EC 100%); }
@media (max-width: 768px) { .industry-preview { display: none; } }

/* =========================================================
   Pricing
   ========================================================= */
.pricing {
  padding: 140px 0;
  background: var(--bg);
}
@media (max-width: 768px) { .pricing { padding: 96px 0; } }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
  position: relative;
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
  isolation: isolate;
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 48px rgba(13, 31, 51, 0.08);
}

.pricing-card-glow {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, var(--orange-glow) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
  z-index: -1;
}
.pricing-card:hover .pricing-card-glow { opacity: 0.4; }

.pricing-card-featured {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.pricing-card-featured:hover {
  border-color: var(--orange);
  box-shadow: 0 16px 48px rgba(255, 107, 77, 0.2);
}
.pricing-card-featured .pricing-tier { color: var(--orange); }
.pricing-card-featured h3 { color: var(--cream); }
.pricing-card-featured .pricing-head p { color: var(--text-on-dark-soft); }
.pricing-card-featured .pricing-from { color: rgba(243, 241, 236, 0.6); }
.pricing-card-featured .pricing-num { color: var(--cream); }
.pricing-card-featured .pricing-num-suffix { color: rgba(243, 241, 236, 0.6); }
.pricing-card-featured .pricing-amount { border-bottom-color: var(--line-inverse); }
.pricing-card-featured .pricing-features li { color: var(--text-on-dark-soft); }
.pricing-card-featured .check {
  background: rgba(255, 107, 77, 0.18);
}
.pricing-card-featured .check::after {
  border-color: var(--orange);
}

.pricing-badge {
  position: absolute;
  top: 24px; right: 24px;
  padding: 5px 12px;
  background: var(--orange);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  font-family: var(--font-mono);
}

.pricing-head { margin-bottom: 32px; }
.pricing-tier {
  display: inline-block;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  font-weight: 500;
}
.pricing-card h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 8px;
}
.pricing-head p {
  font-size: 14.5px;
  color: var(--text-mute);
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.pricing-from {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.pricing-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.8vw, 60px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.045em;
  line-height: 1;
}
.pricing-num-suffix { font-size: 0.6em; color: var(--text-mute); }

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 14.5px;
  color: var(--text-soft);
}
.check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: var(--orange-tint);
  border-radius: 50%;
  margin-top: 2px;
  position: relative;
}
.check::after {
  content: '';
  position: absolute;
  width: 8px; height: 4px;
  border-left: 1.5px solid var(--orange);
  border-bottom: 1.5px solid var(--orange);
  transform: rotate(-45deg) translate(0.5px, -1px);
}

.pricing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease-out), color 0.3s var(--ease);
}
.pricing-cta:hover {
  background: var(--navy);
  color: var(--cream);
  transform: translateY(-2px);
  border-color: var(--navy);
}
.pricing-cta-featured {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.pricing-cta-featured:hover { background: var(--orange-bright); border-color: var(--orange-bright); transform: translateY(-2px); }

.pricing-fineprint {
  margin-top: 40px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-mute);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   Voice / Testimonials
   ========================================================= */
.voice {
  padding: 140px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
@media (max-width: 768px) { .voice { padding: 96px 0; } }

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .voice-grid { grid-template-columns: 1fr; } }

.voice-card {
  position: relative;
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.5s var(--ease-out), background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.voice-card:hover {
  transform: translateY(-4px);
  background: var(--bg-elev-2);
  box-shadow: 0 12px 32px rgba(13, 31, 51, 0.06);
}
.voice-quote {
  width: 36px; height: 36px;
  color: var(--orange);
}
.voice-card p {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.voice-meta {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text-mute);
  letter-spacing: 0.02em;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-weight: 500;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  padding: 140px 0;
  background: var(--bg);
}
@media (max-width: 768px) { .faq { padding: 96px 0; } }

.faq-list {
  border-top: 1px solid var(--line-strong);
}
.faq-item {
  border-bottom: 1px solid var(--line-strong);
  position: relative;
}
.faq-item summary {
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
  list-style: none;
  cursor: none;
  transition: color 0.4s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--orange); }
.faq-item[open] summary { color: var(--orange); }

.faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 40px; height: 40px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  color: var(--navy);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  background: currentColor;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease);
}
.faq-icon::before {
  width: 14px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 1.5px; height: 14px;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item[open] .faq-icon { background: var(--orange); border-color: var(--orange); color: #fff; }

.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease-out);
}
.faq-item[open] .faq-body { max-height: 400px; }
.faq-body p {
  padding: 0 0 32px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 800px;
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative;
  padding: 140px 0;
  background: var(--navy);
  color: var(--cream);
  border-top: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.cta-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.6;
}
@media (max-width: 768px) { .cta { padding: 96px 0; } }

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-inner .section-label {
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-inverse);
  color: var(--text-on-dark-soft);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--cream);
  margin-bottom: 24px;
}
.cta-title .line { display: block; overflow: hidden; padding: 0.04em 0; }
.cta-title .line.italic { font-style: italic; font-weight: 500; color: var(--orange); }
.cta-title .line > span { display: inline-block; transform: translateY(110%); will-change: transform; }

.cta-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-on-dark-soft);
  margin-bottom: 48px;
}

.cta-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .cta-row { grid-template-columns: 1fr; } }

.cta-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cta-field > span {
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--text-on-dark-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.cta-field input,
.cta-field textarea {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-inverse-strong);
  border-radius: var(--r-md);
  color: var(--cream);
  font-size: 15.5px;
  font-family: var(--font-sans);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  resize: vertical;
}
.cta-field input::placeholder,
.cta-field textarea::placeholder { color: rgba(243, 241, 236, 0.4); }
.cta-field input:focus,
.cta-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.08);
}

.cta-form .btn {
  align-self: center;
  margin-top: 16px;
  background: var(--orange);
  color: #fff;
}
.cta-form .btn:hover {
  background: var(--orange-bright);
  box-shadow: 0 12px 32px rgba(255, 107, 77, 0.4);
}
.cta-form-note {
  font-size: 13px;
  color: var(--text-on-dark-soft);
  text-align: center;
  margin-top: 8px;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  padding: 80px 0 32px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 64px;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
}

.footer-tagline {
  margin-top: 24px;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.5;
  max-width: 280px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 600px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.footer-col h4 {
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a, .footer-location {
  display: block;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--text-soft);
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--orange); }
.footer-location { color: var(--text-mute); }

.footer-marquee {
  margin: 32px 0;
  text-align: center;
  position: relative;
}
.footer-big {
  font-family: var(--font-display);
  font-size: clamp(80px, 20vw, 320px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--navy);
  white-space: nowrap;
  text-align: center;
}
.footer-big-dot { color: var(--orange); }
.footer-tagline-big {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-mute);
}
.footer-bottom-meta { font-family: var(--font-mono); letter-spacing: 0.02em; font-weight: 500; }
@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* =========================================================
   Reveal animations - initial states
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-card] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
[data-reveal-card].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-line > span,
  .section-title .line > span,
  .cta-title .line > span { transform: none !important; }
  [data-reveal], [data-reveal-card] { opacity: 1; transform: none; }
}

/* =========================================================
   Focus states
   ========================================================= */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   v2 — Brand-aligned overhaul
   ========================================================= */

/* --- Pricing featured-card text contrast (specificity bump) --- */
.pricing-card.pricing-card-featured h3 { color: var(--cream); }
.pricing-card.pricing-card-featured .pricing-head p { color: var(--text-on-dark-soft); }
.pricing-card.pricing-card-featured .pricing-tier { color: var(--orange); }
.pricing-card.pricing-card-featured .pricing-from { color: rgba(243, 241, 236, 0.55); }
.pricing-card.pricing-card-featured .pricing-num { color: var(--cream); }
.pricing-card.pricing-card-featured .pricing-num-suffix { color: rgba(243, 241, 236, 0.55); }
.pricing-card.pricing-card-featured .pricing-amount { border-bottom-color: var(--line-inverse); }
.pricing-card.pricing-card-featured .pricing-features li { color: var(--text-on-dark-soft); }

/* --- Flip cards (Why section) --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
@media (max-width: 1024px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

.flip-card {
  position: relative;
  perspective: 1400px;
  aspect-ratio: 3/4;
  cursor: none;
  border-radius: var(--r-lg);
}

.flip-card-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
  border-radius: inherit;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus-visible .flip-card-inner,
.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: inherit;
  overflow: hidden;
  border: 1px solid var(--line);
}

.flip-card-front {
  background: var(--surface);
}

.flip-card-front img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
  transition: transform 0.9s var(--ease-out);
}

.flip-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13,31,51,0.05) 0%, rgba(13,31,51,0.85) 100%),
    linear-gradient(135deg, rgba(255,107,77,0.18) 0%, transparent 60%);
  pointer-events: none;
}

.flip-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  color: var(--cream);
  z-index: 1;
}

.flip-card-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--orange);
  font-weight: 500;
}

.flip-card-content h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #fff;
}

.flip-card-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-top: auto;
}
.flip-card-cue svg {
  width: 13px; height: 13px;
}

.flip-card-back {
  background: var(--navy);
  color: var(--cream);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  gap: 16px;
  border-color: var(--navy);
  position: relative;
}
.flip-card-back::before {
  content: '';
  position: absolute;
  top: -50%; left: -30%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(255,107,77,0.25) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.flip-card-back > * { position: relative; z-index: 1; }

.flip-card-back h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--cream);
}

.flip-card-back p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-on-dark-soft);
}

.flip-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 11px 18px;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  align-self: flex-start;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease-out);
}
.flip-card-cta:hover {
  background: var(--orange-bright);
  transform: translateY(-2px);
}
.flip-card-cta svg { width: 12px; height: 12px; transition: transform 0.4s var(--ease-out); }
.flip-card-cta:hover svg { transform: translateX(3px); }

@media (max-width: 768px) {
  .flip-card { aspect-ratio: 4/5; }
}

/* --- Bento layout updates --- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.bento-card { min-height: 280px; }

.bento-feature {
  grid-column: span 2;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bento-wide {
  grid-column: span 2;
}

.bento-feature-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-elev-2);
}
.bento-feature-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
  transition: transform 1s var(--ease-out);
}
.bento-feature:hover .bento-feature-media img {
  transform: scale(1.04);
}
.bento-feature-media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(13,31,51,0.18) 100%),
    linear-gradient(135deg, rgba(255,107,77,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.bento-feature-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 28px 32px 32px;
}
.bento-feature .bento-card-head { margin-bottom: 16px; }
.bento-feature .bento-title { font-size: clamp(24px, 2.6vw, 32px); }

@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-feature, .bento-wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento-feature, .bento-wide { grid-column: auto; }
}

/* --- Industry click-to-expand --- */
.industry-list { list-style: none; border-top: 1px solid var(--line-strong); padding: 0; margin: 0; }
.industry-item { border-bottom: 1px solid var(--line-strong); position: relative; }

.industry-row {
  width: 100%;
  display: grid;
  grid-template-columns: 60px 1fr auto 48px;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: none;
  position: relative;
  transition: padding 0.5s var(--ease-out);
}
.industry-row::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 107, 77, 0.05) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.industry-row:hover::before,
.industry-row[aria-expanded="true"]::before { opacity: 1; }
.industry-row:hover,
.industry-row[aria-expanded="true"] { padding-left: 16px; padding-right: 16px; }

.industry-row[aria-expanded="true"] .industry-name {
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
}

.industry-toggle {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  flex-shrink: 0;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease-out);
  color: var(--navy);
  justify-self: end;
}
.industry-toggle::before, .industry-toggle::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  background: currentColor;
}
.industry-toggle::before {
  width: 14px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.industry-toggle::after {
  width: 1.5px; height: 14px;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease);
}
.industry-row:hover .industry-toggle { border-color: var(--navy); }
.industry-row[aria-expanded="true"] .industry-toggle {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.industry-row[aria-expanded="true"] .industry-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.industry-detail {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.7s var(--ease-out);
}
.industry-item.is-open .industry-detail {
  max-height: 1200px;
}
.industry-detail-inner {
  padding: 8px 0 48px 60px;
  max-width: 1100px;
}
.industry-detail-lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-soft);
  margin-bottom: 24px;
  max-width: 720px;
  font-style: italic;
}
.industry-list-items {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.industry-list-items li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.4s var(--ease-out);
}
.industry-list-items li:hover {
  background: var(--bg-elev-2);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}
.industry-list-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.industry-list-text {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-soft);
}
.industry-list-text strong {
  color: var(--navy);
  font-weight: 700;
}
.industry-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--navy);
  color: var(--cream);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease-out);
}
.industry-cta:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}
.industry-cta svg { width: 13px; height: 13px; transition: transform 0.4s var(--ease-out); }
.industry-cta:hover svg { transform: translateX(3px); }

@media (max-width: 768px) {
  .industry-row {
    grid-template-columns: 40px 1fr 40px;
    gap: 16px;
    padding: 24px 0;
  }
  .industry-row .industry-tag { display: none; }
  .industry-toggle { width: 36px; height: 36px; }
  .industry-detail-inner { padding: 4px 0 32px; }
  .industry-list-items { grid-template-columns: 1fr; }
}

/* --- Industry preview: cursor-sized thumbnail --- */
.industry-preview {
  position: fixed;
  top: 0; left: 0;
  width: 88px; height: 88px;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease-out);
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--cream);
  box-shadow: 0 12px 32px rgba(13, 31, 51, 0.18);
}
.industry-preview.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.industry-preview-inner {
  width: 100%; height: 100%;
  position: relative;
}
.industry-preview-inner::after { content: none; }
.industry-preview-inner.restaurant { background: linear-gradient(135deg, #FF6B4D 0%, #C94928 100%); }
.industry-preview-inner.barber { background: linear-gradient(135deg, #0D1F33 0%, #2A3D52 100%); }
.industry-preview-inner.realestate { background: linear-gradient(135deg, #FF8270 0%, #0D1F33 100%); }
.industry-preview-inner.contractor { background: linear-gradient(135deg, #FF6B4D 0%, #15273E 100%); }
.industry-preview-inner.freelancer { background: linear-gradient(135deg, #15273E 0%, #FF6B4D 100%); }
.industry-preview-inner.local { background: linear-gradient(135deg, #FF6B4D 0%, #FFB8A8 100%); }

/* small play-button echo inside the preview */
.industry-preview-inner::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
  border-left: 12px solid rgba(255,255,255,0.92);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 2px;
}

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

/* Reduce hero scroll indicator visual noise */
.hero-scroll {
  bottom: 24px;
  opacity: 0.7;
}

/* =========================================================
   v3 — Cards with images, transparent nav, vertical footer brand
   ========================================================= */

/* --- Transparent navbar over hero, glass after scroll --- */
.nav-inner {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: transparent;
  box-shadow: none;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
              border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-color: var(--line);
  box-shadow: 0 4px 24px rgba(13, 31, 51, 0.05);
}

/* --- Bento feature card: drop the inner icon row entirely --- */
.bento-feature .bento-card-head { display: none; }
.bento-feature-body {
  padding: 24px 28px 28px;
  gap: 12px;
}
.bento-feature-body .bento-title {
  font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 8px;
}

/* Tag floating on image instead of in body */
.bento-feature-tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--navy);
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  border-radius: 999px;
  z-index: 2;
}

.bento-foot-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-mute);
  font-weight: 500;
  text-transform: uppercase;
}

/* --- Small image card (1-col with image hero) --- */
.bento-image-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.bento-image-card .bento-card-head { display: none; }

.bento-image-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-elev-2);
  flex-shrink: 0;
}
.bento-image-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 0.9s var(--ease-out);
}
.bento-image-card:hover .bento-image-media img { transform: scale(1.05); }

.bento-image-media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(13,31,51,0.12) 100%),
    linear-gradient(135deg, rgba(255,107,77,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.bento-image-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 22px 24px 24px;
  gap: 10px;
}
.bento-image-body .bento-title {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.15;
  margin-bottom: 4px;
}
.bento-image-body .bento-desc {
  font-size: 14px;
  line-height: 1.5;
}
.bento-image-body .bento-foot {
  margin-top: auto;
  padding-top: 16px;
}

/* --- Footer vertical lockup --- */
.footer-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.footer-lockup-mark {
  width: 88px;
  display: block;
}
.footer-lockup-mark svg { width: 100%; height: auto; }
.footer-lockup-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 3.5vw, 44px);
  letter-spacing: -0.045em;
  color: var(--navy);
  line-height: 0.9;
}
.footer-lockup-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
}

/* --- Hide leftover industry preview if it lingers --- */
.industry-preview { display: none !important; }

/* --- Smaller hero canvas opacity to clean up area near nav --- */
.hero-canvas { opacity: 0.4; }

/* --- Mobile tweaks --- */
@media (max-width: 600px) {
  .bento-image-media { aspect-ratio: 16/9; }
  .footer-lockup-mark { width: 72px; }
}

/* =========================================================
   v4 — Force image-at-top via CSS Grid (not flex).
   Grid rows are explicit: row 1 = media, row 2 = body.
   Body fills 1fr so the foot sits at the card bottom and the
   image is pinned to the top. No layout edge cases.
   ========================================================= */

.bento {
  grid-auto-rows: auto;
}

.bento-card { min-height: 0; }

.bento-image-card,
.bento-feature {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  padding: 0;
  overflow: hidden;
}

.bento-image-card > .bento-card-glow,
.bento-feature > .bento-card-glow {
  grid-row: 1 / -1;
  grid-column: 1;
}

.bento-image-card > .bento-image-media,
.bento-feature > .bento-feature-media {
  grid-row: 1;
  grid-column: 1;
  width: 100%;
  /* Brand-gradient fallback so cards never look empty even if an image 404s. */
  background: linear-gradient(135deg, #FFB8A8 0%, #FF6B4D 55%, #0D1F33 100%);
}

.bento-image-card > .bento-image-body,
.bento-feature > .bento-feature-body {
  grid-row: 2;
  grid-column: 1;
  display: flex;
  flex-direction: column;
}

.bento-image-card > .bento-image-body .bento-foot,
.bento-feature > .bento-feature-body .bento-foot {
  margin-top: auto;
}

/* Per-card fallback tints for variety */
.bento-image-card:nth-of-type(3) > .bento-image-media { background: linear-gradient(135deg, #0D1F33 0%, #FF6B4D 100%); }
.bento-image-card:nth-of-type(4) > .bento-image-media { background: linear-gradient(135deg, #FFB8A8 0%, #FF6B4D 100%); }
.bento-image-card:nth-of-type(5) > .bento-image-media { background: linear-gradient(135deg, #FF8270 0%, #15273E 100%); }
.bento-image-card:nth-of-type(6) > .bento-image-media { background: linear-gradient(135deg, #15273E 0%, #FF6B4D 100%); }

/* =========================================================
   v5 — Back-to-top, Newsletter, Chatbot, Pages (Contact, Blog),
        Post, RTL support
   ========================================================= */

/* Inner pages (contact, blog) need solid nav from top */
.page-inner {
  cursor: none;
}
.page-inner .nav { top: 16px; }
.page-inner .nav-inner {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-color: var(--line);
  box-shadow: 0 4px 24px rgba(13, 31, 51, 0.05);
}
.nav-links a.is-active {
  color: var(--orange);
  font-weight: 600;
}

.page-main { padding-top: 100px; }
.page-hero {
  padding: 60px 0 80px;
  background: var(--bg);
}
.page-hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--navy);
  margin: 24px 0 24px;
}
.page-hero-title .line { display: block; overflow: hidden; padding: 0.04em 0; }
.page-hero-title .line.italic { font-style: italic; font-weight: 500; color: var(--orange); }
.page-hero-title .line > span { display: inline-block; transform: translateY(110%); will-change: transform; }
.page-hero-sub {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 580px;
}

/* =========================================================
   Back-to-top button
   ========================================================= */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  box-shadow: 0 8px 24px rgba(13, 31, 51, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease),
              transform 0.4s var(--ease-out), background 0.3s var(--ease);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  background: var(--orange);
  transform: translateY(-3px) scale(1);
}
.back-to-top svg { width: 18px; height: 18px; }

@media (max-width: 600px) {
  .back-to-top { right: 16px; bottom: 88px; width: 44px; height: 44px; }
}

/* =========================================================
   Newsletter banner
   ========================================================= */
.newsletter {
  padding: 80px 0;
  background: var(--bg);
}
@media (max-width: 768px) { .newsletter { padding: 64px 0; } }

.newsletter-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 56px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 900px) {
  .newsletter-card { grid-template-columns: 1fr; gap: 32px; padding: 40px 32px; }
}

.newsletter-glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse at center, var(--orange-glow) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

.newsletter-text .section-label { margin-bottom: 16px; }
.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-bottom: 16px;
}
.newsletter-title span { display: block; }
.newsletter-title .italic { font-style: italic; font-weight: 500; color: var(--orange); }
.newsletter-sub {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 520px;
}

.newsletter-field {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  transition: border-color 0.3s var(--ease);
}
.newsletter-field:focus-within { border-color: var(--orange); }
.newsletter-field input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 15.5px;
  color: var(--navy);
  padding: 12px 0;
  outline: none;
}
.newsletter-field input::placeholder { color: var(--text-mute); }
.newsletter-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--navy);
  color: var(--cream);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: none;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease-out);
}
.newsletter-submit:hover {
  background: var(--orange);
  transform: translateY(-1px);
}
.newsletter-submit svg { width: 13px; height: 13px; transition: transform 0.3s var(--ease-out); }
.newsletter-submit:hover svg { transform: translateX(3px); }
.newsletter-submit.is-success { background: var(--orange); }
.newsletter-fineprint {
  margin-top: 12px;
  padding-left: 22px;
  font-size: 12.5px;
  color: var(--text-mute);
}

/* =========================================================
   Chatbot
   ========================================================= */
.chatbot {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
}

.chatbot-toggle {
  position: relative;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(255, 107, 77, 0.4);
  transition: background 0.3s var(--ease), transform 0.4s var(--ease-out);
  cursor: none;
}
.chatbot-toggle:hover { background: var(--orange-bright); transform: scale(1.05); }
.chatbot-toggle-icon,
.chatbot-toggle-close {
  width: 26px; height: 26px;
  position: absolute;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.chatbot-toggle-close { opacity: 0; transform: rotate(-90deg) scale(0.8); }
.chatbot.is-open .chatbot-toggle-icon { opacity: 0; transform: rotate(90deg) scale(0.8); }
.chatbot.is-open .chatbot-toggle-close { opacity: 1; transform: rotate(0) scale(1); }

.chatbot-toggle-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  animation: chatPulse 2.4s var(--ease) infinite;
  pointer-events: none;
}
@keyframes chatPulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}
.chatbot.is-open .chatbot-toggle-pulse { display: none; }

.chatbot-panel {
  position: absolute;
  bottom: calc(100% + 16px);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 540px;
  max-height: calc(100vh - 120px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(13, 31, 51, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease), transform 0.4s var(--ease-out);
}
.chatbot.is-open .chatbot-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--navy);
  color: var(--cream);
  border-bottom: 1px solid rgba(243, 241, 236, 0.08);
}
.chatbot-avatar {
  width: 44px; height: 22px;
  flex-shrink: 0;
}
.chatbot-avatar svg { width: 100%; height: 100%; }
.chatbot-header-info { flex: 1; min-width: 0; }
.chatbot-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.chatbot-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: rgba(243, 241, 236, 0.65);
  margin-top: 2px;
}
.chatbot-status-dot {
  width: 6px; height: 6px;
  background: #5fdb8e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(95, 219, 142, 0.4);
  animation: chatStatusPulse 2s ease infinite;
}
@keyframes chatStatusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(95, 219, 142, 0.4); }
  50% { box-shadow: 0 0 0 6px transparent; }
}
.chatbot-close {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(243, 241, 236, 0.08);
  color: var(--cream);
  transition: background 0.3s var(--ease);
}
.chatbot-close:hover { background: rgba(243, 241, 236, 0.16); }
.chatbot-close svg { width: 14px; height: 14px; }

.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.chatbot-body::-webkit-scrollbar { width: 6px; }
.chatbot-body::-webkit-scrollbar-track { background: transparent; }
.chatbot-body::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }

.chat-msg {
  display: flex;
  max-width: 85%;
}
.chat-msg-bot { align-self: flex-start; }
.chat-msg-user { align-self: flex-end; }
.chat-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.45;
  letter-spacing: -0.005em;
}
.chat-msg-bot .chat-bubble {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--navy);
  border-bottom-left-radius: 6px;
}
.chat-msg-user .chat-bubble {
  background: var(--orange);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
}
.chat-typing span {
  width: 6px; height: 6px;
  background: var(--text-mute);
  border-radius: 50%;
  animation: chatTyping 1.2s ease infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatTyping {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-4px); opacity: 1; }
}

.chat-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0 6px;
  align-self: stretch;
}
.chat-option {
  text-align: left;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 13.5px;
  color: var(--navy);
  font-family: inherit;
  cursor: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease-out);
}
.chat-option:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  transform: translateX(2px);
}
.chat-options-skip { align-self: flex-end; }
.chat-skip {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-mute);
  font-family: inherit;
  cursor: none;
  transition: background 0.25s var(--ease);
}
.chat-skip:hover { background: var(--bg-elev-2); color: var(--navy); }

.chat-received {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(95, 219, 142, 0.12);
  color: #1f6e3d;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  align-self: flex-start;
}
.chat-received svg { width: 14px; height: 14px; }

.chatbot-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.chatbot-input-row input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--navy);
  outline: none;
  transition: border-color 0.3s var(--ease);
  cursor: text;
}
.chatbot-input-row input:focus { border-color: var(--orange); }
.chatbot-input-row button {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease-out);
}
.chatbot-input-row button:hover { background: var(--orange-bright); transform: scale(1.05); }
.chatbot-input-row svg { width: 16px; height: 16px; }

.chatbot-foot {
  padding: 8px 16px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--text-mute);
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .chatbot { right: 16px; bottom: 16px; }
  .chatbot-panel { width: calc(100vw - 32px); height: 70vh; }
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-methods { padding: 40px 0 80px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.4s var(--ease-out), border-color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  cursor: none;
  overflow: hidden;
  isolation: isolate;
  min-height: 220px;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 40px rgba(13, 31, 51, 0.08);
}

.contact-card-icon {
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy);
  margin-bottom: 16px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.contact-card-icon svg { width: 22px; height: 22px; }
.contact-card:hover .contact-card-icon {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.contact-card-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  font-weight: 500;
}
.contact-card-value {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.contact-card-meta {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.5;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.contact-card-arrow {
  position: absolute;
  top: 32px; right: 32px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease-out);
}
.contact-card-arrow svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.contact-card:hover .contact-card-arrow {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.contact-card:hover .contact-card-arrow svg { transform: translateX(3px); }

.contact-card-accent {
  background: linear-gradient(180deg, rgba(255, 107, 77, 0.08) 0%, var(--surface) 60%);
  border-color: rgba(255, 107, 77, 0.25);
}
.contact-card-accent .contact-card-icon {
  background: var(--orange-tint);
  color: var(--orange);
  border-color: rgba(255, 107, 77, 0.25);
}

.contact-info {
  padding: 0 0 120px;
}
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .contact-info-grid { grid-template-columns: 1fr; gap: 24px; } }
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-info-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  font-weight: 500;
}
.contact-info-block p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-soft);
}

/* =========================================================
   Blog page
   ========================================================= */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  flex-shrink: 0;
}
.lang-btn {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: 999px;
  font-family: inherit;
  cursor: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.lang-btn.is-active {
  background: var(--navy);
  color: var(--cream);
}
.lang-btn:not(.is-active):hover { color: var(--navy); }

.blog-filters {
  padding: 16px 0 32px;
}
.blog-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.blog-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-soft);
  font-family: inherit;
  cursor: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.blog-filter svg { width: 14px; height: 14px; }
.blog-filter:hover { color: var(--navy); border-color: var(--line-strong); }
.blog-filter.is-active {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.blog-featured { padding: 16px 0 48px; }
.blog-featured-card {
  position: relative;
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease);
}
.blog-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(13, 31, 51, 0.1);
}
.blog-featured-link {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: stretch;
}
@media (max-width: 900px) {
  .blog-featured-link { grid-template-columns: 1fr; }
}
.blog-featured-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #FFB8A8 0%, #FF6B4D 100%);
}
.blog-featured-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.blog-featured-card:hover .blog-featured-media img { transform: scale(1.04); }
.blog-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13, 31, 51, 0.18) 100%);
}
.blog-featured-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 48px 48px;
  justify-content: center;
}
@media (max-width: 900px) { .blog-featured-body { padding: 32px; } }

.blog-featured-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.blog-featured-excerpt {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-soft);
}
.blog-featured-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-mute);
  font-weight: 500;
  margin-top: 8px;
}

/* Blog cards (grid items) */
.blog-grid-section { padding: 16px 0 80px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card.is-hidden { display: none; }

.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease);
  cursor: none;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(13, 31, 51, 0.08);
}
.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #FFB8A8 0%, #FF6B4D 60%, #0D1F33 100%);
}
.blog-card-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,31,51,0.05) 30%, rgba(13,31,51,0.32) 100%);
}

.blog-card-type {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  z-index: 2;
}
.blog-card-type svg { width: 12px; height: 12px; }

.blog-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.blog-card-play svg {
  width: 60px; height: 60px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(13, 31, 51, 0.2);
  color: var(--navy);
  transition: transform 0.4s var(--ease-out);
}
.blog-card:hover .blog-card-play svg {
  transform: scale(1.08);
  background: var(--orange);
  color: #fff;
}

.blog-card-media-podcast {
  background: linear-gradient(135deg, #0D1F33 0%, #FF6B4D 100%);
}
.blog-card-podcast-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 16px;
  z-index: 2;
}
.blog-card-podcast-ep {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(13, 31, 51, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 6px;
}

.blog-card-media-infographic {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-media-infographic-2 {
  background: linear-gradient(135deg, #FBFAF6 0%, #F3F1EC 100%);
}
.blog-card-infographic {
  width: 80%;
  max-width: 320px;
}
.blog-card-infographic svg { width: 100%; height: auto; }

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 24px 28px;
  flex-grow: 1;
}
.blog-card-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  font-weight: 500;
}
.blog-card-cat { color: var(--orange); text-transform: uppercase; }
.blog-card-dot { color: var(--text-faint); }
.blog-card-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.blog-card:hover .blog-card-title { color: var(--orange); }
.blog-card-title { transition: color 0.3s var(--ease); }
.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-soft);
}

.blog-card-author-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--navy) 100%);
  flex-shrink: 0;
}

/* =========================================================
   Single post
   ========================================================= */
.post-main { padding-top: 100px; }
.post-container { max-width: 760px; }

.post-hero {
  padding: 24px 0 0;
  background: var(--bg);
}
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-soft);
  font-weight: 500;
  margin-bottom: 32px;
  transition: color 0.3s var(--ease);
}
.post-back:hover { color: var(--orange); }
.post-back svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.post-back:hover svg { transform: translateX(-3px); }

.post-category {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 20px;
}
.post-category .section-label-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-bottom: 24px;
}
.post-title .line { display: block; overflow: hidden; padding: 0.04em 0; }
.post-title .line.italic { font-style: italic; font-weight: 500; color: var(--orange); }
.post-title .line > span { display: inline-block; transform: translateY(110%); will-change: transform; }

.post-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 48px;
}
.post-meta-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
}
.post-meta-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--navy) 100%);
}
.post-meta-dot { color: var(--text-faint); }

.post-cover {
  margin-bottom: 64px;
  position: relative;
  aspect-ratio: 21/9;
  overflow: hidden;
  background: linear-gradient(135deg, #FFB8A8 0%, #FF6B4D 100%);
}
.post-cover img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.post-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13,31,51,0.16) 100%);
}

.post-body {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--text);
  padding-bottom: 80px;
}
.post-body > * { margin-bottom: 22px; }
.post-body > *:last-child { margin-bottom: 0; }

.post-lead {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 40px !important;
}
.post-body h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 56px 0 16px !important;
}
.post-body h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 32px 0 12px !important;
}
.post-body p { color: var(--text-soft); }
.post-body p strong { color: var(--navy); font-weight: 700; }
.post-body em { font-style: italic; color: var(--navy); }
.post-body a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--orange-deep); }
.post-body ul, .post-body ol {
  padding-left: 24px;
  color: var(--text-soft);
}
.post-body ul li, .post-body ol li { margin-bottom: 8px; }
.post-body ul li::marker { color: var(--orange); }
.post-body ol li::marker { color: var(--orange); font-weight: 700; }

.post-quote {
  margin: 48px 0 !important;
  padding: 32px 32px 32px 36px;
  border-left: 3px solid var(--orange);
  background: var(--surface);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.post-quote p {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-style: italic;
}
.post-quote cite {
  display: block;
  margin-top: 12px;
  font-size: 13.5px;
  font-style: normal;
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-weight: 500;
}

.post-figure {
  margin: 48px 0 !important;
}
.post-figure img {
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.post-figure figcaption {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-mute);
  text-align: center;
  font-style: italic;
}

.post-video {
  margin: 48px 0 !important;
}
.post-video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy);
}
.post-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.post-video-cap {
  margin-top: 12px;
  font-size: 12.5px;
  font-family: var(--font-mono);
  color: var(--text-mute);
  text-align: center;
  letter-spacing: 0.02em;
}

.post-infographic {
  margin: 48px 0 !important;
}
.post-infographic-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
}
.post-infographic-frame svg { width: 100%; height: auto; }
.post-infographic figcaption {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-mute);
  text-align: center;
  font-style: italic;
}

.post-podcast {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin: 48px 0 !important;
}
@media (max-width: 600px) {
  .post-podcast { grid-template-columns: 1fr; }
}
.post-podcast-cover {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(135deg, #0D1F33 0%, #FF6B4D 100%);
}
.post-podcast-cover img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.post-podcast-ep {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(13, 31, 51, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 4px;
}
.post-podcast-show {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}
.post-podcast-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 8px;
}
.post-podcast-body p {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: 14px;
}
.post-podcast-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  background: var(--navy);
  color: var(--cream);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: none;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease-out);
}
.post-podcast-play:hover { background: var(--orange); transform: translateY(-1px); }
.post-podcast-play-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-podcast-play-icon svg { width: 12px; height: 12px; color: #fff; }

.post-author {
  padding: 0 0 80px;
}
.post-author-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.post-author-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--navy) 100%);
}
.post-author-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--navy);
  display: block;
}
.post-author-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin: 2px 0 12px;
  font-weight: 500;
}
.post-author-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-soft);
}

.post-related {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

/* =========================================================
   RTL support for Arabic
   ========================================================= */
html[dir="rtl"], [dir="rtl"], [lang="ar"] {
  font-family: 'Noto Sans Arabic', 'Satoshi', sans-serif;
}
[lang="ar"] .blog-card-title,
[lang="ar"] .post-title,
[lang="ar"] .blog-featured-title,
[lang="ar"] h2,
[lang="ar"] h3 {
  font-family: 'Noto Serif Arabic', 'Satoshi', serif;
  font-weight: 700;
  letter-spacing: 0;
}
[lang="ar"] .blog-card-meta,
[lang="ar"] .blog-card-type,
[lang="ar"] .post-meta {
  font-family: 'Noto Sans Arabic', var(--font-mono);
}

.blog-card-rtl {
  direction: rtl;
}
.blog-card-rtl .blog-card-type {
  left: auto; right: 14px;
}
.blog-card-rtl .blog-card-podcast-overlay {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

/* =========================================================
   v6 — Whole-card clickable link & blog demo fallback
   ========================================================= */

.bento-card-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  text-indent: -9999px;
  overflow: hidden;
  cursor: none;
}

.blog-demo-note {
  display: block;
  text-align: center;
  margin: 48px auto 0;
  padding: 14px 24px;
  background: var(--orange-tint);
  color: var(--orange-deep);
  border: 1px solid rgba(255, 107, 77, 0.25);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  max-width: 720px;
}
.blog-demo-note strong { font-weight: 700; color: var(--navy); }



