/**
 * service-telegram-page.css
 * High-fidelity styling for /services/reklama-v-telegram/
 * Designed to exactly match the target mockup across desktop and mobile.
 */

:root {
  --home-page-max: 100rem;
  --home-gutter: clamp(1rem, 2.35vw, 2.5rem);
  --tg-blue: #0088cc;
  --tg-blue-hover: #0077b5;
  --tg-blue-light: #e0f2fe;
  --tg-blue-dark: #0284c7;
  --tg-cyan: #38bdf8;
  --tg-green: #10b981;
  --tg-green-dark: #059669;
  --tg-dark-bg: #09131d;
  --tg-dark-card: #0e2030;
  --tg-dark-border: rgba(56, 189, 248, 0.2);
  --tg-text-main: #0f172a;
  --tg-text-muted: #64748b;
  --tg-border-light: rgba(2, 132, 199, 0.12);
  --tg-radius-lg: 24px;
  --tg-radius-md: 16px;
  --tg-radius-sm: 12px;
}

/* Page wrapper reset & font */
.tg-page-wrap {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--tg-text-main);
  background: #ffffff;
  overflow-x: hidden;
  position: relative;
}

/* Unified container strictly matching homepage */
.tg-container {
  width: min(calc(100% - (var(--home-gutter) * 2)), var(--home-page-max)) !important;
  max-width: var(--home-page-max) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
  box-sizing: border-box;
}

/* Kicker Badge */
.tg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  color: var(--tg-blue-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.tg-kicker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tg-blue-dark);
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.8);
}

/* Buttons */
.tg-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #0088cc 0%, #0284c7 100%);
  color: #ffffff !important;
  font-size: 0.9375rem;
  font-weight: 750;
  padding: 0.875rem 1.85rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.32);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.tg-btn-primary:hover {
  background: linear-gradient(135deg, #0077b5 0%, #0369a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 136, 204, 0.45);
}

.tg-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #ffffff;
  color: var(--tg-text-main) !important;
  font-size: 0.9375rem;
  font-weight: 750;
  padding: 0.875rem 1.85rem;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.24s ease;
  cursor: pointer;
}

.tg-btn-secondary:hover {
  background: #f8fafc;
  border-color: rgba(2, 132, 199, 0.35);
  color: var(--tg-blue) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   1. HERO SECTION (White Background + 3D Phone Visual)
   ========================================================================== */
.tg-hero {
  position: relative;
  background: #ffffff;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  overflow: hidden;
}

/* Soft ambient lighting */
.tg-hero::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -5%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.07) 0%, rgba(56, 189, 248, 0.02) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.tg-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.tg-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tg-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--tg-text-muted);
  margin-bottom: 1.25rem;
}

.tg-breadcrumbs a {
  color: var(--tg-text-muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

.tg-breadcrumbs a:hover {
  color: var(--tg-blue);
}

.tg-hero__title {
  margin: 0 0 1.25rem 0;
  font-size: clamp(2.25rem, 3.8vw, 3.35rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--tg-text-main);
}

.tg-hero__title-accent {
  display: block;
  background: linear-gradient(135deg, #0284c7 0%, #0088cc 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tg-hero__lead {
  margin: 0 0 2rem 0;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.6;
  color: var(--tg-text-muted);
  max-width: 600px;
}

.tg-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

/* Metric highlights in hero */
.tg-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.5vw, 1.75rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  width: 100%;
}

.tg-metric-item {
  display: flex;
  flex-direction: column;
}

.tg-metric-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #7efc42 0%, #5ce61e 100%);
  color: #071925;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  box-shadow: 0 4px 14px rgba(110, 231, 71, 0.35);
  border: 1px solid rgba(82, 208, 24, 0.35);
}

.tg-metric-icon svg {
  stroke: #071925;
}

.tg-metric-val {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--tg-text-main);
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.tg-metric-lbl {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--tg-text-muted);
}

/* Hero Visual Column */
.tg-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tg-hero__main-img {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(2, 132, 199, 0.14));
  transition: transform 0.4s ease;
}

.tg-hero__visual:hover .tg-hero__main-img {
  transform: translateY(-4px) scale(1.01);
}

