/* SHP Account & Tax — Redesigned professional accounting site */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Source+Serif+4:ital,opsz,wght@0,8..60,500;0,8..60,600;0,8..60,700;1,8..60,500&display=swap');

:root {
  --shp-navy: #0b1d32;
  --shp-deep: #122a45;
  --shp-teal: #006b7d;
  --shp-teal-light: #e6f3f6;
  --shp-accent: #f74504;
  --shp-accent-hover: #e03d00;
  --shp-gold: #c9a227;
  --shp-surface: #f4f7fa;
  --shp-white: #ffffff;
  --shp-muted: #5f6f82;
  --shp-border: #e2e8f0;
  --shp-beige: #f0e8df;
  --shp-beige-deep: #e8ddd2;
  --shp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shp-radius: 0;
  --shp-radius-lg: 0;
  --shp-shadow: 0 4px 24px rgba(11, 29, 50, 0.08);
  --shp-shadow-lg: 0 20px 48px rgba(11, 29, 50, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--shp-white);
  color: #1a2b3c;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.font-display {
  font-family: 'Source Serif 4', Georgia, serif;
}

/* ── Top utility bar (DNS-style) ── */
.utility-bar {
  background: var(--shp-navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.8125rem;
}

.utility-bar a {
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.utility-bar a:hover { color: #fff; }

/* ── Header ── */
.site-header {
  background: var(--shp-white);
  border-bottom: 1px solid var(--shp-border);
  transition: box-shadow 0.3s var(--shp-ease);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(11, 29, 50, 0.08);
}

.nav-link {
  color: var(--shp-navy);
  font-weight: 500;
  font-size: 0.9375rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--shp-teal);
  transition: width 0.3s var(--shp-ease), left 0.3s var(--shp-ease);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

.nav-link.active { color: var(--shp-teal); }

/* ── Services dropdown nav ── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown-chevron {
  transition: transform 0.25s var(--shp-ease);
}

.nav-dropdown:hover .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 22rem;
  background: var(--shp-white);
  border: 1px solid var(--shp-border);
  border-radius: var(--shp-radius-lg);
  box-shadow: var(--shp-shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--shp-ease), transform 0.25s var(--shp-ease), visibility 0.25s;
  z-index: 60;
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.nav-dropdown-panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -0.5rem;
  height: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-grid {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.nav-dropdown-item {
  display: block;
  padding: 0.625rem 0.875rem;
  border-radius: 0;
  transition: background 0.2s;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
  background: var(--shp-teal-light);
}

.nav-dropdown-item-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--shp-navy);
}

.nav-dropdown-item-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--shp-muted);
  margin-top: 0.125rem;
}

.nav-dropdown-item.active .nav-dropdown-item-title {
  color: var(--shp-teal);
}

.nav-dropdown-footer {
  display: block;
  margin-top: 0.375rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--shp-teal);
  border-top: 1px solid var(--shp-border);
  border-radius: 0;
  transition: color 0.2s;
}

.nav-dropdown-footer:hover { color: var(--shp-accent); }

.mobile-services-chevron.rotate-180 { transform: rotate(180deg); }

/* ── Service detail pages ── */
.service-intro {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--shp-muted);
}

.service-benefits {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #334155;
}

.service-benefits li::before {
  content: '';
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  border-radius: 50%;
  background: var(--shp-teal-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23006b7d' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/0.75rem no-repeat;
}

.service-includes-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .service-includes-grid { grid-template-columns: repeat(2, 1fr); }
}

.service-include-card {
  background: var(--shp-surface);
  border: 1px solid var(--shp-border);
  border-radius: var(--shp-radius);
  padding: 1.25rem 1.5rem;
}

.service-include-card h4 {
  font-weight: 700;
  color: var(--shp-navy);
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
}

.service-include-card p {
  font-size: 0.875rem;
  color: var(--shp-muted);
  line-height: 1.6;
}

.service-hub-card {
  display: flex;
  flex-direction: column;
  background: var(--shp-white);
  border: 1px solid var(--shp-border);
  border-radius: var(--shp-radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--shp-ease), box-shadow 0.3s var(--shp-ease);
  height: 100%;
}

.service-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shp-shadow-lg);
}

.service-hub-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.service-hub-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--shp-ease);
}

.service-hub-card:hover .service-hub-card-image img {
  transform: scale(1.04);
}

.service-hub-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-hub-card-body h3 {
  font-weight: 700;
  color: var(--shp-navy);
  margin-bottom: 0.5rem;
}

