/* ===== RANKING.CSS =====
   Page-specific styles for the main ranking page and EEAT content pages
   ================================================= */

/* ===== HERO ===== */

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--navy);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    min-height: 480px;
    justify-content: center;
  }
}

/* CSS Dubai Skyline — purely decorative */
.hero__skyline {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 0 2rem;
  pointer-events: none;
}

/* Fade left edge into navy */
.hero__skyline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100px;
  background: linear-gradient(to right, var(--navy), transparent);
  z-index: 1;
}

.hero__skyline span {
  display: block;
  flex: 1;
  background: var(--navy-mid);
  border-top: 2px solid rgba(201, 168, 76, 0.25);
  min-width: 16px;
  transition: height 0.6s var(--ease-out);
}

/* Varying heights simulating Dubai skyline silhouette */
.hero__skyline span:nth-child(1)  { height: 28%; }
.hero__skyline span:nth-child(2)  { height: 42%; }
.hero__skyline span:nth-child(3)  { height: 60%; }
.hero__skyline span:nth-child(4)  { height: 48%; background: var(--navy-light); }
.hero__skyline span:nth-child(5)  { height: 85%; background: var(--navy-light); border-top-color: rgba(201, 168, 76, 0.45); }
.hero__skyline span:nth-child(6)  { height: 72%; background: var(--navy-light); }
.hero__skyline span:nth-child(7)  { height: 55%; }
.hero__skyline span:nth-child(8)  { height: 38%; background: var(--navy-light); }
.hero__skyline span:nth-child(9)  { height: 62%; }
.hero__skyline span:nth-child(10) { height: 32%; }

/* Radial glow behind skyline */
.hero__skyline::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 10%;
  width: 300px;
  height: 200px;
  background: radial-gradient(ellipse at bottom, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: var(--space-12) 0 var(--space-6);
}

@media (min-width: 768px) {
  .hero__inner {
    max-width: 55%;
    padding: var(--space-10) 0;
  }
}

.hero__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--text-5xl);
  }
}

.hero__title .hero__title-accent {
  display: block;
  color: var(--gold);
}

.hero__sub {
  font-size: var(--text-base);
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .hero__sub {
    font-size: var(--text-lg);
  }
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  background: transparent;
  color: var(--gold);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  transition: background var(--duration), color var(--duration), transform var(--duration);
}

.hero__cta:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}

.hero__cta::after {
  content: '↓';
  font-size: var(--text-base);
}

/* Stats bar */
.hero__stat-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 2;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.hero__stat {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  padding: var(--space-4) var(--space-6);
  border-right: 1px solid var(--border-light);
}

.hero__stat:last-child {
  border-right: none;
}

.hero__stat-n {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.2;
}

.hero__stat-l {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: var(--space-1);
}

/* ===== INTRO SECTION ===== */

.section-intro {
  padding: var(--space-12) 0;
  background: var(--navy);
}

@media (min-width: 768px) {
  .section-intro {
    padding: var(--space-16) 0;
  }
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .intro__grid {
    grid-template-columns: 1fr 320px;
    gap: var(--space-12);
    align-items: start;
  }
}

.intro__body p {
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .intro__body p {
    font-size: var(--text-lg);
  }
}

/* Editorial note aside */
.editorial-note {
  background: var(--navy-mid);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--space-6);
}

.editorial-note__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}

.editorial-note p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-2);
}

.editorial-note__date {
  font-size: var(--text-xs);
  color: var(--text-muted);
  opacity: 0.7;
}

/* ===== CRITERIA / METHODOLOGY CALLOUT ===== */

.section-criteria {
  padding: var(--space-12) 0;
  background: var(--navy-mid);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .section-criteria {
    padding: var(--space-16) 0;
  }
}

.criteria-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.criteria-link {
  font-size: var(--text-sm);
  color: var(--gold);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color var(--duration);
}

.criteria-link:hover {
  border-bottom-color: var(--gold);
  color: var(--gold-light);
}

.criteria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

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

@media (min-width: 768px) {
  .criteria-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.criteria-card {
  background: var(--navy);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--space-6);
  transition: box-shadow var(--duration), transform var(--duration);
}

.criteria-card:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.criteria-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-4);
  color: var(--gold);
}

.criteria-card__icon svg {
  width: 100%;
  height: 100%;
}

.criteria-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-3);
}