/* ==========================================================================
   2. SECTION 2: «ПОЧЕМУ РЕКЛАМА В TELEGRAM — ЭТО НОВЫЕ ВОЗМОЖНОСТИ»
   ========================================================================== */
.tg-why-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background: #f8fafc;
  position: relative;
}

.tg-why-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.25fr) minmax(280px, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.75rem);
  align-items: center;
}

.tg-why-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tg-section-title {
  margin: 0 0 1.25rem 0;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--tg-text-main);
}

.tg-why-text {
  margin: 0 0 2rem 0;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.6;
  color: var(--tg-text-muted);
}

/* 2x2 Feature Cards Grid */
.tg-why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 1.4vw, 1.35rem);
}

.tg-why-card {
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.1);
  border-radius: var(--tg-radius-lg);
  padding: clamp(1.25rem, 1.8vw, 1.75rem);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, border-color 0.24s ease;
}

.tg-why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: 0 14px 32px rgba(2, 132, 199, 0.1);
}

.tg-why-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--tg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.tg-why-card__title {
  margin: 0 0 0.5rem 0;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--tg-text-main);
  letter-spacing: -0.02em;
}

.tg-why-card__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--tg-text-muted);
}

/* Earth Globe Visual */
.tg-why-globe-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tg-why-globe-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 36px rgba(2, 132, 199, 0.2));
  transition: transform 0.4s ease;
}

.tg-why-globe-wrap:hover .tg-why-globe-img {
  transform: scale(1.03);
}

/* ==========================================================================
   3. SECTION 3: «ЧТО МОЖНО РЕКЛАМИРОВАТЬ»
   ========================================================================== */
.tg-what-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background: #ffffff;
}

.tg-section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.tg-what-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.2vw, 1.25rem);
}

.tg-what-card {
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.12);
  border-radius: var(--tg-radius-md);
  padding: clamp(1.15rem, 1.5vw, 1.5rem);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tg-what-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.1);
}

.tg-what-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(2, 132, 199, 0.08);
  color: var(--tg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.tg-what-card__title {
  margin: 0 0 0.5rem 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--tg-text-main);
  letter-spacing: -0.02em;
}

.tg-what-card__text {
  margin: 0;
  font-size: 0.78125rem;
  line-height: 1.45;
  color: var(--tg-text-muted);
}

/* ==========================================================================
   4. SECTION: КАНАЛЫ И АУДИТОРИЯ («Находим вашу аудиторию в лучших каналах»)
   ========================================================================== */
.tg-channels-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.tg-channels-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.tg-channels-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tg-channels-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 44px rgba(16, 185, 129, 0.14));
  transition: transform 0.4s ease;
}

.tg-channels-visual:hover .tg-channels-img {
  transform: translateY(-4px) scale(1.01);
}

.tg-channels-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tg-channels-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 1.15rem;
}

.tg-channels-kicker__dash {
  color: #10b981;
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1;
}

.tg-channels-title {
  margin: 0 0 1.25rem 0;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 850;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--tg-text-main);
}

.tg-channels-lead {
  margin: 0 0 2rem 0;
  font-size: clamp(0.95rem, 1.2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--tg-text-muted);
  max-width: 580px;
}

.tg-channels-action {
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

/* Black CTA Button */
.tg-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #09131d;
  color: #ffffff !important;
  font-size: 0.9375rem;
  font-weight: 750;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 20px rgba(9, 19, 29, 0.25);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.tg-btn-dark:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(9, 19, 29, 0.38);
  border-color: rgba(16, 185, 129, 0.4);
}

