@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #1b3a5c;
  --ink-soft: #56697a;
  --ink-faint: #8a97a3;
  --paper: #fffdf9;
  --paper-soft: #f6f2ea;
  --paper-card: #ffffff;
  --paper-a: rgba(255,253,249,0.55);
  --paper-soft-a: rgba(246,242,234,0.58);
  --card-a: rgba(255,255,255,0.74);
  --accent: #b1832f;
  --accent-dark: #8f6a25;
  --accent-soft: #e9dcbf;
  --navy: #1b3a5c;
  --line: #e8e2d4;
  --max: 1040px;
  --shadow-sm: 0 2px 10px rgba(22,33,44,0.06);
  --shadow-md: 0 12px 32px rgba(22,33,44,0.12);
  --shadow-lg: 0 24px 60px rgba(22,33,44,0.18);

  /* Extra accent palette used for icon badges, blobs, category tags */
  --hue-1: #b1832f; /* gold */
  --hue-2: #2f8f7a; /* teal */
  --hue-3: #c96a4a; /* terracotta */
  --hue-4: #3c6ea5; /* steel blue */
}

/* Business/events pages use a teal-forward accent instead of gold */
body.theme-events {
  --accent: #2f8f7a;
  --accent-dark: #226657;
  --accent-soft: #d7ebe4;
}

* { box-sizing: border-box; }

/* Visually hide content while keeping it available to screen readers (form labels) */
.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;
}

html { scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Full-page background photo: fixed behind every section (set via inline style per page),
   fading out before the dark contact section at the bottom. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: var(--page-photo);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.4;
  filter: grayscale(10%);
}

a { color: inherit; text-decoration: none; }

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

h1, h2, h3 { font-family: "Inter", "Helvetica Neue", Arial, sans-serif; font-weight: 800; letter-spacing: -0.02em; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,253,249,0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

header.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255,253,249,0.98);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1240px;
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.005em;
  font-size: 16px;
  white-space: nowrap;
  color: var(--ink);
  flex-shrink: 0;
}

.brand a.li-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  overflow: hidden;
}
.brand img { width: 100%; height: 100%; object-fit: contain; padding: 5px; box-sizing: border-box; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

nav.main-nav a {
  color: var(--ink-soft);
  padding: 4px 0;
  position: relative;
}
nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  transition: right 0.25s ease;
}
nav.main-nav a:hover { color: var(--ink); }
nav.main-nav a:hover::after { right: 0; }

/* Cross-activity link ("Gestion de projets ↗" / "Immobilier ↗") — styled as a distinct
   pill rather than a plain nav link, so switching between the two activities reads as
   a deliberate "change mode" action, not just another menu item. */
nav.main-nav a.cross-link {
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft);
  border-radius: 20px;
  padding: 6px 14px;
  text-transform: none;
  letter-spacing: 0.01em;
}
nav.main-nav a.cross-link::after { content: none; }
nav.main-nav a.cross-link:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; }
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}
.lang-switch a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.lang-switch a:not(.active):hover { border-color: var(--accent); color: var(--accent); }

/* Mobile menu toggle (hidden on desktop; nav-collapse is transparent to layout via display:contents) */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  font-size: 16px;
  order: 2;
}
.nav-collapse { display: contents; }

@media (max-width: 700px) {
  .nav-inner { flex-wrap: wrap; align-items: center; }
  .brand { order: 1; flex: 1 1 auto; }
  .nav-toggle { display: flex; }
  .lang-switch { order: 3; }

  .nav-collapse {
    display: none;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  .nav-collapse.open { display: flex; }

  nav.main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header-cta { flex-direction: column; align-items: stretch; width: 100%; }
  .header-cta a { text-align: center; }
  .header-cta a.secondary { display: block; }

  /* On the simplified legal-page header (cgv/, confidentialite/) there is no
     .nav-collapse wrapper — nav.main-nav sits directly in .nav-inner. Without this,
     it inherits the default order (0) while .brand is now order 1, so the nav links
     would render ABOVE the logo/name on small screens. Only match the direct-child
     case so the normal (wrapped) nav-collapse layout on other pages is untouched. */
  .nav-inner > nav.main-nav { order: 2; flex-basis: 100%; }
}

/* Hero — a light translucent wash over the fixed page photo, not a solid block */
section.hero {
  position: relative;
  text-align: center;
  padding: 128px 24px 112px;
  background:
    radial-gradient(560px 320px at 12% -10%, rgba(177,131,47,0.20), transparent 60%),
    radial-gradient(520px 300px at 88% 6%, rgba(47,143,122,0.16), transparent 60%),
    radial-gradient(480px 260px at 60% 100%, rgba(201,106,74,0.12), transparent 60%),
    linear-gradient(180deg, rgba(255,253,249,0.12), rgba(255,253,249,0.22) 65%, var(--paper-a) 100%);
  overflow: hidden;
  isolation: isolate;
  clip-path: none;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow, .hero h1, .hero .role, .hero .tagline, .hero .badges-row, .hero-cta {
  animation: heroRise 0.8s ease both;
}
.hero h1 { animation-delay: 0.18s; }
.hero .role { animation-delay: 0.28s; }
.hero .tagline { animation-delay: 0.38s; }
.hero .badges-row { animation-delay: 0.48s; }
.hero-cta { animation-delay: 0.58s; }

/* Optional background video (behind everything, only shows if a real file is provided) */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.16;
}

section.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 56px;
  background: var(--paper-a);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 34px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.025em;
  line-height: 1.05;
  position: relative;
  z-index: 2;
}

