/* ============================================
   Tax Dispute Consultants - Main Stylesheet
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --color-primary: #0e82b8;
  --color-primary-dark: #0a6a96;
  --color-secondary: #7b2ff7;
  --color-accent: #00d4ff;
  --color-gradient-start: #7b2ff7;
  --color-gradient-end: #00d4ff;
  --color-text: #5a5a5a;
  --color-heading: #212529;
  --color-white: #ffffff;
  --color-light-bg: #eef5fa;
  --color-dark-bg: #1a1a2e;
  --color-border: #e0e0e0;
  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-danger: #dc3545;
  --font-body: 'Sarabun', sans-serif;
  --font-nav: 'Inter', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --container-max: 1200px;
  --header-height: 137px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  color: var(--color-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 60px; }
h2 { font-size: 48px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

p {
  margin-bottom: 1em;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Utility Classes ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

/* ---------- Guide / Resource Filter Tabs ---------- */
.guide-filters {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: .45rem 1.2rem;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  border-radius: 2rem;
  font-family: var(--font-nav);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.text-center { text-align: center; }
.text-white { color: var(--color-white); }

.gradient-text {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  color: var(--color-white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  opacity: 0.95;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-white:hover {
  background: var(--color-light-bg);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
/* Reserve header space so the injected header doesn't cause layout shift.
   Desktop = logo-left + nav-right row; ≤1200px = taller centred/stacked layout. */
#header-placeholder {
  min-height: 130px;
}
@media (max-width: 1200px) {
  #header-placeholder { min-height: 180px; }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 28px;
  position: relative;
}

/* Logo with the tagline directly beneath it, pinned to the far left */
.logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 70px;
  width: auto;
}

.tagline {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-heading);
  letter-spacing: 0.5px;
  text-align: left;
  white-space: nowrap;
}

/* Right column: phone numbers on top, the main nav directly beneath them */
.header-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.phone-numbers {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 0;
  border-bottom: 2px solid var(--color-light-bg);
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-heading);
  font-size: 15px;
}

.phone-link:hover {
  color: var(--color-primary);
}

.phone-link .phone-icon {
  width: 20px;
  height: 20px;
  fill: var(--color-primary);
}

/* ---------- Navigation ---------- */
.header-nav {
  background: var(--color-white);
  display: flex;
  align-items: center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
}

.nav-list {
  display: flex;
  gap: 0;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: block;
  padding: 16px 13px;
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-heading);
  letter-spacing: 0.3px;
  transition: all var(--transition-normal);
}

.nav-list > li > a:hover,
.nav-list > li.active > a {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  color: var(--color-white);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 100;
}

.nav-list > li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 12px 20px;
  font-size: 15px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.nav-dropdown a:hover {
  background: var(--color-light-bg);
  color: var(--color-primary);
  padding-left: 28px;
}

.nav-dropdown li:last-child a {
  border-bottom: none;
}

/* Dropdown group labels */
.nav-dropdown-wide {
  min-width: 300px;
}

.nav-dropdown-group-label {
  display: block;
  padding: 10px 20px 3px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #9ca3af;
  pointer-events: none;
  cursor: default;
  border-bottom: none;
}

.nav-dropdown-group-label:not(:first-child) {
  border-top: 1px solid var(--color-border);
  margin-top: 4px;
  padding-top: 12px;
}

.nav-dropdown-browse a {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-primary) !important;
  border-top: 1px solid var(--color-border);
  margin-top: 2px;
}

.nav-dropdown-browse a:hover {
  background: var(--color-light-bg);
  padding-left: 28px;
}

/* Direct link inside dropdown (e.g. Penalty Calculator) */
.nav-dropdown-direct a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary) !important;
  border-top: 1px solid var(--color-border);
}

/* ------- Flyout Submenus ------- */
.has-submenu {
  position: relative;
}

/* Trigger row — styled as a category header */
.nav-submenu-trigger {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-heading) !important;
  background: var(--color-light-bg) !important;
  padding: 11px 16px 11px 20px !important;
  border-bottom: 1px solid var(--color-border) !important;
}

/* Override the generic dropdown a:hover indent — keep flush */
.nav-submenu-trigger:hover {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end)) !important;
  color: var(--color-white) !important;
  padding-left: 20px !important;
}

.nav-submenu-trigger:hover .submenu-chevron {
  stroke: var(--color-white);
}

