/* ==========================================================================
   RHER ABOUT US PAGE
   ========================================================================== */


/* Draft Notice (full-width, outside page-content) */
.about-draft-notice {
  background: #FFF3E0;
  border-bottom: 1px solid rgba(230, 81, 0, 0.2);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-primary);
  text-align: center;
}


/* ==========================================================================
   SECTION 1: HERO
   ========================================================================== */

.about-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .about-hero {
    min-height: 560px;
  }
}

.about-hero-bg {
  position: absolute;
  inset: 0;
}

.about-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 42, 74, 0.72) 0%,
    rgba(30, 42, 74, 0.58) 50%,
    rgba(30, 42, 74, 0.75) 100%
  );
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-4);
  text-align: center;
}

@media (min-width: 768px) {
  .about-hero-content {
    padding: var(--space-16) var(--space-8);
  }
}

.about-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.15rem + 2.2vw, 2.75rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: var(--space-4);
  text-wrap: balance;
}

.about-hero-subhead {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  margin-bottom: var(--space-8);
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* btn-outline-light and btn-lg are defined in home.css; duplicate here for standalone */
.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  min-height: 52px;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.7);
}


/* ==========================================================================
   SHARED SECTION STYLES
   ========================================================================== */

.about-section {
  padding: var(--space-16) 0;
}

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

.about-section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-4);
  text-align: center;
  line-height: 1.2;
}

.about-section-title--left {
  text-align: left;
}

.about-section-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  text-align: center;
  max-width: 60ch;
  margin: 0 auto var(--space-10);
  line-height: 1.6;
}

.about-body-text {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
}

.about-body-text p + p {
  margin-top: var(--space-4);
}


/* ==========================================================================
   SECTION 2: WHO WE ARE (Two-column)
   ========================================================================== */

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

.about-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 900px) {
  .about-two-col {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}

.about-two-col-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-consultation-img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}


/* ==========================================================================
   SECTION 3: FOUR PILLARS
   ========================================================================== */

.about-pillars {
  background: var(--color-bg-alt);
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

@media (min-width: 1024px) {
  .about-pillars-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
  }
}

.about-pillar {
  text-align: center;
  padding: var(--space-6);
}

.about-pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-pillar-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.about-pillar h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.about-pillar p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 32ch;
  margin: 0 auto;
}


/* ==========================================================================
   SECTION 4: OUR PROMISE
   ========================================================================== */

.about-promise {
  background: var(--color-navy);
}

.about-promise-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: var(--space-3);
}

.about-promise-intro {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: var(--space-8);
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

.about-promise-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-promise-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}

.about-promise-list li svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}


/* ==========================================================================
   SECTION 5: ADVISER CAROUSEL
   ========================================================================== */

.about-advisers {
  background: var(--color-bg-alt);
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.carousel-track-container {
  overflow: hidden;
  flex: 1;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.carousel-card {
  flex: 0 0 180px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition:
    box-shadow var(--transition-slow),
    border-color var(--transition-slow);
}

.carousel-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.carousel-avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-full);
}

.carousel-initials {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-grey-light);
  user-select: none;
}

.carousel-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 2px;
  line-height: 1.3;
}

.carousel-role {
  font-size: var(--text-xs);
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

.carousel-link {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
}

.carousel-card:hover .carousel-link {
  text-decoration: underline;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-interactive);
  cursor: pointer;
}

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

.carousel-btn svg {
  width: 20px;
  height: 20px;
  color: var(--color-navy);
}

.carousel-btn:disabled {
  cursor: default;
}

.about-cta-wrap {
  text-align: center;
  margin-top: var(--space-10);
}


/* ==========================================================================
   SECTION 6: REGULATED & PROTECTED
   ========================================================================== */

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

.about-reg-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.about-reg-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.6;
}

.about-reg-list li svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.about-logos {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: var(--space-6) 0;
}

.about-logo-link {
  display: block;
  transition: opacity var(--transition-interactive);
}

.about-logo-link:hover {
  opacity: 0.8;
}

.about-logo-img {
  display: block;
  height: auto;
  border-radius: var(--radius-md);
}

.about-logo-erc {
  max-width: 200px;
}

.about-logo-fca {
  max-width: 220px;
}

.about-reg-fine-print {
  margin-top: var(--space-8);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
  line-height: 1.6;
  max-width: 100%;
}


/* ==========================================================================
   SECTION 7: RISK DISCLAIMER
   ========================================================================== */

.about-risk {
  background: var(--color-bg-warm);
  padding: var(--space-10) 0;
}

.about-risk-inner {
  max-width: 800px;
  margin: 0 auto;
}

.about-risk-inner p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 100%;
}

.about-risk-inner p + p {
  margin-top: var(--space-4);
}


/* ==========================================================================
   SECTION 8: CLOSING CTA
   ========================================================================== */

.about-closing-cta {
  background: var(--color-primary);
  text-align: center;
  padding: var(--space-12) 0;
}

@media (min-width: 768px) {
  .about-closing-cta {
    padding: var(--space-16) 0;
  }
}

.about-closing-cta h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--space-3);
}

.about-closing-cta p {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
  max-width: 50ch;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}

.about-closing-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.about-btn-white {
  background: #FFFFFF;
  color: var(--color-primary);
  font-weight: 600;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  min-height: 52px;
}

.about-btn-white:hover {
  background: #F5F5F5;
}

.about-btn-white-ghost {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  font-weight: 600;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  min-height: 52px;
}

.about-btn-white-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
}


/* ==========================================================================
   FOOTER MARGIN OVERRIDE (about page has no page-content wrapper)
   ========================================================================== */

.about-closing-cta + .site-footer {
  margin-top: 0;
}