.hero .role {
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
  display: inline-block;
  padding-bottom: 14px;
}
.hero .role::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--hue-1), var(--hue-2), var(--hue-3));
  border-radius: 3px;
}

.hero .tagline {
  max-width: 580px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 19.5px;
  position: relative;
  z-index: 2;
}

/* Hero call-to-action — the punchy, unmissable next step */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  padding: 16px 34px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  z-index: 2;
}
.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* USP trust line — a quiet row of facts separated by dots, not busy pill cards */
.badges-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 10px;
  margin-top: 32px;
  position: relative;
  z-index: 2;
}

.badges-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}

.badges-row span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 16px;
  vertical-align: middle;
}

/* On narrow phones the badges use white-space:nowrap so each badge stays on one line;
   the longer FR/NL badge text ("Portefeuille restreint, suivi personnalisé") can then
   overflow the viewport width. Stack badges one-per-line and let them wrap instead. */
@media (max-width: 420px) {
  .badges-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .badges-row span {
    white-space: normal;
    text-align: center;
  }
  .badges-row span:not(:last-child)::after {
    content: none;
  }
}

/* Header dual CTA (inspired by templace.eu's "Je cherche / Je propose" pair) */
.header-cta {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-cta a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  font-size: 12px;
  font-weight: 700;
  padding: 0 18px;
  border-radius: 30px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  box-sizing: border-box;
}

.header-cta a.primary {
  background: var(--navy);
  color: #fff;
}
.header-cta a.primary:hover { background: var(--accent); }

.header-cta a.secondary {
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.header-cta a.secondary:hover { border-color: var(--accent); color: var(--accent-dark); }

/* Steps ("Comment ça se passe") */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

@media (max-width: 800px) {
  .steps-grid { grid-template-columns: 1fr; }
}

.step-card {
  background: var(--card-a);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 26px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-card .step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* FAQ accordion (native details/summary, no JS needed) */
.faq-list { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }

details.faq-item {
  background: var(--card-a);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 22px;
}

details.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  color: var(--ink);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 20px;
  color: var(--accent);
  font-weight: 700;
  transition: transform 0.2s ease;
}
details.faq-item[open] summary::after { content: "–"; }

details.faq-item p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* Sections */
section { padding: 84px 24px; background: var(--paper-a); backdrop-filter: blur(7px); }
section.alt { background: var(--paper-soft-a); }

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

h2 {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 22px;
  letter-spacing: -0.015em;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 700px) {
  .two-col { grid-template-columns: 1fr; }
  section { padding: 60px 20px; }
  section.hero { padding: 88px 20px 72px; }
  .hero h1 { font-size: 34px; }
}

.two-col img {
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.two-col img:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

p.lead { color: var(--ink-soft); font-size: 16.5px; }

/* Properties */
.properties-box {
  text-align: center;
  padding: 48px 40px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card-a);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}
.properties-box:hover { box-shadow: var(--shadow-md); }

.properties-box img { margin: 0 auto 24px; max-width: 220px; }

.properties-box a.btn {
  display: inline-block;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 14px;
}

/* Legal */
.legal-text {
  font-size: 13.5px;
  color: var(--ink-soft);
  background: var(--card-a);
  backdrop-filter: blur(6px);
  padding: 28px 32px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.legal-text p { margin: 0 0 12px; }
.legal-text p:last-child { margin-bottom: 0; }

.legal-logo { width: 150px; margin-top: 24px; }

/* Contact */
section#contact { background: var(--navy); color: #fff; border-radius: 28px 28px 0 0; }
section#contact .eyebrow { color: var(--accent-soft); justify-content: center; }
section#contact .eyebrow::before { background: var(--accent-soft); }
section#contact h2 { color: #fff; }
section#contact p.lead { color: rgba(255,255,255,0.65); }

form.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 480px;
  margin: 0 auto;
}

form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  background: rgba(255,255,255,0.06);
  color: #fff;
}
form.contact-form input::placeholder,
form.contact-form textarea::placeholder { color: rgba(255,255,255,0.4); }