.submenu-chevron {
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  stroke: var(--color-heading);
}

/* The flyout panel */
.nav-submenu {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 250px;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
  list-style: none;
  padding: 4px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: all var(--transition-normal);
  z-index: 101;
}

.has-submenu:hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--color-heading);
  margin: 5px 0;
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  height: 900px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: flex-end;
  padding-bottom: 120px;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
}

/* Decorative blobs matching the original theme */
.hero-blob-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 420px;
  height: 100%;
  background: linear-gradient(180deg, #22a0e0 0%, #4a35d4 35%, #7b2ff7 65%, #2090d8 100%);
  clip-path: ellipse(72% 52% at 0% 50%);
  opacity: 0.88;
  z-index: 1;
  pointer-events: none;
}

.hero-blob-right {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  background: linear-gradient(135deg, #06d6f6 0%, #0ea5e9 50%, #22a0e0 100%);
  border-radius: 50%;
  opacity: 0.88;
  z-index: 1;
  pointer-events: none;
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 80px;
  color: var(--color-white);
}

.hero-badge {
  display: inline-block;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  padding: 8px 20px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--color-white);
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-btn {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius-md);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-normal);
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Section: How We Can Help (Purple Card) ---------- */
.help-section {
  position: relative;
  z-index: 10;
  padding: 0;
}

.help-purple-card {
  background: linear-gradient(135deg, #4420c4 0%, #7028e4 50%, #5830d4 100%);
  border-radius: 22px;
  padding: 44px 50px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  margin-top: -90px;
  position: relative;
  z-index: 10;
  box-shadow: 0 20px 60px rgba(70, 30, 200, 0.35);
}

.help-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 0 24px;
}

.help-card-divider {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

.help-card-icon {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  object-fit: contain;
}

.help-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 700;
}

.help-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* ---------- Partnering Tag (shared) ---------- */
.partnering-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  color: #555;
  font-weight: 600;
  margin-bottom: 16px;
}
.partnering-tag--light { color: #fff; }
.partnering-diamonds {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}
.diamond {
  display: inline-block;
  width: 13px;
  height: 13px;
  background: #00c8f0;
  transform: rotate(45deg);
  border-radius: 2px;
}
.diamond:last-child {
  background: #0098c8;
  transform: rotate(45deg) translate(-3px, -1px);
}

/* ---------- Section: Services Carousel ---------- */
.services-section {
  padding: 80px 0;
  background: var(--color-light-bg);
}

.section-subtitle {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 48px;
  margin-bottom: 16px;
}

.section-desc {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 17px;
}

.services-section-title {
  font-size: 64px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #1a1a2e;
}

.carousel-wrapper {
  position: relative;
  padding: 0 60px;
}

.services-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 50px 0 20px;
  scrollbar-width: none;
}

.services-carousel::-webkit-scrollbar {
  display: none;
}

.service-card {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 30px 30px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  min-width: 280px;
  position: relative;
}

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

.service-card-hex {
  width: 85px;
  height: 85px;
  background: linear-gradient(180deg, #1a237e 0%, #0e82b8 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -72px auto 20px;
}

.service-card-icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.service-card p {
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 16px;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #0a6a96;
  font-size: 15px;
}

.service-card .card-link:hover {
  color: var(--color-secondary);
}

.carousel-nav {
  display: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 5;
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- Section: Expertise (Expert Guidance, Proven Results) ---------- */
.expertise-section {
  background: #e9edf8;
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.expertise-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 180px;
  background: #d8e2f5;
  clip-path: polygon(0 0, 80% 0, 45% 100%, 0 100%);
  pointer-events: none;
}

.expertise-section::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 180px;
  background: #d8e2f5;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 55% 100%);
  pointer-events: none;
}

.expertise-heading {
  font-size: 64px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 70px;
  line-height: 1.08;
  color: #111;
  letter-spacing: -1px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 50px;
  position: relative;
  z-index: 1;
}

.expertise-card {
  text-align: left;
}

.expertise-card-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 18px;
}

.expertise-card h3 {
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  color: #1a2b4a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.expertise-card p {
  font-size: 16px;
  color: #5a6a80;
  margin: 0;
  line-height: 1.65;
}

