/* سكن قايد — Hostinger static
   Headings: Almarai (clear) · Body: IBM Plex Sans Arabic
   Palette: cedar + ivory + antique gold — not bright green on white */

:root {
  --green: #1f463c;
  --green-dark: #16352e;
  --green-deep: #10241f;
  --green-soft: #e7eeea;
  --gold: #b8954a;
  --gold-bright: #d4b36a;
  --gold-soft: #f3ead6;
  --ink: #1c1915;
  --ink-2: #3a342c;
  --muted: #6a6258;
  --line: #e4d9c8;
  --paper: #efe6d8;
  --white: #f7f1e6;
  --hotels: #1f463c;
  --apartments: #2c4a6e;
  --tips: #8f6d24;
  --decor: #5c3d7a;
  --shadow: 0 18px 50px rgba(28, 25, 21, 0.12);
  --radius: 22px;
  --header-h: 76px;
  --font-display: "Almarai", "IBM Plex Sans Arabic", sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Almarai", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  direction: rtl;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }

.visually-hidden {
  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;
  right: 12px;
  top: -48px;
  background: var(--gold-bright);
  color: #1a1408;
  padding: 8px 14px;
  z-index: 100;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: 0;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header skeleton (avoids flash before JS) */
#site-header { min-height: var(--header-h); background: var(--green-dark); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(105deg, #152e28 0%, #1f463c 55%, #16352e 100%);
  box-shadow: 0 8px 30px rgba(16, 36, 31, 0.28);
}

.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), var(--gold), var(--gold-bright), transparent);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(227, 197, 122, 0.45);
  display: grid;
  place-items: center;
}

.logo-mark svg { width: 28px; height: 28px; }