.service-hub-card-body p {
  font-size: 0.875rem;
  color: var(--shp-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.related-services {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .related-services { grid-template-columns: repeat(3, 1fr); }
}

.related-service-link {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--shp-white);
  border: 1px solid var(--shp-border);
  border-radius: var(--shp-radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--shp-navy);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.related-service-link:hover {
  border-color: var(--shp-teal);
  color: var(--shp-teal);
  background: var(--shp-teal-light);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.625rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  background: var(--shp-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--shp-ease);
  box-shadow: 0 4px 16px rgba(247, 69, 4, 0.3);
}

.btn-primary:hover {
  background: var(--shp-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(247, 69, 4, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.625rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  background: var(--shp-teal);
  color: #fff;
  transition: all 0.25s var(--shp-ease);
}

.btn-secondary:hover {
  background: #005a6a;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  border: 2px solid var(--shp-border);
  color: var(--shp-navy);
  background: var(--shp-white);
  transition: all 0.25s var(--shp-ease);
}

.btn-outline:hover {
  border-color: var(--shp-teal);
  color: var(--shp-teal);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--shp-teal);
  transition: gap 0.2s;
}

.btn-ghost:hover { gap: 0.625rem; }

/* ── Hero carousel (AAT + DNS) ── */
.hero-carousel {
  position: relative;
  background: var(--shp-navy);
  overflow: hidden;
  min-height: 580px;
}

@media (min-width: 1024px) {
  .hero-carousel { min-height: 640px; }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s var(--shp-ease), visibility 0.8s;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11,29,50,0.93) 0%, rgba(11,29,50,0.82) 38%, rgba(11,29,50,0.45) 62%, rgba(0,107,125,0.15) 100%);
}

.hero-slide-bg {
  background-size: cover;
  background-position: center right;
}

.hero-slide-bg-1 {
  background-image: url('../images/generated/hero-accountancy-peace.jpg');
}

.hero-slide-bg-2 {
  background-image: url('../images/generated/hero-tax-advisory.jpg');
}

.hero-slide-bg-3 {
  background-image: url('../images/generated/hero-business-growth.jpg');
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-accent-line {
  display: inline-block;
  width: 48px;
  height: 4px;
  background: var(--shp-accent);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.hero-dot.active,
.hero-dot:hover {
  background: var(--shp-accent);
  transform: scale(1.2);
}

/* ── Interactivity grid (Who we help) ── */
.interactivity-section {
  background: var(--shp-white);
}

.interactivity-grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .interactivity-grid {
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 2.5rem;
  }
}

.interactivity-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.interactivity-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  padding: 1.125rem 1.25rem;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s var(--shp-ease), border-color 0.2s var(--shp-ease);
}

.interactivity-item:hover,
.interactivity-item.is-active {
  background: var(--shp-beige);
  border-color: var(--shp-beige-deep);
}

.interactivity-item.is-active {
  box-shadow: inset 3px 0 0 var(--shp-teal);
}

.interactivity-item-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shp-teal);
}

.interactivity-item-icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.interactivity-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.interactivity-item-title {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--shp-navy);
  line-height: 1.3;
}

.interactivity-item-desc {
  font-size: 0.8125rem;
  color: var(--shp-muted);
  line-height: 1.45;
}

.interactivity-stage {
  min-height: 420px;
}

.interactivity-stage-inner {
  display: flex;
  gap: 1rem;
  height: 100%;
  min-height: 420px;
}

.interactivity-main {
  position: relative;
  flex: 1;
  min-height: 380px;
  overflow: hidden;
  background: var(--shp-navy);
}

.interactivity-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.interactivity-float {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  max-width: min(20rem, calc(100% - 3rem));
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 40px rgba(11, 29, 50, 0.18);
}

.interactivity-float-title {
  font-family: 'Source Serif 4', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--shp-navy);
  margin: 0 0 0.375rem;
  line-height: 1.25;
}

.interactivity-float-desc {
  font-size: 0.875rem;
  color: var(--shp-muted);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.interactivity-float-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--shp-teal);
  text-decoration: none;
  transition: color 0.2s;
}

.interactivity-float-link:hover {
  color: var(--shp-accent);
}

.interactivity-bubbles {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .interactivity-bubbles {
    display: flex;
  }
}

