/* Albania Real Estate - design 2026 (maket 02.11). Base: tokens, type, layout, header, footer, messengers. */

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 400 800;
  src: url("fonts/onest-latin-wght-normal.3db826ed1c5d.woff2") format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 400 800;
  src: url("fonts/onest-latin-ext-wght-normal.3e2cb9888206.woff2") format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #001229;          /* headings, main text */
  --ink-2: #33405A;        /* body secondary */
  --muted: #5A6475;        /* captions */
  --accent: #D34346;       /* brand red, Only at Bora */
  --accent-hover: #B5373A;
  --accent-text: #B5373A;  /* red small text on the light-blue / pink cards: 5.4:1 (the brand red there is 4.1:1) */
  --sold: #8C2F1F;
  --signature: #12100C;
  --soon: #A4DBE8;
  --link: #0066FF;
  --wa: #17753F;
  --messenger: #0866FF;
  --line: #E3E8EE;
  --line-2: #CDD5DF;
  --bg: #FFFFFF;
  --bg-soft: #F4F8FA;
  --bg-footer: #FAF9F9;
  --shadow-float: 0 10px 24px rgba(0, 18, 41, .28);
  --radius: 14px;
  --wrap: 1344px;           /* 1280 of content + 2 × gutter, as max-width 1280 + padding 32 in the makets */
  --gutter: 32px;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }

