/* ============================================
   LUNA RECOVERY EXPERTS — Swiss Recovery Law Firm
   Plain HTML + Shared CSS | Light Mode Only
   Date: August 6, 2026
   No emojis. Professional law firm styling.
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

:root {
  --ink: #0a1628;
  --body: #1a1d2e;
  --muted: #4a4d5e;
  --line: #e0e2ea;
  --gold: #c9a84c;
  --gold-dark: #b8953e;
  --paper: #ffffff;
  --mist: #f8f9fa;
  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--body);
  background-color: var(--paper);
  overflow-x: hidden;
}

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

/* ---------- UTILITY CLASSES ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #0a1628;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #0a1628;
  margin-bottom: 24px;
  border-bottom: 2px solid #c9a84c;
  padding-bottom: 8px;
}

h3 {
  font-size: 1.15rem;
  color: #0a1628;
  margin-bottom: 8px;
}

p {
  font-size: 1rem;
  color: #4a4d5e;
  margin-bottom: 16px;
}

/* ---------- HEADER / NAVIGATION ---------- */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e2ea;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #0a1628;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  min-width: 0;
}

.logo-img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  line-height: 1.2;
  min-width: 0;
}

.logo-accent {
  color: #c9a84c;
}

.logo-name {
  color: #0a1628;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 10px 0;
}

.header-nav-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #e0e2ea;
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #0a1628;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.nav-link {
  text-decoration: none;
  color: #4a4d5e;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
  padding: 8px 4px;
  white-space: nowrap;
}

.nav-link:hover {
  color: #c9a84c;
}

.header-cta {
  text-decoration: none;
  background-color: #c9a84c;
  color: #0a1628;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  transition: background-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta:hover {
  background-color: #b8953e;
  transform: translateY(-1px);
}

/* ---------- COMPLIANCE BANNER ---------- */
.compliance-banner {
  background-color: #0a1628;
  color: #f0f2f5;
  padding: 12px 0;
  border-bottom: 2px solid #c9a84c;
}

.compliance-banner p {
  color: #f0f2f5;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  position: relative;
  padding: 72px 0 80px;
  background: linear-gradient(180deg, #f3f5f8 0%, #ffffff 70%);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
}

.hero-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(30%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.hero-content h1 {
  color: #0a1628;
  margin-bottom: 16px;
  animation: rise-in 0.7s ease both;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 12px;
  animation: rise-in 0.55s ease both;
}

.hero-subtext {
  font-size: 1.05rem;
  color: #4a4d5e;
  margin-bottom: 20px;
  line-height: 1.7;
  animation: rise-in 0.8s ease 0.05s both;
}

.hero-points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  animation: rise-in 0.85s ease 0.1s both;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: #1a1d2e;
  font-size: 0.98rem;
  font-weight: 600;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: #c9a84c;
}

.hero-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #e0e2ea;
  animation: rise-in 1s ease 0.15s both;
}

.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- FORMS ---------- */
.hero-form {
  background-color: #ffffff;
  border: 1px solid #e0e2ea;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  animation: rise-in 0.9s ease 0.12s both;
}

.form-title {
  font-size: 1.6rem;
  border-bottom: none;
  margin-bottom: 8px;
  padding-bottom: 0;
}

.form-intro {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.form-compliance {
  font-size: 0.78rem;
  color: #6a6d7e;
  margin-bottom: 14px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1d2e;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d0d6de;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #1a1d2e;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c9a84c;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

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

.submit-button {
  width: 100%;
  padding: 14px 28px;
  background-color: #c9a84c;
  color: #0a1628;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.submit-button:hover {
  background-color: #b8953e;
  transform: translateY(-1px);
}

.submit-button:active {
  transform: translateY(0);
}

.hero-trust-text {
  font-size: 0.85rem;
  color: #6a6d7e;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #f0f2f5;
}

/* ---------- ABOUT SECTION ---------- */
.about-section {
  background-color: #ffffff;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
}

.about-figure,
.process-figure,
.contact-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #e0e2ea;
}

.about-figure img,
.process-figure img,
.contact-figure img,
.contact-side-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.process-figure {
  margin: 0 0 32px;
  max-height: 320px;
}

.process-figure img {
  max-height: 320px;
}

/* ---------- SERVICES SECTION ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.service-card {
  background-color: #ffffff;
  border: 1px solid #e0e2ea;
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: #c9a84c;
  transform: translateY(-2px);
}

.service-card h3 a,
.article-links a {
  color: #0a1628;
  text-decoration: none;
}

.service-card h3 a:hover,
.article-links a:hover {
  color: #c9a84c;
}

/* ---------- ARTICLE / HOW-TO PAGES ---------- */
.page-hero {
  position: relative;
  padding: 56px 0 48px;
  background: linear-gradient(180deg, #f3f5f8 0%, #ffffff 100%);
  overflow: hidden;
}

.page-hero-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}

.page-hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 16px;
  color: #6a6d7e;
}

.breadcrumb a {
  color: #0a1628;
  text-decoration: none;
  font-weight: 600;
}

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

.page-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 12px;
}

.page-lead {
  font-size: 1.1rem;
  color: #4a4d5e;
  margin-bottom: 0;
}

.article-section {
  padding: 64px 0;
}

.article-body {
  max-width: 760px;
}

.article-body h2 {
  margin-top: 32px;
}

