/* ============================================================================
   BUTTERCUP ADVERTISING STUDIO — SEO & GEO LANDING PAGES DESIGN SYSTEM
   Shared by all 7 high-intent SEO/GEO .php pages at site root
   ============================================================================ */

body.seo-page-body {
  margin: 0;
  background: #f9f8f6 !important;
  color: #141414 !important;
  overflow-x: clip;
  cursor: auto !important;
}

body.seo-page-body *,
body.seo-page-body a,
body.seo-page-body button {
  cursor: auto;
}

body.seo-page-body a,
body.seo-page-body button,
body.seo-page-body summary,
body.seo-page-body [role="button"] {
  cursor: pointer !important;
}

/* Font Locks beating extra.css global div:not(...) !important */
#seoPageRoot,
#seoPageRoot p,
#seoPageRoot div,
#seoPageRoot li,
#seoPageRoot td,
#seoPageRoot th,
#seoPageRoot label,
#seoPageRoot input,
#seoPageRoot textarea,
#seoPageRoot select,
#seoPageRoot a,
#seoPageRoot button,
#seoPageRoot span {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

#seoPageRoot h1,
#seoPageRoot h1 span,
#seoPageRoot h1 em,
#seoPageRoot h2,
#seoPageRoot h2 span,
#seoPageRoot h2 em,
#seoPageRoot .seo-serif,
#seoPageRoot .seo-stat-num {
  font-family: "Fraunces", Georgia, serif !important;
  text-transform: none !important;
}

#seoPageRoot .seo-mono,
#seoPageRoot .seo-eyebrow,
#seoPageRoot .seo-eyebrow span,
#seoPageRoot .seo-breadcrumb,
#seoPageRoot .seo-breadcrumb a,
#seoPageRoot .seo-breadcrumb span,
#seoPageRoot .seo-step-num,
#seoPageRoot .seo-tag-chip {
  font-family: "Geist Mono", "DM Mono", ui-monospace, monospace !important;
}

#seoPageRoot {
  position: relative;
  width: 100%;
  background: #f9f8f6;
  color: #141414;
}

.seo-container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
  box-sizing: border-box;
}

/* 1. HERO SECTION */
.seo-hero {
  position: relative;
  padding: clamp(128px, 14vh, 170px) 0 clamp(56px, 7vh, 88px);
  background:
    radial-gradient(60% 52% at 15% 18%, rgba(16, 185, 129, 0.11) 0%, rgba(16, 185, 129, 0) 68%),
    radial-gradient(52% 48% at 88% 26%, rgba(11, 122, 87, 0.09) 0%, rgba(11, 122, 87, 0) 70%),
    #f9f8f6;
  border-bottom: 1px solid rgba(20, 20, 20, 0.07);
}

.seo-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 20px;
}

.seo-breadcrumb a {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s ease;
}

.seo-breadcrumb a:hover {
  color: #0b7a57;
}

.seo-breadcrumb .sep {
  opacity: 0.45;
}

.seo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(11, 122, 87, 0.16);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b7a57;
  margin-bottom: 20px;
}

.seo-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

.seo-hero-title {
  font-size: clamp(40px, 5.2vw, 76px) !important;
  font-weight: 400 !important;
  line-height: 1.07 !important;
  letter-spacing: -0.038em !important;
  color: #141414 !important;
  margin: 0 0 22px !important;
  max-width: 1020px;
}

.seo-hero-title em,
.seo-hero-title .seo-accent {
  font-style: italic;
  color: #0b7a57 !important;
}

.seo-hero-lead {
  font-size: clamp(16px, 1.25vw, 20px) !important;
  line-height: 1.65 !important;
  color: #374151 !important;
  max-width: 820px;
  margin: 0 0 32px !important;
}

.seo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
}

.seo-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b7a57 0%, #10b981 100%) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none;
  border: none;
  box-shadow: 0 10px 26px rgba(11, 122, 87, 0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.seo-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(11, 122, 87, 0.34);
}

.seo-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  background: #141414 !important;
  color: #ffffff !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  text-decoration: none;
  border: 1px solid rgba(20, 20, 20, 0.14);
  transition: transform 0.22s ease, background 0.22s ease;
}

