:root {
  --wine: #be0844;
  --wine-deep: #690524;
  --rose: #f15482;
  --night: #080d13;
  --navy: #101b26;
  --steel: #334657;
  --cloud: #e9edf0;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  background: #070b10;
  font-family: "Manrope", sans-serif;
}

.bergano-page {
  position: relative;
  width: min(100%, 650px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(5, 8, 12, .42), rgba(7, 10, 14, .78) 42%, rgba(7, 9, 12, .96)),
    url("assets/gb-office-main.jpg") 42% center / cover no-repeat;
  box-shadow: 0 0 70px rgba(0, 0, 0, .42);
}

.bergano-page::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  z-index: 0;
  opacity: .18;
  background-image:
    repeating-radial-gradient(circle at 20% 10%, rgba(255,255,255,.14) 0 1px, transparent 1px 5px),
    linear-gradient(115deg, transparent 35%, rgba(255,255,255,.05) 50%, transparent 65%);
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.bergano-page::after {
  position: absolute;
  z-index: 0;
  inset: 48% 0 0;
  content: "";
  opacity: .22;
  background: url("assets/gb-office-wide.jpg") 48% center / cover no-repeat;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 70%, transparent);
  pointer-events: none;
}

.atmosphere { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .34; }
.glow-one { top: 5%; left: -18%; width: 320px; height: 320px; background: #78909f; }
.glow-two { top: 40%; right: -28%; width: 360px; height: 360px; background: var(--wine); opacity: .2; }
.glow-three { bottom: -12%; left: 10%; width: 340px; height: 340px; background: #17394f; }

.profile {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  align-items: center;
  flex-direction: column;
  padding: 74px 42px 38px;
  text-align: center;
}

.brand-avatar {
  position: relative;
  width: 126px;
  height: 126px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 23px;
  background: #101010;
  box-shadow: 0 20px 50px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.24);
}

.brand-avatar img {
  width: 100%;
  height: 100%;
  padding: 5px;
  object-fit: contain;
}

.overline {
  margin: 30px 0 9px;
  color: rgba(255,255,255,.55);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1 { margin: 0; font-size: clamp(2.15rem, 8vw, 3.5rem); font-weight: 500; letter-spacing: -.045em; }
.tagline { margin: 12px 0 0; color: rgba(255,255,255,.7); font-size: .95rem; line-height: 1.55; }

.social-links { margin: 22px 0 35px; }
.social-links a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  transition: .2s ease;
}
.social-links a:hover { color: var(--night); background: var(--white); transform: translateY(-2px); }
.social-links svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-links .dot { fill: currentColor; stroke: none; }

.brand-links { display: grid; width: 100%; gap: 14px; margin-top: 35px; }
.brand-link {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 16px;
  padding: 10px 18px 10px 11px;
  color: var(--white);
  text-align: left;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 999px;
  background: linear-gradient(110deg, rgba(255,255,255,.13), rgba(255,255,255,.045));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 12px 30px rgba(0,0,0,.2);
  backdrop-filter: blur(18px) saturate(120%);
  transition: .2s ease;
}
.brand-link:hover { transform: translateY(-2px); background: linear-gradient(110deg, rgba(255,255,255,.19), rgba(255,255,255,.07)); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 16px 34px rgba(0,0,0,.28); }
.site-link { border-color: rgba(241,84,130,.7); background: linear-gradient(105deg, rgba(190,8,68,.36), rgba(255,255,255,.06)); }

.link-badge {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.link-badge img { width: 100%; height: 100%; object-fit: contain; }
.bergano-badge { background: #10090d; }
.bella-badge { background: #005456; }
.villas-badge { background: #071216; }
.villas-badge { background: #fff; }
.probergano-badge { background: #061d12; }
.probergano-badge img { object-fit: cover; transform: scale(1.08); }
.link-text { flex: 1; font-size: 1rem; font-weight: 500; }
.link-text small { display: block; margin-bottom: 3px; color: rgba(255,255,255,.5); font-size: .63rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.link-arrow { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; color: var(--rose); }
.link-arrow svg { width: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

footer { margin-top: auto; padding-top: 54px; color: rgba(255,255,255,.43); }
.footer-mark { display: grid; width: 28px; height: 28px; margin: 0 auto 8px; place-items: center; color: var(--white); font-size: .72rem; font-weight: 600; border-radius: 8px; background: linear-gradient(145deg, var(--rose), var(--wine-deep)); }
footer p { margin: 0; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 520px) {
  .profile { padding: 52px 20px 30px; }
  .brand-avatar { width: 112px; height: 112px; }
  .brand-link { min-height: 72px; }
  .link-badge { width: 50px; height: 50px; flex-basis: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
