/* ===== IMPORT FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ===== TOKENS / DESIGN SYSTEM ===== */
:root {
  --bg: #ffffff;
  --bg-sec: #fafafb;
  --bg-card: #ffffff;
  --text: #09090b;
  --text-muted: #71717a;
  --border: #f4f4f5;
  --border-dark: #e4e4e7;
  --accent-italic: 'Playfair Display', Georgia, serif;
  
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.02);
  --shadow-medium: 0 16px 32px -8px rgba(0, 0, 0, 0.05);
  --shadow-large: 0 30px 60px -15px rgba(0, 0, 0, 0.1), 0 15px 30px -10px rgba(0, 0, 0, 0.05);
  
  --radius-full: 9999px;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  
  --status-active: #10b981;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
}
h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
}
.serif-italic {
  font-family: var(--accent-italic);
  font-style: italic;
  font-weight: 500;
  text-transform: lowercase;
}

/* ===== TOOLTIPS ===== */
.slang-tooltip {
  position: relative;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
  cursor: help;
  color: inherit;
}
.slang-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--text);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: normal;
  width: max-content;
  max-width: 250px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  box-shadow: var(--shadow-medium);
  z-index: 100;
  pointer-events: none;
  font-style: normal;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
}
.slang-tooltip::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border-width: 6px;
  border-style: solid;
  border-color: var(--text) transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 100;
}
@media (hover: hover) {
  .slang-tooltip:hover::after,
  .slang-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
  }
  .slang-tooltip:hover::after {
    transform: translateX(-50%) translateY(-2px);
  }
}
.slang-tooltip.active::after,
.slang-tooltip.active::before {
  opacity: 1;
  visibility: visible;
}
.slang-tooltip.active::after {
  transform: translateX(-50%) translateY(-2px);
}


/* ===== LAYOUT & CONTAINERS ===== */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 100px 0;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.2s;
}
.btn-primary:hover {
  background: #27272a;
}
.btn-primary.btn-full {
  width: 100%;
  justify-content: center;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-dark);
  color: var(--text);
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s;
  background: transparent;
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--border);
  border-color: var(--text);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  padding: 14px 0;
  box-shadow: var(--shadow-soft);
}

/* iOS scroll lock when menu is open */
html.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon-svg {
  width: 32px;
  height: 32px;
}
.logo-text-clean {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav-separator {
  width: 1px;
  height: 24px;
  background-color: var(--border-dark);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
}
.nav-cta {
  border: 1px solid var(--border-dark);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: transparent;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1002;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 2px;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}
.dropdown-arrow {
  transition: transform 0.2s;
}
.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #ffffff;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 8px;
  list-style: none;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-medium);
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: background-color 0.2s, color 0.2s;
}
.dropdown-link:hover {
  background-color: var(--border);
  color: var(--text);
}
.drop-icon {
  font-size: 0.7rem;
  opacity: 0.7;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 95vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg);
  padding: 140px 0 80px;
}
.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--border);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--status-active);
  box-shadow: 0 0 8px var(--status-active);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}
.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 36px;
}

/* Inline Form in Hero */
.hero-form-container {
  display: flex;
  align-items: center;
  background: var(--border);
  border-radius: var(--radius-full);
  padding: 6px 6px 6px 20px;
  width: 100%;
  max-width: 440px;
  margin-bottom: 24px;
  transition: box-shadow 0.3s, background-color 0.3s;
}
.hero-form-container:focus-within {
  background: #ffffff;
  box-shadow: 0 0 0 2px var(--text);
}
.hero-input {
  border: none;
  background: transparent;
  flex: 1;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
}
.hero-input::placeholder {
  color: #a1a1aa;
}
.hero-submit {
  background: var(--text);
  color: #ffffff;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
}
.hero-submit:hover {
  background: #27272a;
}

/* Face Pile */
.hero-face-pile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.face-avatars {
  display: flex;
  align-items: center;
}
.face-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -8px;
  background-color: #e4e4e7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  overflow: hidden;
}
.face-avatar:first-child {
  margin-left: 0;
}
.face-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.face-text strong {
  color: var(--text);
  font-weight: 600;
}

/* Right Side: Photo and widgets */
.hero-visual {
  position: relative;
  width: 100%;
}
.hero-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-large);
  background: #f4f4f5;
}
.hero-slider-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-slide {
  min-width: 100%;
  height: 100%;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d4d4d8;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}
