/* ==========================================================================
   TechSolutions — Design System
   ========================================================================== */

:root {
  --ts-navy: #0B1F3A;
  --ts-navy-light: #132d52;
  --ts-blue: #2563EB;
  --ts-blue-light: #3B82F6;
  --ts-blue-glow: rgba(37, 99, 235, 0.35);
  --ts-white: #FFFFFF;
  --ts-gray-50: #F5F7FA;
  --ts-gray-100: #E5E7EB;
  --ts-gray-400: #9CA3AF;
  --ts-gray-600: #4B5563;
  --ts-gray-700: #374151;
  --ts-green: #10B981;
  --ts-green-light: rgba(16, 185, 129, 0.15);

  --ts-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ts-font-display: 'Poppins', 'Inter', sans-serif;

  --ts-radius-sm: 8px;
  --ts-radius-md: 12px;
  --ts-radius-lg: 16px;
  --ts-radius-xl: 24px;

  --ts-shadow-sm: 0 1px 3px rgba(11, 31, 58, 0.08);
  --ts-shadow-md: 0 4px 20px rgba(11, 31, 58, 0.1);
  --ts-shadow-lg: 0 12px 40px rgba(11, 31, 58, 0.15);
  --ts-shadow-glow: 0 0 60px var(--ts-blue-glow);

  --ts-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ts-header-height: 80px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--ts-font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ts-gray-700);
  background: var(--ts-white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ts-blue); text-decoration: none; transition: color var(--ts-transition); }
a:hover { color: var(--ts-blue-light); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ts-font-display);
  color: var(--ts-navy);
  line-height: 1.2;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; }

p { margin: 0 0 1rem; }

.ts-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.ts-section {
  padding: 100px 0;
}

.ts-section--dark {
  background: var(--ts-navy);
  color: var(--ts-white);
}

.ts-section--dark h2,
.ts-section--dark h3 { color: var(--ts-white); }

.ts-section--gray { background: var(--ts-gray-50); }

.ts-section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.ts-section__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ts-blue);
  margin-bottom: 12px;
}

.ts-section--dark .ts-section__label { color: var(--ts-blue-light); }

.ts-section__subtitle {
  font-size: 1.125rem;
  color: var(--ts-gray-600);
  margin-top: 16px;
}

.ts-section--dark .ts-section__subtitle { color: rgba(255,255,255,0.7); }

/* Buttons */
.ts-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--ts-font-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--ts-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ts-transition);
  text-decoration: none;
  white-space: nowrap;
}

.ts-btn--primary {
  background: var(--ts-blue);
  color: var(--ts-white);
  border-color: var(--ts-blue);
}

.ts-btn--primary:hover {
  background: var(--ts-blue-light);
  border-color: var(--ts-blue-light);
  color: var(--ts-white);
  transform: translateY(-2px);
  box-shadow: var(--ts-shadow-glow);
}

.ts-btn--ghost {
  background: transparent;
  color: var(--ts-white);
  border-color: rgba(255,255,255,0.3);
}

.ts-btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: var(--ts-white);
}

.ts-btn--outline {
  background: transparent;
  color: var(--ts-blue);
  border-color: var(--ts-blue);
}

.ts-btn--outline:hover {
  background: var(--ts-blue);
  color: var(--ts-white);
}

.ts-btn--green {
  background: var(--ts-green);
  color: var(--ts-white);
  border-color: var(--ts-green);
}

.ts-btn--green:hover {
  background: #059669;
  color: var(--ts-white);
  transform: translateY(-2px);
}

.ts-btn--lg { padding: 18px 36px; font-size: 1rem; }

/* Header */
.ts-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--ts-header-height);
  background: rgba(11, 31, 58, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--ts-transition);
}

.ts-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.ts-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--ts-white);
}

.ts-logo__icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--ts-blue), var(--ts-blue-light));
  border-radius: var(--ts-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.ts-logo__text {
  font-family: var(--ts-font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.ts-logo__tagline {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ts-gray-400);
  margin-top: 2px;
}

.ts-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.ts-nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
  flex-wrap: nowrap;
}

.ts-nav__link {
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--ts-transition);
}

