/* ============================================================
   OPTIRANK STUDIO — Inner Pages Shared Styles (pages.css)
   ============================================================ */

/* ── Cookie Consent Banner ────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: rgba(10, 15, 44, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(37,99,235,.2);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 16px 24px;
}
.cookie-banner.show { transform: translateY(0); }

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-content p {
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  margin: 0;
}
.cookie-content a {
  color: var(--blue-light);
  font-weight: 600;
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-decline {
  padding: 8px 20px;
  border-radius: var(--radius);
  background: transparent;
  color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.2);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.btn-cookie-decline:hover { background: rgba(255,255,255,.08); color: var(--white); }

.btn-cookie-accept {
  padding: 8px 20px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.btn-cookie-accept:hover { background: var(--blue-dark); }

/* ── Inner Page Hero Banner ───────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 48px) 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 300px at 20% 50%, rgba(37,99,235,.18) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 80% 20%, rgba(245,158,11,.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero .section-tag { margin-bottom: 16px; }

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -.03em;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: .82rem;
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.3); }
.breadcrumb strong { color: rgba(255,255,255,.8); font-weight: 500; }

/* ── Filter Tabs ──────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-tab {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.filter-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(37,99,235,.04);
}
.filter-tab.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}

/* ── Dark CTA Section ─────────────────────────────────────── */
.cta-section {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 400px at center, rgba(37,99,235,.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.cta-inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 32px;
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Services Page — Full Cards ──────────────────────────── */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-full-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
}
.service-full-card:hover {
  border-color: rgba(37,99,235,.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-full-card .card-top {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}
.service-full-card .card-icon {
  width: 56px; height: 56px;
  background: rgba(37,99,235,.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.service-full-card:hover .card-icon { background: var(--blue); }
.service-full-card .card-icon svg { width: 26px; height: 26px; color: var(--blue); transition: color var(--transition); }
.service-full-card:hover .card-icon svg { color: var(--white); }
.service-full-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.service-full-card .card-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}
.service-full-card p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--gray-600);
}
.service-features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ── Industry Grid ────────────────────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}
.industry-card:hover {
  border-color: var(--blue);
  background: rgba(37,99,235,.03);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.industry-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}
.industry-card h4 {
  font-size: .88rem;
  color: var(--navy);
  font-weight: 600;
}

/* ── Why Us — Differentiators ─────────────────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.diff-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}
.diff-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(37,99,235,.3);
  transform: translateY(-4px);
}
.diff-num {
  display: block;
  font-size: 2.8rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(37,99,235,.35);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -.03em;
}
.diff-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.diff-card p  { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.7; }

/* ── Comparison Table ─────────────────────────────────────── */
.compare-wrapper { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.compare-table thead th {
  padding: 20px 24px;
  text-align: center;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.compare-table thead th:first-child { text-align: left; color: var(--gray-600); background: var(--gray-50); }
.compare-table thead th.th-optirank { background: var(--navy); color: var(--white); }
.compare-table thead th.th-agency { background: var(--gray-800); color: rgba(255,255,255,.7); }
.compare-table thead th.th-free   { background: var(--gray-100); color: var(--gray-600); }

.compare-table tbody tr { border-top: 1px solid var(--gray-100); }
.compare-table tbody tr:hover { background: var(--gray-50); }
.compare-table tbody td {
  padding: 16px 24px;
  font-size: .88rem;
  text-align: center;
  color: var(--gray-600);
}
.compare-table tbody td:first-child { text-align: left; font-weight: 500; color: var(--gray-800); }
.compare-table .yes { color: var(--green); font-size: 1.2rem; font-weight: 700; }
.compare-table .no  { color: var(--red); opacity: .6; font-size: 1.1rem; }
.compare-table .maybe { color: var(--gold); font-size: .82rem; font-weight: 600; }

/* ── Team Cards ───────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover {
  border-color: rgba(37,99,235,.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--gray-100);
}
.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card .team-role {
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .04em;
  margin-bottom: 12px;
  display: block;
}
.team-card p { font-size: .85rem; color: var(--gray-500); line-height: 1.65; margin-bottom: 16px; }
.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--blue);
  padding: 6px 14px;
  border: 1px solid rgba(37,99,235,.25);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}
.team-linkedin:hover { background: var(--blue); color: var(--white); }

/* ── Vertical Timeline (Process) ─────────────────────────── */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 48px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue) 0%, rgba(37,99,235,.1) 100%);
}