.slider-dot.active {
  background-color: var(--text-muted);
  transform: scale(1.2);
}

/* Floating widgets */
.floating-widget {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: max-content;
  max-width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  z-index: 10;
}
.floating-widget.fade-out {
  opacity: 0;
  transform: translateY(15px);
}
.widget-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.widget-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.widget-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.widget-icon {
  width: 36px;
  height: 36px;
  background: #f4f4f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
}
.widget-1 {
  bottom: 150px;
  left: -50px;
}
.widget-2 {
  bottom: 50px;
  left: -20px;
}

/* ===== ABOUT SECTION ===== */
.about {
  background: var(--bg-sec);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about-photos {
  display: flex;
  justify-content: center;
  width: 100%;
}
.about-photo-single {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-medium);
  background: #f4f4f5;
}
.about-photo-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.about-photo-single:hover img {
  transform: scale(1.04);
}
.about-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-lead-text {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.about-lead-text em {
  font-style: normal;
  color: var(--text);
  font-weight: 600;
}
.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value-icon {
  width: 32px;
  height: 32px;
  background: var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text);
  flex-shrink: 0;
  margin-top: 2px;
}
.value-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}
.value-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--border);
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.section-title {
  color: var(--text);
}

/* ===== NICHE GRID ===== */
.niche-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.niche-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}
.niche-card:hover {
  border-color: var(--border-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}
.niche-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f4f4f5;
}
.niche-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.niche-card:hover .niche-img img {
  transform: scale(1.04);
}
.niche-info {
  padding: 24px 24px 12px;
  flex: 1;
}
.niche-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text);
}
.niche-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.niche-arrow {
  display: block;
  text-align: right;
  padding: 8px 24px 20px;
  color: var(--text);
  font-size: 1.1rem;
  transition: transform 0.2s;
}
.niche-card:hover .niche-arrow {
  transform: translateX(4px);
}

/* ===== PROCESS ===== */
.process {
  background: var(--bg-sec);
}
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-soft);
}
.process-step:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-medium);
}
.step-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  opacity: 0.15;
  margin-bottom: 16px;
}
.step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text);
}
.step-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.process-connector {
  width: 32px;
  height: 1px;
  background-color: var(--border-dark);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg-sec);
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-title {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin: 16px 0;
}
.contact-desc {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
}
.contact-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-perks li {
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.contact-perk-bullet {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-medium);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input, .form-group select, .form-group textarea {
  background: var(--border);
  border: 1px solid transparent;
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s, background-color 0.25s;
  outline: none;
  resize: none;
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: #a1a1aa;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  background: #ffffff;
  border-color: var(--text);
}
.form-group select option {
  background: #ffffff;
}
.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
}
.form-success.show {
  display: flex;
}
.success-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: bold;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 8px;
}
.footer-nav {
  display: flex;
  gap: 32px;
}
.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--text);
}
.footer-social {
  display: flex;
  gap: 12px;
}
.social-btn {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s;
}
.social-btn:hover {
  background: var(--border);
  border-color: var(--text);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== CASES PAGE STYLING ===== */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: var(--bg-sec);
  border-bottom: 1px solid var(--border);
}
.page-hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  font-weight: 600;
}
.page-hero h1 {
  margin-bottom: 16px;
}
.page-hero p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Cases tabs */
.cases-tabs-wrap {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 73px;
  z-index: 100;
  transition: box-shadow 0.3s;
}
.cases-tabs-wrap.is-sticky {
  box-shadow: var(--shadow-soft);
}
.cases-tabs {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 12px 0;
}
.cases-tabs::-webkit-scrollbar {
  display: none;
}
.ctab {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  border-radius: var(--radius-full);
  transition: all 0.2s;
  background: transparent;
}
.ctab:hover {
  color: var(--text);
  background: var(--border);
}
.ctab.active {
  color: #ffffff;
  background: var(--text);
}

/* Case sections */
.case-section {
  padding: 100px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.case-section:nth-child(even) {
  background: var(--bg-sec);
}
.case-anchor {
  scroll-margin-top: 130px;
}
.case-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.case-grid.reverse {
  direction: rtl;
}
.case-grid.reverse > * {
  direction: ltr;
}
.case-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  background: var(--border);
}
.case-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.case-image:hover img {
  transform: scale(1.02);
}
.case-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--border);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 16px;
}
.case-content h2 {
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--text);
}
.case-desc {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 28px;
  line-height: 1.65;
}

