/* ============================================================
   MERIDIAN THEME — Editorial Portal
   Visual DNA: Investa template adaptation
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #38c8e6;
  --color-primary-rgb: 56, 200, 230;
  --color-primary-dark: #2ab0cc;
  --color-dark: #1a1e2e;
  --color-dark-rgb: 26, 30, 46;
  --color-dark-alt: #232840;
  --color-light: #f4f6fa;
  --color-body: #5a5f72;
  --color-heading: #1a1e2e;
  --color-white: #ffffff;
  --color-border: rgba(255,255,255,0.08);
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-pill: 50px;
  --shadow-card: 0 4px 32px rgba(0,0,0,0.10);
  --shadow-card-hover: 0 8px 48px rgba(0,0,0,0.16);
  --transition: 0.4s cubic-bezier(.4,0,.2,1);
}

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

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary-dark); }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Skip Navigation --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-dark);
  padding: 8px 16px;
  z-index: 10000;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { top: 0; }

/* ============================================================
   BUTTONS — rounded-pill style from Investa DNA
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.4;
}

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

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

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

/* ============================================================
   HEADER / NAVBAR — dark bg sticky nav from Investa DNA
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-dark);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.site-logo img {
  height: 36px;
  width: auto;
}
.site-logo:hover { color: var(--color-primary); }

.site-logo .logo-accent {
  color: var(--color-primary);
}

/* Desktop nav */
.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  position: relative;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

/* Investa-style top/bottom border expand on hover */
.main-nav a::before,
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
  transform: translateX(-50%);
}
.main-nav a::before { top: 0; }
.main-nav a::after { bottom: 0; }

.main-nav a:hover::before,
.main-nav a:hover::after {
  width: 80%;
}

.main-nav a:hover { color: var(--color-white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--color-primary);
  border: none;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--color-dark-alt);
    padding: 80px 24px 32px;
    gap: 4px;
    transition: right var(--transition);
    z-index: 999;
    box-shadow: -8px 0 32px rgba(0,0,0,0.3);
  }
  .main-nav.open { right: 0; }
  .main-nav a {
    font-size: 1rem;
    padding: 12px 16px;
    width: 100%;
    border-radius: var(--radius-sm);
  }
  .main-nav a::before, .main-nav a::after { display: none; }
  .main-nav a:hover { background: rgba(255,255,255,0.05); }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  .nav-overlay.active { opacity: 1; visibility: visible; }
}

/* ============================================================
   HERO — dark overlay with geometric accents from Investa DNA
   ============================================================ */
.hero {
  position: relative;
  background: var(--color-dark);
  overflow: hidden;
  padding: 80px 0 100px;
  min-height: 520px;
  display: flex;
  align-items: center;
}

/* Animated decorative circle — Investa signature */
.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -200px;
  right: -200px;
  border-radius: 50%;
  border: 80px solid rgba(var(--color-primary-rgb), 0.12);
  animation: heroCircle 12s ease-in-out infinite;
  z-index: 1;
}

@keyframes heroCircle {
  0%   { top: -200px; right: -200px; }
  50%  { top: -120px; right: -120px; }
  100% { top: -200px; right: -200px; }
}

/* Animated diagonal stripe — Investa signature */
.hero::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 1100px;
  top: -200px;
  left: 60px;
  transform: rotate(-30deg);
  background: rgba(var(--color-primary-rgb), 0.08);
  animation: heroStripe 6s ease-in-out infinite;
  z-index: 1;
}

@keyframes heroStripe {
  0%   { left: 40px; }
  50%  { left: 80px; }
  100% { left: 40px; }
}

.hero .container { position: relative; z-index: 2; }

.hero-content { max-width: 720px; }