.interactivity-bubble {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--shp-white);
  box-shadow: var(--shp-shadow);
  cursor: pointer;
  padding: 0;
  background: var(--shp-surface);
  flex-shrink: 0;
  transition: width 0.2s var(--shp-ease), height 0.2s var(--shp-ease), box-shadow 0.2s, border-color 0.2s, opacity 0.2s;
  opacity: 0.75;
}

.interactivity-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interactivity-bubble:hover {
  opacity: 1;
}

.interactivity-bubble.is-active {
  width: 4.25rem;
  height: 4.25rem;
  opacity: 1;
  border-color: var(--shp-teal);
  box-shadow: 0 0 0 3px var(--shp-teal-light), var(--shp-shadow-lg);
}

@media (max-width: 1023px) {
  .interactivity-stage-inner {
    flex-direction: column;
  }

  .interactivity-bubbles {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.75rem 0 0;
  }

  .interactivity-bubble.is-active {
    width: 3.75rem;
    height: 3.75rem;
  }

  .interactivity-main {
    min-height: 320px;
  }
}

/* ── Audience cards (DNS "Who we help") — legacy ── */
.audience-card {
  background: var(--shp-white);
  border: 1px solid var(--shp-border);
  border-radius: var(--shp-radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all 0.35s var(--shp-ease);
  display: block;
  height: 100%;
}

.audience-card:hover {
  border-color: var(--shp-teal);
  box-shadow: var(--shp-shadow-lg);
  transform: translateY(-4px);
}

.audience-card .audience-image {
  height: 120px;
  margin: -1.75rem -1.5rem 1rem;
  overflow: hidden;
  border-radius: var(--shp-radius-lg) var(--shp-radius-lg) 0 0;
}

.audience-card .audience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--shp-ease);
}

.audience-card:hover .audience-image img {
  transform: scale(1.06);
}

.audience-card .icon-box {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 0;
  background: var(--shp-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--shp-ease);
}

.audience-card:hover .icon-box {
  transform: scale(1.08);
  background: rgba(0,107,125,0.15);
}

/* ── Stats (DNS) ── */
.stats-section {
  background: var(--shp-teal);
  color: #fff;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-value {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.85;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ── Path cards (AAT "I want to know more") ── */
.path-card {
  border-radius: var(--shp-radius-lg);
  overflow: hidden;
  background: var(--shp-white);
  border: 1px solid var(--shp-border);
  transition: all 0.4s var(--shp-ease);
  display: block;
  height: 100%;
}

.path-card:hover {
  box-shadow: var(--shp-shadow-lg);
  transform: translateY(-6px);
}

.path-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.path-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--shp-ease);
}

.path-card:hover .path-card-image img {
  transform: scale(1.06);
}

.path-card-body {
  padding: 1.75rem;
}

/* ── Service showcase (What We Do) ── */
.services-showcase-section {
  background: var(--shp-white);
}

.services-showcase-header {
  text-align: left;
}

.services-showcase {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .services-showcase {
    grid-template-columns: 35% 1fr;
    gap: 3rem;
    align-items: stretch;
  }
}

.services-showcase-nav {
  display: flex;
  flex-direction: column;
}

.services-showcase-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1rem;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.25s var(--shp-ease), color 0.2s;
}

.services-showcase-nav-item:first-child {
  border-top: 1px solid #e2e8f0;
}

.services-showcase-nav-label {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--shp-muted);
  letter-spacing: -0.01em;
  transition: color 0.2s, font-weight 0.2s;
}

.services-showcase-nav-arrow {
  font-size: 0.875rem;
  color: var(--shp-teal);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s var(--shp-ease), transform 0.25s var(--shp-ease);
}

.services-showcase-nav-item:hover,
.services-showcase-nav-item.is-active {
  background: var(--shp-beige);
}

.services-showcase-nav-item.is-active {
  box-shadow: inset 3px 0 0 var(--shp-teal);
}

.services-showcase-nav-item.is-active .services-showcase-nav-label,
.services-showcase-nav-item:hover .services-showcase-nav-label {
  color: var(--shp-navy);
  font-weight: 700;
}

.services-showcase-nav-item.is-active .services-showcase-nav-arrow {
  opacity: 1;
  transform: translateX(0);
}

.services-showcase-canvas {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 18rem;
}

@media (min-width: 1024px) {
  .services-showcase-canvas {
    padding-left: 2.5rem;
    border-left: 1px solid #e2e8f0;
  }
}