.seo-btn-secondary:hover {
  transform: translateY(-2px);
  background: #0b7a57 !important;
}

.seo-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #141414 !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  text-decoration: none;
  border: 1px solid rgba(20, 20, 20, 0.12);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.seo-btn-ghost:hover {
  border-color: #0b7a57;
  color: #0b7a57 !important;
}

/* GEO Direct-Answer Summary Box (AI Citation Block) */
.seo-geo-summary {
  background: #ffffff;
  border: 1px solid rgba(11, 122, 87, 0.18);
  border-left: 4px solid #0b7a57;
  border-radius: 16px;
  padding: clamp(20px, 2.5vw, 30px);
  box-shadow: 0 12px 34px rgba(11, 122, 87, 0.06);
  margin-bottom: 36px;
}

.seo-geo-summary__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b7a57;
  margin-bottom: 10px;
}

.seo-geo-summary p {
  font-size: 15.5px !important;
  line-height: 1.65 !important;
  color: #1f2937 !important;
  margin: 0 0 14px !important;
}

.seo-geo-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 20, 20, 0.07);
}

.seo-geo-fact {
  font-size: 13.5px;
  line-height: 1.45;
  color: #4b5563;
}

.seo-geo-fact strong {
  display: block;
  color: #141414;
  font-weight: 600;
  margin-bottom: 2px;
}

/* Proof Stats Strip */
.seo-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
}

.seo-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.seo-stat-num {
  font-size: clamp(32px, 3vw, 44px) !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em !important;
  color: #0b7a57 !important;
}

.seo-stat-label {
  font-size: 13.5px;
  color: #4b5563;
  font-weight: 500;
}

/* 2. CONTENT SECTIONS */
.seo-section {
  padding: clamp(64px, 8vh, 108px) 0;
}

.seo-section--white {
  background: #ffffff;
  border-top: 1px solid rgba(20, 20, 20, 0.06);
  border-bottom: 1px solid rgba(20, 20, 20, 0.06);
}

.seo-section--dark {
  background: #121515;
  color: #f9f8f6 !important;
}

.seo-section--dark h2,
.seo-section--dark h3,
.seo-section--dark strong {
  color: #ffffff !important;
}

.seo-section--dark p {
  color: rgba(255, 255, 255, 0.74) !important;
}

.seo-section-head {
  max-width: 780px;
  margin-bottom: clamp(32px, 4.5vh, 52px);
}

.seo-h2 {
  font-size: clamp(30px, 3.6vw, 50px) !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.034em !important;
  color: #141414 !important;
  margin: 0 0 14px !important;
}

.seo-h2 em {
  font-style: italic;
  color: #0b7a57 !important;
}

.seo-section-sub {
  font-size: 16.5px !important;
  line-height: 1.65 !important;
  color: #4b5563 !important;
  margin: 0 !important;
}

/* Cards Grids */
.seo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.seo-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.seo-card {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.seo-section--white .seo-card {
  background: #f9f8f6;
}

.seo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 122, 87, 0.32);
  box-shadow: 0 18px 40px rgba(11, 122, 87, 0.08);
}

.seo-card__num {
  font-size: 12px;
  font-weight: 600;
  color: #0b7a57;
  letter-spacing: 0.08em;
}

.seo-card h3 {
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #141414 !important;
  margin: 0 !important;
}

.seo-card p {
  font-size: 14.5px !important;
  line-height: 1.62 !important;
  color: #4b5563 !important;
  margin: 0 !important;
}

.seo-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
}

.seo-tag-chip {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 122, 87, 0.08);
  color: #0b7a57;
  font-weight: 500;
}

/* Comparison / Deliverables Table */
.seo-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: #ffffff;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 640px;
}

.seo-table th {
  padding: 16px 20px;
  background: #f3f5f4;
  color: #141414;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.seo-table td {
  padding: 16px 20px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #374151;
  border-bottom: 1px solid rgba(20, 20, 20, 0.06);
  vertical-align: top;
}

.seo-table tr:last-child td {
  border-bottom: none;
}

.seo-table td strong {
  color: #141414;
}