/* KPI */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.kpi-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.kpi-val {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}
.kpi-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
  font-weight: 500;
}

/* Chart bars */
.chart-bars {
  margin-bottom: 32px;
}
.chart-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.bar-wrap {
  background: var(--border);
  border-radius: var(--radius-full);
  height: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}
.bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--text);
  transition: width 1.2s cubic-bezier(.4, 0, .2, 1);
}

/* Metrics Dashboard on Cases Page */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 8px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s, box-shadow 0.25s;
}
.metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-dark);
  box-shadow: var(--shadow-medium);
}
.metric-val {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}
.metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.metric-card.roi-highlight {
  grid-column: span 3;
  background: var(--text);
  border-color: var(--text);
  color: #ffffff;
}
.metric-card.roi-highlight .metric-val {
  color: #ffffff;
  font-size: 1.7rem;
}
.metric-card.roi-highlight .metric-label {
  color: rgba(255, 255, 255, 0.7);
}

.service-link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.service-link:hover {
  color: var(--text);
}

/* Testimonial */
.testimonial {
  background: var(--bg-sec);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.case-section:nth-child(even) .testimonial {
  background: var(--bg-card);
}
.testimonial::before {
  content: '“';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--text);
  opacity: 0.08;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}
.testimonial-text {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  flex-shrink: 0;
}
.author-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}
.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.stars {
  color: var(--text);
  font-size: 0.75rem;
  margin-top: 2px;
}

/* ===== SERVICES PAGE STYLING ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-soft);
}
.service-card:hover {
  border-color: var(--border-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}
.service-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.s-tag {
  background: var(--border);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Price block */
.price-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow-medium);
}
.price-block h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.price-block p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}
.price-list {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.price-list li:last-child {
  border: none;
}
.price-list .price-amt {
  color: var(--text);
  font-weight: 700;
}

/* ===== REVEAL EFFECT ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE ===== */
@media(max-width: 1024px) {
  .hero {
    padding: 100px 0 50px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-text {
    align-items: center;
  }
  .hero-subtitle {
    max-width: 100%;
  }
  .hero-form-container {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-face-pile {
    justify-content: center;
  }
  .hero-visual {
    max-width: 360px;
    margin: 30px auto 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .niche-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .process-connector {
    display: none;
  }
  .case-grid, .case-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .case-image {
    max-width: 480px;
    margin: 0 auto;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 768px) {
  section {
    padding: 64px 0;
  }
  .logo-wrapper {
    gap: 0;
  }
  .nav-separator {
    display: none;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    padding: 100px 24px 40px;
    gap: 16px;
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.open {
    display: flex;
  }
  .burger {
    display: flex !important;
    z-index: 1002 !important;
  }
  .burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .burger.open span:nth-child(2) {
    opacity: 0;
  }
  .burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  /* Mobile dropdown - inline */
  .dropdown-menu::before {
    display: none;
  }
  .dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    pointer-events: all !important;
    transform: none !important;
    margin-top: 4px;
    box-shadow: none;
    border: none;
    background: var(--bg-sec);
    padding: 4px;
  }
  .dropdown-link {
    padding: 10px 16px;
    font-size: 0.92rem;
  }
  .nav-link {
    font-size: 1.05rem;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    color: var(--text);
  }
  .nav-cta {
    text-align: center;
    width: 100%;
    margin-top: 12px;
    padding: 12px;
  }
  .floating-widget {
    width: max-content;
    max-width: 240px;
    padding: 12px 16px;
  }
  .widget-1 {
    left: -35px;
    bottom: 140px;
  }
  .widget-2 {
    left: -10px;
    bottom: 40px;
  }
  .niche-grid {
    grid-template-columns: 1fr;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .metric-card.roi-highlight {
    grid-column: span 2;
  }
  .contact-form {
    padding: 32px 24px;
  }
  
  /* Form responsiveness */
  @media(max-width: 480px) {
    .hero-form-container {
      flex-direction: column;
      border-radius: var(--radius-md);
      padding: 8px;
      background: transparent;
      gap: 8px;
      max-width: 100%;
    }
    .hero-input {
      background: var(--border);
      border-radius: var(--radius-full);
      padding: 14px 20px;
      width: 100%;
      text-align: center;
    }
    .hero-submit {
      width: 100%;
      padding: 14px;
    }
  }
}