.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;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 8px; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #0b2547; color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--bg-soft); color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #12602f; color: #fff; }
.btn--messenger { background: var(--messenger); color: #fff; }
.btn--messenger:hover { background: #0656d6; color: #fff; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff;
  color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex: none; text-decoration: none;
}
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- utility bar ---------- */
.utility { background: var(--bg-soft); color: var(--ink-2); font-size: 13px; border-bottom: 1px solid var(--line); }
.utility__inner { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.utility__license { display: inline-flex; gap: 8px; align-items: center; }
.utility__license .ico { width: 15px; height: 15px; }
.utility__right { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.utility__phone { color: var(--ink); text-decoration: none; font-weight: 600; }
.utility__phone:hover { color: var(--accent); }

/* ---------- header ---------- */
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header__inner { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.logo { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); min-width: 0; }
.logo:hover { color: var(--ink); }
.logo__mark { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.logo__mark .ico { width: 22px; height: 22px; stroke-width: 2; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.logo__by { font-size: 12px; color: var(--muted); }
.page-home .logo__lic { display: none; }  /* as in Home-Final: the licence is in the utility bar there */

.nav { display: flex; gap: 24px; font-size: 15px; font-weight: 600; }
.nav__item { position: relative; }
.nav__link { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; display: inline-block; }
.nav__link:hover { color: var(--accent); }
.nav__link[aria-current="page"] { border-bottom-color: var(--accent); }
.nav__sub {
  display: none; position: absolute; top: 100%; left: -16px; min-width: 220px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 18, 41, .12);
}
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub, .nav__item.is-open .nav__sub { display: block; }
/* Services: a button that opens its list (its page comes with stage 2), looks like the other items */
.nav__toggle { background: none; border: 0; border-bottom: 3px solid transparent; font: inherit; cursor: pointer; }
.nav__sub a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav__sub a:hover { background: var(--bg-soft); }

.header__actions { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; width: 40px; height: 40px; border: none; background: none; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.menu-toggle .ico { width: 22px; height: 22px; stroke-width: 2; }

/* ---------- footer ---------- */
.footer { background: var(--bg-footer); border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px; padding-top: 56px; padding-bottom: 28px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--ink-2); text-decoration: none; }
.footer__col a:hover { color: var(--accent); }
.footer__title { color: var(--ink); font-weight: 700; }
.footer__brand { color: var(--ink); font-weight: 800; font-size: 18px; }
.footer__phone { color: var(--ink) !important; font-weight: 700; }
.footer__social { display: flex; gap: 8px; margin-top: 6px; }
.footer__social a { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.footer__social .ico { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__bottom a { color: var(--muted); }
.fraud { border-top: 1px solid var(--line); }
.fraud__inner { display: flex; gap: 10px; align-items: flex-start; padding-top: 14px; padding-bottom: 14px; font-size: 13px; color: var(--accent-hover); }
.fraud__inner .ico { width: 16px; height: 16px; stroke-width: 2; margin-top: 2px; }

/* ---------- floating messengers (desktop) ---------- */
.float-chat { position: fixed; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; z-index: 30; }
.float-chat__messenger { width: 52px; height: 52px; border-radius: 999px; background: var(--messenger); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0, 18, 41, .25); }
.float-chat__messenger:hover { color: #fff; background: #0656d6; }
.float-chat__messenger .ico { width: 22px; height: 22px; stroke-width: 2; }
.float-chat__wa { height: 58px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 800; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow-float); }
.float-chat__wa:hover { color: #fff; background: #12602f; }
.float-chat__wa .ico { width: 24px; height: 24px; stroke-width: 2; }
.float-chat.is-tucked { visibility: hidden; }  /* over a block with its own contact buttons (site.js) */

/* ---------- bottom bar (phone) ---------- */
.bottom-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); gap: 8px; align-items: center;
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px rgba(0, 18, 41, .08);
}
.bottom-bar__main { flex: 1; height: 50px; border-radius: 14px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 800; font-size: 15px; display: flex; gap: 8px; align-items: center; justify-content: center; }
.bottom-bar__main:hover { color: #fff; }
.bottom-bar .icon-btn { width: 50px; height: 50px; }
.bottom-bar .icon-btn .ico { width: 18px; height: 18px; }

/* ---------- mobile menu ---------- */
.mobile-menu { display: none; }

@media (max-width: 1080px) {
  .nav { gap: 18px; }
}

@media (max-width: 960px) {
  :root { --gutter: 16px; }
  .utility { font-size: 12px; }
  .utility__inner { padding-top: 6px; padding-bottom: 6px; }
  .utility__license .ico { display: none; }
  .header__inner { padding: 0 12px 0 16px; height: 62px; gap: 8px; }
  .logo { gap: 8px; }
  .logo__mark { width: 32px; height: 32px; border-radius: 10px; }
  .logo__mark .ico { width: 17px; height: 17px; }
  .logo__name { font-size: 14px; }
  .logo__by { font-size: 12px; }
  .logo__lic { display: none; }
  .header .nav { display: none; }
  .header__actions { gap: 6px; }
  .header__actions .icon-btn { width: 38px; height: 38px; }
  .header__actions .icon-btn .ico { width: 18px; height: 18px; }
  .menu-toggle { display: inline-flex; }

  .mobile-menu { position: fixed; inset: 0; z-index: 40; background: #fff; flex-direction: column; overflow-y: auto; }
  .mobile-menu.is-open { display: flex; }
  .mobile-menu__top { display: flex; justify-content: space-between; align-items: center; height: 62px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--line); }
  .mobile-menu__nav { display: flex; flex-direction: column; padding: 8px 16px 24px; }
  .mobile-menu__nav a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; }
  .mobile-menu__nav a.is-sub { font-weight: 500; font-size: 16px; padding: 12px 0 12px 16px; }
  .mobile-menu__group { padding: 14px 0 4px; color: var(--ink); font-weight: 700; font-size: 18px; }
  .mobile-menu__contacts { padding: 0 16px 24px; display: flex; flex-direction: column; gap: 10px; }

  .float-chat { display: none; }
  .bottom-bar { display: flex; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  /* phone footer = compact block of the maket Home-Mobile */
  .footer__grid { display: none; }
  .footer__compact.m-only { display: flex !important; flex-direction: column; gap: 12px; padding-top: 28px; padding-bottom: 20px; font-size: 13px; }
  .footer__compact .footer__brand { font-size: 16px; }
  .footer__compact a { color: var(--ink-2); text-decoration: none; }
  .footer__compact a, .footer__bottom a { display: inline-block; padding: 4px 0; }  /* every phone footer link at least 24 px tall (WCAG 2.5.8) */
  .footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; margin: 0; }  /* links carry 4 px padding */
  .footer__compact .footer__phone { color: var(--ink); font-weight: 700; }
  .footer__social-text a { color: var(--ink); font-weight: 700; }
  .footer__bottom { padding-top: 10px; padding-bottom: 10px; align-items: center; }
  .fraud__inner .ico { display: none; }
}

@media (max-width: 359px) {
  .header__actions .icon-btn--mail { display: none; }
}

body.menu-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