.ts-nav__link:hover,
.ts-nav__link--active { color: var(--ts-white); }

.ts-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.ts-header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
}

.ts-header__phone:hover { color: var(--ts-white); }

.ts-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ts-white);
  cursor: pointer;
  padding: 8px;
}

/* Hero */
.ts-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--ts-navy);
  overflow: hidden;
  padding-top: var(--ts-header-height);
}

.ts-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(37, 99, 235, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563EB' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.ts-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
}

.ts-hero__content { max-width: 600px; }

.ts-hero__title {
  color: var(--ts-white);
  margin-bottom: 24px;
}

.ts-hero__title span {
  background: linear-gradient(135deg, var(--ts-blue-light), #60A5FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ts-hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  line-height: 1.7;
}

.ts-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.ts-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.ts-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
}

.ts-hero__trust-icon {
  width: 32px;
  height: 32px;
  background: rgba(37, 99, 235, 0.2);
  border-radius: var(--ts-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ts-blue-light);
}

.ts-hero__visual {
  position: relative;
}

.ts-hero__dashboard {
  background: linear-gradient(145deg, rgba(19, 45, 82, 0.9), rgba(11, 31, 58, 0.95));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--ts-radius-lg);
  padding: 24px;
  box-shadow: var(--ts-shadow-glow), var(--ts-shadow-lg);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform var(--ts-transition);
}

.ts-hero__dashboard:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.ts-dashboard__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ts-dashboard__title {
  color: var(--ts-white);
  font-size: 0.875rem;
  font-weight: 600;
}

.ts-dashboard__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.ts-dashboard__stat {
  background: rgba(255,255,255,0.05);
  border-radius: var(--ts-radius-sm);
  padding: 12px;
  text-align: center;
}

.ts-dashboard__stat-value {
  color: var(--ts-blue-light);
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--ts-font-display);
}

.ts-dashboard__stat-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.6875rem;
  margin-top: 4px;
}

.ts-dashboard__chart {
  height: 80px;
  background: linear-gradient(180deg, rgba(37,99,235,0.3) 0%, transparent 100%);
  border-radius: var(--ts-radius-sm);
  position: relative;
  overflow: hidden;
}

.ts-dashboard__chart::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 80'%3E%3Cpath d='M0 60 Q50 20 100 40 T200 30 T300 10' fill='none' stroke='%233B82F6' stroke-width='2'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: 100% 100%;
}

.ts-dashboard__tech {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.ts-dashboard__tech-tag {
  background: rgba(37, 99, 235, 0.2);
  color: var(--ts-blue-light);
  font-size: 0.6875rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}

/* Cards */
.ts-card {
  background: var(--ts-white);
  border-radius: var(--ts-radius-md);
  padding: 32px;
  box-shadow: var(--ts-shadow-sm);
  border: 1px solid var(--ts-gray-100);
  transition: all var(--ts-transition);
  height: 100%;
}

.ts-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ts-shadow-lg);
  border-color: transparent;
}

.ts-card--dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}

.ts-card--dark:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(37, 99, 235, 0.3);
}

.ts-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(37,99,235,0.05));
  border-radius: var(--ts-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ts-blue);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.ts-card--dark .ts-card__icon {
  background: rgba(37, 99, 235, 0.2);
  color: var(--ts-blue-light);
}

.ts-card__title { margin-bottom: 12px; }
.ts-card__text { color: var(--ts-gray-600); font-size: 0.9375rem; margin-bottom: 16px; }
.ts-card--dark .ts-card__text { color: rgba(255,255,255,0.65); }

.ts-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ts-blue);
}

.ts-card--dark .ts-card__link { color: var(--ts-blue-light); }

/* Grid layouts */
.ts-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ts-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ts-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* About cards */
.ts-about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ts-about-card {
  text-align: center;
  padding: 40px 24px;
}

.ts-about-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--ts-blue), var(--ts-blue-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ts-white);
  font-size: 1.5rem;
}

/* Timeline / Process */
.ts-timeline {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  position: relative;
}

.ts-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--ts-blue), var(--ts-green));
  z-index: 0;
}