.services-showcase-deco {
  position: absolute;
  top: -0.5rem;
  right: 0;
  width: 7.5rem;
  height: 7.5rem;
  border: 1px solid rgba(0, 107, 125, 0.1);
  transform: rotate(14deg);
  pointer-events: none;
}

.services-showcase-deco::after {
  content: '';
  position: absolute;
  inset: 0.75rem;
  border: 1px solid rgba(0, 107, 125, 0.06);
}

.services-showcase-canvas-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
}

.services-showcase-canvas-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shp-teal);
  margin-bottom: 1.5rem;
}

.services-showcase-tags {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem 2rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--shp-ease), transform 0.3s var(--shp-ease);
}

@media (min-width: 640px) {
  .services-showcase-tags {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-showcase-tags {
    grid-template-columns: repeat(3, 1fr);
  }
}

.services-showcase-tags.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.services-showcase-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--shp-navy);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s;
}

.services-showcase-tag:nth-child(3n+2) {
  padding-left: 0.375rem;
}

.services-showcase-tag:nth-child(5n+3) {
  padding-left: 0.75rem;
}

.services-showcase-tag:hover {
  color: var(--shp-teal);
}

.services-showcase-tag-icon {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  color: var(--shp-teal);
}

.services-showcase-cta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

/* ── Feature / why-us cards ── */
.feature-card {
  background: var(--shp-white);
  border: 1px solid var(--shp-border);
  border-radius: var(--shp-radius);
  padding: 1.75rem;
  transition: all 0.3s var(--shp-ease);
}

.feature-card:hover {
  border-color: rgba(0,107,125,0.3);
  box-shadow: var(--shp-shadow);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0;
  background: linear-gradient(135deg, var(--shp-teal), #008fa3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* ── Testimonial (AAT + PracticeWeb) ── */
.testimonial-card {
  background: var(--shp-white);
  border-radius: var(--shp-radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--shp-border);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: 'Source Serif 4', serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--shp-teal-light);
  opacity: 0.8;
}

/* ── Process steps ── */
.process-step {
  text-align: center;
  position: relative;
}

.process-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--shp-teal);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.125rem;
}

/* ── Insight / resource cards ── */
.insight-card {
  background: var(--shp-white);
  border: 1px solid var(--shp-border);
  border-radius: var(--shp-radius-lg);
  overflow: hidden;
  transition: all 0.35s var(--shp-ease);
  display: block;
  height: 100%;
}

.insight-card:hover {
  box-shadow: var(--shp-shadow-lg);
  transform: translateY(-4px);
}

.insight-card .insight-image {
  height: 160px;
  overflow: hidden;
}

.insight-card .insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--shp-ease);
}

.insight-card:hover .insight-image img {
  transform: scale(1.05);
}

/* ── Tax insight articles ── */
.article-body {
  color: #334155;
  line-height: 1.8;
}

.article-heading {
  font-family: 'Source Serif 4', serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--shp-navy);
  margin: 2rem 0 1rem;
}

.article-heading:first-child {
  margin-top: 0;
}

.article-paragraph {
  font-size: 1.0625rem;
  color: var(--shp-muted);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.article-list {
  margin: 0 0 1.5rem 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.article-list li {
  font-size: 1rem;
  color: #334155;
  line-height: 1.65;
  padding-left: 0.25rem;
}

.insight-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--shp-teal-light);
  color: var(--shp-teal);
}

/* ── Editorial insights grid (tax-insights page) ── */
.insights-editorial-section {
  background: var(--shp-surface);
  padding: 5rem 0;
}

.insights-editorial-wrap {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.insights-corner {
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  pointer-events: none;
}

.insights-corner--tl {
  top: 0;
  left: 1.5rem;
  border-top: 0.5px solid rgba(0, 107, 125, 0.2);
  border-left: 0.5px solid rgba(0, 107, 125, 0.2);
}

.insights-corner--tr {
  top: 0;
  right: 1.5rem;
  border-top: 0.5px solid rgba(0, 107, 125, 0.2);
  border-right: 0.5px solid rgba(0, 107, 125, 0.2);
}

.insights-corner--bl {
  bottom: 0;
  left: 1.5rem;
  border-bottom: 0.5px solid rgba(0, 107, 125, 0.2);
  border-left: 0.5px solid rgba(0, 107, 125, 0.2);
}

.insights-corner--br {
  bottom: 0;
  right: 1.5rem;
  border-bottom: 0.5px solid rgba(0, 107, 125, 0.2);
  border-right: 0.5px solid rgba(0, 107, 125, 0.2);
}

.insights-editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  grid-auto-flow: row dense;
}