.timeline-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-badge {
  flex-shrink: 0;
  width: 96px;
  text-align: center;
}
.timeline-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  border: 2.5px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue);
  margin: 0 auto 8px;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.timeline-item:hover .timeline-num {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.timeline-timeframe {
  display: block;
  font-size: .7rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
}

.timeline-body {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  transition: all var(--transition);
}
.timeline-item:hover .timeline-body {
  border-color: rgba(37,99,235,.3);
  box-shadow: var(--shadow-sm);
}
.timeline-body .icon-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.timeline-body .step-emoji { font-size: 1.5rem; }
.timeline-body h3 { font-size: 1.1rem; color: var(--navy); }
.timeline-body p { font-size: .88rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 16px; }
.timeline-tasks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.task-chip {
  padding: 4px 12px;
  background: rgba(37,99,235,.07);
  color: var(--blue);
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
}

/* ── Tools Badges Grid ────────────────────────────────────── */
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}
.tool-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: all var(--transition);
}
.tool-badge:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.tool-badge span:first-child { font-size: 1.1rem; }

/* ── Case Study Cards ─────────────────────────────────────── */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
}
.case-card:hover {
  border-color: rgba(37,99,235,.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.case-header {
  background: var(--navy);
  padding: 24px;
  position: relative;
}
.case-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.case-client { font-size: .85rem; font-weight: 700; color: var(--white); }
.case-country { font-size: 1.2rem; }
.case-industry {
  display: inline-flex;
  padding: 4px 12px;
  background: rgba(37,99,235,.2);
  color: var(--blue-light);
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
}
.case-metric { text-align: center; }
.case-metric-val {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
}
.case-metric-val.positive { color: var(--green); }
.case-metric-label { font-size: .7rem; color: var(--gray-400); font-weight: 500; }
.case-body { padding: 20px 24px; }
.case-challenge { font-size: .85rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 16px; }
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.case-tag {
  padding: 3px 10px;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 600;
}

/* ── Contact Methods (Contact Page) ──────────────────────── */
.contact-method-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(37,99,235,.15);
  color: var(--blue-light);
}
.contact-method-icon-blue  { background: rgba(37,99,235,.15);  color: var(--blue-light); }
.contact-method-icon-green { background: rgba(37,211,102,.15); color: #25D366; }

.contact-method-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.contact-method-label {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.contact-method-value {
  font-size: .9rem;
  color: var(--white);
  font-weight: 500;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.4;
}
a.contact-method-value { color: var(--white); transition: color var(--transition); }
a.contact-method-value:hover { color: var(--blue-light); }

/* ── What Happens Next (Contact Page) ────────────────────── */
.next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.next-step {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.next-step:hover { border-color: rgba(37,99,235,.3); transform: translateY(-3px); }
.next-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(37,99,235,.15);
  color: var(--blue-light);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.next-step h3 { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.next-step p  { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.6; }

/* ── Trust Badges Row ─────────────────────────────────────── */
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 24px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.trust-item-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-600);
}
.trust-item-pill span:first-child { font-size: 1.1rem; }

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: rgba(37,99,235,.06);
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
}
.trust-badge-dark {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.1);
}

.section-dark .trust-row {
  background: transparent;
  border-color: rgba(255,255,255,.1);
}

/* ── FAQ Category Tags (faq.html) ────────────────────────── */
.faq-category-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-right: 12px;
}
.faq-tag-seo         { background: rgba(37,99,235,.1);  color: var(--blue); }
.faq-tag-pricing     { background: rgba(245,158,11,.1); color: var(--gold); }
.faq-tag-process     { background: rgba(16,185,129,.1); color: var(--green); }
.faq-tag-results     { background: rgba(139,92,246,.1); color: #8B5CF6; }
.faq-tag-international { background: rgba(59,130,246,.1); color: #3B82F6; }

/* ── Mini FAQ (inside other pages) ───────────────────────── */
.mini-faq { max-width: 720px; margin: 0 auto; }
.mini-faq-item {
  border-bottom: 1px solid var(--gray-100);
  padding: 20px 0;
}
.mini-faq-item:last-child { border-bottom: none; }
.mini-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
  transition: color var(--transition);
}
.mini-faq-q:hover { color: var(--blue); }
.mini-faq-icon { flex-shrink: 0; color: var(--gray-400); transition: transform var(--transition); }
.mini-faq-q[aria-expanded="true"] .mini-faq-icon { transform: rotate(180deg); color: var(--blue); }
.mini-faq-ans {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mini-faq-ans.open { max-height: 200px; }
.mini-faq-ans p {
  padding-top: 12px;
  font-size: .88rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ── Legal Pages Layout ───────────────────────────────────── */
.legal-wrapper {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
  padding: var(--section-py) 0;
}
.legal-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.legal-sidebar h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  color: var(--gray-600);
  transition: all var(--transition);
  border-left: 2px solid transparent;
}
.legal-nav a:hover { background: var(--gray-50); color: var(--blue); border-left-color: var(--blue); }
.legal-nav a.active { background: rgba(37,99,235,.06); color: var(--blue); border-left-color: var(--blue); font-weight: 600; }

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin: 40px 0 16px;
  padding-top: 8px;
  border-top: 1px solid var(--gray-100);
}
.legal-content h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.legal-content h3 { font-size: 1.1rem; color: var(--navy); margin: 24px 0 10px; }
.legal-content p { font-size: .92rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 16px; }
.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-content ul li { font-size: .92rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 6px; }
.legal-content a { color: var(--blue); font-weight: 600; }
.legal-content a:hover { text-decoration: underline; }
.legal-meta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: .8rem;
  color: var(--gray-500);
  margin-bottom: 32px;
}
.legal-meta strong { color: var(--gray-700); }