.ts-timeline__item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.ts-timeline__number {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--ts-white);
  border: 3px solid var(--ts-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ts-font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ts-blue);
  transition: all var(--ts-transition);
}

.ts-timeline__item:hover .ts-timeline__number {
  background: var(--ts-blue);
  color: var(--ts-white);
  transform: scale(1.1);
}

.ts-timeline__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ts-gray-700);
}

/* Differentials */
.ts-diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ts-diff-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--ts-radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--ts-transition);
}

.ts-diff-item:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.3);
}

.ts-diff-item__icon {
  color: var(--ts-green);
  flex-shrink: 0;
}

.ts-diff-item__text {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

/* Technologies */
.ts-tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  align-items: center;
}

.ts-tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all var(--ts-transition);
  min-width: 80px;
}

.ts-tech-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-4px);
}

.ts-tech-item__icon {
  width: 48px;
  height: 48px;
  background: var(--ts-gray-50);
  border-radius: var(--ts-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--ts-gray-700);
}

.ts-tech-item__name {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ts-gray-600);
}

/* Portfolio */
.ts-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ts-portfolio-card {
  border-radius: var(--ts-radius-md);
  overflow: hidden;
  background: var(--ts-white);
  box-shadow: var(--ts-shadow-sm);
  transition: all var(--ts-transition);
}

.ts-portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ts-shadow-lg);
}

.ts-portfolio-card__image {
  height: 180px;
  background: linear-gradient(135deg, var(--ts-navy-light), var(--ts-navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.ts-portfolio-card__image--erp { background: linear-gradient(135deg, #1e3a5f, #0B1F3A); }
.ts-portfolio-card__image--ecom { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.ts-portfolio-card__image--delivery { background: linear-gradient(135deg, #10B981, #059669); }
.ts-portfolio-card__image--bi { background: linear-gradient(135deg, #7C3AED, #5B21B6); }

.ts-portfolio-card__body { padding: 24px; }

.ts-portfolio-card__title {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.ts-portfolio-card__desc {
  font-size: 0.875rem;
  color: var(--ts-gray-600);
  margin-bottom: 12px;
}

.ts-portfolio-card__result {
  font-size: 0.8125rem;
  color: var(--ts-green);
  font-weight: 600;
  margin-bottom: 12px;
}

.ts-portfolio-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ts-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--ts-gray-50);
  color: var(--ts-gray-600);
  border-radius: 20px;
}

/* Testimonials */
.ts-testimonials {
  position: relative;
  overflow: hidden;
}

.ts-testimonial-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.ts-testimonial {
  min-width: 100%;
  padding: 0 24px;
}

.ts-testimonial__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 48px;
  background: var(--ts-white);
  border-radius: var(--ts-radius-lg);
  box-shadow: var(--ts-shadow-md);
}

.ts-testimonial__quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ts-gray-700);
  margin-bottom: 32px;
  line-height: 1.7;
}

.ts-testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.ts-testimonial__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ts-blue), var(--ts-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ts-white);
  font-weight: 700;
  font-size: 1.125rem;
}

.ts-testimonial__name {
  font-weight: 600;
  color: var(--ts-navy);
  text-align: left;
}

.ts-testimonial__role {
  font-size: 0.875rem;
  color: var(--ts-gray-600);
  text-align: left;
}

.ts-testimonial__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.ts-testimonial__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ts-gray-100);
  border: none;
  cursor: pointer;
  transition: all var(--ts-transition);
  padding: 0;
}

.ts-testimonial__dot--active {
  background: var(--ts-blue);
  width: 28px;
  border-radius: 5px;
}

/* Stats */
.ts-stats {
  background: var(--ts-navy);
  padding: 64px 0;
}

.ts-stats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  text-align: center;
}

.ts-stat__value {
  font-family: var(--ts-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ts-blue-light);
  margin-bottom: 8px;
}

.ts-stat__label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

/* Blog */
.ts-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ts-blog-card {
  border-radius: var(--ts-radius-md);
  overflow: hidden;
  background: var(--ts-white);
  box-shadow: var(--ts-shadow-sm);
  transition: all var(--ts-transition);
}

.ts-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ts-shadow-md);
}

