body{
  background: #f7f8fb;
}



.outer-container {
  width: 100%;
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 72px) min(5vw, 32px);
  background: #f7f8fb;
}

.inner-container {
  width: min(100%, 120ch);
  background: #ffffff;
  border-radius: 18px;
  padding: clamp(20px, 4vw, 40px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.language-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-icon-btn.language-button {
    min-width: 46px;
    height: 40px;
    padding: 0 14px;
    background-color: #ffffff;
    border: none;
    border-radius: 999px;
    color: #2f2f2f;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.2s ease;
}

.header-icon-btn.language-button:hover {
    background: #ececec;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 56px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
    z-index: 1000;
    padding: 4px;
}

.language-form {
    margin: 0;
}

.language-dropdown-item {
    width: 100%;
    min-height: 36px;
    padding: 0 10px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #2f2f2f;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    display: block;
}

.language-dropdown-item:hover {
    background: #f3f3f3;
}

/* Floating liquid-glass navbar */
.liquid-nav {
  position: sticky;
  top: 16px;                    /* space from top */
  margin: 20px auto;              /* detach from top and center */
  max-width: 1200px;              /* keeps it compact */
  border-radius: 20px;            /* curved edges */
  appearance: none;
  border: 1px solid rgba(255, 0, 0, 0.75);
  background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0.25));
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 120ms ease, filter 120ms ease, opacity 120ms ease;
  backdrop-filter: blur(6px) saturate(160%);
  z-index: 1000;
}


/* Keep inner layout the same */
.liquid-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Layout fix — left aligned logo/title, right aligned buttons */
.liquid-nav .nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px; /* more side space */
  gap: 20px;
}

/* Left side (logo + title) */
.liquid-nav .left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.liquid-nav .brand img {
  height: 50px;
  width: auto;
  display: block;
  border-radius: 1px;
}

.liquid-nav .title {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: font-size 220ms ease, transform 220ms ease, opacity 220ms ease;
}

/* Shrink on scroll */
.liquid-nav.compact .title {
  font-size: 18px;
  transform: translateY(1px);
  opacity: 0.9;
}

/* Right side (buttons) */
.liquid-nav .right {
  display: flex;
  align-items: center;
  gap: 14px; /* more spacing between buttons */
}

/* Pill buttons */
.pill {
  min-width: 46px;
  height: 40px;
  padding: 0 14px;
  background-color: #ffffff;
  border: none;
  border-radius: 999px;
  color: #2f2f2f;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background 0.2s ease;
}

.pill:hover {
  filter: brightness(1.05);
  color: var(--ink);
  background: #ececec;
}
.pill:active { transform: scale(0.97); }

.icon-only {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 8px;
}

/* Dropdown fix — right-aligned, not touching edges */
.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(86vw, 320px);
  max-height: 70vh;
  overflow: auto;
  display: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.65));
  backdrop-filter: blur(12px) saturate(160%);
  --webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid var(--ring2);
  border-radius: 20px;
  box-shadow: var(--drop-shadow);
  padding: 12px;
}

.dropdown-content.open {
  display: block;
}

.dropdown-content-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dropdown-content .pagetitle {
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  transition: background 120ms ease, transform 120ms ease;
}

.dropdown-content .pagetitle:hover {
  background: rgba(255,255,255,0.15);
}

.dropdown-content .pagetitle:active {
  transform: scale(0.99);
}

/* Spacing for mobile */
@media (max-width: 700px) {
  .liquid-nav .nav-inner {
    padding: 10px 16px;
  }
  
  .liquid-nav .title {
    font-size: 22px;
  }
  .liquid-nav.compact .title {
    font-size: 16px;
  }
  .liquid-nav .right {
    gap: 10px;
  }
}

@media (max-width: 450px) {
  .liquid-nav .left img{
    height: 40px;
  }
  .liquid-nav .title {
    font-size: 18px;
  }
}

/* --- Anchor offset for a detached/sticky nav --- */
:root { --nav-offset: 88px; } /* fallback; JS below will auto-set */

/* Every section anchors correctly (no content hidden under nav) */
.block {
  scroll-margin-top: calc(var(--nav-offset) + 12px);
}

/* Optional smooth scroll for in-page links */
html { scroll-behavior: smooth; }

html, body { margin: 0; padding: 0; }

/* Full-screen hero block (your header block) */
.block--header, .block--hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  /* allow full-bleed background or parallax inside the block’s own CSS */
}

/* If your global .container centers content, make hero full-bleed: */
.block--header .container,
.block--hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* Optional: make all blocks full-width (remove site wrapper constraints) */
.block {
  width: 100%;
}

/* Visual: active menu link (nav <a href="#slug">) */
.nav a[aria-current="true"] {
  font-weight: 700;
  opacity: 1;
}

/* ==== FOOTER ==== */
.liquid-footer {
  position: relative;
  width: 100%;
  padding: 20px clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  border-top: 1px solid  rgba(255, 0, 0, 0.75);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.08);

  color: rgba(17,18,23,0.8);
  font-size: 0.95rem;
  z-index: 10;
  backdrop-filter: blur(12px);
}

/* ===== LEFT SIDE ===== */
.liquid-footer .left {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 30%;
}
.liquid-footer .left p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(17,18,23,0.7);
}

/* ===== RIGHT SIDE ===== */
.liquid-footer .right {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-right: 50px;
}

/* ===== SOCIAL MEDIA ICONS ===== */
.liquid-footer .social-medias {
  display: flex;
  align-items: center;
  gap: 12px;
}

.liquid-footer .social-medias a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform .15s ease, opacity .2s ease;
  color: rgba(17,18,23,0.8);
}

.liquid-footer .social-medias a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Optional subtle hover highlight */
.liquid-footer .social-medias a i {
  font-size: 1.1rem;
}

section.block {
    width: 100%;
    background: #f7f8fb;
}
section.block
 > .outer-container {
    padding: 20px;
}

section.block
 > .outer-container
 > .inner-container {
    max-width: 1200px;
    width: 100%;
    padding: 50px;
}

  @media (max-width: 700px) {
    section.block
     > .outer-container
     > .inner-container {
        padding: 30px 20px;
    }
  }