.hero-label {
  display: inline-block;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

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

.hero-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-subtitle p { margin: 0; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero { padding: 56px 0 72px; min-height: auto; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
}

/* ============================================================
   SECTION SHARED — Investa section intro pattern
   ============================================================ */
.section { padding: 80px 0; }
.section-alt { background: var(--color-light); }

.section-label {
  display: inline-block;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 20px;
  max-width: 640px;
}

.section-desc {
  color: var(--color-body);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-title { font-size: 1.65rem; }
}

/* ============================================================
   TOPICS — card grid with hover overlay from Investa DNA
   ============================================================ */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.topic-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition);
}

/* Investa-style bottom fill on hover */
.topic-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--color-dark);
  border-radius: var(--radius-md);
  transition: var(--transition);
  z-index: 0;
}

.topic-card:hover::after { height: 100%; }

.topic-card-inner {
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.topic-card:hover .topic-card-inner { color: rgba(255,255,255,0.85); }

.topic-card .topic-accent {
  display: inline-block;
  width: 48px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.topic-card:hover .topic-accent { width: 64px; }

.topic-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  transition: var(--transition);
}

.topic-card:hover h3 { color: var(--color-white); }

.topic-card .topic-desc {
  font-size: 0.92rem;
  line-height: 1.65;
}
.topic-card .topic-desc p { margin: 0; }

@media (max-width: 768px) {
  .topics-grid { grid-template-columns: 1fr; }
  .topic-card { padding: 28px 24px; }
}

/* ============================================================
   LATEST POSTS — editorial layout
   ============================================================ */
.posts-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}

.post-featured {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-dark);
  min-height: 420px;
}

.post-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0.55;
  transition: var(--transition);
}

.post-featured:hover img { opacity: 0.35; transform: scale(1.04); }

.post-featured-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 36px;
}

.post-featured-content .post-date {
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.post-featured-content h3 {
  color: var(--color-white);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.post-featured-content h3 a {
  color: inherit;
}
.post-featured-content h3 a:hover {
  color: var(--color-primary);
}

.post-featured-content .post-excerpt {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-featured-content .post-excerpt p { margin: 0; }

.posts-list { display: flex; flex-direction: column; gap: 24px; }

.post-item {
  display: flex;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: var(--transition);
}

.post-item:last-child { border-bottom: none; padding-bottom: 0; }

.post-item-thumb {
  flex-shrink: 0;
  width: 110px;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.post-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.post-item:hover .post-item-thumb img { transform: scale(1.08); }

.post-item-body { flex: 1; min-width: 0; }

.post-item-body .post-date {
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.post-item-body h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-item-body h4 a { color: var(--color-heading); }
.post-item-body h4 a:hover { color: var(--color-primary); }

.post-item-body .post-excerpt {
  font-size: 0.85rem;
  color: var(--color-body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-item-body .post-excerpt p { margin: 0; }

@media (max-width: 900px) {
  .posts-layout {
    grid-template-columns: 1fr;
  }
  .post-featured { min-height: 320px; }
}

@media (max-width: 480px) {
  .post-item { flex-direction: column; }
  .post-item-thumb { width: 100%; height: 160px; }
}

/* ============================================================
   FAQ — editorial accordion style
   ============================================================ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.faq-intro { position: sticky; top: 100px; }

.faq-list { display: flex; flex-direction: column; gap: 0; }

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 40px 22px 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-heading);
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  line-height: 1.4;
}

.faq-question:hover { color: var(--color-primary); }

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: "−";
}

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

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 0 22px 0;
}

.faq-answer-inner {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-body);
}

.faq-answer-inner p { margin-bottom: 10px; }
.faq-answer-inner p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .faq-intro { position: static; }
}

/* ============================================================
   BLOG INDEX
   ============================================================ */
.blog-header {
  background: var(--color-dark);
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}

.blog-header::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  top: -180px;
  right: -160px;
  border-radius: 50%;
  border: 70px solid rgba(var(--color-primary-rgb), 0.1);
  z-index: 0;
}

.blog-header .container { position: relative; z-index: 1; }

.blog-header h1 {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.blog-header p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
}

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

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition);
}

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

.blog-card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}

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

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

/* Investa-style cyan overlay on hover */
.blog-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--color-primary-rgb), 0.3);
  opacity: 0;
  transition: var(--transition);
}

