:root {
  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --navy: #07111f;
  --navy-soft: #0d1b2d;
  --blue-grey: #172336;
  --cream: #f4efe4;
  --cream-light: #fbf7ef;
  --text: #121826;
  --muted: #5f6672;
  --gold: #c7a451;
  --gold-soft: #dfc77a;
  --line: rgba(18, 24, 38, 0.12);
  --white: #ffffff;

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main) !important;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

body,
button,
input,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
span,
strong,
em,
.brand,
.nav,
.kicker {
  font-family: var(--font-main) !important;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 96px));
  margin: 0 auto;
}

/* HEADER */

.topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  height: 76px !important;
  min-height: 76px !important;
  padding: 0 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;
  background: rgba(7, 17, 31, 0.94) !important;
  border-bottom: 1px solid rgba(199, 164, 81, 0.45) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18) !important;
}

.brand {
  display: inline-flex !important;
  align-items: center !important;
  color: var(--white) !important;
  font-weight: 760 !important;
  font-size: 25px !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.brand::after {
  content: none !important;
  display: none !important;
}

.nav {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav a {
  display: inline-flex !important;
  align-items: center !important;
  height: 76px !important;
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 11px !important;
  font-weight: 680 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border-bottom: 3px solid transparent !important;
  transition: color 160ms ease, border-color 160ms ease !important;
}

.nav a:hover {
  color: var(--white) !important;
  border-bottom-color: var(--gold) !important;
}

.nav-toggle {
  display: none;
}

/* HERO */

.hero {
  min-height: 620px !important;
  display: flex !important;
  align-items: center !important;
  padding: 92px 48px !important;
  background-image:
    linear-gradient(90deg, rgba(7, 17, 31, 0.92), rgba(7, 17, 31, 0.58), rgba(7, 17, 31, 0.18)),
    url("/assets/images/hero-mensur.jpg") !important;
  background-size: cover !important;
  background-position: center 42% !important;
  background-repeat: no-repeat !important;
  border-bottom: 4px solid var(--gold) !important;
}

.hero-panel {
  width: min(680px, 100%);
  margin-left: max(0px, calc((100vw - var(--container)) / 2));
  background: rgba(7, 17, 31, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 5px solid var(--gold);
  padding: 42px 46px;
  color: var(--white);
  backdrop-filter: blur(8px) saturate(110%);
  -webkit-backdrop-filter: blur(8px) saturate(110%);
}

.kicker {
  margin: 0 0 14px 0;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(58px, 8vw, 104px);
  line-height: 0.92;
  font-weight: 780;
  letter-spacing: -0.055em;
}

.hero-subtitle {
  margin: 22px 0 0 0;
  max-width: 600px;
  color: var(--white);
  font-size: clamp(25px, 2.8vw, 38px);
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.hero-text {
  margin: 20px 0 0 0;
  max-width: 610px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

/* SECTIONS */

.section {
  padding: 76px 0;
}

.intro-section,
.final-section {
  background: var(--cream);
}

.white-section {
  background: var(--cream-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dark-section {
  background: var(--navy);
  color: var(--white);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1fr);
  gap: 72px;
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 0.98;
  font-weight: 780;
  letter-spacing: -0.055em;
}

.dark-section h2 {
  color: var(--white);
}

.text-block p {
  margin: 0 0 18px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.dark-section p {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p:not(.kicker) {
  margin: 18px 0 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

/* FEATURE CARDS */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  display: block;
  min-height: 250px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(199, 164, 81, 0.52);
  box-shadow: 0 16px 34px rgba(18, 24, 38, 0.10);
}

.feature-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 26px;
  border-radius: 999px;
  border: 1px solid rgba(199, 164, 81, 0.55);
  color: #9a7429;
  font-size: 12px;
  font-weight: 760;
}

.feature-card h3 {
  margin: 0 0 12px 0;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ARTICLES */

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  padding: 28px;
  min-height: 230px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.post-meta {
  margin: 0 0 18px 0;
  color: var(--gold-soft) !important;
  font-size: 12px !important;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 0 0 12px 0;
  color: var(--white);
  font-size: 23px;
  line-height: 1.12;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.article-card h3 a {
  text-decoration: none;
}

.article-card p {
  color: rgba(255, 255, 255, 0.70);
  font-size: 15px;
  line-height: 1.65;
}

.read-more {
  display: inline-flex;
  margin-top: 10px;
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

/* PAGE LAYOUTS */

.content-page,
.post-page {
  width: min(900px, calc(100% - 96px));
  margin: 0 auto;
  padding: 76px 0;
}

.content-page h1,
.post-page h1 {
  margin: 0 0 28px 0;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.98;
  font-weight: 780;
  letter-spacing: -0.055em;
}

.content-page h2,
.post-page h2 {
  margin-top: 46px;
  margin-bottom: 16px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.content-page p,
.post-page p,
.content-page li,
.post-page li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.content-page ul,
.post-page ul {
  padding-left: 22px;
}

.post-list {
  padding: 0;
  list-style: none;
}

.post-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.post-list a {
  color: var(--text);
  font-size: 22px;
  font-weight: 760;
  text-decoration: none;
}

/* FOOTER */

.site-footer {
  padding: 34px 48px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* BACKWARD COMPATIBILITY WITH OLD CLASSES */

.hero-content {
  width: min(680px, 100%);
  margin-left: max(0px, calc((100vw - var(--container)) / 2));
  background: rgba(7, 17, 31, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 5px solid var(--gold);
  padding: 42px 46px;
  color: var(--white);
}

.grid.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  display: block;
  min-height: 250px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 26px;
  border-radius: 999px;
  border: 1px solid rgba(199, 164, 81, 0.55);
  color: #9a7429;
  font-size: 12px;
  font-weight: 760;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .feature-grid,
  .article-grid,
  .grid.cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    gap: 14px !important;
  }

  .nav a {
    font-size: 10px !important;
  }
}

@media (max-width: 820px) {
  .container,
  .content-page,
  .post-page {
    width: min(100% - 40px, var(--container));
  }

  .topbar {
    height: auto !important;
    min-height: 70px !important;
    padding: 18px 22px !important;
    flex-wrap: wrap !important;
  }

  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    padding: 8px 12px;
  }

  .nav {
    display: none !important;
    width: 100%;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 4px !important;
    padding-top: 12px !important;
  }

  .nav.open {
    display: flex !important;
  }

  .nav a {
    height: auto !important;
    padding: 9px 0 !important;
  }

  .hero {
    min-height: 620px !important;
    padding: 70px 20px !important;
  }

  .hero-panel,
  .hero-content {
    padding: 30px 26px;
    margin-left: 0;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section {
    padding: 58px 0;
  }

  .feature-grid,
  .article-grid,
  .grid.cards {
    grid-template-columns: 1fr;
  }
}

/* LOGO + GLASS HEADER FINAL */

.topbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;

  height: 78px !important;
  min-height: 78px !important;
  padding: 0 48px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;

  background: linear-gradient(
    to bottom,
    rgba(7, 17, 31, 0.72),
    rgba(7, 17, 31, 0.48)
  ) !important;

  backdrop-filter: blur(18px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(130%) !important;

  border-bottom: 1px solid rgba(199, 164, 81, 0.35) !important;
  box-shadow: none !important;
}

.brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;

  color: #ffffff !important;
  font-weight: 760 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.brand::after {
  display: none !important;
  content: none !important;
}

.brand-logo {
  width: 42px !important;
  height: 42px !important;
  display: block !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}

.nav {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
}

.nav a {
  height: 78px !important;
  display: inline-flex !important;
  align-items: center !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 11px !important;
  font-weight: 680 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border-bottom: 3px solid transparent !important;
}

.nav a:hover {
  color: #ffffff !important;
  border-bottom-color: #c7a451 !important;
}

/* La imagen del hero empieza detrás de la barra transparente */
.hero {
  padding-top: 150px !important;
}

/* En páginas internas, evita que la barra tape el título */
.content-page,
.post-page {
  padding-top: 132px !important;
}

@media (max-width: 820px) {
  .topbar {
    height: auto !important;
    min-height: 72px !important;
    padding: 14px 22px !important;
    flex-wrap: wrap !important;
  }

  .brand-logo {
    width: 38px !important;
    height: 38px !important;
  }

  .brand {
    font-size: 23px !important;
  }

  .nav a {
    height: auto !important;
    padding: 9px 0 !important;
  }

  .hero {
    padding-top: 120px !important;
  }

  .content-page,
  .post-page {
    padding-top: 116px !important;
  }
}

/* LOGO + GLASS HEADER FINAL */

.topbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;

  height: 78px !important;
  min-height: 78px !important;
  padding: 0 48px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;

  background: linear-gradient(
    to bottom,
    rgba(7, 17, 31, 0.72),
    rgba(7, 17, 31, 0.48)
  ) !important;

  backdrop-filter: blur(18px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(130%) !important;

  border-bottom: 1px solid rgba(199, 164, 81, 0.35) !important;
  box-shadow: none !important;
}

.brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;

  color: #ffffff !important;
  font-weight: 760 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.brand::after {
  display: none !important;
  content: none !important;
}

.brand-logo {
  width: 42px !important;
  height: 42px !important;
  display: block !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}

.nav {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
}

.nav a {
  height: 78px !important;
  display: inline-flex !important;
  align-items: center !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 11px !important;
  font-weight: 680 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border-bottom: 3px solid transparent !important;
}

.nav a:hover {
  color: #ffffff !important;
  border-bottom-color: #c7a451 !important;
}

/* La imagen del hero empieza detrás de la barra transparente */
.hero {
  padding-top: 150px !important;
}

/* En páginas internas, evita que la barra tape el título */
.content-page,
.post-page {
  padding-top: 132px !important;
}

@media (max-width: 820px) {
  .topbar {
    height: auto !important;
    min-height: 72px !important;
    padding: 14px 22px !important;
    flex-wrap: wrap !important;
  }

  .brand-logo {
    width: 38px !important;
    height: 38px !important;
  }

  .brand {
    font-size: 23px !important;
  }

  .nav a {
    height: auto !important;
    padding: 9px 0 !important;
  }

  .hero {
    padding-top: 120px !important;
  }

  .content-page,
  .post-page {
    padding-top: 116px !important;
  }
}

/* FINAL HEADER WITH LOGO - CLEAN GLASS STYLE */
.topbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;

  height: 76px !important;
  min-height: 76px !important;
  padding: 0 48px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;

  background: rgba(7, 17, 31, 0.74) !important;
  backdrop-filter: blur(16px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(125%) !important;

  border-bottom: 1px solid rgba(199, 164, 81, 0.38) !important;
  box-shadow: none !important;
}

.brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: #ffffff !important;
  font-weight: 760 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.brand::after {
  display: none !important;
  content: none !important;
}

.brand-logo {
  width: 42px !important;
  height: 42px !important;
  display: block !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}

.nav {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav a {
  height: 76px !important;
  display: inline-flex !important;
  align-items: center !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 11px !important;
  font-weight: 680 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border-bottom: 3px solid transparent !important;
}

.nav a:hover {
  color: #ffffff !important;
  border-bottom-color: #c7a451 !important;
}

/* Hero empieza por debajo de la barra fija */
.hero {
  padding-top: 150px !important;
}

/* Páginas internas: que la barra no tape títulos */
.content-page,
.post-page {
  padding-top: 132px !important;
}

@media (max-width: 820px) {
  .topbar {
    height: auto !important;
    min-height: 72px !important;
    padding: 14px 22px !important;
    flex-wrap: wrap !important;
  }

  .brand-logo {
    width: 38px !important;
    height: 38px !important;
  }

  .brand {
    font-size: 23px !important;
  }

  .nav a {
    height: auto !important;
    padding: 9px 0 !important;
  }

  .hero {
    padding-top: 120px !important;
  }

  .content-page,
  .post-page {
    padding-top: 116px !important;
  }
}

/* FINAL GLASS HEADER: HOME DARK GLASS / INNER LIGHT GLASS */

/* Base header: structure only */
.topbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;

  height: 82px !important;
  min-height: 82px !important;
  padding: 0 48px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 34px !important;

  border: 0 !important;
  box-shadow: none !important;

  backdrop-filter: blur(22px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(145%) !important;
}

/* Home: transparent over the hero image */
.home-page .topbar {
  background:
    linear-gradient(
      to bottom,
      rgba(2, 6, 14, 0.34),
      rgba(2, 6, 14, 0.10)
    ) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Inner pages: transparent ivory glass, not grey/blue */
.inner-page .topbar {
  background: rgba(244, 239, 228, 0.58) !important;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08) !important;
}

/* Brand/logo */
.brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  font-weight: 800 !important;
  font-size: 26px !important;
  letter-spacing: -0.025em !important;
  line-height: 1 !important;
}

.brand::after {
  display: none !important;
  content: none !important;
}

.brand-logo {
  width: 58px !important;
  height: 58px !important;
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Brand colors by page type */
.home-page .brand {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65) !important;
}

.inner-page .brand {
  color: #111827 !important;
  text-shadow: none !important;
}

.home-page .brand-logo {
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45)) !important;
}

.inner-page .brand-logo {
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.12)) !important;
}

/* Navigation */
.nav {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.nav a {
  height: 82px !important;
  display: inline-flex !important;
  align-items: center !important;

  font-size: 11px !important;
  font-weight: 760 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;

  border: 0 !important;
  border-bottom: 2px solid transparent !important;
}

/* Home nav colors */
.home-page .nav a {
  color: rgba(255, 255, 255, 0.86) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65) !important;
}

.home-page .nav a:hover {
  color: #ffffff !important;
  border-bottom-color: #c7a451 !important;
}

/* Inner nav colors */
.inner-page .nav a {
  color: rgba(17, 24, 39, 0.74) !important;
  text-shadow: none !important;
}

.inner-page .nav a:hover {
  color: #111827 !important;
  border-bottom-color: #c7a451 !important;
}

/* Home hero must start behind the transparent header */
.home-page .hero {
  padding-top: 150px !important;
  margin-top: 0 !important;
}

/* Inner pages need breathing room because header is fixed */
.inner-page .content-page,
.inner-page .post-page {
  padding-top: 140px !important;
}

/* Remove old solid header effects completely */
.topbar::before,
.topbar::after {
  display: none !important;
  content: none !important;
}

/* Mobile */
@media (max-width: 820px) {
  .topbar {
    height: auto !important;
    min-height: 76px !important;
    padding: 12px 22px !important;
    flex-wrap: wrap !important;
  }

  .brand {
    font-size: 24px !important;
  }

  .brand-logo {
    width: 52px !important;
    height: 52px !important;
  }

  .nav-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    padding: 8px 12px !important;
  }

  .home-page .nav-toggle {
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
  }

  .inner-page .nav-toggle {
    color: #111827 !important;
    background: rgba(255, 255, 255, 0.30) !important;
    border: 1px solid rgba(17, 24, 39, 0.12) !important;
  }

  .nav {
    display: none !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    padding: 12px 0 16px 0 !important;
  }

  .nav.open {
    display: flex !important;
  }

  .nav a {
    height: auto !important;
    padding: 9px 0 !important;
  }

  .home-page .hero {
    padding-top: 130px !important;
  }

  .inner-page .content-page,
  .inner-page .post-page {
    padding-top: 124px !important;
  }
}

/* === FIXED SHIELD + MODERN TRANSPARENT BAR === */

.topbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;

  height: 84px !important;
  min-height: 84px !important;
  padding: 0 46px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;

  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Home: transparente sobre la imagen */
body.home-page .topbar {
  background: rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(8px) saturate(110%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(110%) !important;
}

/* Páginas internas: cristal claro suave */
body.inner-page .topbar {
  background: rgba(244, 239, 228, 0.26) !important;
  backdrop-filter: blur(22px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(145%) !important;
}

.topbar::before,
.topbar::after {
  content: none !important;
  display: none !important;
}

.brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 13px !important;
  text-decoration: none !important;
  white-space: nowrap !important;

  font-weight: 820 !important;
  font-size: 27px !important;
  letter-spacing: -0.025em !important;
  line-height: 1 !important;
}

.brand::after {
  content: none !important;
  display: none !important;
}

/* CLAVE: el escudo no se mezcla con el fondo */
.brand-logo {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain !important;
  display: block !important;

  opacity: 1 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  isolation: isolate !important;
}

body.home-page .brand {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75) !important;
}

body.inner-page .brand {
  color: #111827 !important;
  text-shadow: none !important;
}

.nav {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.nav a {
  height: 84px !important;
  display: inline-flex !important;
  align-items: center !important;

  font-size: 11px !important;
  font-weight: 780 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;

  border: 0 !important;
  border-bottom: 2px solid transparent !important;
}

body.home-page .nav a {
  color: rgba(255, 255, 255, 0.90) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.70) !important;
}

body.home-page .nav a:hover {
  color: #ffffff !important;
  border-bottom-color: #c7a451 !important;
}

body.inner-page .nav a {
  color: rgba(17, 24, 39, 0.76) !important;
  text-shadow: none !important;
}

body.inner-page .nav a:hover {
  color: #111827 !important;
  border-bottom-color: #c7a451 !important;
}

/* Home debajo de barra fija */
body.home-page .hero {
  padding-top: 150px !important;
}

/* Internas debajo de barra fija */
body.inner-page .content-page,
body.inner-page .post-page {
  padding-top: 142px !important;
}

/* Mobile: que el escudo siga igual, no gigante ni deformado */
@media (max-width: 820px) {
  .topbar {
    height: 76px !important;
    min-height: 76px !important;
    padding: 0 20px !important;
    flex-wrap: nowrap !important;
  }

  .brand {
    font-size: 23px !important;
    gap: 10px !important;
  }

  .brand-logo {
    width: 48px !important;
    height: 48px !important;
    filter: none !important;
    mix-blend-mode: normal !important;
  }

  .nav {
    display: none !important;
  }

  .nav-toggle {
    display: inline-flex !important;
  }

  body.home-page .hero {
    padding-top: 118px !important;
  }

  body.inner-page .content-page,
  body.inner-page .post-page {
    padding-top: 112px !important;
  }
}

/* === FIXED SHIELD + MODERN TRANSPARENT BAR === */

.topbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;

  height: 84px !important;
  min-height: 84px !important;
  padding: 0 46px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;

  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Home: transparente sobre la imagen */
body.home-page .topbar {
  background: rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(8px) saturate(110%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(110%) !important;
}

/* Páginas internas: cristal claro suave */
body.inner-page .topbar {
  background: rgba(244, 239, 228, 0.26) !important;
  backdrop-filter: blur(22px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(145%) !important;
}

.topbar::before,
.topbar::after {
  content: none !important;
  display: none !important;
}

.brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 13px !important;
  text-decoration: none !important;
  white-space: nowrap !important;

  font-weight: 820 !important;
  font-size: 27px !important;
  letter-spacing: -0.025em !important;
  line-height: 1 !important;
}

.brand::after {
  content: none !important;
  display: none !important;
}

/* CLAVE: el escudo no se mezcla con el fondo */
.brand-logo {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain !important;
  display: block !important;

  opacity: 1 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  isolation: isolate !important;
}

body.home-page .brand {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75) !important;
}

body.inner-page .brand {
  color: #111827 !important;
  text-shadow: none !important;
}

.nav {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.nav a {
  height: 84px !important;
  display: inline-flex !important;
  align-items: center !important;

  font-size: 11px !important;
  font-weight: 780 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;

  border: 0 !important;
  border-bottom: 2px solid transparent !important;
}

body.home-page .nav a {
  color: rgba(255, 255, 255, 0.90) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.70) !important;
}

body.home-page .nav a:hover {
  color: #ffffff !important;
  border-bottom-color: #c7a451 !important;
}

body.inner-page .nav a {
  color: rgba(17, 24, 39, 0.76) !important;
  text-shadow: none !important;
}

body.inner-page .nav a:hover {
  color: #111827 !important;
  border-bottom-color: #c7a451 !important;
}

/* Home debajo de barra fija */
body.home-page .hero {
  padding-top: 150px !important;
}

/* Internas debajo de barra fija */
body.inner-page .content-page,
body.inner-page .post-page {
  padding-top: 142px !important;
}

/* Mobile: que el escudo siga igual, no gigante ni deformado */
@media (max-width: 820px) {
  .topbar {
    height: 76px !important;
    min-height: 76px !important;
    padding: 0 20px !important;
    flex-wrap: nowrap !important;
  }

  .brand {
    font-size: 23px !important;
    gap: 10px !important;
  }

  .brand-logo {
    width: 48px !important;
    height: 48px !important;
    filter: none !important;
    mix-blend-mode: normal !important;
  }

  .nav {
    display: none !important;
  }

  .nav-toggle {
    display: inline-flex !important;
  }

  body.home-page .hero {
    padding-top: 118px !important;
  }

  body.inner-page .content-page,
  body.inner-page .post-page {
    padding-top: 112px !important;
  }
}

/* === FIXED SHIELD + MODERN TRANSPARENT BAR === */

.topbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;

  height: 84px !important;
  min-height: 84px !important;
  padding: 0 46px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;

  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Home: transparente sobre la imagen */
body.home-page .topbar {
  background: rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(8px) saturate(110%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(110%) !important;
}

/* Páginas internas: cristal claro suave */
body.inner-page .topbar {
  background: rgba(244, 239, 228, 0.26) !important;
  backdrop-filter: blur(22px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(145%) !important;
}

.topbar::before,
.topbar::after {
  content: none !important;
  display: none !important;
}

.brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 13px !important;
  text-decoration: none !important;
  white-space: nowrap !important;

  font-weight: 820 !important;
  font-size: 27px !important;
  letter-spacing: -0.025em !important;
  line-height: 1 !important;
}

.brand::after {
  content: none !important;
  display: none !important;
}

/* CLAVE: el escudo no se mezcla con el fondo */
.brand-logo {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain !important;
  display: block !important;

  opacity: 1 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  isolation: isolate !important;
}

body.home-page .brand {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75) !important;
}

body.inner-page .brand {
  color: #111827 !important;
  text-shadow: none !important;
}

.nav {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.nav a {
  height: 84px !important;
  display: inline-flex !important;
  align-items: center !important;

  font-size: 11px !important;
  font-weight: 780 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;

  border: 0 !important;
  border-bottom: 2px solid transparent !important;
}

body.home-page .nav a {
  color: rgba(255, 255, 255, 0.90) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.70) !important;
}

body.home-page .nav a:hover {
  color: #ffffff !important;
  border-bottom-color: #c7a451 !important;
}

body.inner-page .nav a {
  color: rgba(17, 24, 39, 0.76) !important;
  text-shadow: none !important;
}

body.inner-page .nav a:hover {
  color: #111827 !important;
  border-bottom-color: #c7a451 !important;
}

/* Home debajo de barra fija */
body.home-page .hero {
  padding-top: 150px !important;
}

/* Internas debajo de barra fija */
body.inner-page .content-page,
body.inner-page .post-page {
  padding-top: 142px !important;
}

/* Mobile: que el escudo siga igual, no gigante ni deformado */
@media (max-width: 820px) {
  .topbar {
    height: 76px !important;
    min-height: 76px !important;
    padding: 0 20px !important;
    flex-wrap: nowrap !important;
  }

  .brand {
    font-size: 23px !important;
    gap: 10px !important;
  }

  .brand-logo {
    width: 48px !important;
    height: 48px !important;
    filter: none !important;
    mix-blend-mode: normal !important;
  }

  .nav {
    display: none !important;
  }

  .nav-toggle {
    display: inline-flex !important;
  }

  body.home-page .hero {
    padding-top: 118px !important;
  }

  body.inner-page .content-page,
  body.inner-page .post-page {
    padding-top: 112px !important;
  }
}

/* FINAL CLEAN FOOTER */
.site-footer {
  width: 100% !important;
  padding: 28px 48px !important;
  margin: 0 !important;
  text-align: center !important;

  background: #07111f !important;
  color: rgba(255, 255, 255, 0.78) !important;

  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;

  border: 0 !important;
  border-top: 1px solid rgba(199, 164, 81, 0.22) !important;
  box-shadow: none !important;
}

/* === MENSUR MODERN MEGA MENU V1 === */

/* Botón Menu en barra superior */
.mega-menu-open {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  height: 42px !important;
  padding: 0 16px !important;

  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  background: rgba(255,255,255,0.08) !important;
  color: #ffffff !important;

  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;

  cursor: pointer !important;
  backdrop-filter: blur(12px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(130%) !important;
}

.inner-page .mega-menu-open {
  color: #111827 !important;
  background: rgba(255,255,255,0.42) !important;
  border-color: rgba(17,24,39,0.12) !important;
}

.mega-menu-icon {
  font-size: 17px !important;
  line-height: 1 !important;
}

/* Overlay general */
.mensur-menu-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100000 !important;

  display: none !important;
  background: rgba(0, 0, 0, 0.62) !important;
  backdrop-filter: blur(18px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(130%) !important;
}

.mensur-menu-overlay.open {
  display: block !important;
}

/* Panel negro moderno */
.mensur-menu-panel {
  min-height: 100vh !important;
  width: 100% !important;
  background: #050505 !important;
  color: #ffffff !important;
  padding: 34px min(6vw, 72px) 70px !important;
  overflow-y: auto !important;
}

/* Header del menú */
.mensur-menu-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin-bottom: 44px !important;
}

.mensur-menu-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 28px !important;
  font-weight: 850 !important;
  letter-spacing: -0.04em !important;
}

.mensur-menu-brand img {
  width: 52px !important;
  height: 52px !important;
  object-fit: contain !important;
  display: block !important;
}

.mega-menu-close {
  width: 46px !important;
  height: 46px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  background: rgba(255,255,255,0.06) !important;
  color: #ffffff !important;
  font-size: 34px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

/* Estructura tipo Squarespace */
.mensur-menu-grid {
  width: min(980px, 100%) !important;
}

.menu-group {
  border-top: 1px solid rgba(255,255,255,0.18) !important;
}

.menu-group:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.18) !important;
}

.menu-group-title {
  width: 100% !important;
  min-height: 86px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;

  background: transparent !important;
  border: 0 !important;
  color: #ffffff !important;

  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(28px, 5vw, 46px) !important;
  font-weight: 820 !important;
  letter-spacing: -0.05em !important;
  text-align: left !important;

  cursor: pointer !important;
}

.menu-arrow {
  font-size: 32px !important;
  font-weight: 500 !important;
  transition: transform 180ms ease !important;
}

.menu-group.open .menu-arrow {
  transform: rotate(180deg) !important;
}

/* Contenido desplegable */
.menu-group-content {
  display: none !important;
  padding: 0 0 30px 0 !important;
}

.menu-group.open .menu-group-content {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 44px !important;
}

.menu-group-content a {
  color: rgba(255,255,255,0.58) !important;
  text-decoration: none !important;
  font-size: clamp(20px, 3vw, 30px) !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.04em !important;
}

.menu-group-content a:hover {
  color: #ffffff !important;
}

/* Cuando el menú está abierto, bloquea scroll */
body.menu-open {
  overflow: hidden !important;
}

/* En móvil: ocultar nav antigua y dejar botón menu */
@media (max-width: 820px) {
  .topbar {
    padding: 0 20px !important;
  }

  .nav {
    display: none !important;
  }

  .mega-menu-open {
    display: inline-flex !important;
    height: 40px !important;
    padding: 0 13px !important;
  }

  .mega-menu-open span:first-child {
    display: none !important;
  }

  .mensur-menu-panel {
    padding: 28px 30px 60px !important;
  }

  .mensur-menu-head {
    margin-bottom: 34px !important;
  }

  .mensur-menu-brand {
    font-size: 26px !important;
  }

  .mensur-menu-brand img {
    width: 48px !important;
    height: 48px !important;
  }

  .menu-group-title {
    min-height: 92px !important;
    font-size: 30px !important;
  }

  .menu-group.open .menu-group-content {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .menu-group-content a {
    font-size: 25px !important;
  }
}