/* ---------- Section: Where We Can Help (Industry) ---------- */
.industry-section {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.industry-dark-bg {
  background: #0d1729;
  padding: 70px 0 0;
  position: relative;
  overflow: hidden;
}

.industry-blob {
  position: absolute;
  left: -100px;
  top: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7b2ff7 0%, #0e82b8 100%);
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
}

.industry-heading-area {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 50px;
}

.industry-heading-area .section-title {
  font-size: 62px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0;
}

.industry-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  z-index: 2;
}

.industry-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  transition: all var(--transition-normal);
}

.industry-card:hover {
  box-shadow: var(--shadow-lg);
}

.industry-card-label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(90, 40, 210, 0.88);
  color: #fff;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  z-index: 3;
}

.industry-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.industry-card-content {
  padding: 24px 28px;
  background: #fff;
}

.industry-card-content h3 {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: #1a2b4a;
  margin-bottom: 10px;
}

.industry-card-content p {
  font-size: 15px;
  color: #5a6a80;
  margin-bottom: 14px;
  line-height: 1.6;
}

.industry-card-content .card-link {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 14px;
}

.industry-card-content .card-link:hover {
  color: var(--color-secondary);
}

/* ---------- Section: Contact/CTA (Let's Talk) ---------- */
.cta-section {
  padding: 80px 0;
  background: var(--color-white);
}

.cta-title {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 40px;
  text-align: center;
  line-height: 1.15;
  text-transform: uppercase;
}

.cta-card {
  background: #e8eaf5;
  border-radius: 22px;
  padding: 50px 60px 60px;
}