/* 3 Metrics Row */
.tg-channels-metrics {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: clamp(1rem, 2vw, 2.25rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  width: 100%;
}

.tg-channel-metric {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tg-channel-metric__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e6fcf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tg-channel-metric__val {
  font-size: 1.0625rem;
  font-weight: 850;
  color: var(--tg-text-main);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.tg-channel-metric__lbl {
  font-size: 0.75rem;
  color: var(--tg-text-muted);
  line-height: 1.35;
  white-space: nowrap;
}

/* ==========================================================================
   5. SECTION 5: «КАК МЫ РАБОТАЕМ» (Dark Navy Card + Horizontal Flow)
   ========================================================================== */
.tg-how-section {
  padding: clamp(1.5rem, 3vw, 3rem) 0;
  background: #ffffff;
}

.tg-how-card {
  position: relative;
  background: linear-gradient(135deg, #09131d 0%, #0e2030 50%, #08111a 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.tg-how-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: radial-gradient(ellipse at 85% 25%, rgba(2, 132, 199, 0.18) 0%, rgba(56, 189, 248, 0.05) 50%, transparent 75%);
  pointer-events: none;
}

.tg-how-title {
  margin: 0 0 clamp(2rem, 3vw, 2.75rem) 0;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.tg-how-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr)) 150px;
  gap: clamp(0.75rem, 1.2vw, 1.25rem);
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.tg-how-step {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Connecting arrow line between steps 1-5 only */
.tg-how-step:not(:nth-child(5))::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 52px;
  width: calc(100% - 16px);
  height: 2px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.6) 0%, rgba(56, 189, 248, 0.2) 100%);
  z-index: 1;
}

.tg-how-step__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0088cc 100%);
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  position: relative;
  z-index: 2;
}

.tg-how-step__title {
  margin: 0 0 0.5rem 0;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  white-space: nowrap;
}

.tg-how-step__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

/* Right note on how section */
.tg-how-note-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 0.5rem;
}

.tg-how-handnote {
  font-family: "Caveat", cursive, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #38bdf8;
  line-height: 1.15;
  text-align: left;
  transform: rotate(-3deg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

/* ==========================================================================
   5. SECTION 5: «РЕАЛЬНЫЕ КЕЙСЫ»
   ========================================================================== */
.tg-cases-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background: #f8fafc;
}

.tg-cases-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 3vw, 2.75rem);
}

.tg-cases-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--tg-blue);
  font-size: 0.9375rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.tg-cases-all-link:hover {
  color: var(--tg-blue-hover);
  transform: translateX(3px);
}

.tg-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 1.85rem);
}

.tg-case-card {
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.12);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.tg-case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.32);
  box-shadow: 0 18px 42px rgba(2, 132, 199, 0.12);
}

.tg-case-card__body {
  padding: clamp(1.4rem, 1.8vw, 1.85rem);
}

.tg-case-card__badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(2, 132, 199, 0.08);
  color: var(--tg-blue-dark);
  font-size: 0.75rem;
  font-weight: 750;
  margin-bottom: 0.85rem;
}

.tg-case-card__title {
  margin: 0 0 1.25rem 0;
  font-size: 1.1875rem;
  font-weight: 850;
  line-height: 1.25;
  color: var(--tg-text-main);
  letter-spacing: -0.02em;
}

.tg-case-card__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.tg-case-metric-val {
  font-size: 1.45rem;
  font-weight: 850;
  color: var(--tg-green);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.2rem;
}

.tg-case-metric-lbl {
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--tg-text-muted);
}

.tg-case-card__media {
  position: relative;
  width: 100%;
  height: 200px;
  background: #f1f5f9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tg-case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.tg-case-card:hover .tg-case-card__media img {
  transform: scale(1.05);
}

.tg-case-card__arrow {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--tg-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  z-index: 2;
  text-decoration: none;
}

.tg-case-card:hover .tg-case-card__arrow {
  background: var(--tg-blue);
  color: #ffffff;
  transform: scale(1.08);
}

/* ==========================================================================
   6. SECTION 6: «НАМ ДОВЕРЯЮТ»
   ========================================================================== */
.tg-trust-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background: #ffffff;
}

.tg-trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 1.2fr);
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  align-items: stretch;
}

.tg-trust-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.tg-trust-stat-card {
  background: #f8fafc;
  border: 1px solid rgba(2, 132, 199, 0.12);
  border-radius: 20px;
  padding: clamp(1.25rem, 1.6vw, 1.6rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.tg-trust-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(2, 132, 199, 0.35);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.08);
}

.tg-trust-stat-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--tg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.95rem;
}

.tg-trust-stat-card__val {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--tg-text-main);
  line-height: 1.15;
  margin-bottom: 0.3rem;
}

.tg-trust-stat-card__val--text {
  font-size: 0.9375rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.tg-trust-stat-card__lbl {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--tg-text-muted);
}

