/* ==========================================================================
   Graham SEO - Approved Homepage Design System (October 2026)
   Matches approved 3-panel mockup board: Navy Hero, Pill CTAs, Clean Cards
   ========================================================================== */

:root {
  --navy-dark: #0a192f;
  --navy-deeper: #061221;
  --navy-surface: #0e2238;
  --navy-card: #091d36;
  --blue-primary: #0284c7;
  --blue-light: #e0f2fe;
  --blue-ice: #f0f9ff;
  --blue-badge: #38bdf8;
  --red-cta: #e51b24;
  --red-hover: #cc141c;
  --text-main: #0f172a;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-light: #cbd5e1;
  --bg-white: #ffffff;
  --bg-slate: #f8fafc;
  --border-light: #e2e8f0;
  --border-card: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-white);
}

a {
  color: var(--blue-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #0369a1;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 700;
}

h2 {
  font-size: clamp(28px, 2.75vw, 36px);
  margin-bottom: 12px;
}

h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

p {
  margin-bottom: 16px;
}

p:last-child {
  margin-bottom: 0;
}

.shell {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Breakdance Header Integration */
.header-wrapper {
  position: relative;
  width: 100%;
  z-index: 100;
}

.btn-pill-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red-cta);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 12px rgba(229, 27, 36, 0.25);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-pill-red:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(229, 27, 36, 0.35);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-main);
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  background: radial-gradient(ellipse at 75% 35%, #133a63 0%, #0a203f 50%, #07172e 100%);
  color: #ffffff;
  padding: 56px 0 36px;
  margin-bottom: 40px;
  overflow: hidden;
}

.hero-card {
  background: none;
  color: #ffffff;
  padding: 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-copy {
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--blue-badge);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin: 0 0 20px 0;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-link-results {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.hero-link-results:hover {
  color: var(--blue-badge);
  gap: 12px;
}

.hero-portrait-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 380px;
}

.portrait-circle-bg {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, #0e4c82 0%, #072547 70%);
  bottom: 0;
  z-index: 1;
}

.hero-portrait-img {
  position: relative;
  z-index: 2;
  width: 290px;
  height: auto;
  max-height: 430px;
  object-fit: contain;
  display: block;
}

.portrait-tag {
  position: absolute;
  top: 60px;
  right: -10px;
  z-index: 3;
  text-align: right;
  line-height: 1.35;
}

.portrait-tag strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.portrait-tag span {
  font-size: 12px;
  color: var(--blue-badge);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
}

.hero-stat-item {
  padding: 0 16px;
}

.hero-stat-item + .hero-stat-item {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

/* ==========================================================================
   Section Headers & Common Layout
   ========================================================================== */

.content-section {
  padding: 60px 0;
}

.section-slate {
  background-color: var(--bg-slate);
}

.section-header {
  margin-bottom: 32px;
}

.section-header.text-center {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.section-lead {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ==========================================================================
   Services Grid (3x2)
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-icon-box {
  width: 46px;
  height: 46px;
  background: var(--blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.card-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.service-card h3 {
  color: var(--text-main);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-body);
  flex-grow: 1;
}

.info-banner {
  background: var(--blue-ice);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.info-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

/* ==========================================================================
   Local SEO Section
   ========================================================================== */

.local-seo-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.checklist-styled {
  list-style: none;
  margin-top: 14px;
}

.checklist-styled li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 14.5px;
  line-height: 1.6;
}

.check-pill {
  width: 19px;
  height: 19px;
  background: var(--blue-primary);
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Process Section (01, 02, 03, 04)
   ========================================================================== */

.process-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.process-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.process-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: #cbd5e1;
}

.process-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.process-icon-box {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  flex-shrink: 0;
}

.process-icon-box svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.process-content {
  flex-grow: 1;
}

.process-content h3 {
  margin-bottom: 6px;
  color: var(--text-main);
}

.process-content p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-body);
}

/* ==========================================================================
   Why SEO Important (4 Cards)
   ========================================================================== */

.four-col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: left;
}

.feature-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  margin-bottom: 16px;
}

.feature-icon-circle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.feature-card h4 {
  font-size: 16.5px;
  margin-bottom: 8px;
  color: var(--text-main);
}

.feature-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-body);
}