.cta-description {
  text-align: center;
  font-size: 18px;
  color: #555;
  margin-bottom: 46px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.cta-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.cta-contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-contact-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.cta-contact-icon.purple { background: linear-gradient(135deg, #6b2ff5, #9050f0); }
.cta-contact-icon.orange { background: linear-gradient(135deg, #f5822f, #f0a030); }
.cta-contact-icon.green { background: linear-gradient(135deg, #34c94f, #20b040); }

.cta-contact-label {
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  color: #1a2b4a;
  margin-bottom: 4px;
}

.cta-contact-detail {
  font-size: 15px;
  color: #5a6a80;
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---------- Contact Form ---------- */
.contact-form {
  background: transparent;
  padding: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #d0d5e0;
  border-radius: var(--radius-md);
  font-size: 16px;
  transition: border-color var(--transition-fast);
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14, 130, 184, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Section: Blog Carousel ---------- */
.blog-section {
  padding: 80px 0;
  background: var(--color-white);
}

.blog-section-title {
  font-size: 72px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 40px;
  color: #1a1a2e;
}

.blog-carousel-wrapper {
  position: relative;
  padding: 0 60px;
}

.blog-prev { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.blog-next { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }

.blog-cards {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 0;
}

.blog-cards::-webkit-scrollbar { display: none; }

.blog-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 280px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  scroll-snap-align: start;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.blog-date-badge {
  position: absolute;
  bottom: 0;
  right: 20px;
  background: #1e3a8a;
  color: #fff;
  text-align: center;
  padding: 8px 14px;
  min-width: 56px;
}

.blog-date-day {
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.blog-date-month {
  display: block;
  font-size: 14px;
  font-weight: 500;
}

.blog-card-content {
  padding: 24px;
}

.blog-card-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-card-content h3 a:hover {
  color: var(--color-primary);
}

.blog-card-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.blog-card-tags a {
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card-tags a::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23888'%3E%3Cpath d='M21.41 11.58l-9-9A2 2 0 0011 2H4a2 2 0 00-2 2v7a2 2 0 00.59 1.42l9 9A2 2 0 0013 21a2 2 0 001.41-.58l7-7A2 2 0 0022 12a2 2 0 00-.59-1.42z'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  color: var(--color-white);
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-col h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: var(--color-white);
}

.footer-col p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.9;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: var(--color-white);
}

.footer-contact-item a {
  color: var(--color-white);
  opacity: 0.9;
}

.footer-contact-item a:hover {
  opacity: 1;
}

.footer-location p {
  font-size: 15px;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--color-white);
  opacity: 0.85;
}

.footer-links a:hover {
  opacity: 1;
}

/* ---------- Scroll to Top ---------- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-heading);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--color-primary);
  transform: translateY(-4px);
}

/* ---------- Page Banner ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  padding: 60px 0;
  text-align: center;
  color: var(--color-white);
}

.page-banner h1 {
  font-size: 48px;
  color: var(--color-white);
  margin-bottom: 12px;
}

.breadcrumb {
  font-size: 15px;
  opacity: 0.85;
}

.breadcrumb a {
  color: var(--color-white);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 8px;
}

/* ---------- Service Page Layout ---------- */
.service-page {
  padding: 60px 0;
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

.service-content h2 {
  font-size: 32px;
  margin-bottom: 16px;
  margin-top: 30px;
}

.service-content h2:first-child {
  margin-top: 0;
}

.service-content h3 {
  font-size: 24px;
  margin-bottom: 12px;
  margin-top: 24px;
}

.service-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.service-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.service-content ul li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.service-content ol {
  list-style: decimal;
  padding-left: 24px;
  margin-bottom: 16px;
}

.service-content ol li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.service-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--color-light-bg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
}

/* Service Sidebar */
.service-sidebar {
  position: sticky;
  top: 160px;
}

.sidebar-widget {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 30px;
  margin-bottom: 30px;
}

.sidebar-widget h4 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--color-heading);
}

.sidebar-services-list a {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.sidebar-services-list a:hover,
.sidebar-services-list a.active {
  color: var(--color-primary);
  padding-left: 22px;
  background: var(--color-light-bg);
}

.sidebar-services-list a:last-child {
  border-bottom: none;
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  color: var(--color-white);
  text-align: center;
}

.sidebar-cta h4 {
  color: var(--color-white);
}

.sidebar-cta p {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 16px;
}

.sidebar-cta .phone-big {
  font-size: 24px;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.sidebar-cta a {
  color: var(--color-white);
}

.sidebar-cta .btn-white {
  color: var(--color-primary);
}

.service-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
}

.service-nav a {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 15px;
}

.service-nav a:hover {
  color: var(--color-secondary);
}

/* ---------- FAQ Page ---------- */
.faq-section {
  padding: 60px 0;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: var(--color-white);
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--color-light-bg);
}

.faq-question.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.faq-icon {
  font-size: 24px;
  font-weight: 700;
  transition: transform var(--transition-normal);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 24px;
  line-height: 1.8;
}

.faq-answer-inner p {
  margin-bottom: 12px;
}

.faq-answer-inner ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 12px;
}

.faq-answer-inner ul li {
  margin-bottom: 6px;
}

/* ---------- Testimonials Page ---------- */
.testimonials-section {
  padding: 60px 0;
}

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

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-primary);
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #f5a623;
  margin-bottom: 12px;
  font-size: 18px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  color: var(--color-heading);
  font-size: 16px;
}

/* ---------- About Page ---------- */
.about-section {
  padding: 60px 0;
}

.about-intro {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.about-intro h2 {
  margin-bottom: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.about-card {
  padding: 30px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.about-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.about-why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.about-why-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-why-item .check-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

/* ---------- About Page – new layout ---------- */
.about-main-heading {
  font-size: 36px;
  color: var(--color-heading);
  margin-bottom: 10px;
  text-align: center;
}

.about-sub-heading {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 28px;
  text-align: center;
}

.about-intro-text {
  max-width: 860px;
  margin: 0 auto 30px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text);
  text-align: left;
}

.about-cta-btn {
  text-align: center;
  margin-top: 30px;
}

.about-why-section {
  background: var(--color-light-bg);
}

.about-why-intro {
  max-width: 860px;
  margin: 0 auto 14px;
  font-size: 18px;
  text-align: center;
}

.about-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.about-why-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}

.about-why-card h3 {
  font-size: 22px;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.about-what-section {
  background: var(--color-white);
}

.about-reviews-section {
  background: var(--color-light-bg);
}

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

.review-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  font-size: 16px;
  color: var(--color-text);
  font-style: italic;
}

.review-card p {
  margin-bottom: 16px;
}

.review-author {
  font-style: normal;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 15px;
}

/* ---------- Services Overview Page ---------- */
.services-overview {
  padding: 60px 0;
}

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

.service-overview-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-normal);
  border-top: 4px solid transparent;
}

.service-overview-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--color-primary);
}

.service-overview-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
}

.service-overview-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-overview-card p {
  font-size: 15px;
  margin-bottom: 16px;
}

