/* Page-specific styles: /new/seo-agency/ */

.seo-agency-page .hero {
  position: relative;
  background: var(--bg-hero);
  padding: 30px 0 80px;
  overflow: hidden;
}
.seo-agency-page .hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 157, 143, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.seo-agency-page .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.seo-agency-page .hero-content { position: relative; z-index: 2; }
.seo-agency-page .hero h1 {
  font-family: var(--font-heading);
  font-size: 52px;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -2px;
  margin-bottom: 18px;
  font-weight: 800;
}
.seo-agency-page .hero h1 .highlight { color: var(--teal); }
.seo-agency-page .hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 28px;
}
.seo-agency-page .hero-credibility {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 500;
}
.seo-agency-page .hero-credibility strong { color: var(--teal); font-weight: 700; }
.seo-agency-page .hero-cta-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.seo-agency-page .hero-hint { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.seo-agency-page .hero-hint span { display: flex; align-items: center; gap: 5px; }
.seo-agency-page .hint-check { color: var(--teal); flex-shrink: 0; }

.seo-agency-page .hero-visual { position: relative; z-index: 2; }
.seo-agency-page .hero-image-wrapper { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.seo-agency-page .hero-stamp-img {
  width: 200px;
  height: auto;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}
.seo-agency-page .hero-agent-img {
  max-height: 420px;
  width: auto;
  filter: drop-shadow(0 12px 32px rgba(26, 43, 60, 0.12));
  position: relative;
  z-index: 1;
}

/* Benefits */
.seo-agency-page .benefits-section { padding: var(--section-pad) 0; background: var(--bg-page); }
.seo-agency-page .benefits-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.seo-agency-page .benefit-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s;
  border-top: 3px solid transparent;
  text-align: left;
}
.seo-agency-page .benefit-card:hover { border-color: var(--border); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.seo-agency-page .benefit-card:nth-child(1) { border-top-color: #2a9d8f; }
.seo-agency-page .benefit-card:nth-child(2) { border-top-color: #4a90d9; }
.seo-agency-page .benefit-card:nth-child(3) { border-top-color: #d4a017; }
.seo-agency-page .benefit-card:nth-child(4) { border-top-color: #5bb033; }
.seo-agency-page .benefit-card:nth-child(5) { border-top-color: #d4694a; }
.seo-agency-page .benefit-card:nth-child(6) { border-top-color: #7c5cbf; }
.seo-agency-page .benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}
.seo-agency-page .benefit-card:nth-child(1) .benefit-icon { background: var(--teal-100); color: var(--teal); }
.seo-agency-page .benefit-card:nth-child(2) .benefit-icon { background: #dce8f5; color: #4a90d9; }
.seo-agency-page .benefit-card:nth-child(3) .benefit-icon { background: var(--yellow-100); color: #d4a017; }
.seo-agency-page .benefit-card:nth-child(4) .benefit-icon { background: #ddf0d0; color: #5bb033; }
.seo-agency-page .benefit-card:nth-child(5) .benefit-icon { background: #fde8e2; color: #d4694a; }
.seo-agency-page .benefit-card:nth-child(6) .benefit-icon { background: #ece4f6; color: #7c5cbf; }
.seo-agency-page .benefit-card h3 { font-family: var(--font-heading); font-size: 18px; margin-bottom: 10px; letter-spacing: -0.2px; font-weight: 700; }
.seo-agency-page .benefit-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* Evidence */
.seo-agency-page .evidence-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(175deg, #f6faf8 0%, #f7f9fb 50%, #faf8f3 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.seo-agency-page .evidence-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.seo-agency-page .evidence-card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  border-top: 3px solid transparent;
}
.seo-agency-page .evidence-card:nth-child(1) { border-top-color: #4a90d9; }
.seo-agency-page .evidence-card:nth-child(2) { border-top-color: #2a9d8f; }
.seo-agency-page .evidence-card:nth-child(3) { border-top-color: #d4694a; }
.seo-agency-page .evidence-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.seo-agency-page .evidence-card-top { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.seo-agency-page .google-logo-img { height: 32px; width: auto; margin-bottom: 10px; }
.seo-agency-page .evidence-source-type {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  display: inline-block;
  padding: 3px 14px;
  border-radius: 20px;
}
.seo-agency-page .evidence-card:nth-child(1) .evidence-source-type { background: linear-gradient(135deg, #4a90d9, #5da3e6); }
.seo-agency-page .evidence-card:nth-child(2) .evidence-source-type { background: linear-gradient(135deg, #2a9d8f, #34b8a8); }
.seo-agency-page .evidence-card:nth-child(3) .evidence-source-type { background: linear-gradient(135deg, #d4694a, #e07a5c); }
.seo-agency-page .evidence-body { font-size: 14px; line-height: 1.8; color: var(--text-secondary); flex: 1; }
.seo-agency-page .evidence-body strong { color: var(--text-primary); font-weight: 700; background: linear-gradient(to top, var(--yellow-100) 40%, transparent 40%); padding: 0 2px; }
.seo-agency-page .evidence-card-link { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border-light); }
.seo-agency-page .evidence-card-link a { font-size: 13px; font-weight: 600; color: var(--teal); display: inline-flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.seo-agency-page .evidence-card-link a:hover { gap: 8px; }
.seo-agency-page .evidence-cta { text-align: center; margin-top: 40px; }

.seo-agency-page .fishkin-block {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 48px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-card);
}
.seo-agency-page .fishkin-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 340px; }
.seo-agency-page .fishkin-content { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.seo-agency-page .fishkin-eyebrow { font-family: var(--font-heading); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--teal); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.seo-agency-page .fishkin-content h3 { font-family: var(--font-heading); font-size: 26px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 14px; }
.seo-agency-page .fishkin-content p { font-size: 15px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 8px; }
.seo-agency-page .fishkin-content strong { color: var(--text-primary); font-weight: 700; background: linear-gradient(to top, var(--yellow-100) 40%, transparent 40%); padding: 0 2px; }
.seo-agency-page .fishkin-result { display: inline-flex; align-items: center; gap: 14px; margin-top: 20px; padding: 12px 18px; background: var(--teal-50); border-radius: var(--radius-sm); border-left: 3px solid var(--teal); flex-wrap: wrap; }
.seo-agency-page .fishkin-result-num { font-family: var(--font-heading); font-size: 28px; font-weight: 800; color: var(--teal); line-height: 1; }
.seo-agency-page .fishkin-result-label { font-size: 13px; font-weight: 600; color: var(--text-secondary); line-height: 1.3; }
.seo-agency-page .fishkin-result-label span { display: block; color: var(--text-muted); font-weight: 500; font-size: 12px; }
.seo-agency-page .fishkin-image { position: relative; background: #1a1a2e; display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: 380px; }
.seo-agency-page .fishkin-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 16px 16px 44px; }
.seo-agency-page .fishkin-image-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 20px; background: rgba(15, 20, 30, 0.9); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.seo-agency-page .fishkin-image-caption { font-size: 12px; color: rgba(255, 255, 255, 0.7); font-weight: 500; }
.seo-agency-page .fishkin-image-caption strong { color: #fff; }

/* Case studies */
.seo-agency-page .cases-section { padding: var(--section-pad) 0; background: var(--bg-page); }
.seo-agency-page .cases-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.seo-agency-page .case-card { background: var(--bg-page); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s; display: flex; flex-direction: column; position: relative; }
.seo-agency-page .case-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--teal), #4a90d9); opacity: 0; transition: opacity 0.3s; }
.seo-agency-page .case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.seo-agency-page .case-card:hover::before { opacity: 1; }
.seo-agency-page .case-image { width: 100%; height: 180px; object-fit: cover; border-bottom: 1px solid var(--border-light); background: var(--bg-light); }
.seo-agency-page .case-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.seo-agency-page .case-company { font-family: var(--font-heading); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 8px; }
.seo-agency-page .case-title { font-family: var(--font-heading); font-size: 17px; line-height: 1.35; margin-bottom: 14px; font-weight: 700; letter-spacing: -0.2px; }
.seo-agency-page .case-result { background: var(--teal-50); border-left: 3px solid var(--teal); padding: 14px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 16px; }
.seo-agency-page .case-result blockquote { font-size: 13px; font-style: italic; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.seo-agency-page .case-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.seo-agency-page .case-metrics { display: flex; gap: 16px; }
.seo-agency-page .case-metric-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
.seo-agency-page .case-metric-value { font-family: var(--font-heading); font-size: 18px; color: var(--teal-dark); font-weight: 700; background: linear-gradient(135deg, rgba(42, 157, 143, 0.08), rgba(42, 157, 143, 0.03)); padding: 2px 10px; border-radius: 6px; }
.seo-agency-page .case-link { font-size: 13px; font-weight: 600; color: var(--teal); display: flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.seo-agency-page .case-link:hover { gap: 8px; }

/* Compare table */
.seo-agency-page .compare-section { padding: var(--section-pad) 0; background: var(--bg-light); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.seo-agency-page .compare-table-wrapper { max-width: 800px; margin: 0 auto; background: var(--bg-page); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.seo-agency-page .compare-table { width: 100%; border-collapse: collapse; }
.seo-agency-page .compare-table thead th { font-family: var(--font-heading); font-size: 14px; font-weight: 700; padding: 18px 20px; border-bottom: 2px solid var(--border); text-align: center; }
.seo-agency-page .compare-table thead th:first-child { text-align: left; color: var(--text-primary); }
.seo-agency-page .compare-table thead th:nth-child(2) { color: var(--teal); background: var(--teal-50); }
.seo-agency-page .compare-table thead th:nth-child(3) { color: var(--text-muted); }
.seo-agency-page .compare-table tbody td { font-size: 14px; padding: 14px 20px; border-bottom: 1px solid var(--border-light); text-align: center; color: var(--text-secondary); }
.seo-agency-page .compare-table tbody td:first-child { text-align: left; font-weight: 500; color: var(--text-primary); }
.seo-agency-page .compare-table tbody td:nth-child(2) { background: rgba(42, 157, 143, 0.02); }
.seo-agency-page .compare-table tbody tr:last-child td { border-bottom: none; }
.seo-agency-page .compare-table tbody td a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.seo-agency-page .check-icon { color: var(--teal); }
.seo-agency-page .cross-icon { color: var(--text-muted); opacity: 0.4; }
.seo-agency-page .compare-cta { margin-top: 32px; text-align: center; }

/* Pricing CTA */
.seo-agency-page .pricing-cta-section { padding: var(--section-pad) 0; background: var(--bg-page); }
.seo-agency-page .pricing-cta-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-page);
  border: 2px solid var(--teal);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.08), var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.seo-agency-page .pricing-cta-content h3 { font-family: var(--font-heading); font-size: 24px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; }
.seo-agency-page .pricing-cta-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 6px; }
.seo-agency-page .pricing-note { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.seo-agency-page .pricing-cta-buttons { display: flex; flex-direction: column; gap: 10px; align-items: center; }

.seo-agency-page .btn-yellow:hover,
.seo-agency-page .btn-yellow:focus,
.seo-agency-page .btn-yellow:focus-visible {
  background: linear-gradient(135deg, #ffe033, var(--yellow));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 214, 0, 0.4);
  color: var(--text-primary) !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .seo-agency-page .hero h1 { font-size: 42px; }
  .seo-agency-page .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .seo-agency-page .benefits-grid { grid-template-columns: 1fr 1fr; }
  .seo-agency-page .evidence-grid { grid-template-columns: 1fr; }
  .seo-agency-page .cases-grid { grid-template-columns: 1fr 1fr; }
  .seo-agency-page .pricing-cta-card { grid-template-columns: 1fr; text-align: center; }
  .seo-agency-page .pricing-cta-buttons { align-items: stretch; }
}
@media (max-width: 768px) {
  .seo-agency-page .hero { padding: 100px 0 48px; }
  .seo-agency-page .hero h1 { font-size: 32px; }
  .seo-agency-page .hero-sub { font-size: 15px; max-width: 100%; }
  .seo-agency-page .benefits-grid { grid-template-columns: 1fr; }
  .seo-agency-page .cases-grid { grid-template-columns: 1fr; }
  .seo-agency-page .hero-cta-row { flex-direction: column; }
  .seo-agency-page .compare-table-wrapper { overflow-x: auto; }
  .seo-agency-page .compare-table { min-width: 520px; }
  .seo-agency-page .fishkin-grid { grid-template-columns: 1fr; }
  .seo-agency-page .fishkin-image { min-height: 220px; }
  .seo-agency-page .fishkin-content { padding: 24px 20px; }
  .seo-agency-page .fishkin-content h3 { font-size: 20px; }
  .seo-agency-page .pricing-cta-card { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .seo-agency-page .hero h1 { font-size: 28px; }
  .seo-agency-page .hero { padding: 90px 0 40px; }
  .seo-agency-page .fishkin-image { min-height: 180px; }
  .seo-agency-page .fishkin-content { padding: 20px 16px; }
}