@media (min-width: 768px) {
  .insights-editorial {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .editorial-card--featured {
    grid-column: 1;
    grid-row: span 2;
  }
}

.editorial-card {
  display: flex;
  flex-direction: column;
  background: var(--shp-white);
  border: 1px solid var(--shp-border);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s var(--shp-ease);
}

.editorial-card:hover {
  border-color: rgba(0, 107, 125, 0.35);
}

.editorial-card--featured {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.editorial-card__frame {
  display: flex;
  flex-direction: column;
}

.editorial-card__frame--double {
  margin: 1rem;
  padding: 1rem;
  border: 0.5px solid rgba(0, 107, 125, 0.3);
  outline: 0.5px solid rgba(0, 107, 125, 0.15);
  outline-offset: 4px;
  height: 100%;
  min-height: 0;
  flex: 1;
}

.editorial-card__frame--single {
  margin: 1.25rem 1.25rem 0;
  padding: 0.75rem;
  border: 0.5px solid rgba(0, 107, 125, 0.3);
  outline: 0.5px solid rgba(0, 107, 125, 0.15);
  outline-offset: 3px;
}

.editorial-card__media {
  overflow: hidden;
  flex-shrink: 0;
}

.editorial-card__media--portrait {
  aspect-ratio: 3 / 4;
}

.editorial-card--featured .editorial-card__media--portrait {
  flex: 1 1 65%;
  min-height: 0;
  max-height: 70%;
  aspect-ratio: auto;
}

.editorial-card__media--landscape {
  aspect-ratio: 16 / 10;
}

.editorial-card__media--macro {
  aspect-ratio: 4 / 3;
}

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

.editorial-card__media--blueprint {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(rgba(0, 107, 125, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 107, 125, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(0, 107, 125, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 107, 125, 0.22) 1px, transparent 1px),
    radial-gradient(ellipse at 30% 40%, rgba(0, 107, 125, 0.18) 0%, transparent 55%),
    var(--shp-navy);
  background-size: 20px 20px, 20px 20px, 100px 100px, 100px 100px, 100% 100%, 100% 100%;
}

.editorial-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.editorial-card--featured .editorial-card__frame--double {
  display: flex;
  flex-direction: column;
}

.editorial-card--featured .editorial-card__body {
  flex: 0 0 auto;
  padding: 1.5rem 0 0;
}

.editorial-card--featured .editorial-card__media--portrait img {
  height: 100%;
}

.editorial-card--featured .editorial-excerpt {
  flex: 0 1 auto;
}

@media (max-width: 767px) {
  .editorial-card--featured .editorial-card__frame--double {
    height: auto;
    flex: none;
  }

  .editorial-card--featured .editorial-card__media--portrait {
    flex: none;
    max-height: none;
    aspect-ratio: 3 / 4;
  }
}

.editorial-card__body--compact {
  padding-top: 1.25rem;
}

.editorial-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--shp-teal-light);
  color: var(--shp-teal);
}

.editorial-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--shp-navy);
  line-height: 1.35;
  margin: 1rem 0 0.75rem;
  transition: color 0.2s;
}

.editorial-card--featured .editorial-title {
  font-size: 1.375rem;
}

.editorial-card:hover .editorial-title {
  color: var(--shp-teal);
}

.editorial-excerpt {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--shp-muted);
  margin: 0 0 1.25rem;
  flex: 1;
}

.editorial-link {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--shp-teal);
  margin-top: auto;
  transition: gap 0.2s;
}

.editorial-card:hover .editorial-link {
  color: var(--shp-teal);
}

.editorial-card--inverted {
  background: var(--shp-navy);
  border-color: rgba(0, 107, 125, 0.35);
}

.editorial-card--inverted .editorial-tag {
  background: rgba(0, 107, 125, 0.25);
  color: var(--shp-teal-light);
}

.editorial-card--inverted .editorial-title {
  color: var(--shp-white);
}

.editorial-card--inverted:hover .editorial-title {
  color: var(--shp-teal-light);
}

.editorial-card--inverted .editorial-excerpt {
  color: rgba(255, 255, 255, 0.72);
}

.editorial-card--inverted .editorial-link {
  color: var(--shp-teal-light);
}

.editorial-card--visual .editorial-card__body {
  padding-top: 1rem;
}

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, var(--shp-navy) 0%, var(--shp-deep) 50%, var(--shp-teal) 100%);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(247, 69, 4, 0.12);
  filter: blur(60px);
}