/* Process Grid */
.seo-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.seo-process-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
}

.seo-step-num {
  display: inline-block;
  font-size: 12px;
  color: #34d399 !important;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.seo-process-step h3 {
  font-size: 18px !important;
  font-weight: 600 !important;
  margin: 0 0 8px !important;
}

.seo-process-step p {
  font-size: 14px !important;
  line-height: 1.58 !important;
  margin: 0 !important;
}

/* Case Studies Strip */
.seo-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.seo-work-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.seo-work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.08);
}

.seo-work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.seo-work-card__body {
  padding: 18px 20px 20px;
}

.seo-work-card__meta {
  font-size: 12px;
  color: #0b7a57;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.seo-work-card__title {
  font-size: 19px;
  font-weight: 600;
  color: #141414;
  margin: 0 0 6px;
}

.seo-work-card__desc {
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
}

/* GEO Location Chips */
.seo-geo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-geo-chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.1);
  font-size: 13.5px;
  font-weight: 500;
  color: #1f2937;
}

.seo-geo-chip.is-primary {
  background: rgba(11, 122, 87, 0.1);
  border-color: rgba(11, 122, 87, 0.3);
  color: #0b7a57;
}

/* Accordion FAQs */
.seo-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 960px;
}

.seo-faq-item {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.09);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.seo-faq-item[open] {
  border-color: rgba(11, 122, 87, 0.35);
}

.seo-faq-item summary {
  list-style: none;
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 600;
  color: #141414;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.seo-faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: #0b7a57;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.seo-faq-item[open] summary::after {
  content: "−";
}

.seo-faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.68;
  color: #4b5563;
}

/* Career Job Cards */
.seo-job-card {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.09);
  border-radius: 18px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.seo-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-job-pill {
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #f3f5f4;
  color: #374151;
  font-weight: 500;
}

.seo-job-pill.is-green {
  background: rgba(11, 122, 87, 0.1);
  color: #0b7a57;
}

/* Sitemap Directory */
.seo-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.seo-sitemap-box {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 18px;
  padding: 28px;
}

.seo-sitemap-box h2 {
  font-size: 24px !important;
  margin: 0 0 16px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.07);
}

.seo-sitemap-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.seo-sitemap-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f2937;
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.45;
  transition: color 0.18s ease, transform 0.18s ease;
}

.seo-sitemap-links a::before {
  content: "→";
  color: #0b7a57;
  font-size: 13px;
}

.seo-sitemap-links a:hover {
  color: #0b7a57;
  transform: translateX(4px);
}

/* Embedded Lead / Application Form Card */
.seo-form-card {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 22px;
  padding: clamp(26px, 3.5vw, 44px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.05);
}

.seo-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.seo-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.seo-field.is-full {
  grid-column: 1 / -1;
}

.seo-field label {
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
}

.seo-field input,
.seo-field select,
.seo-field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid rgba(20, 20, 20, 0.14);
  background: #f9f8f6;
  color: #141414;
  font-size: 14.5px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.seo-field input:focus,
.seo-field select:focus,
.seo-field textarea:focus {
  border-color: #0b7a57;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(11, 122, 87, 0.12);
}

.seo-field textarea {
  min-height: 120px;
  resize: vertical;
}

.seo-submit-btn {
  width: 100%;
  padding: 15px 26px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #0b7a57 0%, #10b981 100%) !important;
  color: #ffffff !important;
  font-size: 15.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-shadow: 0 12px 28px rgba(11, 122, 87, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.seo-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(11, 122, 87, 0.34);
}

/* Related SEO Pages Cross-Link Strip */
.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.seo-related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  text-decoration: none;
  color: #141414;
  font-size: 14.5px;
  font-weight: 500;
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.seo-related-link:hover {
  border-color: #0b7a57;
  color: #0b7a57;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
  .seo-grid-3,
  .seo-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-stats-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .seo-grid-3,
  .seo-grid-2,
  .seo-work-grid,
  .seo-process-grid,
  .seo-sitemap-grid,
  .seo-form-grid { grid-template-columns: 1fr; }
  .seo-stats-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; }
}