.article-figure {
  margin: 32px 0;
  border: 1px solid #e0e2ea;
  overflow: hidden;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.article-cta {
  margin-top: 40px;
  padding: 28px;
  background: #f8f9fa;
  border: 1px solid #e0e2ea;
}

.article-cta h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.article-links {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e0e2ea;
}

.article-links h3 {
  margin-bottom: 12px;
}

.article-links ul {
  list-style: none;
  padding: 0;
}

.article-links li {
  margin-bottom: 8px;
}

/* ---------- HOW IT WORKS SECTION ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.step-card {
  background-color: #ffffff;
  border: 1px solid #e0e2ea;
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step-card:hover {
  border-color: #c9a84c;
  transform: translateY(-2px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #f8f9fa;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  color: #c9a84c;
  margin-bottom: 16px;
}

/* ---------- PARTNERS SECTION ---------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.partner-card {
  background-color: #ffffff;
  border: 1px solid #e0e2ea;
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.partner-card:hover {
  border-color: #c9a84c;
  transform: translateY(-2px);
}

.partner-card a {
  display: block;
  text-decoration: none;
  color: #0a1628;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.partner-card a:hover {
  color: #c9a84c;
}

/* ---------- FAQ SECTION (main page) ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e2ea;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: #c9a84c;
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  background-color: #ffffff;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1d2e;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: #f8f9fa;
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 0.95rem;
  color: #4a4d5e;
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ---------- CONTACT SECTION ---------- */
.contact-section {
  background-color: #f8f9fa;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h2 {
  margin-bottom: 24px;
}

.contact-detail {
  padding: 16px 0;
  border-bottom: 1px solid #e0e2ea;
}

.contact-detail:last-child {
  border-bottom: none;
}

.contact-detail p {
  margin-bottom: 8px;
}

.contact-detail strong {
  color: #0a1628;
  font-weight: 700;
}

.contact-detail a {
  color: #0a1628;
  text-decoration: none;
  font-weight: 600;
}

.contact-detail a:hover {
  color: #c9a84c;
}

.contact-figure {
  margin-top: 24px;
}

.contact-cta-panel {
  background: #ffffff;
  border: 1px solid #e0e2ea;
  padding: 28px;
}

.contact-cta-panel h3 {
  margin-bottom: 12px;
}

.contact-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin: 8px 0 20px;
  width: auto;
  min-width: 220px;
}

.contact-side-image {
  max-height: 260px;
  border: 1px solid #e0e2ea;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background-color: #0a1628;
  color: #9ca3af;
  padding: 48px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 32px;
}

.footer-col h3 {
  color: #c9a84c;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: #c9a84c;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- RESPONSIVE ---------- */

/* Large desktop */
@media (min-width: 1200px) {
  .container {
    padding: 0 32px;
  }

  .hero-inner {
    gap: 64px;
    align-items: center;
  }

  .section {
    padding: 96px 0;
  }

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

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet landscape / small desktop */
@media (max-width: 1100px) {
  .main-nav {
    gap: 8px 16px;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .header-cta {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-form {
    max-width: 640px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .section {
    padding: 64px 0;
  }

  .page-hero {
    padding: 48px 0 40px;
  }
}

/* Tablet portrait / mobile nav */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    flex-wrap: wrap;
    align-items: center;
    min-height: 64px;
    padding: 8px 0;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-nav-wrap {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    margin-left: 0;
    padding: 12px 0 4px;
    border-top: 1px solid #e0e2ea;
  }

  .site-header.nav-open .header-nav-wrap {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #f0f2f5;
    white-space: normal;
  }

  .header-cta {
    width: 100%;
    text-align: center;
    margin-top: 12px;
    padding: 14px 20px;
  }

  .logo-link {
    font-size: 1rem;
    max-width: calc(100% - 56px);
  }

  .logo-name {
    display: inline;
  }

  .compliance-banner p {
    font-size: 0.8rem;
  }

  .hero-section {
    padding: 40px 0 56px;
  }

  .hero-form {
    max-width: none;
    padding: 24px 20px;
  }

  .hero-figure {
    display: none;
  }

  .hero-points li {
    font-size: 0.92rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-inner {
    max-width: none;
  }

  .services-grid,
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 16px 14px;
  }

  .contact-cta-link {
    width: 100%;
  }

  .contact-side-image {
    max-height: 220px;
  }

  .article-section {
    padding: 48px 0;
  }

  .article-cta {
    padding: 20px;
  }

  .page-lead {
    font-size: 1rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  h1 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  h2 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .logo-img {
    width: 36px;
    height: 36px;
  }

  .logo-name {
    display: none;
  }

  .logo-accent {
    font-size: 1.05rem;
  }

  .hero-subtext,
  .page-lead {
    font-size: 0.95rem;
  }

  .hero-form {
    padding: 20px 16px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }

  .submit-button,
  .header-cta {
    min-height: 48px;
  }

  .service-card,
  .step-card,
  .partner-card {
    padding: 20px;
  }

  .process-figure {
    max-height: 220px;
  }

  .process-figure img {
    max-height: 220px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-content h1,
  .hero-eyebrow,
  .hero-subtext,
  .hero-points,
  .hero-figure,
  .hero-form {
    animation: none;
  }

  .service-card:hover,
  .step-card:hover,
  .partner-card:hover,
  .submit-button:hover,
  .header-cta:hover {
    transform: none;
  }
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: #f0f2f5;
}

::-webkit-scrollbar-thumb {
  background-color: #c9a84c;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #b8953e;
}
