:root {
  --ink: #142c25;
  --muted: #43584e;
  --paper: #faf7ee;
  --green: #153b31;
  --lime: #dbf38e;
  --line: #d6dfd1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 "DM Sans", Arial, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #a55114; outline-offset: 4px; }
h1,h2,h3,p { margin: 0; }
h1,h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 500; letter-spacing: -.045em; line-height: .98; }
h2 { font-size: clamp(2.55rem, 5.6vw, 5rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
.wrap { width: min(1200px, 90%); margin-inline: auto; }
.skip { position: absolute; z-index: 2; background: white; padding: .6rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.header { min-height: 84px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; letter-spacing: .13em; line-height: 1.1; }
.logo span { display: grid; place-items: center; width: 43px; height: 43px; background: var(--green); color: var(--lime); border-radius: 50%; font: 28px Georgia, serif; }
.logo small { display: block; font-size: .58rem; margin-top: .25rem; }
nav { display: flex; gap: .5rem 1.4rem; align-items: center; flex-wrap: wrap; }
nav a { text-decoration: none; font-weight: 700; font-size: .9rem; }
nav a:hover { text-decoration: underline; }
.nav-contact { border: 1px solid var(--green); border-radius: 30px; padding: .35rem .85rem; }
.hero {
  position: relative;
  overflow: hidden;
  background: var(--green);
  color: white;
}
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; gap: 1rem; align-items: center; border-radius: 30px; padding: .7rem 1.2rem; text-decoration: none; font-weight: 800; }
.primary { background: var(--lime); color: #142c25; }
.primary:hover { background: #effbcf; }
.outline { border: 1px solid white; }
.outline:hover { background: rgba(255,255,255,.15); }
.photo-credit { position: absolute; right: 5%; bottom: 15px; padding: .15rem .55rem; background: #142c25; font-size: .72rem; }
.about,.brands,.contact-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1.4rem 5rem; }
.about,.section { padding-block: clamp(3rem, 8vw, 6.5rem); }
.about h2,.contact h2 { margin-top: .55rem; }
.about > p,.brands p { color: var(--muted); }
.catalog { background: #edf1e5; }
.filters { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; margin-block: 1.7rem .6rem; }
.filters label { font-weight: 700; }
input,select { display: block; width: 100%; padding: .75rem; border: 1px solid #859a89; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; margin-top: .3rem; }
.result { min-height: 1.7em; margin-bottom: .65rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.store { background: #fffdf7; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.card-art { display: grid; place-items: center; min-height: 138px; font: italic 5.5rem Georgia, serif; color: var(--green); }
.tech { background: radial-gradient(ellipse at top right, #f2ffd0, #c7de9d); }
.textile { background: radial-gradient(ellipse at top right, #f8e8cf, #dcc4a1); }
.home { background: radial-gradient(ellipse at top right, #e2f3e8, #acc9bd); }
.card-body { padding: 1.2rem; }
.card-body h3 { margin: .35rem 0; }
.card-body > a { display: inline-block; margin-top: .65rem; font-weight: 700; }
.brands p,.contact h2 + p { margin-top: 1rem; }
.brand-tile { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; font-size: 1.4rem; font-weight: 800; text-decoration: none; }
.brand-tile:hover { background: #edf1e5; }
.contact { background: var(--green); color: white; }
.contact-card { border: 1px solid #779289; border-radius: 14px; padding: 1.5rem; }
.contact-card .button { margin-top: .9rem; }
.email { margin-top: .4rem; }
.footer { padding-block: 1.5rem; font-size: .9rem; }
@media (max-width: 720px) {
  .header { gap: .6rem; }
  nav { gap: .35rem .8rem; }
  .hero-inner { min-height: 510px; }
  .hero { background-position: center, 62% center; }
  .about,.brands,.contact-inner,.filters,.cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.store-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.store-group { padding: 1.4rem; border: 1px solid var(--line); border-radius: 16px; background: #fffdf7; }
.store-group h3 { margin-bottom: .65rem; }
.group-empty { color: var(--muted); }
.store-group .cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.store-group h4 { margin: 0 0 .35rem; }
@media (max-width: 720px) { .store-groups { grid-template-columns: 1fr; } }

nav a[aria-current="page"] { text-decoration: underline; }
main h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.page-content h1, .page-content h2 { margin-block: .6rem 1.3rem; }
.directory-link { display: flex; justify-content: space-between; align-items: center; font-weight: 800; text-decoration: none; }
.directory-link:hover { background: var(--lime); }
.area-search { display: block; max-width: 32rem; }
.store .card-body h2 { margin: 0 0 .35rem; font: 700 1.35rem/1.25 Arial, sans-serif; letter-spacing: normal; }
.brands h1 + p, .contact h1 + p { margin-top: 1rem; }
.result:empty { display: none; }
.hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 100%;
  pointer-events: none;
}
/* Ana səhifənin video sahəsi */
.hero {
    position: relative;
    width: 100%;
    min-height: 900px;
    overflow: hidden;
    background: #071525;
}

/* Videonun ölçüləri */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Videonun üzərindəki mətn */
.hero-inner {
    position: relative;
    z-index: 2;
}

/* Mobil ekranlar üçün */
@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }
}