/* ── Pricing Toggle ───────────────────────────────────────── */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px 0 48px;
}
.toggle-label {
  font-size: .92rem;
  font-weight: 600;
  color: var(--gray-500);
  transition: color var(--transition);
}
.toggle-label.active { color: var(--navy); }
.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  left: 4px; top: 4px;
  transition: transform var(--transition);
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
}
.toggle-switch input:checked + .toggle-slider { background: var(--blue); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px); }
.annual-badge {
  display: inline-flex;
  padding: 3px 10px;
  background: rgba(16,185,129,.1);
  color: var(--green);
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid rgba(16,185,129,.2);
}

/* ── Testimonials Carousel ────────────────────────────────── */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.carousel-slide { min-width: calc(33.333% - 16px); flex-shrink: 0; }
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.carousel-dot.active { background: var(--blue); width: 24px; border-radius: var(--radius-full); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-full-grid   { grid-template-columns: 1fr; }
  .industries-grid      { grid-template-columns: repeat(3, 1fr); }
  .diff-grid            { grid-template-columns: repeat(2, 1fr); }
  .team-grid            { grid-template-columns: repeat(2, 1fr); }
  .case-studies-grid    { grid-template-columns: repeat(2, 1fr); }
  .next-steps           { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .legal-wrapper        { grid-template-columns: 1fr; }
  .legal-sidebar        { position: static; }
  .legal-nav            { flex-direction: row; flex-wrap: wrap; }
  .carousel-slide       { min-width: calc(50% - 12px); }
  .timeline::before     { left: 28px; }
  .timeline-badge       { width: 56px; }
  .timeline-num         { width: 44px; height: 44px; font-size: .95rem; }
}

@media (max-width: 640px) {
  .industries-grid      { grid-template-columns: repeat(2, 1fr); }
  .diff-grid            { grid-template-columns: 1fr; }
  .team-grid            { grid-template-columns: 1fr; }
  .case-studies-grid    { grid-template-columns: 1fr; }
  .service-features     { grid-template-columns: 1fr; }
  .trust-row            { gap: 16px; }
  .carousel-slide       { min-width: 100%; }
  .cookie-content       { flex-direction: column; align-items: flex-start; }
  .filter-tabs          { gap: 6px; }
  .filter-tab           { padding: 7px 14px; font-size: .78rem; }
  .billing-toggle       { flex-wrap: wrap; justify-content: center; }
  .timeline-item        { flex-direction: column; gap: 16px; }
  .timeline::before     { display: none; }
}
