/* Shared header, menu and footer bar for the client portal.
   Generated from style.css (the main site loads style.css itself). Keep in sync if the header changes. */
:root {
  --ink: #0e0c0a;
  --ink-2: #1a1613;
  --paper: #f7f3ec;
  --paper-2: #efe7da;
  --card: #fffdf9;
  --text: #1c1814;
  --muted: #6e655b;
  --line: rgba(28, 24, 20, .12);
  --gold: #b98a52;
  --gold-deep: #8a6034;
  --gold-soft: #e9d8bf;
  --cream: #faf6ee;

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --f-script: "Pinyon Script", cursive;

  --frame: 12px;
  --radius-xl: 28px;
  --radius-l: 20px;
  --radius-m: 14px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}
:where(.header, .menu, .footer-bar) a { color: inherit; text-decoration: none; }
:where(.header, .menu) button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--gold-deep); color: #fff; }
.btn--gold:hover { background: #73502b; }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--gold-deep); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--gold); color: #fff; }
.btn--outline-light { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }

/* ---------- Header ---------- */
.header {
  position: fixed; z-index: 50;
  top: calc(var(--frame) + 12px);
  left: calc(var(--frame) + 12px); right: calc(var(--frame) + 12px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), padding .45s var(--ease);
}
.header__logo { position: relative; width: 132px; height: 52px; flex: none; }
.header__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s var(--ease); }
.header__logo .logo-gold { opacity: 0; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .35s var(--ease), color .35s var(--ease);
}
.menu-btn:hover { background: rgba(255,255,255,.26); }
.menu-btn__lines { width: 18px; height: 10px; position: relative; }
.menu-btn__lines::before, .menu-btn__lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .35s var(--ease);
}
.menu-btn__lines::before { top: 0; } .menu-btn__lines::after { bottom: 0; }
.header.is-solid, .header.is-light {
  background: rgba(250, 247, 241, .5);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.75),
    inset 0 0 0 1px rgba(255,255,255,.35),
    0 1px 0 rgba(28,24,20,.06),
    0 14px 34px -20px rgba(0,0,0,.3);
}
.header.is-dark {
  background: rgba(14, 12, 10, .34);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 0 0 1px rgba(255,255,255,.1),
    0 14px 34px -20px rgba(0,0,0,.5);
}
.header.is-solid .logo-gold, .header.is-light .logo-gold { opacity: 1; }
.header.is-solid .logo-cream, .header.is-light .logo-cream { opacity: 0; }
.header.is-solid .menu-btn, .header.is-light .menu-btn { color: var(--text); background: rgba(28,24,20,.06); }
.header.is-solid .menu-btn:hover, .header.is-light .menu-btn:hover { background: rgba(28,24,20,.12); }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--ink);
  color: var(--cream);
  display: grid; grid-template-columns: 1.1fr .9fr;
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.menu__nav { padding: 120px var(--gutter) 48px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.menu__nav a {
  font-family: var(--f-display); text-transform: uppercase; font-weight: 500;
  font-size: clamp(40px, 6.4vw, 88px); line-height: 1.04; letter-spacing: .02em;
  display: inline-flex; align-items: baseline; gap: 18px; width: fit-content;
  transform: translateY(24px); opacity: 0;
  transition: color .3s var(--ease), transform .7s var(--ease), opacity .7s var(--ease);
}
.menu__nav a small { font-family: var(--f-sans); font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.menu__nav a:hover { color: var(--gold); }
.menu.is-open .menu__nav a { transform: none; opacity: 1; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .15s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .2s; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: .25s; }
.menu__side { position: relative; overflow: hidden; }
.menu__side img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.menu__side-info {
  position: absolute; left: 32px; right: 32px; bottom: 32px;
  display: grid; gap: 6px; font-size: 14px; color: rgba(255,255,255,.86);
}
.menu__side-info a:hover { color: var(--gold-soft); }
.menu__close {
  position: absolute; top: calc(var(--frame) + 22px); right: calc(var(--frame) + 24px); z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255,255,255,.1); color: #fff;
}
.menu__close:hover { background: var(--gold); }
.menu__logo { position: absolute; top: calc(var(--frame) + 24px); left: calc(var(--frame) + 34px); width: 132px; }
body.menu-open { overflow: hidden; }

/* ---------- Footer bar ---------- */
.footer-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 96px 26px clamp(20px, 3vw, 40px); font-size: 13px; color: var(--muted); }
.footer-bar nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bar nav a:hover { color: var(--text); }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text); transition: background .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.socials svg { width: 17px; height: 17px; }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed; z-index: 40; right: calc(var(--frame) + 18px); bottom: calc(var(--frame) + 64px);
  width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
  transition: transform .35s var(--ease), background .35s;
}
.float-wa:hover { transform: scale(1.08); background: var(--gold-deep); }
.float-wa svg { width: 26px; height: 26px; }

/* ---------- Trustpilot badge ---------- */
.tp-badge {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px 10px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--text); line-height: 1.2;
  transition: border-color .3s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tp-badge:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(0,0,0,.35); }
.tp-badge__stars { display: inline-flex; gap: 2px; color: var(--gold); }
.tp-badge__stars svg { width: 16px; height: 16px; }
.tp-badge__text b { font-weight: 700; }
.tp-badge__brand { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; letter-spacing: -.01em; }
.tp-badge__brand svg { width: 16px; height: 16px; }
.tp-badge--small { padding: 7px 14px; font-size: 12.5px; background: transparent; }
.tp-badge--small .tp-badge__stars svg, .tp-badge--small .tp-badge__brand svg { width: 14px; height: 14px; }
.footer-bar__right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Client login in the header (same look as the Menu button) ---------- */
.header__login { text-decoration: none; }
.header__login svg { width: 16px; height: 16px; }
.menu.is-open .menu__nav a:nth-child(7) { transition-delay: .3s; }
@media (max-width: 600px) { .header__login .label { display: none; } .header__login { padding: 11px 12px; } }

@media (max-width: 860px) {
  :root { --frame: 6px; --radius-xl: 22px; }
  .menu { grid-template-columns: 1fr; }
  .menu__side { display: none; }
}
@media (max-width: 600px) {
  .header { padding: 8px 8px 8px 16px; top: calc(var(--frame) + 8px); left: calc(var(--frame) + 8px); right: calc(var(--frame) + 8px); }
  .header__logo { width: 104px; height: 44px; }
  .header .btn--gold { padding: 11px 16px; }
  .header .btn--gold svg { display: none; }
  .menu-btn { padding: 11px 14px; }
  .menu-btn .label { display: none; }
  .footer-bar { justify-content: center; text-align: center; }
}
