/*
Theme Name: Sociyai.com
Theme URI: https://sociyai.com
Author: Sociyai.com
Author URI: https://sociyai.com
Description: AI-powered social media marketing theme for local businesses. Built for Sociyai.com platform integration.
Version: 1.2.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: socially-ai
Tags: custom-menu, custom-logo, featured-images, translation-ready, customizer-theme
*/

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #0f172a;
  line-height: 1.6;
  overflow-x: hidden;
}

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-darker: #3730a3;
  --primary-light: #818cf8;
  --primary-soft: #e0e7ff;
  --secondary: #f59e0b;
  --accent: #ec4899;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --shadow-sm: 0 4px 6px -2px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 12px 24px -8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 32px -12px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-2xl: 2rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
p { color: #475569; }

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER / NAVIGATION ===== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  z-index: 1000;
  padding: 0.85rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: padding 0.3s ease;
}

.site-header.scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header .header-container {
  max-width: 1400px;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.site-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.3s ease;
  font-family: 'Sora', sans-serif;
}

.site-logo:hover {
  transform: scale(1.05);
}

.site-logo i {
  background: none;
  color: var(--primary);
  -webkit-background-clip: unset;
  font-size: 1.8rem;
}

.site-logo .brand-logo-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 185px;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

/* Primary Navigation - Modern Flex Layout */
.primary-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  min-width: 0;
}

/* Site Menu - Beautiful Horizontal Nav */
.site-menu {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu > li {
  position: relative;
}

.site-menu > li > a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  color: var(--gray-800);
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.25s ease;
  position: relative;
}

.site-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-menu > li > a:hover {
  color: var(--primary);
  background: rgba(99, 102, 241, 0.06);
}

.site-menu > li > a:hover::after {
  width: 60%;
}

.site-menu > li.current-menu-item > a,
.site-menu > li.current_page_item > a {
  color: var(--primary);
  background: rgba(99, 102, 241, 0.06);
}

.site-menu > li.current-menu-item > a::after,
.site-menu > li.current_page_item > a::after {
  width: 60%;
}

/* Dropdown Submenu Styles */
.site-menu > li.menu-item-has-children > a::before {
  content: '\f107';
  font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  order: 2;
  margin-left: 0.15rem;
  transition: transform 0.25s ease;
}

.site-menu > li.menu-item-has-children:hover > a::before {
  transform: rotate(180deg);
}

.site-menu ul.sub-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 0.75rem;
  padding: 0.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  list-style: none;
}

.site-menu > li.menu-item-has-children:hover > ul.sub-menu,
.site-menu > li.menu-item-has-children > ul.sub-menu:hover,
.site-menu > li.menu-item-has-children:focus-within > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-menu ul.sub-menu li {
  position: relative;
}

.site-menu ul.sub-menu li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.site-menu ul.sub-menu li a:hover {
  color: var(--primary);
  background: rgba(99, 102, 241, 0.06);
  padding-left: 1.25rem;
}

/* Nested dropdown (third level) */
.site-menu ul.sub-menu ul.sub-menu {
  top: -0.25rem;
  left: calc(100% + 0.5rem);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
}

.site-menu ul.sub-menu li:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.site-menu .menu-item-has-children > a::after {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gray-300);
  color: var(--gray-800);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--gray-50);
  border-color: var(--primary);
  color: var(--primary);
}

