/* =========================================================
   RIVARO NAUTIC
   Ngjyrat: thellësia e Adriatikut, bardhësia e trupit të barkës,
   gri e tubave Hypalon dhe e kuqja e Tohatsu si theks.
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --deep: #081A28;      /* deti i thellë */
  --ink: #0C2233;       /* blu e errët për tekst */
  --hull: #F2F4F3;      /* trupi i bardhë */
  --fog: #D9E1E4;
  --tube: #7D8A92;      /* gri Hypalon */
  --red: #D8282F;       /* e kuqja Tohatsu */
  --red-ink: #B81F26;

  --display: "Saira Extra Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Saira", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --pad: clamp(1.25rem, 4vw, 4rem);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

body[data-theme="dark"] {
  --bg: var(--deep);
  --fg: #E8EDEF;
  --muted: #9EAFB9;
  --line: rgba(232, 237, 239, .16);
  --panel: rgba(255, 255, 255, .045);
}
body[data-theme="light"] {
  --bg: var(--hull);
  --fg: var(--ink);
  --muted: #53677A;
  --line: rgba(12, 34, 51, .15);
  --panel: rgba(12, 34, 51, .05);
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--body);
  background: var(--bg);
  color: var(--fg);
  transition: background-color .9s cubic-bezier(.4, 0, .2, 1), color .9s cubic-bezier(.4, 0, .2, 1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 1rem; }
.skip:focus { left: 1rem; z-index: 100; background: #fff; color: var(--ink); padding: .6rem 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; }

/* ---------- Butonat ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.5rem;
  font: 600 1rem/1 var(--body); letter-spacing: .01em;
  text-decoration: none; border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .65); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-line { border-color: currentColor; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Shiriti i sipërm ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: calc(1.1rem + env(safe-area-inset-top, 0px)) var(--pad) 1.1rem;
  color: #fff;
  transition: background-color .45s, color .45s, padding .45s, box-shadow .45s;
}
.topbar.is-scrolled {
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--fg);
  padding-block: calc(.65rem + env(safe-area-inset-top, 0px)) .65rem;
  box-shadow: 0 1px 0 var(--line);
}
.brand { position: relative; z-index: 2; text-decoration: none; flex: none; }
.brand span { font: 700 1.65rem/1 var(--display); letter-spacing: .06em; }
.brand img { max-height: 42px; width: auto; }

.menu { display: flex; gap: clamp(1rem, 1.6vw, 1.8rem); margin-left: auto; }
.menu a { position: relative; white-space: nowrap; padding-block: .35rem; text-decoration: none; font-size: .95rem; font-weight: 500; opacity: .78; transition: opacity .2s; }
.menu a:hover, .menu a.is-active { opacity: 1; }
.menu a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); }
.topbar-cta { min-height: 40px; padding: .55rem 1rem; font-size: .92rem; flex: none; }

.burger { display: none; position: relative; z-index: 2; width: 44px; height: 44px; margin-left: auto; background: none; border: 0; color: inherit; cursor: pointer; }
.burger i { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger i:first-child { top: 17px; }
.burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Matësi i thellësisë (navigimi anësor) ---------- */
.gauge {
  position: fixed; right: clamp(.6rem, 1.4vw, 1.4rem); top: 50%; z-index: 40;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: .85rem;
}
.gauge a { display: flex; align-items: center; justify-content: flex-end; gap: .7rem; text-decoration: none; color: var(--fg); font-size: .8rem; font-weight: 500; transition: color .9s; }
.gauge span { opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; white-space: nowrap; pointer-events: none; }
.gauge i { display: block; width: 14px; height: 2px; background: currentColor; opacity: .4; transition: width .4s var(--ease), background-color .3s, opacity .3s; }
.gauge a:hover span, .gauge a:focus-visible span { opacity: 1; transform: none; }
.gauge a:hover i { opacity: .9; }
.gauge a.is-active i { width: 34px; background: var(--red); opacity: 1; }
@media (min-width: 1560px) { .gauge a.is-active span { opacity: 1; transform: none; } }

/* ---------- Hyrja ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 8rem var(--pad) clamp(2rem, 6vh, 4rem);
  color: #fff; background: var(--deep);
  scroll-snap-align: start;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 26, 40, .55) 0%, rgba(8, 26, 40, 0) 26%),
    linear-gradient(0deg, rgba(8, 26, 40, .9) 0%, rgba(8, 26, 40, .35) 38%, rgba(8, 26, 40, 0) 62%);
}
.sea { position: absolute; inset: 0; background: linear-gradient(180deg, #123b57 0%, #0b2b42 50%, #061827 100%); overflow: hidden; }
.sea svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 50%; animation: drift 22s linear infinite; }
@keyframes drift { to { transform: translateX(-50%); } }

.hero-inner { width: 100%; max-width: var(--max); margin-inline: auto; }
.hero-badge { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.4rem; font-weight: 500; font-size: 1rem; }
.hero-badge::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.hero-title {
  margin: 0; max-width: 14ch;
  font: 700 clamp(3.6rem, 11vw, 10.5rem)/.84 var(--display);
  letter-spacing: -.01em;
  text-wrap: balance;
  animation: rise 1.2s var(--ease) both .15s;
}
.hero-foot {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: end;
  margin-top: clamp(1.8rem, 4vh, 3rem); padding-top: 1.5rem;
}
/* vija e ujit që vizatohet në hapje */
.hero-foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: rgba(255, 255, 255, .45); transform-origin: left;
  animation: waterline 1.4s var(--ease) both .55s;
}
.hero-sub { margin: 0; max-width: 54ch; font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(255, 255, 255, .86); animation: fadein 1s ease both .9s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; animation: fadein 1s ease both 1.05s; }
@keyframes rise { from { opacity: 0; transform: translateY(.3em); } to { opacity: 1; transform: none; } }
@keyframes waterline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Seksionet ---------- */
.section {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: clamp(6.5rem, 14vh, 9rem) var(--pad) clamp(4rem, 10vh, 7rem);
  scroll-snap-align: start;
}