form.contact-form input:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.1);
}

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

form.contact-form button {
  justify-self: start;
  padding: 13px 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

form.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(177,131,47,0.4);
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 14px;
}

.consent-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 9px;
  width: 100%;
  box-sizing: border-box;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
  text-align: left;
}
.consent-check input {
  margin: 3px 0 0;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.consent-check span { min-width: 0; }
.consent-check a { color: rgba(255,255,255,0.9); text-decoration: underline; }
.consent-check a:hover { color: var(--accent-soft); }

/* Footer */
footer.site-footer {
  text-align: center;
  padding: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  background: var(--navy);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
  font-size: 12px;
}
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.footer-links a:hover { color: #fff; }

/* Simple legal-page prose (privacy policy, CGV) */
.legal-page { max-width: 760px; margin: 0 auto; }
.legal-page h1 { font-size: 32px; margin: 0 0 8px; }
.legal-page .updated { font-size: 13px; color: var(--ink-faint); margin-bottom: 36px; }
.legal-page h2 { font-size: 19px; margin: 34px 0 12px; }
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 15px; line-height: 1.75; }
.legal-page ul { padding-left: 20px; }
.legal-page a { text-decoration: underline; color: var(--ink); }
.legal-page a:hover { color: var(--accent-dark); }

/* Facts grid (about me sidebar) — horizontal bars, not vertical columns */
.facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 32px 0;
}

.facts-grid > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 20px;
  background: var(--card-a);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--hue-1);
  border-radius: 10px;
  padding: 14px 20px;
}
.facts-grid > div:nth-child(2) { border-left-color: var(--hue-2); }
.facts-grid > div:nth-child(3) { border-left-color: var(--hue-3); }
.facts-grid > div:nth-child(4) { border-left-color: var(--hue-4); }

.facts-grid .fact-label {
  flex: 0 0 120px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.facts-grid .fact-value {
  flex: 1 1 260px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* Services list */
ul.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 700px) {
  ul.services-list { grid-template-columns: 1fr; }
}

ul.services-list li {
  padding: 20px 20px 20px 56px;
  position: relative;
  color: var(--ink-soft);
  font-size: 15px;
  background: var(--card-a);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
ul.services-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

ul.services-list li::before {
  content: "→";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  background: var(--hue-1);
}
ul.services-list li:nth-child(4n+2)::before { background: var(--hue-2); }
ul.services-list li:nth-child(4n+3)::before { background: var(--hue-3); }
ul.services-list li:nth-child(4n+4)::before { background: var(--hue-4); }

/* Logo grid (references) */
.ref-category {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--hue-1);
  padding: 6px 14px;
  border-radius: 20px;
  margin: 32px 0 14px;
}
.ref-category.cat-b { background: var(--hue-2); }
.ref-category.cat-c { background: var(--hue-3); }
.ref-category.cat-d { background: var(--hue-4); }

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 30px;
  background: var(--card-a);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 28px;
}

.logo-grid img { max-height: 44px; width: auto; filter: grayscale(35%); opacity: 0.75; transition: all 0.25s ease; }
.logo-grid a:hover img { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }
.logo-grid a { display: inline-flex; align-items: center; }

.link-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--card-a);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 28px;
}
.link-list a { border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.link-list a:hover { color: var(--accent-dark); border-color: var(--accent); }

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: center;
  margin-top: 24px;
}

@media (max-width: 700px) {
  .stats-row { grid-template-columns: 1fr; }
}

.stats-row .stat-box {
  padding: 36px 24px;
  background: var(--card-a);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--hue-1);
  border-radius: 16px;
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.stats-row .stat-box:nth-child(2) { border-top-color: var(--hue-2); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.gallery-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}
.gallery-grid img:hover { transform: scale(1.04); }