/* Hamburger Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-800);
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
}

.menu-toggle .hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 24px;
  height: 24px;
  margin: 0 auto;
}

.menu-toggle .hamburger-icon span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.menu-toggle.active .hamburger-icon span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active .hamburger-icon span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 5rem 0 6rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f5f7ff 50%, #faf8ff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(20px); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  background: linear-gradient(135deg, var(--primary-soft), rgba(129, 140, 248, 0.1));
  color: var(--primary-dark);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
  backdrop-filter: blur(10px);
  animation: slideInDown 0.6s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
  animation: slideInDown 0.8s ease-out 0.1s both;
}

.hero-highlight {
  background: linear-gradient(120deg, var(--primary), var(--accent), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  max-width: 95%;
  line-height: 1.7;
  animation: slideInDown 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  animation: slideInDown 0.8s ease-out 0.3s both;
}

.hero-buttons .btn-primary {
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
}

.hero-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(99, 102, 241, 0.12);
  animation: slideInRight 0.8s ease-out 0.2s both;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.hero-card-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.hero-card-item:last-child {
  border-bottom: none;
}

.hero-card-icon {
  font-size: 1.8rem;
  color: var(--primary);
}

.hero-card-text {
  font-size: 0.9rem;
  color: var(--gray-700);
}

.hero-card-label {
  font-weight: 600;
  color: var(--gray-900);
}

/* Hero Slideshow */
.hero-slideshow {
  position: relative;
  height: 100%;
  width: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.slide-dot {
  width: 10px;
  height: 10px;
  background: var(--gray-300);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.slide-dot.active {
  background: var(--primary);
  width: 25px;
  border-radius: 10px;
}

/* ===== HERO GRID (for Partner section) ===== */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.section-sub {
  text-align: center;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto 4rem auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(236, 72, 153, 0.02) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--gray-900);
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.95rem;
}

.feature-icon {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
}

/* ===== PRICING SECTION ===== */
.pricing-section {
  background: linear-gradient(135deg, var(--gray-50) 0%, rgba(99, 102, 241, 0.03) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.8rem;
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 20px;
  right: -30px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 0.5rem 3rem;
  transform: rotate(45deg);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.pricing-desc {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.pricing-period {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.pricing-trial {
  margin-bottom: 2rem;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  padding: 1rem 0;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  color: var(--success);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.pricing-features .feature-muted { color: var(--gray-500); }
.pricing-features .feature-muted i { color: var(--gray-400); }

.pricing-card .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  margin-top: auto;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
  background: linear-gradient(135deg, var(--gray-50) 0%, rgba(99, 102, 241, 0.03) 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.review-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-soft);
  font-weight: 900;
  font-family: Georgia, serif;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stars {
  color: #fbbf24;
  margin: 1rem 0;
  letter-spacing: 3px;
  font-size: 1.1rem;
}

.review-card p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  font-style: italic;
}

.review-card strong {
  color: var(--gray-900);
  font-weight: 600;
  display: block;
  margin-top: 1rem;
  font-style: normal;
}

/* ===== BLOG SECTION ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.blog-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.blog-card-image {
  height: 180px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
}

.blog-card-image .blog-featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-featured-image { transform: scale(1.04); }

.blog-logo-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  max-width: none;
  padding: 1.25rem 1.5rem;
  place-items: center;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.blog-placeholder-logo {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 82px;
  object-fit: contain;
}

.blog-logo-placeholder-fallback {
  display: flex;
  gap: 0.65rem;
  color: var(--primary-dark);
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
}

.blog-card-content {
  padding: 2rem;
}

.blog-card-meta {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 0.8rem;
}

.blog-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--gray-900);
  line-height: 1.4;
}

.blog-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.blog-card a {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-card a:hover {
  gap: 0.8rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.03) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.contact-info p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.contact-details i {
  color: var(--primary);
  width: 20px;
  font-size: 1.1rem;
}

.contact-form-wrapper {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

#formFeedback {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
}

.contact-limit-notice {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* ===== CTA BANNER ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 5rem 0;
  margin-bottom: -1px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner {
  background: transparent;
  border-radius: 0;
  padding: 0 2rem;
  text-align: center;
  color: white;
  box-shadow: none;
  position: relative;
  overflow: visible;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.5rem;
  opacity: 0.95;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: white;
  color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  color: var(--primary-dark);
}

.cta-banner .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.cta-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(135deg, #0a0f1c 0%, #0f1729 100%);
  color: #a0aec0;
  padding: 0;
  margin-top: 0;
  border-top: none;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.footer-top {
  padding: 4rem 0 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 0;
}

.footer-grid-full {
  grid-template-columns: minmax(280px, 1.6fr) repeat(4, minmax(120px, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  padding: 4.5rem 0 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 1.25rem;
  padding: 0.65rem 0.8rem;
  color: white;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: 1px solid rgba(165, 180, 252, 0.35);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28), 0 0 0 5px rgba(99, 102, 241, 0.07);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-logo:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34), 0 0 0 5px rgba(99, 102, 241, 0.12); }
.footer-logo .brand-logo-image { width: auto; max-width: 285px; max-height: 78px; border-radius: 12px; object-fit: contain; }
.footer-logo i {
  color: var(--primary-light);
}

.footer-brand-copy { max-width: 330px; margin-bottom: 1.4rem; color: #94a3b8; font-size: 0.94rem; line-height: 1.75; }

.footer-col h4 { margin-bottom: 1.15rem; color: white; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.footer-col > a { align-self: flex-start; margin-bottom: 0.7rem; color: #aebbd0; font-size: 0.9rem; }
.footer-col > a:hover, .footer-col > a:focus-visible { color: white; transform: translateX(4px); }

.social-icons { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.social-icons a, .footer-app-links a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.social-icons a:hover, .social-icons a:focus-visible, .footer-app-links a:hover, .footer-app-links a:focus-visible {
  color: white;
  background: var(--primary);
  border-color: var(--primary-light);
  transform: translateY(-3px);
}

.footer-apps { margin-top: 1.4rem; }
.footer-apps h4 { margin-bottom: 0.75rem; font-size: 0.72rem; }
.footer-app-links { display: flex; gap: 0.65rem; }

.footer-bottom-bar { padding: 1.35rem 0; border-top: 1px solid rgba(255, 255, 255, 0.08); text-align: center; }
.footer-bottom-bar p { color: #718096; font-size: 0.8rem; }

/* Contact Form 7 */
.contact-form-wrapper .wpcf7 { margin: 0; }
.contact-form-wrapper .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}
.contact-form-wrapper .wpcf7-form > p { margin: 0; }
.contact-form-wrapper .wpcf7-form > p:nth-of-type(n + 3),
.contact-form-wrapper .wpcf7-response-output { grid-column: 1 / -1; }
.contact-form-wrapper .wpcf7-form label {
  display: block;
  color: var(--gray-800);
  font-size: 0.86rem;
  font-weight: 650;
}
.contact-form-wrapper .wpcf7-form-control-wrap { display: block; margin-top: 0.3rem; }
.contact-form-wrapper .wpcf7 input:not([type="submit"]),
.contact-form-wrapper .wpcf7 textarea,
.contact-form-wrapper .wpcf7 select {
  width: 100%;
  padding: 0.72rem 0.9rem;
  color: var(--gray-900);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.contact-form-wrapper .wpcf7 textarea { height: 105px; min-height: 105px; resize: vertical; }
.contact-form-wrapper .wpcf7 input:not([type="submit"]):focus,
.contact-form-wrapper .wpcf7 textarea:focus,
.contact-form-wrapper .wpcf7 select:focus {
  outline: none;
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}
.contact-form-wrapper .wpcf7-submit {
  width: 100%;
  padding: 0.82rem 1.25rem;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.28);
  font: 700 0.95rem/1 'Inter', sans-serif;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-form-wrapper .wpcf7-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(99, 102, 241, 0.38); }
.contact-form-wrapper .wpcf7-spinner { display: block; margin: 0.8rem auto 0; }
.contact-form-wrapper .wpcf7-not-valid-tip { margin-top: 0.4rem; font-size: 0.8rem; }
.contact-form-wrapper .wpcf7 form .wpcf7-response-output { margin: 1rem 0 0; padding: 0.9rem 1rem; border-radius: var(--radius-md); font-size: 0.88rem; }

/* ===== INDUSTRIES SECTION ===== */
.industries-section {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(236, 72, 153, 0.03) 100%);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.industry-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.industry-card:hover::before {
  transform: scaleX(1);
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.industry-card-icon {
  display: inline-block;
  align-self: flex-start;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.industry-card:hover .industry-card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.industry-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--gray-900);
}

.industry-card h3 a:hover,
.industry-card h3 a:focus-visible {
  color: var(--primary);
}

.industry-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.industry-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.industry-card-tags a {
  display: inline-flex;
  padding: 0.35rem 0.6rem;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.25;
}

.industry-card-tags a:hover,
.industry-card-tags a:focus-visible {
  color: white;
  background: var(--primary);
  border-color: var(--primary);
}

.industry-card-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.industry-card-count i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.industry-card:hover .industry-card-count i {
  transform: translateX(4px);
}

.industry-card-child {
  border-color: var(--primary-soft);
  background: linear-gradient(135deg, #ffffff 0%, rgba(99, 102, 241, 0.02) 100%);
}

.industry-card-child .industry-card-icon {
  font-size: 1.8rem;
  color: var(--primary-light);
}

/* ===== INDUSTRY HERO PAGE ===== */
.industry-hero-section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(129, 140, 248, 0.32), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(236, 72, 153, 0.22), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #1e1b4b 52%, #312e81 100%);
  overflow: hidden;
}

.industry-hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: radial-gradient(rgba(255, 255, 255, 0.9) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.industry-hero {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1180px;
  margin: 0 auto;
}

.industry-hero-icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.25rem;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  font-size: 2rem;
  transform: rotate(-3deg);
}

.industry-hero-eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.9rem;
  color: #e0e7ff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.industry-hero-title {
  margin-bottom: 1.2rem;
  color: white;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  white-space: normal;
}

.industry-hero-title span {
  display: block;
  color: #a5b4fc;
}

.industry-hero-description {
  max-width: 720px;
  margin: 0 auto 2rem;
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.75;
}

.industry-hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.industry-hero-buttons .btn-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
}

.industry-hero-buttons .btn-outline:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.industry-hero-subindustries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  align-items: center;
  max-width: 1050px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.industry-hero-subindustries > span {
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.industry-hero-subindustries ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.industry-hero-subindustries a {
  display: inline-flex;
  padding: 0.45rem 0.75rem;
  color: white;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
}

.industry-hero-subindustries a:hover,
.industry-hero-subindustries a:focus-visible {
  background: var(--primary);
  border-color: #a5b4fc;
  transform: translateY(-2px);
}

/* Sub-industry links stay on one clean row on wide screens. */
.subindustry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.subindustry-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  min-height: 112px;
  padding: 1.15rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.subindustry-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.subindustry-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 13px;
}

.subindustry-copy { min-width: 0; }
.subindustry-copy strong { display: block; color: var(--gray-900); font-size: 0.95rem; line-height: 1.3; }
.subindustry-copy small { display: block; margin-top: 0.3rem; color: var(--gray-600); font-size: 0.76rem; line-height: 1.4; }
.subindustry-arrow { color: var(--gray-400); font-size: 0.75rem; transition: transform 0.25s ease, color 0.25s ease; }
.subindustry-card:hover .subindustry-arrow { color: var(--primary); transform: translateX(3px); }

/* Industry FAQ accordion */
.industry-faq-section { background: var(--gray-50); }
.industry-faq-list { display: grid; gap: 0.85rem; max-width: 900px; margin: 0 auto; }
.industry-faq-list .faq-item {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.industry-faq-list .faq-item.active { border-color: #c7d2fe; box-shadow: var(--shadow-md); }
.industry-faq-list .faq-question {
  position: relative;
  width: 100%;
  padding: 1.25rem 3.5rem 1.25rem 1.4rem;
  color: var(--gray-900);
  background: transparent;
  border: 0;
  font: 700 1rem/1.45 'Inter', sans-serif;
  text-align: left;
  cursor: pointer;
}
.industry-faq-list .faq-question::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 1.4rem;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 50%;
  font-size: 1.2rem;
  transform: translateY(-50%);
}
.industry-faq-list .faq-question:focus-visible { outline: 3px solid rgba(99, 102, 241, 0.28); outline-offset: -3px; }
.industry-faq-list .faq-item.active .faq-question::after { content: '−'; }
.industry-faq-list .faq-answer { display: none; padding: 0 1.4rem 1.35rem; }
.industry-faq-list .faq-item.active .faq-answer { display: block; }
.industry-faq-list .faq-answer p { margin: 0; padding-top: 1rem; border-top: 1px solid var(--gray-100); line-height: 1.75; }

.checklist {
  list-style: none;
  margin: 1.5rem 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.checklist li i {
  color: var(--success);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.about-story .checklist li {
  color: #e2e8f0;
}

.about-story .checklist li i {
  color: #34d399;
}

.about-story .about-icon i {
  color: white !important;
}

/* ===== HOMEPAGE LAYOUT POLISH ===== */
.hero-copy { position: relative; z-index: 2; }
.hero-card { border: 1px solid rgba(99, 102, 241, 0.18); }
.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.trust-strip {
  position: relative;
  z-index: 5;
  background: white;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
  border-right: 1px solid var(--gray-200);
}

.trust-item:last-child { border-right: 0; }
.trust-item strong { color: var(--gray-900); font-family: 'Sora', sans-serif; font-size: 1.4rem; }
.trust-item span { color: var(--gray-600); font-size: 0.82rem; }

.section-kicker {
  margin-bottom: 0.8rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.about-story {
  padding: clamp(2rem, 4vw, 3.5rem);
  background: linear-gradient(145deg, var(--gray-900), #1e1b4b);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.about-story h3 { margin: 1.5rem 0 1rem; color: white; font-size: 1.65rem; }
.about-story p { margin-bottom: 1rem; color: #cbd5e1; line-height: 1.75; }
.about-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 18px;
  font-size: 1.35rem;
}

.text-link { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1rem; color: #a5b4fc; font-weight: 700; }
.text-link:hover { gap: 0.8rem; color: white; }
.about-benefits { display: grid; gap: 1rem; }
.benefit-card {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  padding: 1.6rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.benefit-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.benefit-card > i { flex: 0 0 auto; width: 48px; color: var(--primary); font-size: 1.45rem; text-align: center; }
.benefit-card h3 { margin-bottom: 0.35rem; font-size: 1.05rem; }
.benefit-card p { font-size: 0.9rem; }

.workflow-section { background: var(--gray-50); border-block: 1px solid var(--gray-200); }
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 3rem auto 0;
}
.tax-industry .workflow-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.workflow-card {
  position: relative;
  padding: 2.25rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.workflow-card > span { position: absolute; top: 1rem; right: 1.25rem; color: var(--primary-soft); font-family: 'Sora', sans-serif; font-size: 2.4rem; font-weight: 800; }
.workflow-card > i { display: grid; width: 52px; height: 52px; margin-bottom: 1.4rem; place-items: center; color: white; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 16px; }
.workflow-card h3 { margin-bottom: 0.7rem; font-size: 1.12rem; }
.workflow-card p { line-height: 1.7; font-size: 0.92rem; }

.feature-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  background: var(--primary-soft);
  border-radius: 18px;
  font-size: 1.45rem;
}

.features-grid .feature-card:nth-child(3n + 2) .feature-icon { color: var(--accent); background: #fce7f3; }
.features-grid .feature-card:nth-child(3n) .feature-icon { color: #b45309; background: #fef3c7; }
.contact-info { padding: 1.5rem; }
.contact-details a { color: var(--gray-600); }
.contact-details a:hover { color: var(--primary); }

/* ===== MODERN SINGLE POST ===== */
.single-post-page { background: var(--gray-50); }
.post-hero {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(129, 140, 248, 0.28), transparent 32%),
    radial-gradient(circle at 88% 85%, rgba(236, 72, 153, 0.2), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #312e81 100%);
  overflow: hidden;
}
.post-hero::after { content: ''; position: absolute; inset: 0; opacity: 0.16; background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1px); background-size: 28px 28px; }
.post-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.post-breadcrumb { display: flex; gap: .65rem; align-items: center; margin-bottom: 1.6rem; color: #c7d2fe; font-size: .82rem; font-weight: 600; }
.post-breadcrumb i { font-size: .6rem; opacity: .65; }
.post-breadcrumb a:hover { color: white; }
.post-category-pill { display: inline-flex; margin-bottom: 1.25rem; padding: .5rem .85rem; color: white; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.post-hero .blog-post-title { max-width: 820px; margin: 0; color: white; font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.06; letter-spacing: -.045em; text-align: left; }
.post-hero-excerpt { max-width: 720px; margin-top: 1.5rem; color: #cbd5e1; font-size: 1.08rem; line-height: 1.75; }
.post-meta-row { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; margin-top: 1.75rem; color: #e0e7ff; font-size: .86rem; }
.post-meta-row span { display: inline-flex; gap: .5rem; align-items: center; }
.post-meta-row i { color: #a5b4fc; }
.post-hero-visual { min-width: 0; }
.post-hero-image, .post-visual-card { width: 100%; aspect-ratio: 1 / .88; border-radius: var(--radius-2xl); box-shadow: 0 28px 70px rgba(0,0,0,.32); }
.post-hero-image { object-fit: cover; border: 1px solid rgba(255,255,255,.18); }
.post-visual-card { display: flex; flex-direction: column; justify-content: space-between; padding: 1.7rem; color: white; background: linear-gradient(145deg, rgba(255,255,255,.17), rgba(255,255,255,.07)); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(12px); transform: rotate(2deg); }
.post-visual-label { align-self: flex-start; padding: .55rem .8rem; background: rgba(15,23,42,.38); border-radius: 999px; font-size: .78rem; font-weight: 700; }
.post-visual-icon { align-self: center; color: #f9a8d4; font-size: clamp(4rem, 8vw, 6.5rem); filter: drop-shadow(0 12px 24px rgba(0,0,0,.24)); }
.post-logo-placeholder {
  display: grid;
  align-self: center;
  width: min(88%, 300px);
  min-height: 130px;
  padding: 1.5rem;
  place-items: center;
  color: var(--primary-dark);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 42px rgba(0,0,0,.2);
}
.post-logo-placeholder .brand-logo-image { width: auto; max-width: 100%; max-height: 90px; object-fit: contain; }
.post-logo-placeholder > i { font-size: 2.3rem; }
.post-logo-placeholder > span { font-family: 'Sora', sans-serif; font-size: 1.35rem; font-weight: 800; }
.post-signal-row { display: flex; justify-content: space-between; gap: .5rem; }
.post-signal-row span { display: flex; gap: .35rem; align-items: center; font-size: .72rem; font-weight: 700; }
.post-signal-row i { color: #a5b4fc; }
.post-article-section { padding: 4rem 0 6rem; }
.blog-post-layout { display: grid; grid-template-columns: minmax(0, 820px) minmax(240px, 300px); gap: 3rem; justify-content: center; align-items: start; }
.blog-post-layout > .blog-post-content { padding: clamp(2rem, 5vw, 4rem); background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-2xl); box-shadow: var(--shadow-md); }
.blog-post-content > *:first-child { margin-top: 0; }
.blog-post-content > *:last-child { margin-bottom: 0; }
.blog-post-content p {
  margin: 0 0 1.25rem;
  color: var(--gray-700);
  font-size: 1.02rem;
  line-height: 1.82;
}
.blog-post-content .article-intro {
  margin-bottom: 1.5rem;
  color: var(--gray-800);
  font-size: 1.12rem;
  line-height: 1.8;
}
.blog-post-content h2 {
  margin: 2.4rem 0 1rem;
  padding-top: 0;
  font-size: clamp(1.45rem, 2.1vw, 1.85rem);
  line-height: 1.22;
  letter-spacing: 0;
}
.blog-post-content h2::before { content: ''; display: block; width: 46px; height: 4px; margin-bottom: .75rem; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 5px; }
.blog-post-content .faq-section h2::before, .article-footer-cta h2::before { display: none; }
.blog-post-content strong { color: var(--gray-900); }
.blog-post-content ul,
.blog-post-content ol {
  margin: .35rem 0 1.45rem;
  padding-left: 1.35rem;
}
.blog-post-content li {
  margin-bottom: .6rem;
  padding-left: .25rem;
  color: var(--gray-800);
  font-size: 1rem;
  line-height: 1.7;
}
.blog-post-content li::marker { color: var(--primary); font-weight: 800; }
.blog-post-content .faq-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}
.blog-post-content .faq-section h2 {
  margin-bottom: 1.35rem;
  padding-top: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}
.blog-post-content .faq-item {
  overflow: hidden;
  margin-bottom: .85rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.blog-post-content .faq-item.active {
  background: white;
  border-color: #c7d2fe;
  box-shadow: var(--shadow-sm);
}
.blog-post-content .faq-question {
  position: relative;
  margin: 0;
  padding: 1.05rem 3.25rem 1.05rem 1.2rem;
  color: var(--gray-900);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
}
.blog-post-content .faq-question::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 1.15rem;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--primary);
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  transform: translateY(-50%);
}
.blog-post-content .faq-answer {
  display: none;
  padding: 0 1.2rem 1.15rem;
}
.blog-post-content .faq-answer p {
  margin: 0;
  color: var(--gray-700);
  font-size: .98rem;
  line-height: 1.75;
}
.blog-post-content .faq-item.active .faq-question::after { content: '-'; }
.blog-post-content .faq-item.active .faq-answer { display: block; }
.post-sidebar { position: sticky; top: 110px; }
.post-sidebar-card { padding: 1.8rem; background: linear-gradient(145deg, var(--primary-soft), white); border: 1px solid #c7d2fe; border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.post-sidebar-icon { display: grid; width: 48px; height: 48px; margin-bottom: 1.2rem; place-items: center; color: white; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 15px; }
.post-sidebar-card h2 { margin-bottom: .75rem; font-size: 1.15rem; }
.post-sidebar-card p { margin-bottom: 1rem; font-size: .88rem; line-height: 1.65; }
.post-sidebar-card a, .back-to-blog { color: var(--primary-dark); font-size: .88rem; font-weight: 750; }
.post-sidebar-card a:hover { color: var(--accent); }
.back-to-blog { display: inline-flex; gap: .5rem; align-items: center; margin: 1.25rem .5rem 0; }
.article-footer-cta { display: flex; gap: 2rem; justify-content: space-between; align-items: center; margin-top: 3.5rem; padding: 2rem; color: white; background: linear-gradient(135deg, var(--gray-900), #312e81); border-radius: var(--radius-xl); }
.article-footer-cta span { color: #a5b4fc; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.article-footer-cta h2 { margin: .4rem 0 0; padding: 0; color: white; font-size: 1.25rem; }
.article-footer-cta .btn { flex: 0 0 auto; color: var(--primary-dark); background: white; }
.related-posts-section { margin: 0; background: white; border-top: 1px solid var(--gray-200); }

/* ===== STANDALONE PAGES ===== */
.inner-page {
  background: var(--gray-50);
  min-height: 70vh;
}

.inner-page-hero {
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.14), transparent 30%),
    radial-gradient(circle at 85% 70%, rgba(236, 72, 153, 0.1), transparent 28%),
    white;
  border-bottom: 1px solid var(--gray-200);
}

.inner-page-hero h1 {
  max-width: 900px;
  margin: 0 auto;
  letter-spacing: -0.04em;
}

.inner-page-hero p {
  max-width: 720px;
  margin: 1.25rem auto 0;
  font-size: 1.1rem;
}

.page-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.9rem;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inner-page-body { padding: 4rem 0 6rem; }

.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.5rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.page-content-wide { max-width: 1200px; }
.page-content > *:first-child { margin-top: 0; }
.page-content > *:last-child { margin-bottom: 0; }
.page-content p { margin: 0 0 1.25rem; line-height: 1.85; }
.page-content h2 { margin: 2.75rem 0 1rem; font-size: 1.55rem; }
.page-content h3 { margin: 1.75rem 0 0.75rem; font-size: 1.15rem; }
.page-content a:not(.btn) { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { color: var(--gray-600); padding-bottom: 1.5rem; border-bottom: 1px solid var(--gray-200); }
.page-lead { max-width: 720px; margin: 0 auto 3rem !important; text-align: center; font-size: 1.1rem; }
.standalone-pricing { margin-top: 3rem; }
.page-note { margin-top: 3rem; padding: 1.25rem 1.5rem; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-md); color: var(--gray-600); }
.standalone-contact { margin-top: 0; }
.standalone-contact .contact-info { padding: 1rem; }
.standalone-contact .contact-details a { text-decoration: none; }
.response-card { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2rem; padding: 1.25rem; background: var(--primary-soft); border-radius: var(--radius-md); color: var(--primary-dark); }
.response-card i { margin-top: 0.25rem; }
.response-card strong, .response-card span { display: block; }
.response-card span { margin-top: 0.25rem; color: var(--gray-600); font-size: 0.9rem; }
.form-alert { margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-radius: var(--radius-md); font-weight: 600; }
.form-alert.success { color: #065f46; background: #d1fae5; border: 1px solid #a7f3d0; }
.form-alert.error { color: #991b1b; background: #fee2e2; border: 1px solid #fecaca; }
.form-privacy { margin: 1rem 0 0 !important; font-size: 0.8rem; text-align: center; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1100px) {
  .footer-grid-full { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand-card { grid-column: 1 / -1; }
  .footer-brand-copy { max-width: 560px; }
  .industry-hero-title { white-space: normal; }
  .subindustry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .site-header { padding: 0.75rem 0; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 12px; transition: all 0.25s ease; }
  .menu-toggle:hover { background: var(--gray-100); border-color: var(--gray-300); }
  .primary-nav { display: none; position: absolute; top: calc(100% + 0.6rem); left: 0.75rem; right: 0.75rem; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(99, 102, 241, 0.15); border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); white-space: normal; max-height: 80vh; overflow-y: auto; animation: menuSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
  @keyframes menuSlideIn { from { opacity: 0; transform: translateY(-10px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
  .primary-nav.active { display: flex; }
  .site-menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; margin: 0; padding: 0; }
  .site-menu > li > a { padding: 0.75rem 1rem; border-radius: 0.5rem; border-bottom: 1px solid var(--gray-100); font-size: 0.95rem; }
  .site-menu > li:last-child > a { border-bottom: none; }
  .site-menu > li > a::after { display: none; }
  .site-menu > li.menu-item-has-children > a::before { content: '\f107'; font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free'; font-weight: 900; font-size: 0.8rem; margin-left: auto; transition: transform 0.25s ease; }
  .site-menu ul.sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; backdrop-filter: none; padding: 0 0 0 1rem; margin: 0; display: none; border-radius: 0; }
  .site-menu > li.menu-item-has-children:hover > ul.sub-menu,
  .site-menu > li.menu-item-has-children > ul.sub-menu:hover { display: none; }
  .site-menu > li.menu-item-has-children.open > ul.sub-menu { display: block; }
  .site-menu ul.sub-menu li a { padding: 0.65rem 1rem; font-size: 0.9rem; border-bottom: 1px solid var(--gray-100); }
  .site-menu ul.sub-menu ul.sub-menu { left: 0; top: 0; padding-left: 1rem; }
  .primary-nav > .btn { width: 100%; justify-content: center; padding: 0.8rem 1.25rem; margin-top: 0.25rem; text-align: center; }
  .hero { padding: 3.5rem 0 4rem 0; min-height: auto; }
  .hero .container { gap: 2.5rem; }
  .hero-card { min-height: 350px; }
  .section { padding: 4.5rem 0; }
  .section-sub { margin-bottom: 3rem; }
  .features-grid { gap: 1.5rem; }
  .pricing-grid { gap: 1.5rem; }
  .pricing-card.featured { transform: scale(1.03); }
  .pricing-card.featured:hover { transform: scale(1.03) translateY(-6px); }
  .footer-grid-full { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand-card { grid-column: 1 / -1; }
  .footer-brand-copy { max-width: 560px; }
  .industry-hero-title { white-space: normal; }
  .subindustry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1081px) {
  .site-menu ul.sub-menu { display: block; }
  .site-menu ul.sub-menu li.menu-item-has-children > a::after { content: '\f054'; font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free'; font-weight: 900; font-size: 0.65rem; margin-left: auto; color: var(--gray-400); }
}

@media (max-width: 960px) {
  .post-hero-grid { grid-template-columns: 1fr; }
  .post-hero-visual { display: none; }
  .blog-post-layout { grid-template-columns: minmax(0, 820px); }
  .post-sidebar { position: static; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; }
  .back-to-blog { margin: 0; }
  .tax-industry .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .site-header { padding: 0.65rem 0; }
  .site-logo .brand-logo-image { max-width: 155px; max-height: 36px; }
  .hero { padding: 2.5rem 0 3rem 0; min-height: auto; }
  .hero .container { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-description { margin: 0 auto 1.5rem; max-width: 100%; font-size: 1rem; }
  .hero-badge { font-size: 0.75rem; padding: 0.4rem 1rem; margin-bottom: 1.25rem; }
  .hero-buttons { justify-content: center; flex-direction: column; align-items: stretch; }
  .hero-buttons .btn-primary, .hero-buttons .btn-outline { width: 100%; justify-content: center; text-align: center; }
  .hero-card { margin-top: 1.5rem; min-height: 320px; padding: 1.5rem; }
  .hero-assurance { justify-content: center; flex-direction: column; align-items: center; gap: 0.5rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); padding-top: 1.2rem; padding-bottom: 1.2rem; row-gap: 1rem; }
  .trust-item { padding: 0.5rem 0; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n + 2) { padding-bottom: 1rem; border-bottom: 1px solid var(--gray-200); }
  .trust-item strong { font-size: 1.2rem; }
  .trust-item span { font-size: 0.75rem; }
  .section { padding: 3.5rem 0; }
  .section-title { font-size: 1.85rem; }
  .section-sub { font-size: 0.95rem; margin-bottom: 2.5rem; }
  .section-kicker { font-size: 0.72rem; }
  .about-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-story { text-align: left; padding: 2rem; }
  .about-story h3 { font-size: 1.35rem; }
  .benefit-card { padding: 1.25rem; }
  .benefit-card:hover { transform: translateY(-3px); }
  .workflow-grid { grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
  .tax-industry .workflow-grid { grid-template-columns: 1fr; }
  .workflow-card { padding: 1.75rem; }
  .features-grid { grid-template-columns: 1fr; gap: 1rem; }
  .feature-card { padding: 1.75rem; }
  .pricing-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .pricing-card { padding: 2rem; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
  .pricing-card.featured::before { font-size: 0.65rem; padding: 0.4rem 2.5rem; top: 15px; right: -35px; }
  .pricing-price { font-size: 2.8rem; }
  .reviews-grid { grid-template-columns: 1fr; gap: 1rem; }
  .review-card { padding: 1.5rem; }
  .blog-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .blog-card-content { padding: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-form-wrapper { padding: 1.5rem; }
  .contact-info { padding: 0; }
  .contact-info h3 { font-size: 1.4rem; }
  .cta-section { padding: 3.5rem 0; }
  .cta-banner { padding: 0 1rem; }
  .cta-banner h2 { font-size: 1.6rem; }
  .cta-banner p { font-size: 0.95rem; margin-bottom: 1.5rem; }
  .cta-buttons { flex-direction: column; gap: 0.75rem; }
  .cta-buttons .btn-primary, .cta-buttons .btn-outline { width: 100%; justify-content: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid-full { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0 2rem; }
  .footer-brand-card { grid-column: 1; }
  .footer-logo .brand-logo-image { max-width: 190px; }
  .footer-bottom-content { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-bottom-links { flex-direction: column; gap: 0.75rem; }
  .post-hero { padding: 3rem 0; }
  .post-hero .blog-post-title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .post-article-section { padding: 1.5rem 0 3rem; }
  .blog-post-layout > .blog-post-content { padding: 1.5rem 1.25rem; border-radius: var(--radius-xl); }
  .blog-post-content p,
  .blog-post-content li { font-size: .98rem; }
  .blog-post-content h2 {
    margin-top: 2rem;
    font-size: 1.45rem;
  }
  .blog-post-content ul,
  .blog-post-content ol { padding-left: 1.15rem; }
  .post-sidebar { grid-template-columns: 1fr; position: static; }
  .article-footer-cta { flex-direction: column; align-items: flex-start; padding: 1.5rem; gap: 1rem; }
  .article-footer-cta .btn { width: 100%; justify-content: center; }
  .blog-post-title { font-size: 1.8rem; }
  .inner-page-hero { padding: 3.5rem 0 2.5rem; }
  .inner-page-body { padding: 2rem 0 3rem; }
  .page-content { padding: 1.5rem 1.25rem; }
  .industry-hero-section { padding: 3rem 0; }
  .industry-hero-title { font-size: clamp(2rem, 8vw, 2.6rem); white-space: normal; }
  .industry-hero-description { font-size: 0.95rem; }
  .industry-hero-buttons .btn { width: 100%; justify-content: center; }
  .subindustry-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .industry-card { padding: 1.5rem; }
  .industry-faq-list .faq-question { padding: 1rem 3rem 1rem 1.2rem; font-size: 0.92rem; }
  .industry-faq-list .faq-answer { padding: 0 1.2rem 1rem; }
}

@media (max-width: 640px) {
  .container { padding: 0 1rem; }
  .site-logo .brand-logo-image { max-width: 140px; max-height: 32px; }
  .hero { padding: 2rem 0 2.5rem 0; }
  .hero-title { font-size: 1.75rem; }
  .hero-card { min-height: 280px; padding: 1.25rem; border-radius: var(--radius-xl); }
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.6rem; }
  .pricing-card { padding: 1.5rem; }
  .pricing-price { font-size: 2.4rem; }
  .pricing-features li { font-size: 0.88rem; padding: 0.75rem 0; }
  .feature-card { padding: 1.5rem; }
  .workflow-card { padding: 1.5rem; }
  .tax-industry .workflow-card { padding: 1.35rem; }
  .tax-industry .workflow-card h3 { font-size: 1.02rem; line-height: 1.3; }
  .tax-industry .workflow-card p { font-size: 0.9rem; line-height: 1.65; }
  .contact-form-wrapper { padding: 1.25rem; }
  .contact-form-wrapper .wpcf7-form { grid-template-columns: 1fr; gap: 0.75rem; }
  .contact-form-wrapper .wpcf7-form > p { grid-column: 1; }
  .post-meta-row { flex-direction: column; gap: 0.5rem; }
  .post-breadcrumb { margin-bottom: 1rem; }
  .cta-banner h2 { font-size: 1.4rem; }
  .trust-item strong { font-size: 1.1rem; }
  .trust-item span { font-size: 0.7rem; }
  .industry-hero-icon { width: 60px; height: 60px; font-size: 1.5rem; border-radius: 18px; }
}