/* Testimonial review card */
.tg-trust-review-card {
  background: #f8fafc;
  border: 1px solid rgba(2, 132, 199, 0.12);
  border-radius: 22px;
  padding: clamp(1.5rem, 2vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.tg-trust-review__quote {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  color: var(--tg-text-main);
  font-style: italic;
  margin: 0 0 1.5rem 0;
}

.tg-trust-review__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.tg-trust-review__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #e2e8f0;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tg-trust-review__name {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--tg-text-main);
  margin: 0 0 0.15rem 0;
}

.tg-trust-review__role {
  font-size: 0.78125rem;
  color: var(--tg-text-muted);
  margin: 0;
}

/* ==========================================================================
   7. SECTION 7: LEAD FORM BANNER (Dark Navy Container)
   ========================================================================== */
.tg-cta-section {
  padding: 0 0 clamp(4rem, 7vw, 7rem);
  background: #ffffff;
}

.tg-cta-banner {
  position: relative;
  background: linear-gradient(135deg, #09131d 0%, #0e2030 50%, #070d14 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 28px;
  padding: clamp(2.25rem, 4vw, 3.5rem);
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42), 0 0 60px rgba(2, 132, 199, 0.15);
}

.tg-cta-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(320px, 1.1fr) minmax(240px, 0.85fr);
  gap: clamp(1.75rem, 3vw, 2.75rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.tg-cta-copy__title {
  margin: 0 0 1.15rem 0;
  font-size: clamp(1.85rem, 2.8vw, 2.5rem);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.tg-cta-copy__text {
  margin: 0;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

/* Form Styles */
.tg-cta-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tg-cta-input {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--tg-text-main);
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.tg-cta-input:focus {
  border-color: var(--tg-cyan);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25);
}

.tg-cta-submit {
  width: 100%;
  padding: 0.95rem 1.5rem;
  background: linear-gradient(135deg, #0088cc 0%, #0284c7 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.4);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0.25rem;
}

.tg-cta-submit:hover {
  background: linear-gradient(135deg, #0077b5 0%, #0369a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 136, 204, 0.55);
}

.tg-cta-consent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.25rem;
}

.tg-cta-consent a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

/* Form Visual Column */
.tg-cta-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.tg-cta-3d-img {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 14px 32px rgba(2, 132, 199, 0.45));
  transition: transform 0.4s ease;
}

.tg-cta-visual:hover .tg-cta-3d-img {
  transform: scale(1.05) rotate(-2deg);
}

.tg-cta-handnote {
  position: absolute;
  right: -20px;
  bottom: 0px;
  font-family: "Caveat", cursive, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #38bdf8;
  line-height: 1.15;
  text-align: left;
  transform: rotate(-3deg);
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  pointer-events: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 1100px) {
  .tg-hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .tg-hero__copy {
    max-width: 100%;
  }
  .tg-hero__main-img {
    max-width: 520px;
    margin: 0 auto;
  }
  .tg-why-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .tg-what-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tg-how-steps {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .tg-how-step:not(:nth-child(5))::after {
    display: none;
  }
  .tg-how-note-col {
    padding-left: 0;
    margin-top: 1rem;
  }
  .tg-trust-grid {
    grid-template-columns: 1fr;
  }
  .tg-cta-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .tg-cta-handnote {
    position: static;
    margin-top: 1rem;
    align-self: center;
  }
  .tg-channels-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .tg-channels-img {
    max-width: 480px;
    margin: 0 auto;
  }
  .tg-channels-copy {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .tg-hero {
    padding: 1.75rem 0 3rem;
  }
  .tg-hero__title {
    font-size: clamp(1.85rem, 6.5vw, 2.45rem);
  }
  .tg-hero__metrics {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .tg-why-cards {
    grid-template-columns: 1fr;
  }
  .tg-what-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tg-channels-metrics {
    gap: 1.25rem;
  }
  .tg-cases-grid {
    grid-template-columns: 1fr;
  }
  .tg-trust-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .tg-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .tg-btn-primary, .tg-btn-secondary, .tg-btn-dark {
    width: 100%;
    justify-content: center;
  }
  .tg-channels-metrics {
    flex-direction: column;
    align-items: flex-start;
  }
  .tg-what-grid {
    grid-template-columns: 1fr;
  }
  .tg-trust-stats {
    grid-template-columns: 1fr;
  }
}
