/* Barka Apartman - shared design system (based on pensiuneabarka.com). Page-specific styles live in their own files. */
/* ============================================================
   BARKA RESORT — Glassmorphism SaaS
============================================================ */
:root{
  /* Warm luxurious palette translated to a soft, glassy ambience */
  --bg-0:      #f7f4ec;   /* cream base */
  --bg-1:      #e9eedf;
  --bg-tint:   #fcfaf5;

  --ink:       #26301f;
  --ink-2:     #3d4836;
  --ink-3:     #68735e;
  --ink-4:     #98a08c;

  --burgundy:  #3f5a34;
  --burgundy-2:#2c3f24;
  --burgundy-3:#587d47;

  --gold:      #7f9a63;
  --gold-2:    #5f7d4b;
  --gold-3:    #c9ddb9;

  /* glass system */
  --glass-bg:      rgba(252,250,245, 0.55);
  --glass-bg-2:    rgba(252,250,245, 0.35);
  --glass-bg-dark: rgba(38,48,31, 0.35);
  --glass-border:  rgba(252,250,245, 0.65);
  --glass-border-2:rgba(127,154,99, 0.35);
  --glass-shadow:
      0 1px 0 rgba(255,255,255,0.55) inset,
      0 -1px 0 rgba(127,154,99,0.10) inset,
      0 30px 60px -20px rgba(44,63,36, 0.18),
      0 10px 24px -14px rgba(44,63,36, 0.14);

  --serif: "Instrument Serif", "Playfair Display", Georgia, serif;
  --sans:  "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(20px, 3vw, 44px);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* -------- Ambient background -------- */
.ambient{
  position: fixed; inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 12% -10%, #e1ecd8 0%, transparent 60%),
    radial-gradient(900px 700px  at 95% 10%, #d6e4c8 0%, transparent 55%),
    radial-gradient(900px 900px  at 85% 90%, #dbe5cd 0%, transparent 60%),
    radial-gradient(700px 700px  at  5% 85%, #dbe7cc 0%, transparent 55%),
    linear-gradient(180deg, #f7f4ec 0%, #eef2e4 100%);
}
.ambient::before,
.ambient::after{
  content:"";
  position:absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}
.ambient::before{
  width: 700px; height: 700px;
  left: -180px; top: 20%;
  background: radial-gradient(circle, #7f9a63 0%, transparent 65%);
  animation: float1 24s ease-in-out infinite;
}
.ambient::after{
  width: 800px; height: 800px;
  right: -200px; top: 40%;
  background: radial-gradient(circle, #3f5a34 0%, transparent 65%);
  opacity: .28;
  animation: float2 30s ease-in-out infinite;
}
.ambient .blob-3{
  position:absolute; width: 600px; height:600px; border-radius:50%;
  left: 30%; top: 70%;
  background: radial-gradient(circle, #c9ddb9 0%, transparent 65%);
  filter: blur(90px);
  opacity: .45;
  animation: float3 26s ease-in-out infinite;
}
.ambient .noise{
  position:absolute; inset:0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.4  0 0 0 0 0.3  0 0 0 0 0.2  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity: .12;
  mix-blend-mode: multiply;
}
@keyframes float1{
  0%,100%{ transform: translate(0,0); }
  50%{ transform: translate(80px, -40px); }
}
@keyframes float2{
  0%,100%{ transform: translate(0,0); }
  50%{ transform: translate(-60px, 40px); }
}
@keyframes float3{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(-40px, -60px) scale(1.05); }
}

/* -------- Typography -------- */
h1,h2,h3,h4{
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  letter-spacing: -.015em; margin: 0;
}
h1{ font-size: clamp(48px, 7vw, 108px); line-height: .98; letter-spacing: -.03em; }
h2{ font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -.02em; }
h3{ font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
h4{ font-size: 18px; line-height: 1.25; }

.italic{ font-style: italic; }
.ink3{ color: var(--ink-3); }
.gold{ color: var(--gold-2); }

.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 11.5px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(252,250,245, .55);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 8px 20px -12px rgba(44,63,36,.15);
}
.eyebrow .pulse{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(127,154,99,.6);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(127,154,99,.55); }
  70%{ box-shadow: 0 0 0 8px rgba(127,154,99,0); }
  100%{ box-shadow: 0 0 0 0 rgba(127,154,99,0); }
}

p{ margin: 0 0 1em; color: var(--ink-2); }
.lede{ font-family: var(--serif); font-size: clamp(20px, 1.6vw, 26px); line-height: 1.4; color: var(--ink); font-style: italic; }

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
button{ font-family: inherit; cursor: pointer; }

/* -------- Layout -------- */
.container{ max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section{ padding: clamp(80px, 9vw, 130px) 0; position: relative; }

.section-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap: 40px;
  margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap;
}
.section-head .title-block{ max-width: 720px; }
.section-head .title-block h2{ margin-top: 20px; }
.section-head .side-note{
  max-width: 340px; color: var(--ink-2); font-size: 14.5px; line-height:1.6; padding-bottom: 10px;
}
.section-num{ font-family: var(--serif); font-style: italic; color: var(--gold-2); font-size: 15px; }

/* ============================================================
   GLASS PRIMITIVE
============================================================ */
.glass{
  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  position: relative;
}
.glass::before{
  content:""; position:absolute; inset:0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(255,255,255,0) 40%, rgba(127,154,99,.35) 90%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.glass-dark{
  background: linear-gradient(160deg, rgba(44,63,36,.85), rgba(28,40,22,.75));
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(127,154,99,.35);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 0 rgba(201,221,185,.15) inset,
    0 30px 60px -20px rgba(20,28,16,0.4);
  color: #eef2e4;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn .arrow{ transition: transform .35s var(--ease); }
.btn:hover .arrow{ transform: translateX(3px); }
.btn-primary{
  background: linear-gradient(180deg, var(--burgundy-3) 0%, var(--burgundy) 100%);
  color: #f7f4ec;
  box-shadow:
    0 1px 0 rgba(255,255,255,.25) inset,
    0 -1px 0 rgba(0,0,0,.15) inset,
    0 10px 22px -10px rgba(63,90,52,.55),
    0 4px 10px -6px rgba(63,90,52,.4);
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.3) inset,
    0 -1px 0 rgba(0,0,0,.15) inset,
    0 14px 28px -10px rgba(63,90,52,.6),
    0 6px 14px -8px rgba(63,90,52,.4);
}
.btn-glass{
  background: rgba(252,250,245, 0.55);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.75);
  color: var(--ink);
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 8px 20px -12px rgba(44,63,36,.2);
}
.btn-glass:hover{ background: rgba(252,250,245, .8); transform: translateY(-1px); }
.btn-ghost{
  background: transparent;
  border: 1px solid rgba(38,48,31,.2);
  color: var(--ink);
}
.btn-ghost:hover{ background: rgba(38,48,31,.06); border-color: rgba(38,48,31,.4); }
.btn-icon{
  width: 46px; height: 46px; padding: 0;
  display: inline-grid; place-items:center;
  border-radius: 50%;
}

/* ============================================================
   UTILITY BAR
============================================================ */
.utilbar{
  padding-top: 16px;
}
.utilbar .row{
  display:flex; align-items:center; justify-content:space-between;
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
}
.utilbar .util-left span + span{ margin-left: 24px; }
.util-dot{ width: 3px; height:3px; border-radius:50%; background: var(--gold); display:inline-block; margin:0 12px 2px; vertical-align:middle; }

.langs{
  display:inline-flex; gap: 4px; align-items:center;
  padding: 4px;
  border-radius: 999px;
  background: rgba(252,250,245, .5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.65);
}
.langs button{
  background: transparent; border: none;
  font: 500 11px var(--sans); letter-spacing:.16em;
  color: var(--ink-3);
  padding: 6px 12px; border-radius: 999px;
  transition: all .25s var(--ease);
}
.langs button.active{
  background: rgba(63,90,52,.9);
  color: #f7f4ec;
}
.langs button:hover:not(.active){ color: var(--ink); }
.langs .lang-full{ display: none; }
.mobile-langs{ display: none; }

/* ============================================================
   NAV
============================================================ */
.nav-wrap{
  position: sticky; top: 12px; z-index: 50;
  padding: 0 var(--gutter);
  margin: 16px auto 0;
}
.nav{
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  background: rgba(252,250,245, .55);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 12px 30px -14px rgba(44,63,36,.18);
}
.brand{ display:flex; align-items:center; gap: 12px; }
.monogram{
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--burgundy-3), var(--burgundy-2));
  color: #eef2e4;
  font-family: var(--serif); font-size: 19px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.25) inset,
    0 -1px 0 rgba(0,0,0,.2) inset,
    0 6px 12px -6px rgba(44,63,36,.5);
  position: relative;
}
.monogram::after{
  content:""; position:absolute; inset:2px; border-radius:50%;
  border: 1px solid rgba(201,221,185,.4);
}
.wordmark{ display:flex; flex-direction: column; line-height: 1; }
.wordmark .n1{ font-family: var(--serif); font-size: 20px; letter-spacing: .1em; color: var(--ink); }
.wordmark .n2{ font-family: var(--sans); font-size: 9px; letter-spacing: .3em; color: var(--gold-2); margin-top: 4px; text-transform: uppercase; font-weight: 500; }

.nav-links{
  display: flex; gap: 6px; justify-content: center; align-items: center;
}
.nav-links a{
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px;
  transition: all .25s var(--ease);
}
.nav-links a:hover{ color: var(--ink); background: rgba(38,48,31,.05); }

.nav-right{ display:flex; justify-content: flex-end; align-items: center; gap: 10px; }

/* ============================================================
   FOOTER
============================================================ */
footer{ padding: 60px 0 30px; margin-top: 40px; }
.footer-card{
  padding: clamp(40px, 5vw, 70px);
  border-radius: 40px;
}
.footer-grid{
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(201,221,185,.2);
}
.footer-nl h4{ color: #f7f4ec; font-family: var(--serif); font-size: 26px; margin-bottom: 16px; }
.footer-nl p{ color: rgba(201,221,185,.85); font-size: 14px; margin-bottom: 22px; max-width: 340px; }
.nl-form{
  display: flex; gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(252,250,245,.08);
  border: 1px solid rgba(201,221,185,.3);
}
.nl-form input{
  flex: 1; background: transparent; border: none; color: #f7f4ec;
  font-family: var(--sans); font-size: 14px; outline: none; padding: 10px 16px;
}
.nl-form input::placeholder{ color: rgba(201,221,185,.55); }
.nl-form button{
  background: linear-gradient(180deg, var(--gold-3), var(--gold));
  border: none; color: #2c3f24;
  font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  padding: 10px 22px; border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset;
}

.footer-col ul{ list-style: none; padding: 0; margin: 0; }
.footer-col li{ padding: 6px 0; }
.footer-col li a{ font-size: 14px; color: rgba(201,221,185,.75); transition: color .25s var(--ease); }
.footer-col li a:hover{ color: var(--gold-3); }
.footer-col .k{
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-3);
  font-weight: 500; margin-bottom: 16px; display: block;
}
.footer-bottom{
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  font-size: 12px; color: rgba(201,221,185,.5);
}
.footer-bottom .brand-mini{ display: flex; align-items: center; gap: 12px; }
.footer-bottom .brand-mini .monogram{ width: 34px; height: 34px; font-size: 15px; }
.footer-bottom .brand-mini .n1{ font-family: var(--serif); font-size: 16px; letter-spacing: .12em; color: #f7f4ec; }
.footer-bottom a:hover{ color: var(--gold-3); }

/* ============================================================
   Reveal
============================================================ */
.reveal{ opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in{ opacity: 1; transform: none; }
.reveal-d1{ transition-delay: .08s; }
.reveal-d2{ transition-delay: .16s; }
.reveal-d3{ transition-delay: .24s; }
.reveal-d4{ transition-delay: .32s; }

/* ============================================================
   BARKA APARTMAN ADDITIONS (shared by every public page)
============================================================ */
.skip-link{ position:absolute; left:-9999px; top:8px; z-index:100; padding:10px 16px; border-radius:999px; background:var(--burgundy); color:#f7f4ec; }
.skip-link:focus{ left:12px; }
:focus-visible{ outline: 2px solid var(--gold-2); outline-offset: 3px; }

/* Account icon in the header: a round glass button with a person glyph. */
.nav-account{
  position: relative;
  width: 46px; height: 46px; flex: 0 0 46px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  color: var(--burgundy);
  background: rgba(252,250,245, .6);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 8px 18px -12px rgba(44,63,36,.35);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.nav-account:hover{ transform: translateY(-1px); background: rgba(252,250,245,.9); }
.nav-account svg{ width: 20px; height: 20px; }
.nav-account[data-signed-in="true"]::after{
  content:""; position:absolute; right: 7px; top: 7px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold); border: 2px solid #f7f4ec;
}

/* Mobile menu (hamburger) */
.nav-menu-btn{ display:none; width:46px; height:46px; border-radius:50%; border:1px solid rgba(255,255,255,.8); background: rgba(252,250,245,.6); color: var(--ink); place-items:center; }
.nav-menu-btn svg{ width:20px; height:20px; }
.mobile-menu{ display:none; }
.mobile-menu[data-open="true"]{
  display:block; max-width: var(--maxw); margin: 10px auto 0; padding: 14px;
  border-radius: 26px; background: rgba(252,250,245,.92);
  backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.8); box-shadow: var(--glass-shadow);
}
.mobile-menu a{ display:block; padding: 13px 16px; border-radius: 14px; font-weight: 500; color: var(--ink-2); }
.mobile-menu a:hover, .mobile-menu a[aria-current="page"]{ background: rgba(38,48,31,.05); color: var(--ink); }

/* Form controls */
.field{ display:flex; flex-direction:column; gap: 8px; }
.field > span, .field > label{ font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
.input, .field input, .field select, .field textarea{
  width: 100%; font: 400 15.5px/1.4 var(--sans); color: var(--ink);
  padding: 14px 18px; border-radius: 16px;
  background: rgba(255,255,255,.62); border: 1px solid rgba(95,125,75,.25);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--gold); background: rgba(255,255,255,.85);
  box-shadow: 0 0 0 4px rgba(127,154,99,.18);
}
.field textarea{ resize: vertical; min-height: 96px; }
.form-error{ color: #9b1c2c; font-size: 14px; min-height: 1.2em; margin: 0; }
.form-ok{ color: #2f6b45; font-size: 14px; margin: 0; }
.muted{ color: var(--ink-3); font-size: 14px; }
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* Page hero used on inner pages (booking, account, legal) */
.page-hero{ padding: clamp(48px, 6vw, 80px) 0 clamp(24px, 3vw, 36px); }
.page-hero h1{ font-size: clamp(42px, 6vw, 84px); margin: 18px 0 14px; }
.page-hero p{ max-width: 640px; font-size: 17px; }

/* Responsive rules for the shared chrome */
@media (max-width: 1024px){
  .nav{ grid-template-columns: 1fr auto; padding: 10px 12px 10px 18px; }
  .nav-links{ display: none; }
  .nav-menu-btn{ display: inline-grid; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  :root{ --gutter: clamp(16px, 5vw, 24px); }
  section{ padding: clamp(60px, 12vw, 90px) 0; }
  h1{ font-size: clamp(38px, 10vw, 62px); }
  h2{ font-size: clamp(30px, 7.5vw, 48px); }
  .section-head{ align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-head .side-note{ max-width: 100%; }
  .utilbar{ display: none; }
  .nav-wrap{ top: 8px; margin-top: 10px; }
  .mobile-langs{ display: flex; width: min(100%, 320px); margin: 8px auto 0; padding: 3px; justify-content: center; }
  .mobile-langs button{ flex: 1 1 0; min-height: 34px; padding: 6px 8px; font-size: 10px; }
  .mobile-langs .lang-short{ display: none; }
  .mobile-langs .lang-full{ display: inline; }
  .nav-right .btn-ghost{ display: none; }
  .footer-grid{ grid-template-columns: 1fr; gap: 32px; }
  .field input, .field select, .field textarea{ font-size: 16px; }
}
@media (max-width: 480px){
  .nav-wrap{ padding: 0 10px; }
  .nav{ gap: 6px; padding: 7px 8px; }
  .nav .brand{ gap: 8px; min-width: 0; }
  .nav .monogram{ width: 36px; height: 36px; font-size: 17px; }
  .nav .wordmark .n1{ font-size: 15px; letter-spacing: .07em; white-space: nowrap; }
  .nav .wordmark .n2{ display: none; }
  .nav-right{ gap: 6px; }
  .nav-right .btn{ min-height: 42px; padding: 0 14px; font-size: 12px; }
  .nav-account, .nav-menu-btn{ width: 42px; height: 42px; flex-basis: 42px; }
  .footer-card{ padding: 34px 20px; border-radius: 28px; }
  .footer-bottom{ align-items: flex-start; flex-direction: column; gap: 16px; }
  .btn{ padding: 14px 20px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
  .reveal{ opacity: 1; transform: none; }
}
/* i18n.js marks the chosen language with aria-pressed */
.langs button[aria-pressed="true"]{ background: rgba(63,90,52,.9); color: #f7f4ec; }
.utilbar .util-left a{ color: inherit; }
/* Footer legal badges (ANPC SAL / EU SOL), shared by every page */
.footer-legal{ display: flex; flex-wrap: wrap; gap: 10px; width: 100%; justify-content: flex-start; }
.footer-legal .bf-badge{
  display: flex; align-items: center; gap: 12px; min-width: 0; width: 280px; max-width: 100%;
  padding: 7px 14px 7px 7px; border-radius: 999px;
  border: 1px solid rgba(201,221,185,.3); background: rgba(252,250,245,.06); color: #eef2e4;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.footer-legal .bf-badge:hover{ border-color: rgba(201,221,185,.6); background: rgba(252,250,245,.1); transform: translateY(-1px); }
.footer-legal .bf-mark{ flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(160deg, var(--gold-3), var(--gold-2)); color: #2c3f24; text-align: center; }
.footer-legal .bf-mark svg{ width: 22px; height: 22px; display: block; margin: 0 auto; }
.footer-legal .bf-mark small{ display: block; margin-top: 1px; font: 700 8px/1 var(--sans); letter-spacing: .08em; }
.footer-legal .bf-badge-body{ display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.footer-legal .bf-badge-text{ font: 600 10.5px/1.25 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #f7f4ec; }
.footer-legal .bf-cta{ padding: 2px 9px; border-radius: 999px; background: rgba(201,221,185,.18); color: var(--gold-3); font: 700 9px/1.6 var(--sans); letter-spacing: .12em; }
@media (max-width: 480px){ .footer-legal .bf-badge{ width: 100%; } }

/* Phone button in the header: number + icon on wide screens, round icon on smaller ones */
.nav-right .nav-phone{ display: inline-flex; align-items: center; gap: 8px; color: var(--burgundy); }
.nav-phone svg{ width: 18px; height: 18px; flex: none; }
@media (max-width: 1240px){
  .nav-right .nav-phone{ width: 46px; height: 46px; flex: 0 0 46px; padding: 0; justify-content: center; border-radius: 50%;
    background: rgba(252,250,245,.6); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 8px 18px -12px rgba(44,63,36,.35); }
  .nav-phone span{ display: none; }
}
@media (max-width: 720px){ .nav-right .nav-phone{ display: inline-flex; } }
@media (max-width: 480px){ .nav-right .nav-phone{ width: 42px; height: 42px; flex-basis: 42px; min-height: 0; padding: 0; } }

/* Very narrow phones: keep the brand, the account icon and the booking button on one line */
@media (max-width: 400px){
  .nav-right .nav-phone{ width: 38px; height: 38px; flex-basis: 38px; }
  .nav .monogram{ width: 32px; height: 32px; font-size: 15px; }
  .nav .wordmark .n1{ font-size: 13px; letter-spacing: .05em; white-space: normal; line-height: 1.05; max-width: 84px; }
  .nav-right{ gap: 5px; }
  .nav-right .btn-primary{ padding: 0 12px; font-size: 11.5px; }
  .nav-right .btn-primary .arrow{ display: none; }
  .nav-account, .nav-menu-btn{ width: 38px; height: 38px; flex-basis: 38px; }
}
/* v22.3: official ANPC SAL / SOL badges, as on pensiuneabarka.com */
.footer-legal{ align-items: center; gap: 12px; }
.footer-legal .anpc-badge{ display: block; width: 250px; max-width: calc(50% - 6px); border-radius: 10px; overflow: hidden; background: #fff; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.footer-legal .anpc-badge:hover{ transform: translateY(-1px); box-shadow: 0 10px 22px -14px rgba(0,0,0,.5); }
.footer-legal .anpc-badge img{ display: block; width: 100%; height: auto; }
@media (max-width: 480px){ .footer-legal .anpc-badge{ max-width: 100%; width: 100%; } }

/* v22.4: footer assurance row (ANPC SAL / SOL + Stripe) and company line, same on every page */
footer .ft-assure{ display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px 40px; padding: 30px 0; border-bottom: 1px solid rgba(201,221,185,.2); }
footer .ft-assure-item{ display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
footer .ft-cap{ font: 500 11px/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-3); }
footer .ft-badges{ display: flex; flex-wrap: wrap; gap: 12px; }
footer .ft-badge{ display: block; width: 250px; max-width: 100%; line-height: 0; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 8px 18px -12px rgba(0,0,0,.45); transition: transform .25s var(--ease); }
footer .ft-badge:hover, footer .ft-stripe:hover{ transform: translateY(-1px); }
footer .ft-badge img{ display: block; width: 100%; height: auto; }
footer .ft-stripe{ display: inline-block; line-height: 0; padding: 8px 12px; border-radius: 10px; background: #fff; box-shadow: 0 8px 18px -12px rgba(0,0,0,.45); transition: transform .25s var(--ease); }
footer .ft-stripe img{ display: block; width: 150px; height: 34px; }
footer .footer-bottom{ padding-top: 24px; border-top: 0; }
footer .ft-company{ margin: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; font: 12px/1.6 var(--sans); color: rgba(201,221,185,.75); }
@media (max-width: 860px){ footer .ft-assure{ grid-template-columns: 1fr; } }
@media (max-width: 720px){ footer .footer-bottom{ flex-direction: column; align-items: flex-start; gap: 14px; } footer .ft-company{ justify-content: flex-start; flex-direction: column; gap: 2px; } }
@media (max-width: 560px){ footer .ft-badges{ width: 100%; } footer .ft-badge{ width: 100%; max-width: 320px; } }

/* v22.4: once the page is scrolled the floating header gets a solid glass so content no longer shows through it,
   and on phones the separate language row folds away (the languages are also in the menu). */
.nav-wrap .nav{ transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.nav-wrap[data-scrolled="true"] .nav{ background: rgba(252,250,245,.94); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 14px 30px -16px rgba(44,63,36,.3); }
.mobile-menu .menu-langs{ display: flex; gap: 6px; margin-top: 10px; padding: 4px; border-radius: 999px; background: rgba(63,90,52,.07); }
.mobile-menu .menu-langs button{ flex: 1 1 0; min-height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 13px/1 var(--sans); cursor: pointer; }
.mobile-menu .menu-langs button[aria-pressed="true"]{ background: var(--burgundy); color: #f7f4ec; }
@media (max-width: 720px){
  .nav-wrap[data-scrolled="true"] .mobile-langs{ display: none; }
  .mobile-langs{ background: rgba(252,250,245,.9); }
}

/* v23: floating WhatsApp button */
.wa-float{ position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 26px -10px rgba(0,0,0,.45), 0 0 0 4px rgba(255,255,255,.7); transition: transform .25s var(--ease); }
.wa-float:hover{ transform: translateY(-2px) scale(1.04); }
.wa-float svg{ width: 30px; height: 30px; }
@media (max-width: 720px){ .wa-float{ right: 14px; bottom: 14px; width: 52px; height: 52px; } }
@media print{ .wa-float{ display: none; } }

/* v24: calmer rhythm on every page – less empty space between sections, a still background (no moving blurred
   blobs: they made pages slow to paint, so photos appeared late) */
section{ padding: clamp(56px, 6vw, 92px) 0; }
footer{ padding: 24px 0 28px; margin-top: 0; }
.ambient::before, .ambient::after, .ambient .blob-3{ animation: none !important; }
@media (max-width: 720px){ section{ padding: clamp(44px, 10vw, 64px) 0; } }