.criteria-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== RANKING TABLE ===== */

.section-table {
  padding: var(--space-12) 0;
  background: var(--navy);
}

@media (min-width: 768px) {
  .section-table {
    padding: var(--space-16) 0;
  }
}

.table-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.ranking-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.ranking-table thead {
  /* sticky removed — causes row 1 to hide behind header when scrolling */
}

.ranking-table th {
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  white-space: nowrap;
}

.ranking-table td {
  padding: var(--space-4);
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.ranking-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.ranking-table tbody tr:hover td {
  background: rgba(201, 168, 76, 0.05);
  color: var(--white);
}

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

/* Column widths */
.col-rank {
  width: 52px;
  min-width: 52px;
  text-align: center !important;
}

.col-agency {
  min-width: 160px;
  font-weight: 500;
  color: var(--white);
}

.col-specialty {
  min-width: 180px;
}

.col-best {
  min-width: 180px;
}

.col-score {
  min-width: 72px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--gold) !important;
  text-align: right;
}

/* Rank badges */
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  flex-shrink: 0;
}

.rank-badge--gold {
  background: var(--gold);
  color: var(--navy);
}

.rank-badge--silver {
  background: #C0C8D0;
  color: var(--navy);
}

.rank-badge--bronze {
  background: #B87333;
  color: var(--white);
}

.rank-badge--default {
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  background: transparent;
}

/* Agency name in table */
.agency-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.agency-name strong {
  color: var(--white);
  font-weight: 600;
}

.agency-name span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ===== AGENCY CARDS ===== */

.section-agencies {
  padding: var(--space-12) 0;
  background: var(--navy);
}

@media (min-width: 768px) {
  .section-agencies {
    padding: var(--space-16) 0;
  }
}

.agency-card {
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
  background: var(--navy-mid);
  transition: border-left-color var(--duration), box-shadow var(--duration), transform var(--duration);
}

.agency-card:hover {
  border-left-color: var(--gold-light);
  box-shadow: var(--shadow-gold);
  transform: translateX(2px);
}

.agency-card--top {
  border-left-color: var(--gold);
  box-shadow: 0 0 0 1px var(--border-subtle), inset 0 0 40px rgba(201, 168, 76, 0.03);
}

.agency-card__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.agency-card__rank {
  flex-shrink: 0;
  padding-top: 2px;
}

.agency-card__identity {
  flex: 1;
  min-width: 0;
}

.agency-card__name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-1);
  line-height: 1.2;
}

.agency-card__tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.4;
}

.agency-card__score {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
  margin-left: auto;
}

.score-value {
  font-family: var(--font-mono);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.score-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.agency-card__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

@media (min-width: 768px) {
  .agency-card__body {
    grid-template-columns: repeat(3, 1fr);
  }
}

.agency-card__detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.detail-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

.detail-value {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.agency-card__review {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* GEO badge — special treatment for agencies with GEO capability */
.geo-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 2px var(--space-2);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-left: var(--space-2);
  vertical-align: middle;
}

/* ===== BUYER'S GUIDE ===== */

.section-guide {
  padding: var(--space-12) 0;
  background: var(--off-white);
}

@media (min-width: 768px) {
  .section-guide {
    padding: var(--space-16) 0;
  }
}

.section-guide .section-title {
  color: var(--navy);
}

.guide__lead {
  max-width: 580px;
  color: var(--text-dark);
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.guide__body {
  max-width: 740px;
}

.guide__body > .guide-cards {
  max-width: none;
}

.guide__body h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--navy);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.guide__body p {
  color: var(--text-dark);
  font-size: var(--text-base);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .guide__body p {
    font-size: var(--text-lg);
  }
}

.guide__body a {
  color: var(--navy-light);
  text-decoration: underline;
  text-decoration-color: rgba(26, 50, 96, 0.3);
}

.guide__body a:hover {
  color: var(--navy);
  text-decoration-color: var(--navy);
}

/* ===== MARKET CONTEXT CALLOUT (inside context section) ===== */

.market-callout {
  margin: var(--space-8) 0;
  padding: var(--space-8);
  background: var(--navy-mid);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  max-width: 740px;
}

.market-callout__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}

.market-callout__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 599px) {
  .market-callout__stats {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.market-stat__n {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: var(--space-1);
}

.market-stat__l {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== UAE CONTEXT SECTION ===== */

.section-context {
  padding: var(--space-12) 0;
  background: var(--navy);
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .section-context {
    padding: var(--space-16) 0;
  }
}

.section-context .section-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .section-context .section-title {
    font-size: var(--text-3xl);
  }
}

.section-context p {
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.8;
  max-width: 740px;
}

@media (min-width: 768px) {
  .section-context p {
    font-size: var(--text-lg);
  }
}

/* ===== GEO CALLOUT BLOCK ===== */

.section-geo {
  padding: var(--space-12) 0;
  background: var(--navy-mid);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .section-geo {
    padding: var(--space-16) 0;
  }
}

.geo-callout {
  position: relative;
  background: linear-gradient(135deg, rgba(17, 32, 64, 0.95) 0%, rgba(26, 50, 96, 0.5) 100%);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: var(--space-12);
  overflow: hidden;
}

/* Gold radial glow top-right */
.geo-callout::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

/* Decorative diagonal line */
.geo-callout::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, transparent 50%, rgba(201, 168, 76, 0.04) 50%);
  pointer-events: none;
}