.sec-head {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end;
  padding-bottom: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.sec-head h2, .about-copy h2 {
  margin: 0;
  font: 600 clamp(3rem, 7.2vw, 6.75rem)/.88 var(--display);
  letter-spacing: -.005em;
  text-wrap: balance;
}
.sec-note { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; font-weight: 600; }
.sec-note::before { content: ""; width: 24px; height: 2px; background: var(--red); flex: none; }
.sec-intro { margin: 0; max-width: 54ch; color: var(--muted); }
.sec-count { margin: 1rem 0 0; font-size: .875rem; color: var(--muted); }
.empty { color: var(--muted); }

/* ---------- Produktet ---------- */
.lineup {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 2.5vw, 2.5rem);
}
.unit { position: relative; display: flex; flex-direction: column; }
.shot { position: relative; margin: 0 0 1.2rem; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); border-radius: 2px; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.unit:hover .shot img { transform: scale(1.045); }
.tag { position: absolute; top: .8rem; left: .8rem; padding: .28rem .65rem; background: var(--red); color: #fff; font-size: .8rem; font-weight: 600; border-radius: 2px; }

.ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; color: var(--muted); }
.ph svg { width: 52%; opacity: .5; }
.ph span { font-size: .85rem; opacity: .8; }

.unit h3 { margin: 0 0 .45rem; font: 600 2.15rem/1 var(--display); }
.unit-link { all: unset; cursor: pointer; }
.unit-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.unit-link:focus-visible { outline: none; }
.unit:has(.unit-link:focus-visible) { outline: 2px solid var(--red); outline-offset: 8px; }
.unit .short { margin: 0 0 1.1rem; color: var(--muted); font-size: .98rem; max-width: 46ch; }

.keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: auto 0 0; padding-top: .85rem; border-top: 1px solid var(--line); }
.keys div { min-width: 0; }
.keys dt { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.keys dd { margin: .1rem 0 0; font-weight: 600; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.unit-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 1rem 0 0; }
.unit-foot .price { font-weight: 600; }
.unit-foot .more { font-size: .9rem; font-weight: 500; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Rreth nesh ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6.5rem); align-items: center; }
.about-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); border-radius: 2px; }
.about-media img, .about-media video { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { margin-bottom: 2rem; }
.prose p { margin: 0 0 1.1em; max-width: 60ch; }
.prose p:first-child { font-size: 1.2rem; line-height: 1.55; }

.points {
  list-style: none; margin: clamp(3.5rem, 8vw, 6.5rem) auto 0; padding: 2rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 2rem 2.5rem;
  border-top: 1px solid var(--line);
}
.points h3 { margin: 0 0 .5rem; font: 600 1.65rem/1.05 var(--display); }
.points p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Kontakti ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .95fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
.contact-grid.no-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.contact-list { display: grid; gap: 1.4rem; margin: 0; }
.contact-list dt { font-size: .8rem; color: var(--muted); }
.contact-list dd { margin: .15rem 0 0; font-size: 1.15rem; font-weight: 500; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }

.socials { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; }
.socials a { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: background-color .25s, color .25s, border-color .25s; }
.socials a:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.socials svg { width: 20px; height: 20px; }

.cf label { display: block; font-size: .8rem; color: var(--muted); }
.cf input, .cf textarea {
  width: 100%; margin: 0 0 1.4rem; padding: .55rem 0 .7rem;
  background: transparent; color: inherit; font: inherit;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  transition: border-color .2s;
}
.cf textarea { resize: vertical; min-height: 110px; }
.cf input:focus, .cf textarea:focus { outline: none; border-bottom: 2px solid var(--red); padding-bottom: calc(.7rem - 1px); }
.cf-status { margin: .9rem 0 0; min-height: 1.6em; font-size: .95rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--panel); border-radius: 2px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; filter: grayscale(.35) contrast(1.05); }
.map-open { position: absolute; inset: 0; display: flex; align-items: flex-end; text-decoration: none; }
.map-open span { display: inline-flex; align-items: center; gap: .5rem; margin: 1rem; padding: .75rem 1.1rem; background: var(--hull); color: var(--ink); font-weight: 600; font-size: .95rem; border-radius: 2px; box-shadow: 0 6px 24px rgba(4, 14, 22, .25); transition: background-color .25s, color .25s; }
.map-open:hover span, .map-open:focus-visible span { background: var(--red); color: #fff; }

/* ---------- Fundi ---------- */
.foot { padding: 3rem var(--pad) calc(2.2rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.foot-brand { font: 700 1.5rem/1 var(--display); letter-spacing: .06em; }
.foot p { margin: .5rem 0 0; color: var(--muted); font-size: .92rem; max-width: 60ch; }
.foot .foot-copy { margin: 0; }

/* ---------- Dritarja e produktit ---------- */
.pd {
  width: min(1120px, calc(100% - 2rem)); max-width: none; max-height: calc(100svh - 2rem);
  padding: 0; border: 0; border-radius: 4px; overflow: auto;
  background: var(--hull); color: var(--ink);
}
.pd::backdrop { background: rgba(4, 14, 22, .74); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pd[open] { animation: pdIn .4s var(--ease); }
@keyframes pdIn { from { opacity: 0; transform: translateY(18px); } }
.pd-close { position: sticky; top: .8rem; margin: .8rem .8rem -52px auto; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; }
.pd-close:hover { background: var(--red); }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.pd-gallery { padding: 1rem 1rem 1.6rem; background: #E3E8EA; }
.pd-main { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #D5DCDF; color: #53677A; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; padding: 2px; }
.pd-thumbs:empty { display: none; }
.pd-thumbs button { flex: none; width: 76px; aspect-ratio: 4 / 3; padding: 0; border: 0; background: none; cursor: pointer; opacity: .55; transition: opacity .2s; }
.pd-thumbs button:hover { opacity: .85; }
.pd-thumbs button[aria-current="true"] { opacity: 1; outline: 2px solid var(--red); outline-offset: 2px; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { padding: clamp(1.6rem, 3vw, 2.6rem); }
.pd-tag { display: inline-block; margin: 0 0 1rem; padding: .22rem .6rem; background: var(--red); color: #fff; font-size: .8rem; font-weight: 600; border-radius: 2px; }
.pd-info h3 { margin: 0 3rem .7rem 0; font: 600 clamp(2.4rem, 4vw, 3.5rem)/.95 var(--display); }
.pd-desc { margin-top: 1.4rem; padding: 0 .4rem; }
.pd-desc p { margin: 0 0 .9em; color: #3B5063; }
.pd-specs-wrap { margin: .6rem .4rem 0; }
.pd-specs-wrap summary { cursor: pointer; font-weight: 600; padding: .6rem 0; }
.pd-specs { width: 100%; margin: .2rem 0 0; border-collapse: collapse; font-size: .95rem; }
.pd-specs th { width: 45%; padding: .6rem 1rem .6rem 0; text-align: left; font-weight: 400; color: #53677A; border-bottom: 1px solid rgba(12, 34, 51, .14); vertical-align: top; }
.pd-specs td { padding: .6rem 0; font-weight: 600; border-bottom: 1px solid rgba(12, 34, 51, .14); }
.pd-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Gjuhët ---------- */
.langs { position: relative; z-index: 2; display: flex; gap: .2rem; flex: none; }
.langs a { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .45rem; text-decoration: none; font-size: .8rem; font-weight: 600; border-radius: 3px; opacity: .65; transition: opacity .2s, background-color .2s; }
.langs a:hover { opacity: 1; }
.langs a[aria-current="true"] { opacity: 1; background: rgba(127, 140, 150, .2); }
.langs svg { width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); flex: none; }

/* ---------- Konfiguratori ---------- */
.unit-foot .price small { font-weight: 400; color: var(--muted); }
.pd-info { display: flex; flex-direction: column; }
.pd-base { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 0; border-top: 1px solid rgba(12, 34, 51, .14); border-bottom: 1px solid rgba(12, 34, 51, .14); }
.pd-base span { color: #53677A; }
.pd-base strong { font: 600 1.9rem/1 var(--display); }
.pd-base em { font-style: normal; font-weight: 600; }
.cfg { margin-top: 1.6rem; }
.cfg h4, .qf h4 { margin: 0 0 .3rem; font: 600 1.6rem/1.05 var(--display); }
.cfg-hint { margin: 0 0 1rem; font-size: .9rem; color: #53677A; }
.cfg-group { margin: 0 0 1.1rem; padding: 0; border: 0; }
.cfg-group legend { padding: 0; margin: 0 0 .45rem; font-size: .85rem; font-weight: 600; color: #3B5063; }
.cfg-group legend small { font-weight: 400; color: #6A7D8D; }
.opt { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: .7rem .85rem; margin-bottom: .4rem; background: #fff; border: 1px solid rgba(12, 34, 51, .14); border-radius: 3px; cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.opt:hover { border-color: rgba(12, 34, 51, .4); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt .box { width: 20px; height: 20px; border: 1.5px solid #8A9AA6; border-radius: 3px; display: grid; place-items: center; transition: background-color .15s, border-color .15s; }
.opt.radio .box { border-radius: 50%; }
.opt .box::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.opt.radio .box::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #fff; transform: none; }
.opt input:checked ~ .box { background: var(--red); border-color: var(--red); }
.opt input:checked ~ .box::after { opacity: 1; }
.opt:has(input:checked) { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); background: #FFF8F8; }
.opt:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.opt .nm { font-weight: 500; line-height: 1.35; }
.opt .pr { font-weight: 600; white-space: nowrap; font-size: .95rem; }
.opt .pr.inc { color: #1E7A4C; font-weight: 500; }

.cfg-total {
  position: sticky; bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin: 1.4rem calc(-1 * clamp(1.6rem, 3vw, 2.6rem)) 0; padding: 1rem clamp(1.6rem, 3vw, 2.6rem);
  background: var(--ink); color: #fff;
}
.cfg-total-label { display: block; font-size: .85rem; opacity: .8; }
.cfg-total-count { display: block; font-size: .8rem; opacity: .65; }
.cfg-total strong { font: 600 2.2rem/1 var(--display); white-space: nowrap; }
.cfg-total.bump strong { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.06); } }
.cfg-note { margin: .7rem 0 0; font-size: .8rem; color: #6A7D8D; }

.qf { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(12, 34, 51, .14); }
.qf-lead { margin: 0 0 1.1rem; font-size: .92rem; color: #53677A; }
.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.qf-grid .wide { grid-column: 1 / -1; }
.qf label span { display: block; margin-bottom: .25rem; font-size: .8rem; color: #53677A; }
.qf input, .qf textarea { width: 100%; padding: .65rem .75rem; font: inherit; color: var(--ink); background: #fff; border: 1px solid rgba(12, 34, 51, .2); border-radius: 3px; }
.qf input:focus, .qf textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(12, 34, 51, .1); }
.qf textarea { resize: vertical; }
.qf-send { width: 100%; margin-top: 1rem; }
.qf-status { min-height: 1.4em; margin: .7rem 0 0; font-size: .95rem; }
.qf-status.ok { color: #1E7A4C; font-weight: 600; }
.qf-status.err { color: #B81F26; }
.qf .pd-actions { margin-top: .4rem; }
.qf .pd-actions .btn { flex: 1 1 auto; min-height: 42px; font-size: .92rem; }

/* ---------- Përshtatja për ekrane ---------- */
@media (max-width: 1640px) { .topbar-cta { display: none; } }
@media (max-width: 1280px) {
  .burger { display: block; margin-left: .5rem; }
  .langs { margin-left: auto; }
  .menu {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: .2rem;
    margin: 0; padding: 6rem var(--pad) 3rem;
    background: var(--deep); color: #fff;
    transform: translateY(-100%); visibility: hidden;
    transition: transform .55s cubic-bezier(.7, 0, .2, 1), visibility 0s linear .55s;
  }
  .menu a { font: 600 clamp(2.2rem, 7vw, 3.2rem)/1.12 var(--display); opacity: 1; }
  .menu a.is-active::after { display: none; }
  .menu a.is-active { color: var(--red); }
  .menu.is-open { transform: none; visibility: visible; transition: transform .55s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
  .topbar.menu-open { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 1100px) { .gauge { display: none; } }
@media (max-width: 900px) {
  html { scroll-snap-type: none; }
  .section { min-height: 0; }
  .sec-head { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 4 / 3; }
  .contact-grid, .contact-grid.no-form { grid-template-columns: 1fr; }
  .map { max-width: 560px; }
  .hero-foot { grid-template-columns: 1fr; }
  .pd-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .langs a span { display: none; }
  .langs a { padding: .35rem .3rem; }
  .qf-grid { grid-template-columns: 1fr; }
  .brand span { font-size: 1.35rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .keys dd { font-size: .92rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