.blog-card:hover .blog-card-img::after { opacity: 1; }

.blog-card-body { padding: 28px; }

.blog-card-body .post-date {
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.blog-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

.blog-card-body .post-excerpt {
  font-size: 0.9rem;
  color: var(--color-body);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
}
.blog-card-body .post-excerpt p { margin: 0; }

.blog-card-body .read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}
.blog-card-body .read-more:hover { color: var(--color-dark); }

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-img { height: 180px; }
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-body);
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.1);
  transition: var(--transition);
}

.pagination a:hover,
.pagination a.active {
  background: var(--color-primary);
  color: var(--color-dark);
  border-color: var(--color-primary);
}

.pagination .prev-next {
  font-size: 0.85rem;
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-header {
  background: var(--color-dark);
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}

.post-header::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 900px;
  top: -200px;
  right: 120px;
  transform: rotate(-30deg);
  background: rgba(var(--color-primary-rgb), 0.06);
  z-index: 0;
}

.post-header .container { position: relative; z-index: 1; }

.post-header .post-date {
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.post-header h1 {
  color: var(--color-white);
  font-size: 2.4rem;
  max-width: 740px;
  margin-bottom: 16px;
}

.post-header .post-excerpt-header {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 640px;
}
.post-header .post-excerpt-header p { margin: 0; }

.post-cover {
  margin: -40px auto 0;
  max-width: 900px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.post-cover img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.post-content {
  max-width: 740px;
  margin: 48px auto;
  padding: 0 20px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3a3f52;
}

.post-content h2 { font-size: 1.7rem; margin: 40px 0 16px; }
.post-content h3 { font-size: 1.35rem; margin: 32px 0 12px; }
.post-content p { margin-bottom: 18px; }
.post-content ul, .post-content ol { margin: 0 0 18px 24px; }
.post-content li { margin-bottom: 6px; }
.post-content img { border-radius: var(--radius-sm); margin: 24px 0; }
.post-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--color-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--color-heading);
}
.post-content a { font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   PAGE TEMPLATE
   ============================================================ */
.page-header {
  background: var(--color-dark);
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  top: -180px;
  right: -160px;
  border-radius: 50%;
  border: 70px solid rgba(var(--color-primary-rgb), 0.1);
  z-index: 0;
}

.page-header .container { position: relative; z-index: 1; }

.page-header h1 {
  color: var(--color-white);
  font-size: 2.5rem;
}

.page-content {
  max-width: 780px;
  margin: 56px auto;
  padding: 0 20px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3a3f52;
}

.page-content h2 { font-size: 1.7rem; margin: 40px 0 16px; }
.page-content h3 { font-size: 1.35rem; margin: 32px 0 12px; }
.page-content p { margin-bottom: 18px; }
.page-content ul, .page-content ol { margin: 0 0 18px 24px; }
.page-content li { margin-bottom: 6px; }
.page-content img { border-radius: var(--radius-sm); margin: 24px 0; }
.page-content a { font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   FOOTER — dark footer from Investa DNA
   ============================================================ */
.site-footer {
  background: var(--color-dark);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .site-logo {
  margin-bottom: 16px;
}

.footer-brand .footer-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-contact-email a {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
}
.footer-contact-email a:hover { color: var(--color-white); }

.footer-heading {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-nav { display: flex; flex-direction: column; gap: 0; }

.footer-nav a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  padding: 7px 0;
  transition: var(--transition);
  position: relative;
  padding-left: 16px;
}

/* Investa-style angle icon */
.footer-nav a::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  top: 50%;
  transform: translateY(-50%);
}

.footer-nav a:hover {
  color: var(--color-primary);
  padding-left: 20px;
}

.footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ============================================================
   BACK TO TOP — from Investa DNA
   ============================================================ */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--color-dark); color: var(--color-white); }

/* ============================================================
   FOCUS STYLES
   ============================================================ */
a:focus-visible,
button:focus-visible,
.faq-question:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ============================================================
   UTILITY
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