.service-overview-card .learn-more {
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---------- Scroll Animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Gradient Background Utility ---------- */
.gradient-bg {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
}

/* ---------- Form Validation ---------- */
.form-group input.error,
.form-group textarea.error {
  border-color: #e74c3c;
}

.error-message {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  h1 { font-size: 42px; }
  h2 { font-size: 36px; }
  .section-title { font-size: 36px; }
  .services-section-title { font-size: 48px; }
  .hero-title { font-size: 42px; }
  .hero { height: 700px; }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-block.reversed {
    direction: ltr;
  }

  .service-layout {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }
}

/* Desktop (>1200px): logo + tagline far left, nav to the right with phone numbers
   above it. Below 1200px the nav no longer fits beside the logo, so the header
   centres (logo, tagline, phones stacked) and the nav collapses to a hamburger. */
@media (max-width: 1200px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .logo-block {
    align-items: center;
    justify-content: center;
    padding: 12px 0 4px;
  }

  .tagline {
    text-align: center;
  }

  .header-right {
    width: 100%;
    align-items: center;
  }

  .phone-numbers {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 0 10px;
    border-bottom: none;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 101;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
  }

  .nav-list.open {
    display: flex;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-list > li > a {
    padding: 14px 20px;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    background: var(--color-light-bg);
  }

  .nav-dropdown.open {
    display: block;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  .section-title { font-size: 28px; }
  .services-section-title { font-size: 36px; }
  .hero-title { font-size: 32px; }

  body { font-size: 16px; }

  /* Mobile submenus — stack vertically, toggle on click */
  .nav-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    display: none;
    background: #edf2f7;
  }

  .has-submenu.open > .nav-submenu {
    display: block;
  }

  .nav-submenu a {
    padding-left: 32px;
    font-size: 14px;
  }

  .nav-submenu-trigger {
    background: #dde5ef !important;
    padding-left: 28px !important;
  }

  .has-submenu.open .submenu-chevron {
    transform: rotate(90deg);
  }

  .help-purple-card {
    grid-template-columns: 1fr;
    margin-top: -40px;
    padding: 30px 24px;
    gap: 20px;
  }

  .help-card-divider { display: none; }

  .help-card { padding: 0; }

  .expertise-heading { font-size: 36px; }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .industry-heading-area .section-title { font-size: 36px; }

  .industry-cards { grid-template-columns: 1fr; }

  .cta-card { padding: 30px 24px; }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-row { grid-template-columns: 1fr; }

  .service-card {
    flex: 0 0 85%;
  }

  .blog-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-why-list {
    grid-template-columns: 1fr;
  }

  .about-why-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 40px 20px;
  }


  .page-banner h1 {
    font-size: 32px;
  }

  .contact-form {
    padding: 24px;
  }

  .section-padding {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 26px; }
  .hero-subtitle { font-size: 16px; }
  .hero { height: 450px; }
  .hero-slider { height: 100%; }

  .container {
    padding: 0 16px;
  }
}

/* ============================================
   Resources / Articles / Tools
   ============================================ */
.resources-hub { padding: 60px 0; background: var(--color-white); }
.resources-intro { max-width: 820px; margin: 0 auto 50px; text-align: center; }
.resources-intro p { font-size: 18px; }

.resource-cluster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.resource-cluster-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.resource-cluster-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.resource-cluster-card h3 {
  font-size: 22px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.resource-cluster-card ul {
  margin-top: 16px;
  padding-left: 0;
}
.resource-cluster-card ul li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 15px;
  border-bottom: 1px solid var(--color-light-bg);
}
.resource-cluster-card ul li:last-child { border-bottom: 0; }
.resource-cluster-card ul li::before {
  content: "›";
  position: absolute;
  left: 4px;
  color: var(--color-primary);
  font-weight: 700;
}
.resource-cluster-card ul li a { color: var(--color-text); }
.resource-cluster-card ul li a:hover { color: var(--color-primary); }

/* Article / pillar page layout */
.article-layout { padding: 50px 0; }
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 50px;
  align-items: start;
}
.article-body { font-size: 17px; line-height: 1.75; color: var(--color-text); }
.article-body h2 {
  font-size: 30px;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--color-heading);
}
.article-body h3 {
  font-size: 22px;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--color-primary);
}
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol {
  margin: 0 0 22px 22px;
  padding-left: 0;
}
.article-body ul li, .article-body ol li {
  list-style: disc;
  margin-bottom: 8px;
}
.article-body ol li { list-style: decimal; }
.article-body blockquote {
  border-left: 4px solid var(--color-primary);
  background: var(--color-light-bg);
  padding: 18px 24px;
  margin: 24px 0;
  font-style: italic;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.article-body .callout {
  background: var(--color-light-bg);
  border-left: 4px solid var(--color-secondary);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.article-body .callout strong { color: var(--color-heading); }
.article-body a { color: var(--color-primary); text-decoration: underline; }
.article-body a:hover { color: var(--color-primary-dark); }

.article-meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}
.article-meta strong { color: var(--color-heading); }

.article-sidebar { position: sticky; top: 160px; }
.article-sidebar .side-card {
  background: var(--color-light-bg);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}
.article-sidebar .side-card h4 {
  color: var(--color-heading);
  margin-bottom: 14px;
  font-size: 18px;
}
.article-sidebar .side-card.cta {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  color: var(--color-white);
}
.article-sidebar .side-card.cta h4 { color: var(--color-white); }
.article-sidebar .side-card.cta p { color: rgba(255,255,255,0.95); margin-bottom: 16px; }
.article-sidebar .side-card.cta .btn { background: var(--color-white); color: var(--color-secondary); }
.article-sidebar .side-card ul { padding: 0; }
.article-sidebar .side-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 15px;
}
.article-sidebar .side-card ul li:last-child { border-bottom: 0; }
.article-sidebar .side-card a { color: var(--color-text); }
.article-sidebar .side-card a:hover { color: var(--color-primary); }