/* ==========================================================================
   About Graham / Why Choose
   ========================================================================== */

.about-split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 36px;
  background: var(--bg-slate);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-light);
}

.about-portrait-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #dfeaf6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-portrait-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-details h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.about-details p {
  font-size: 14.5px;
  line-height: 1.65;
}

/* ==========================================================================
   Growth Section & Trend Banner
   ========================================================================== */

.growth-banner {
  background: var(--blue-ice);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.6;
}

.trend-icon {
  width: 32px;
  height: 32px;
  color: var(--blue-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   Case Studies Section (Dark Card)
   ========================================================================== */

.case-studies-container {
  background: var(--navy-dark);
  border-radius: var(--radius-lg);
  padding: 44px;
  color: #ffffff;
}

.case-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.case-header-row h2 {
  color: #ffffff;
}

.case-header-row p {
  color: var(--text-light);
  font-size: 14px;
}

.view-all-link {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.view-all-link:hover {
  color: var(--blue-badge);
  gap: 10px;
}

.case-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  display: grid;
  grid-template-columns: 40% 60%;
  background: var(--navy-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.case-media {
  position: relative;
  background: #112845;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-stats-panel {
  padding: 20px 22px;
  background: var(--navy-surface);
}

.case-stats-panel h3 {
  color: #ffffff;
  font-size: 17px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.case-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.case-stat-row:last-child {
  border-bottom: none;
}

.case-stat-label {
  color: var(--text-light);
}

.case-stat-val {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #ffffff;
  font-size: 15px;
}

/* ==========================================================================
   Testimonials (2 Cards)
   ========================================================================== */

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

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.star-rating {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-main);
  margin-bottom: 14px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-main);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 900px;
  margin-inline: auto;
}

.faq-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-card summary {
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-indicator {
  font-size: 20px;
  font-weight: 400;
  color: var(--blue-primary);
  line-height: 1;
}

.faq-card[open] .faq-indicator {
  content: "−";
}

.faq-content {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-body);
}

/* ==========================================================================
   Get in Touch (Navy Card)
   ========================================================================== */

.contact-card {
  background: radial-gradient(ellipse at 80% 50%, #103b66 0%, #0a203f 60%, #07172e 100%);
  border-radius: var(--radius-lg);
  padding: 44px 50px;
  color: #ffffff;
}

.contact-card h2 {
  color: #ffffff;
  margin-bottom: 10px;
}

.contact-card .contact-sub {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 28px;
}

.contact-actions-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-quick-link {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.contact-quick-link:hover {
  color: var(--blue-badge);
}

.contact-quick-link svg {
  width: 20px;
  height: 20px;
  color: var(--blue-badge);
}

.contact-foot-note {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-foot-note a {
  color: #ffffff;
  text-decoration: underline;
}

.contact-foot-note a:hover {
  color: var(--blue-badge);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-deeper);
  color: #94a3b8;
  padding: 48px 0 24px;
  font-size: 13px;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-address {
  font-style: normal;
  font-size: 12.5px;
  color: #94a3b8;
  max-width: 480px;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}

.footer-nav a {
  color: #cbd5e1;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 12px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-links {
  display: flex;
  gap: 16px;
}

.legal-links a {
  color: #64748b;
}

.legal-links a:hover {
  color: #94a3b8;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-section {
    padding: 40px 0 28px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .four-col-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-cards-grid {
    grid-template-columns: 1fr;
  }
  .case-card {
    grid-template-columns: 35% 65%;
  }
  .about-split {
    grid-template-columns: 1fr;
  }
  .about-portrait-card {
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .four-col-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .case-card {
    grid-template-columns: 1fr;
  }
  .case-media {
    height: 180px;
  }
  .case-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-stat-item + .hero-stat-item {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 16px;
  }
  .footer-top-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