.logo-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1; }
.logo-tag { font-size: 11px; color: #d7efe6; margin-top: 3px; letter-spacing: 0.2px; }

.nav-desktop { display: flex; gap: 8px; align-items: center; }

.nav-desktop a {
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  background: rgba(255,255,255,0.08);
  border: 1px solid transparent;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  background: rgba(255,255,255,0.18);
  border-color: rgba(227, 197, 122, 0.5);
}

.menu-btn {
  display: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  font-size: 22px;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  padding: 8px 16px 18px;
  flex-direction: column;
  gap: 8px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  font-weight: 600;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  color: #fff;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(16, 36, 31, 0.82) 0%, rgba(31, 70, 60, 0.58) 48%, rgba(28, 25, 21, 0.72) 100%),
    url("../images/hero-bg.webp") center/cover no-repeat;
  transform: scale(1.04);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><path fill='none' stroke='%23e3c57a' stroke-width='1.2' d='M40 4 L52 28 L76 40 L52 52 L40 76 L28 52 L4 40 L28 28 Z'/></svg>");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 72px 0 64px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 163, 90, 0.18);
  border: 1px solid rgba(227, 197, 122, 0.55);
  color: var(--gold-bright);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.hero h1 em {
  font-style: normal;
  color: #e9f6b8;
}

.hero-lead {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-solid { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(12,107,86,0.35); }
.btn-gold { background: var(--gold); color: #1a1408; }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.4); backdrop-filter: blur(6px); }
.btn-dark { background: var(--ink); color: #fff; }

.hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 160px 200px;
  gap: 14px;
}

.mosaic-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 20px 40px rgba(0,0,0,0.28);
}

.mosaic-card img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-card span {
  position: absolute;
  inset-inline-end: 12px;
  bottom: 12px;
  background: rgba(8, 30, 26, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.mosaic-card:first-child { grid-row: 1 / 3; }

/* Sections */
.section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin-top: 6px; }
.section-kicker {
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
}

.alt { background: var(--white); }

/* Category cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cat-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(20,28,39,0.06);
  transition: 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.cat-card .thumb { position: relative; height: 150px; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .thumb i {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45), transparent 50%);
}
.cat-count {
  position: absolute;
  bottom: 10px;
  inset-inline-end: 10px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 8px;
}

.cat-body { padding: 18px; }
.cat-ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 10px; color: var(--green);
}
.cat-ico .ico { width: 22px; height: 22px; }
.cat-body h3 { font-size: 20px; margin-bottom: 6px; }
.cat-body p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.cat-link { font-weight: 700; font-size: 14px; }

/* Article cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(20,28,39,0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: 0.25s ease;
}

.article-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }

.article-card .media { position: relative; height: 188px; overflow: hidden; }
.article-card .media img { width: 100%; height: 100%; object-fit: cover; }
.article-card .media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 45%);
}

.badge {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}
.badge-cat { top: 12px; inset-inline-end: 12px; }
.badge-price { bottom: 12px; inset-inline-end: 12px; border-radius: 999px; }

.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 {
  font-size: 17px;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-body p {
  color: var(--muted);
  font-size: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 13px;
  color: #8a94a3;
}
.more {
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 13px;
}

.cat-hotels { background: var(--hotels); }
.cat-apartments { background: var(--apartments); }
.cat-tips { background: var(--tips); }
.cat-decor { background: var(--decor); }
.tone-hotels { color: var(--hotels); background: var(--green-soft); }
.tone-apartments { color: var(--apartments); background: #e7f0f8; }
.tone-tips { color: var(--tips); background: var(--gold-soft); }
.tone-decor { color: var(--decor); background: #f1e9ff; }

/* Why us */
.why {
  background:
    linear-gradient(135deg, rgba(16,36,31,0.94), rgba(31,70,60,0.88)),
    url("../images/hero-bg.webp") center/cover;
  color: #fff;
  padding: 72px 0;
}
.why h2 { color: #fff; }
.why .section-head p { color: rgba(255,255,255,0.8); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.why-item {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(227,197,122,0.25);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  backdrop-filter: blur(6px);
}
.why-item .why-ico { margin-bottom: 8px; }
.why-item h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.why-item p { color: rgba(255,255,255,0.78); font-size: 14px; }

/* Category hero */
.cat-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 48px;
  color: #fff;
}
.cat-hero .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; filter: brightness(0.35);
}
.cat-hero .tint { position: absolute; inset: 0; }
.cat-hero .wrap { position: relative; }
.crumbs { font-size: 13px; color: rgba(255,255,255,0.75); margin-bottom: 14px; }
.crumbs a { color: rgba(255,255,255,0.75); }
.cat-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); }
.cat-hero p { color: rgba(255,255,255,0.88); max-width: 640px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  color: #fff;
  background: rgba(255,255,255,0.14);
  border: 1px solid transparent;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.chip.is-active { background: rgba(255,255,255,0.28); border-color: rgba(255,255,255,0.55); }

/* Article page */
.article-hero {
  position: relative;
  height: clamp(220px, 38vw, 380px);
  overflow: hidden;
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero .shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,20,18,0.78), rgba(8,20,18,0.15));
}
.article-hero .wrap {
  position: absolute; inset-inline: 0; bottom: 24px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  padding: 28px 0 64px;
}

.paper {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(20,28,39,0.05);
}

.article-main { padding: 32px; }

.meta-row, .kw-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.meta-row span { color: var(--muted); font-size: 13px; }
.kw {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.price-note {
  background: var(--gold-soft);
  border-right: 4px solid var(--gold);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: #5a4718;
  margin: 8px 0 22px;
}

.article-content h1 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 16px; }
.article-content h2 {
  font-size: clamp(18px, 2.4vw, 23px);
  margin: 30px 0 12px;
  padding-right: 12px;
  border-right: 4px solid var(--green);
}
.article-content h3 { font-size: 18px; margin: 18px 0 8px; }
.article-content p { color: #334155; margin-bottom: 14px; font-size: 16.5px; }
.article-content p.lead {
  background: #fbf6e8;
  border-right: 4px solid var(--gold);
  padding: 16px 18px;
  border-radius: 12px;
  font-size: 17.5px;
  color: #3f4a3a;
}
.article-content ul, .article-content ol { padding-right: 22px; margin: 8px 0 18px; }
.article-content li { color: #334155; margin-bottom: 6px; }
.article-content strong { color: var(--ink); }
.article-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-content a:hover { color: #16352e; }

.byline {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 14px;
}

.article-toc {
  background: #fbf6e8;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 8px 0 22px;
}
.article-toc p {
  font-weight: 800;
  font-family: var(--font-display);
  margin: 0 0 8px;
  color: var(--ink);
}
.article-toc ol { padding-right: 20px; margin: 0; }
.article-toc a { color: var(--green); font-weight: 700; }

.khulasa {
  background: var(--green-soft);
  border-right: 4px solid var(--green);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 22px 0;
}
.khulasa h2 {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 8px !important;
  font-size: 18px;
  color: var(--green);
}
.khulasa p { margin: 0 !important; color: var(--ink-2) !important; }

.sources {
  font-size: 13px !important;
  color: var(--muted) !important;
  margin-top: 8px !important;
}

.search-bar {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 14px;
  align-items: center;
}
.search-bar input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 15px;
  outline: none;
  color: var(--ink);
  min-width: 0;
}

.footer-disclaimer {
  color: #9aa8b6;
  font-size: 13px;
  margin-top: 12px;
  line-height: 1.7;
}
.contact-line a { color: #b7f0d6; }

.article-figure {
  margin: 8px 0 24px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.article-figure img { width: 100%; height: clamp(220px, 42vw, 420px); object-fit: cover; }
.article-figure figcaption {
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
  padding: 10px 14px;
}

.decor-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 12px 0 28px;
}
.decor-gallery figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.decor-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.decor-gallery figcaption {
  padding: 10px 12px 12px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 700;
  line-height: 1.55;
}
.decor-gallery figure:first-child {
  grid-column: 1 / -1;
}
.decor-gallery figure:first-child img { height: 320px; }

.table-container {
  overflow-x: auto;
  margin: 16px 0 22px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(20,28,39,0.06);
}
.article-content table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 520px; }
.article-content th {
  background: var(--green);
  color: #fff;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 14px;
  text-align: right;
}
.article-content td {
  padding: 10px 14px;
  border-bottom: 1px solid #f0ebe3;
  font-size: 14px;
  color: #334155;
}
.article-content tr:nth-child(even) td { background: #fbfaf6; }
.article-content tr:hover td { background: #eef8f4; }

.faq { margin: 16px 0; }
.faq-item {
  background: #f7f4ee;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 10px;
  border-right: 4px solid var(--green);
}
.faq-item h3 { margin: 0 0 6px; font-size: 16px; }
.faq-item p { margin: 0; font-size: 14.5px; color: #4b5563; }

.share { padding: 18px 22px; margin-top: 16px; }
.share h3 { font-size: 16px; margin-bottom: 10px; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-row button {
  border: 0;
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
}

.side-card { padding: 18px; margin-bottom: 16px; }
.side-card h3 { font-size: 16px; margin-bottom: 12px; }
.side-related a {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.side-related img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.side-related p { font-size: 13px; font-weight: 700; line-height: 1.5; }
.side-related span { font-size: 11px; color: #8a94a3; }

.cta-side {
  display: block;
  text-align: center;
  color: #fff;
  padding: 11px;
  border-radius: 12px;
  font-weight: 700;
  margin-top: 12px;
}

/* Footer */
#site-footer { background: #0d1822; }
.site-footer {
  background:
    linear-gradient(180deg, #12202c 0%, #0c141c 100%);
  color: #d5dde6;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-bright), var(--gold), transparent);
}
.footer-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'><path fill='none' stroke='%23e3c57a' stroke-width='1' d='M36 6 L46 26 L66 36 L46 46 L36 66 L26 46 L6 36 L26 26 Z'/></svg>");
  pointer-events: none;
}

.footer-inner { position: relative; padding: 56px 0 22px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-brand .logo-name { color: #fff; }
.footer-brand p { color: #9aa8b6; font-size: 14px; margin-top: 12px; max-width: 320px; }
.footer-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.footer-tags span {
  background: rgba(12,107,86,0.28);
  color: #9eebc8;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
}
.site-footer h3 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.site-footer li a {
  color: #9aa8b6;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.site-footer li a:hover { color: #b7f0d6; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9aa8b6;
  font-size: 14px;
  margin-bottom: 10px;
}
.ico {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  max-width: 16px;
  max-height: 16px;
  display: inline-block;
  vertical-align: -3px;
  flex-shrink: 0;
}
.site-footer .ico,
.contact-line .ico {
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
  max-width: 15px;
  max-height: 15px;
}
.nav-desktop a .ico,
.nav-mobile a .ico {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: #7d8a98;
  font-size: 13px;
}

.center { text-align: center; }
.mt { margin-top: 28px; }
.empty { padding: 80px 20px; text-align: center; }

@media (max-width: 980px) {
  .hero-inner, .article-layout, .footer-grid, .cat-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .hero-mosaic { grid-template-rows: 140px 160px; }
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .menu-btn { display: flex; }
  .decor-gallery { grid-template-columns: 1fr; }
  .decor-gallery figure:first-child img { height: 220px; }
  .hero-inner, .article-layout, .footer-grid, .cat-grid, .why-grid, .cards { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-inner { padding: 48px 0 40px; }
  .hero-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 120px; }
  .mosaic-card:first-child { grid-row: auto; }
  .article-main { padding: 22px 16px; }
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  padding: 16px 0 18px;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: #9aa8b6;
}
.footer-legal a { color: #c6d0d8; text-decoration: none; transition: color .2s ease; }
.footer-legal a:hover { color: #d4b36a; }
.footer-legal .sep { opacity: .45; }

@media (max-width: 720px) {
  .hero-bg {
    background:
      linear-gradient(115deg, rgba(16, 36, 31, 0.82) 0%, rgba(31, 70, 60, 0.58) 48%, rgba(28, 25, 21, 0.72) 100%),
      url("../images/hero-bg-mobile.webp") center/cover no-repeat;
  }
}