.toc { background: var(--color-light-bg); padding: 22px 26px; border-radius: var(--radius-md); margin: 0 0 32px; }
.toc h4 { margin-bottom: 10px; font-size: 16px; }
.toc ol { margin: 0 0 0 20px; padding: 0; }
.toc ol li { font-size: 15px; padding: 4px 0; list-style: decimal; }
.toc a { color: var(--color-primary); }

/* FAQ list (for article FAQ sections) */
.article-faq { margin-top: 40px; }
.article-faq details {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  padding: 16px 20px;
}
.article-faq details[open] { border-color: var(--color-primary); }
.article-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-heading);
  font-size: 17px;
}
.article-faq details p { margin-top: 12px; }

/* Location page hero card */
.location-cta-bar {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  color: var(--color-white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 30px 0;
}
.location-cta-bar h3 { color: var(--color-white); margin-bottom: 12px; }
.location-cta-bar a.btn { background: var(--color-white); color: var(--color-secondary); margin: 6px; }

/* HMRC Penalty Calculator */
.calc-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
}
.calc-row { margin-bottom: 22px; }
.calc-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-heading);
}
.calc-row input,
.calc-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 16px;
  background: var(--color-white);
}
.calc-row .calc-hint { font-size: 13px; color: #888; margin-top: 4px; }
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.calc-results {
  margin-top: 30px;
  padding: 28px;
  background: var(--color-light-bg);
  border-radius: var(--radius-md);
}
.calc-results h3 { margin-bottom: 16px; font-size: 22px; color: var(--color-primary); }
.calc-results .result-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 16px;
}
.calc-results .result-row:last-child { border-bottom: 0; font-weight: 700; font-size: 18px; color: var(--color-heading); }

@media (max-width: 900px) {
  .resource-cluster-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-wrapper { padding: 24px; }
}


/* ============================================
   Cookie consent banner
   ============================================ */
#cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--color-dark-bg);
  color: var(--color-white);
  border-radius: 10px;
  padding: 16px 20px;
  z-index: 9999;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
  font-size: 0.9rem;
  line-height: 1.45;
}
#cookie-banner p { margin: 0 0 10px; color: var(--color-white); }
#cookie-banner a { color: var(--color-accent); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
#cookie-banner button {
  border: 0;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
#cookie-banner .cookie-accept { background: var(--color-primary); color: var(--color-white); }
#cookie-banner .cookie-accept:hover { background: var(--color-primary-dark); }
#cookie-banner .cookie-decline { background: transparent; color: var(--color-white); border: 1px solid rgba(255,255,255,.4); }
#cookie-banner .cookie-decline:hover { border-color: var(--color-white); }

/* ============================================
   Service page callout (offer-led intro)
   ============================================ */
.service-callout {
  background: var(--color-light-bg);
  border-left: 4px solid var(--color-primary);
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 28px;
}
.service-callout p { margin: 0 0 8px; }
.service-callout p:last-child { margin-bottom: 0; }
.service-callout-phones a { font-weight: 700; text-decoration: none; color: var(--color-primary-dark); }
.service-callout-phones a:hover { text-decoration: underline; }