.geo-callout__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
  padding: var(--space-1) var(--space-3);
  border-radius: 100px;
  margin-bottom: var(--space-4);
}

.geo-callout__label svg {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.geo-callout__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-4);
  position: relative;
}

@media (min-width: 768px) {
  .geo-callout__title {
    font-size: var(--text-4xl);
    max-width: 600px;
  }
}

.geo-callout__body {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 640px;
  position: relative;
}

@media (min-width: 768px) {
  .geo-callout__body {
    font-size: var(--text-lg);
  }
}

/* ===== FAQ ACCORDION ===== */

.section-faq {
  padding: var(--space-12) 0;
  background: var(--navy);
}

@media (min-width: 768px) {
  .section-faq {
    padding: var(--space-16) 0;
  }
}

.faq-list {
  max-width: 760px;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-subtle);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  cursor: pointer;
  list-style: none;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--white);
  transition: color var(--duration);
}

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

.faq-summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease-out);
  line-height: 1;
}

details[open] > .faq-summary::after {
  transform: rotate(45deg);
}

.faq-summary:hover {
  color: var(--gold);
}

@media (min-width: 768px) {
  .faq-summary {
    font-size: var(--text-lg);
  }
}

.faq-body {
  padding-bottom: var(--space-6);
}

.faq-body p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.faq-body p:last-child {
  margin-bottom: 0;
}

/* ===== HERO AI NOTICE ===== */

.hero__ai-notice {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.hero__ai-notice strong {
  color: var(--gold-light);
  font-weight: 600;
}

.hero__ai-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(201,168,76,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(201,168,76,0); }
}

/* ===== PORTAL STAT STRIP (visual break in intro) ===== */

.portal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  margin: var(--space-8) 0;
}

.portal-stat {
  background: var(--navy-mid);
  padding: var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.portal-stat__n {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.2;
}

.portal-stat__l {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.4;
}

/* ===== GUIDE NUMBERED CARDS ===== */

.guide-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

@media (min-width: 768px) {
  .guide-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.guide-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.12);
}

/* Subtle corner accent */
.guide-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.guide-card__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 600;
  color: rgba(201,168,76,0.25);
  line-height: 1;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.guide-card h3 {
  font-family: var(--font-body) !important;
  font-size: var(--text-base) !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  margin: 0 0 var(--space-3) 0 !important;
  letter-spacing: 0 !important;
}

.guide-card p {
  font-size: var(--text-sm) !important;
  color: var(--text-muted) !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

/* ===== AGENCY CTA FOOTER ===== */

.agency-card__footer {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.agency-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 22px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
  transition: background var(--duration), box-shadow var(--duration), transform var(--duration);
}

.agency-cta:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
  transform: translateY(-1px);
}

/* ===== FAQ h3 inside summary ===== */

.faq-summary .faq-q {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  font-family: var(--font-body);
  line-height: inherit;
}

/* ===== SCROLL MARGIN for anchor target ===== */

.section-table {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

/* ===== LAST UPDATED BAR ===== */

.last-updated {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--border-subtle);
}

.last-updated p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

.last-updated a {
  color: var(--gold);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color var(--duration);
}

.last-updated a:hover {
  border-bottom-color: var(--gold);
}