.ts-blog-card__image {
  height: 200px;
  background: linear-gradient(135deg, var(--ts-navy-light), var(--ts-blue));
}

.ts-blog-card__body { padding: 24px; }

.ts-blog-card__category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ts-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.ts-blog-card__title {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.ts-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--ts-gray-600);
}

/* FAQ */
.ts-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.ts-faq-item {
  border-bottom: 1px solid var(--ts-gray-100);
}

.ts-faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ts-font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ts-navy);
  text-align: left;
}

.ts-faq-item__question:hover { color: var(--ts-blue); }

.ts-faq-item__icon {
  transition: transform var(--ts-transition);
  color: var(--ts-blue);
  flex-shrink: 0;
}

.ts-faq-item--open .ts-faq-item__icon { transform: rotate(180deg); }

.ts-faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--ts-transition);
}

.ts-faq-item--open .ts-faq-item__answer { max-height: 300px; }

.ts-faq-item__answer p {
  padding-bottom: 24px;
  color: var(--ts-gray-600);
  font-size: 0.9375rem;
}

/* CTA */
.ts-cta {
  background: linear-gradient(135deg, var(--ts-navy) 0%, var(--ts-navy-light) 50%, var(--ts-blue) 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ts-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(37,99,235,0.3) 0%, transparent 50%);
}

.ts-cta__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.ts-cta__title {
  color: var(--ts-white);
  margin-bottom: 16px;
}

.ts-cta__subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1.125rem;
  margin-bottom: 40px;
}

.ts-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Footer */
.ts-footer {
  background: var(--ts-navy);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}

.ts-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.ts-footer__brand p {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.ts-footer__title {
  color: var(--ts-white);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.ts-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ts-footer__links li { margin-bottom: 12px; }

.ts-footer__links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  transition: color var(--ts-transition);
}

.ts-footer__links a:hover { color: var(--ts-white); }

.ts-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.ts-footer__contact-item svg { color: var(--ts-blue-light); flex-shrink: 0; margin-top: 2px; }

.ts-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.ts-footer__social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--ts-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--ts-transition);
}

.ts-footer__social a:hover {
  background: var(--ts-blue);
  color: var(--ts-white);
}

.ts-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

/* Cookie Banner */
.ts-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--ts-white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform var(--ts-transition);
}

.ts-cookie-banner--visible { transform: translateY(0); }

.ts-cookie-banner__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.ts-cookie-banner__text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--ts-gray-600);
  margin: 0;
  min-width: 280px;
}

.ts-cookie-banner__actions {
  display: flex;
  gap: 12px;
}

/* Scroll reveal */
.ts-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ts-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .ts-hero__grid { grid-template-columns: 1fr; text-align: center; }
  .ts-hero__content { max-width: 100%; }
  .ts-hero__actions, .ts-hero__trust { justify-content: center; }
  .ts-hero__visual { display: none; }

  .ts-grid-4, .ts-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .ts-about-grid { grid-template-columns: repeat(2, 1fr); }
  .ts-diff-grid { grid-template-columns: repeat(2, 1fr); }
  .ts-timeline { grid-template-columns: repeat(4, 1fr); }
  .ts-timeline::before { display: none; }
  .ts-stats__grid { grid-template-columns: repeat(3, 1fr); }
  .ts-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .ts-section { padding: 64px 0; }

  .ts-nav__list { display: none; }
  .ts-header__phone { display: none; }
  .ts-menu-toggle { display: block; }

  .ts-nav--open .ts-nav__list {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--ts-header-height);
    left: 0;
    right: 0;
    background: var(--ts-navy);
    padding: 24px;
    gap: 16px;
  }

  .ts-grid-2, .ts-grid-3, .ts-grid-4,
  .ts-portfolio-grid, .ts-blog-grid,
  .ts-about-grid, .ts-diff-grid { grid-template-columns: 1fr; }

  .ts-timeline { grid-template-columns: repeat(2, 1fr); }
  .ts-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .ts-footer__grid { grid-template-columns: 1fr; }
  .ts-footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--ts-blue);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