/* ── Page hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--shp-navy) 0%, var(--shp-deep) 70%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}

/* ── About portrait ── */
.about-portrait {
  margin: 0;
  max-width: 12.5rem;
}

.about-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
  box-shadow: var(--shp-shadow-lg);
  border: 3px solid var(--shp-beige);
}

.about-portrait figcaption {
  margin-top: 1.25rem;
}

.about-portrait-name {
  display: block;
  font-weight: 700;
  color: var(--shp-navy);
  font-size: 1.0625rem;
}

.about-portrait-creds {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--shp-teal);
}

.page-hero--about::before { background-image: url('../images/generated/team-professional-office.jpg'); }
.page-hero--services::before { background-image: url('../images/generated/page-hero-services.jpg'); }
.page-hero--contact::before { background-image: url('../images/generated/consultation-meeting.jpg'); }
.page-hero--insights::before { background-image: url('../images/generated/insight-card-budget-2027.jpg'); }
.page-hero--personal-tax::before { background-image: url('../images/generated/card-personal-tax.jpg'); }
.page-hero--business-accounting::before { background-image: url('../images/generated/card-business-accounting.jpg'); }
.page-hero--bookkeeping::before { background-image: url('../images/generated/section-bookkeeping.jpg'); }
.page-hero--business-startup::before { background-image: url('../images/generated/audience-startup.jpg'); }
.page-hero--property-tax::before { background-image: url('../images/generated/card-tax-property.jpg'); }
.page-hero--tax-advisory::before { background-image: url('../images/generated/service-tax-advisory.jpg'); }
.page-hero--vat-cis::before { background-image: url('../images/generated/service-vat-cis.jpg'); }

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,29,50,0.88) 0%, rgba(11,29,50,0.75) 100%);
}

.breadcrumb {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a {
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}

.breadcrumb a:hover { color: #fff; }

/* ── Forms ── */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0;
  border: 1.5px solid var(--shp-border);
  background: var(--shp-white);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--shp-teal);
  box-shadow: 0 0 0 3px rgba(0,107,125,0.12);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--shp-navy);
  margin-bottom: 0.5rem;
}

/* ── Partner logos ── */
.partner-logo {
  filter: grayscale(100%) opacity(0.55);
  transition: all 0.35s var(--shp-ease);
  max-height: 44px;
  width: auto;
}

.partner-logo:hover {
  filter: grayscale(0%) opacity(1);
}

/* ── Marquee ── */
.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 3.5rem;
  align-items: center;
  animation: marquee 28s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Reveal animations ── */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s var(--shp-ease), transform 0.7s var(--shp-ease);
}

.reveal { transform: translateY(28px); }
.reveal-left { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }

.reveal.revealed, .reveal-left.revealed, .reveal-right.revealed {
  opacity: 1;
  transform: none;
}

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.4s; }
.stagger-6 { transition-delay: 0.48s; }

/* ── Section headings ── */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shp-teal);
}

.section-title {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--shp-navy);
  line-height: 1.2;
}

/* ── Sticky mobile CTA (PracticeWeb) ── */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--shp-white);
  border-top: 1px solid var(--shp-border);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.75rem;
  box-shadow: 0 -4px 20px rgba(11,29,50,0.1);
  transform: translateY(100%);
  transition: transform 0.3s var(--shp-ease);
}

.mobile-cta-bar.visible { transform: translateY(0); }

@media (min-width: 768px) {
  .mobile-cta-bar { display: none; }
}

/* ── Mobile menu ── */
#mobile-menu {
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Accordion (services page) ── */
.accordion-item {
  border: 1px solid var(--shp-border);
  border-radius: var(--shp-radius);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--shp-white);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: var(--shp-navy);
  text-align: left;
  transition: background 0.2s;
}

.accordion-trigger:hover { background: var(--shp-surface); }

.accordion-trigger svg {
  transition: transform 0.3s;
  flex-shrink: 0;
}

.accordion-item.open .accordion-trigger svg { transform: rotate(180deg); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--shp-ease);
}

.accordion-item.open .accordion-panel { max-height: 800px; }

.accordion-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--shp-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, .reveal, .reveal-left, .reveal-right, .marquee-track, .hero-slide {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-slide { position: relative; opacity: 1; visibility: visible; }
  .hero-slide:not(:first-child) { display: none; }
}