/* =======================================================
   ԱՐԵՎԱՁՈՒԿ · MOTION & IMMERSIVE DESIGN SYSTEM
   Խորքի, հոսքի և լույսի սկզբունքով՝ ջրի տակից դեպի սեղան
   ======================================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Armenian:wght@500;600;700&family=Noto+Sans+Armenian:wght@400;500;600;700&display=swap');

:root {
  --abyss: #061A20;        /* խորքի մուգ ֆոն */
  --abyss-soft: #0C2831;   /* վահանակների ֆոն */
  --water: #123B47;        /* միջին շերտ */
  --water-glow: #2E93A8;   /* փայլող կապույտ ակցենտ */
  --pine: #3C6B4F;         /* անտառի կանաչ, դետալների համար */
  --foam: #F3F7F4;         /* բաց տեքստ մուգ ֆոնի վրա */
  --mist: #B7C7C4;         /* մարած տեքստ */
  --trout: #E2653A;        /* կարմրախայտի փայլող նարնջագույն */
  --trout-soft: rgba(226, 101, 58, 0.16);
  --line: rgba(243, 247, 244, 0.12);

  --font-display: 'Noto Serif Armenian', serif;
  --font-body: 'Noto Sans Armenian', sans-serif;

  --ease: cubic-bezier(.22, .8, .32, 1);
}

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

html { scroll-behavior: smooth; }

body.page1 {
  background: var(--abyss);
  color: var(--foam);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* =======================================================
   RIVER PROGRESS SPINE — signature motion element
   ======================================================= */
.river-progress {
  position: fixed;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 56vh;
  background: rgba(243, 247, 244, 0.08);
  border-radius: 3px;
  z-index: 60;
}

.river-progress-fill {
  width: 100%;
  height: 0%;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--water-glow), var(--trout));
  box-shadow: 0 0 14px rgba(46, 147, 168, 0.7);
  transition: height 0.08s linear;
}

.river-marker {
  position: absolute;
  left: 50%;
  top: 0%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--trout);
  box-shadow: 0 0 12px var(--trout);
  transform: translate(-50%, -50%);
  transition: top 0.08s linear;
}

@media (max-width: 900px) {
  .river-progress { display: none; }
}

/* =======================================================
   REVEAL ON SCROLL
   ======================================================= */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.stagger.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.10s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.18s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.34s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.42s; }
.stagger.is-visible > *:nth-child(7) { transition-delay: 0.50s; }
.stagger.is-visible > *:nth-child(8) { transition-delay: 0.58s; }
.stagger.is-visible > *:nth-child(9) { transition-delay: 0.66s; }

/* =======================================================
   HEADER
   ======================================================= */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 5%;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.scrolled {
  background: rgba(6, 26, 32, 0.86);
  backdrop-filter: blur(14px);
  padding: 13px 5%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  border-bottom: 1px solid var(--line);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  transition: width 0.4s var(--ease), height 0.4s var(--ease);
}

.site-header.scrolled .logo {
  width: 40px;
  height: 40px;
}

.grvac {
  font-size: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--foam);
  letter-spacing: 0.2px;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.social-and-lang {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icon img, .gps-link svg {
  width: 20px;
  height: 20px;
  display: block;
  opacity: 0.75;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.gps-link svg { stroke: var(--foam); }

.social-icon img:hover, .gps-link:hover svg {
  transform: translateY(-2px);
  opacity: 1;
}

.top-right-panel { display: flex; gap: 8px; }

.top-right-panel button {
  background: transparent;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  color: var(--mist);
  padding: 9px 16px;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}

.top-right-panel button:hover {
  color: var(--foam);
  border-color: var(--line);
  background-color: rgba(243, 247, 244, 0.06);
}

.top-right-panel .patver {
  background-color: var(--trout);
  color: #fff !important;
  box-shadow: 0 0 0 rgba(226, 101, 58, 0);
}

.top-right-panel .patver:hover {
  background-color: #c8552e;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(226, 101, 58, 0.45);
}

.drosh { background: transparent; border: none; cursor: pointer; display: flex; align-items: center; }

.droshh, .usa, .rus {
  width: 28px; height: auto; border-radius: 3px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

/* =======================================================
   MODAL (general setup)
   ======================================================= */
.modal {
  display: none; /* JS-ով դառնում է flex */
  position: fixed;
  top: 0; left: 0; 
  width: 100%; height: 100%;
  background: rgba(6, 26, 32, 0.8);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 16px;
  box-sizing: border-box;
}

.modal-content {
  background: var(--abyss-soft);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  max-width: 680px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  animation: modalIn 0.3s var(--ease);
  box-sizing: border-box;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(15px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.close {
  position: absolute;
  top: 14px; right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: var(--mist);
  line-height: 1;
  z-index: 10;
  transition: color 0.2s ease;
}
.close:hover { color: var(--trout); }

/* =======================================================
   HERO
   ======================================================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
}

.slider { position: absolute; inset: 0; }

.slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s ease;
}

.slider img.active {
  opacity: 1;
  animation: kenburns 6.5s ease-out forwards;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}

.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,26,32,0.55) 0%, rgba(6,26,32,0.35) 40%, rgba(6,26,32,0.92) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--water-glow);
  font-weight: 600;
  margin-bottom: 18px;
  opacity: 0;
  animation: heroUp 0.9s var(--ease) forwards;
  animation-delay: 0.15s;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.15;
  max-width: 900px;
  color: #fff;
  opacity: 0;
  animation: heroUp 0.9s var(--ease) forwards;
  animation-delay: 0.3s;
}

.hero-sub {
  margin-top: 20px;
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--mist);
  max-width: 620px;
  line-height: 1.7;
  opacity: 0;
  animation: heroUp 0.9s var(--ease) forwards;
  animation-delay: 0.45s;
}

.hero-cta {
  margin-top: 34px;
  display: inline-flex;
  gap: 14px;
  opacity: 0;
  animation: heroUp 0.9s var(--ease) forwards;
  animation-delay: 0.6s;
}

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.btn-primary {
  background: var(--trout);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(226, 101, 58, 0.45);
}

.btn-ghost {
  background: rgba(243, 247, 244, 0.06);
  color: var(--foam);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: rgba(243, 247, 244, 0.14);
  transform: translateY(-3px);
}

@keyframes heroUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid rgba(243, 247, 244, 0.45);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-cue::after {
  content: "";
  width: 4px; height: 8px;
  border-radius: 3px;
  background: var(--water-glow);
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(12px); opacity: 0; }
}

.slider-nav {
  position: absolute;
  bottom: 34px; right: 5%;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.slider-nav button {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(243, 247, 244, 0.1);
  border: 1px solid var(--line);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.slider-nav button:hover { background: rgba(243, 247, 244, 0.22); transform: scale(1.06); }

/* =======================================================
   MARQUEE TICKER
   ======================================================= */
.ticker {
  width: 100%;
  height: 150px;
  overflow: hidden;
  background: var(--abyss-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 32s linear infinite;
}

.ticker-track img {
  width: 220px;
  height: 150px;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.85);
  transition: filter 0.4s ease;
}
.ticker-track img:hover { filter: saturate(1.05) brightness(1); }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =======================================================
   SECTION SHELL
   ======================================================= */
section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 20px;
}

.section-eyebrow {
  font-size: 12.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--water-glow);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px);
  color: var(--foam);
  margin-bottom: 20px;
}

/* =======================================================
   ABOUT
   ======================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--mist);
  max-width: 620px;
}

.stats {
  display: flex;
  gap: 42px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  color: var(--trout);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--mist);
  margin-top: 8px;
  letter-spacing: 0.4px;
}

.video-link-btn {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  text-decoration: none;
}

.video-thumb { width: 100%; display: block; transition: transform 0.5s var(--ease); }
.video-link-btn:hover .video-thumb { transform: scale(1.06); }

.play-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(6, 26, 32, 0.75);
  border: 1px solid var(--line);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.3s ease, transform 0.3s ease;
}
.video-link-btn:hover .play-overlay { background: var(--trout); transform: translate(-50%, -50%) scale(1.05); }

/* =======================================================
   DELIVERY / FAQ
   ======================================================= */
.faq-card {
  background: var(--abyss-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 46px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.faq-card::before {
  content: "";
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--water-glow), var(--trout));
}

.faq-icon {
  font-size: 34px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--trout-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.faq-card p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mist);
}

/* =======================================================
   GALLERY
   ======================================================= */
.nkarnerr {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.dzor {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(1) brightness(0.92);
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}
.dzor:hover { transform: scale(1.02); filter: saturate(1.1) brightness(1); }

/* =======================================================
   ORDER SECTION
   ======================================================= */
.order-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.order-buttons { display: flex; gap: 10px; flex-wrap: wrap; }

.order-buttons button {
  background: rgba(243, 247, 244, 0.06);
  color: var(--foam);
  border: 1px solid var(--line);
  padding: 11px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.order-buttons button:hover { background: rgba(243, 247, 244, 0.14); transform: translateY(-2px); }

.yndanur {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}

.product-card {
  background: var(--abyss-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(226, 101, 58, 0.4);
  box-shadow: 0 26px 50px rgba(0,0,0,0.4);
}

.prod-img { width: 100%; height: 190px; object-fit: cover; }

.product-info { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; text-align: left; }

.product-title { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--foam); margin-bottom: 6px; }

.product-price { font-weight: 700; color: var(--trout); font-size: 17px; margin-bottom: 16px; font-variant-numeric: tabular-nums; }

label { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--mist); margin-bottom: 8px; }

.weight-input {
  width: 66px;
  padding: 8px 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--foam);
  background: rgba(243, 247, 244, 0.05);
}
.weight-input:focus { outline: none; border-color: var(--trout); }

.product-info > p { font-size: 15px; color: var(--mist); margin-top: 6px; }
.total-price { font-weight: 700; color: var(--foam); font-variant-numeric: tabular-nums; }

.card-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 18px; }

.calc-btn { background: rgba(46, 147, 168, 0.18); color: var(--foam); border: 1px solid rgba(46,147,168,0.4); }
.calc-btn:hover { background: rgba(46, 147, 168, 0.3); }

.add-to-cart-btn { background: var(--trout); color: #fff; border: none; }
.add-to-cart-btn:hover { background: #c8552e; box-shadow: 0 10px 24px rgba(226,101,58,0.4); }

.seasonal-badge { font-size: 12.5px; color: #7FBF97; font-weight: 600; }

.eco-info-btn {
  background: rgba(46, 147, 168, 0.16);
  color: var(--foam);
  border: 1px solid rgba(46, 147, 168, 0.45);
  font-family: var(--font-body);
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s var(--ease);
}

.eco-info-btn:hover {
  background: rgba(46, 147, 168, 0.28);
  box-shadow: 0 10px 24px rgba(46, 147, 168, 0.3);
}

button {
  font-family: var(--font-body);
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s var(--ease);
}

/* Cart */
#cart-button {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 999;
  background: var(--trout);
  color: #fff;
  border: none;
  padding: 15px 24px;
  box-shadow: 0 14px 34px rgba(226,101,58,0.4);
}
#cart-button:hover { transform: translateY(-3px); }

/* =======================================================
   ԲԱԺԱՆՈՐԴԱԳՐՈՒԹՅԱՆ ԿՈՃԱԿ ԵՎ ՄՈԴԱԼ
   ======================================================= */
.subscribe-fab {
  position: fixed;
  bottom: 88px; right: 26px;
  z-index: 999;
  background: var(--trout);
  color: #fff;
  border: none;
  padding: 15px 24px;
  box-shadow: 0 14px 34px rgba(226,101,58,0.4);
}
.subscribe-fab:hover { transform: translateY(-3px); }

.subscribe-modal-content {
  flex-direction: column;
  align-items: stretch;
  max-width: 420px;
  text-align: center;
}
.subscribe-modal-content h2 {
  font-family: var(--font-display);
  color: var(--foam);
  font-size: 22px;
  margin: 0 0 8px 0;
}
.subscribe-modal-content p#subscribe-desc {
  color: var(--mist);
  font-size: 14px;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

#subscribe-form { display: flex; flex-direction: column; gap: 6px; text-align: left; }
#subscribe-form label { font-size: 13px; color: var(--mist); margin-top: 8px; }
#subscribe-form input {
  background: var(--abyss);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--foam);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}
#subscribe-form input:focus { border-color: var(--trout); }
#subscribe-form input.invalid { border-color: #ff8b6b; }

#subscribe-submit-btn {
  background: var(--trout);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-top: 14px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
#subscribe-submit-btn:hover { transform: translateY(-2px); }
#subscribe-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.subscribe-msg { font-size: 13px; min-height: 16px; margin: 10px 0 0 0; }
.subscribe-msg.error { color: #ff8b6b; }
.subscribe-msg.success { color: #7fd99a; }


#cart-modal {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: 360px;
  max-width: 92vw;
  background: var(--abyss-soft);
  border-left: 1px solid var(--line);
  padding: 30px 26px;
  z-index: 1500;
  box-shadow: -30px 0 60px rgba(0,0,0,0.5);
  text-align: left;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  display: flex;
  flex-direction: column;
}
#cart-modal.open { transform: translateX(0); }

#cart-modal h3 { font-family: var(--font-display); color: var(--foam); margin-bottom: 18px; font-size: 22px; }

#cart-items { flex-grow: 1; overflow-y: auto; }

#cart-items li { list-style: none; border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 14px; color: var(--mist); }

#cart-items button {
  padding: 3px 10px;
  margin-left: 6px;
  font-size: 12px;
  background: rgba(243,247,244,0.08);
  color: var(--foam);
  border: 1px solid var(--line);
  border-radius: 6px;
}
#cart-items button:hover { background: rgba(243,247,244,0.16); }

.cart-modal-buttons { display: flex; gap: 10px; margin-top: 18px; }

#checkout-btn { background: var(--pine); color: #fff; border: none; flex: 1; }
#checkout-btn:hover { background: #2e5540; }
#close-cart { background: rgba(243,247,244,0.08); color: var(--foam); border: 1px solid var(--line); }
#close-cart:hover { background: rgba(243,247,244,0.16); }

.cart-backdrop {
  position: fixed; inset: 0;
  background: rgba(6,26,32,0.6);
  backdrop-filter: blur(3px);
  z-index: 1400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.cart-backdrop.open { opacity: 1; pointer-events: auto; }

/* Payment / feed modal content */
.modal-content h2, .modal-content h3 { font-family: var(--font-display); color: var(--foam); }

.text-modal { 
  max-width: 580px; 
  text-align: left; 
}

.text-modal p {
  color: var(--mist);
  font-size: 15px;
  line-height: 1.6;
}

.pay-item {
  display: flex; align-items: center; gap: 15px;
  margin: 16px 0; font-size: 15px; font-weight: 600; color: var(--foam);
}
.modal-pay-img { width: 46px; height: auto; object-fit: contain; }

.aller-img { 
  width: 150px; 
  height: auto; 
  object-fit: contain; 
  flex-shrink: 0;          /* Թույլ չի տալիս տեքստին սեղմել նկարը */
  border-radius: 8px;
  border: 1px solid var(--line);
}

.lang-flex { display: flex; justify-content: space-around; margin-top: 20px; width: 100%; }
.lang-flex button {
  display: flex; align-items: center; gap: 6px;
  background: rgba(243,247,244,0.06); color: var(--foam);
  border: 1px solid var(--line);
}
.lang-flex button:hover { background: rgba(243,247,244,0.14); }
.lang-flex img { width: 24px; height: 15px; }

/* =======================================================
   CONTACT / FOOTER
   ======================================================= */
.contact-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-info, .map-container { flex: 1; min-width: 280px; }

.contact-info p { margin: 12px 0; font-size: 15.5px; color: var(--mist); }
.contact-info strong { color: var(--foam); font-weight: 600; }
.contact-info a { color: var(--water-glow); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

.map-container iframe {
  width: 100%; height: 280px;
  border-radius: 10px;
  filter: grayscale(0.4) invert(0.92) contrast(0.9);
  border: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 20px;
  text-align: center;
}

.footer-brands {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.footer-brand { width: 84px; height: auto; filter: brightness(1.3) grayscale(0.2); transition: transform 0.3s var(--ease), filter 0.3s ease; }
.footer-brand.icon { width: 24px; }
.footer-brand:hover { transform: scale(1.12); filter: brightness(1.5); }

.gps-icon { stroke: var(--water-glow); }

.footer-note { font-size: 13px; color: var(--mist); }

/* =======================================================
   MEDIA QUERIES
   ======================================================= */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 768px) {
  .site-header { flex-direction: column; gap: 12px; padding: 16px 5%; align-items: center; }
  .header-right { align-items: center; }
  .top-right-panel { flex-wrap: wrap; justify-content: center; }
  section { padding: 70px 18px; }
  .hero { height: 92vh; height: 92dvh; }
  .faq-card { grid-template-columns: 1fr; padding: 30px; }
  .nkarnerr { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dzor { height: 130px; }
  #cart-modal { width: 100%; }

  /* Մոդալ պատուհանի հարմարեցումը հեռախոսների համար */
  .modal-content {
    flex-direction: column;    /* Նկարը կգնա տեքստի տակ */
    text-align: center;
    align-items: center;
    padding: 35px 20px 24px 20px;
  }
  
  .text-modal {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .aller-img {
    width: 140px;              /* Մոբայլով մի փոքր ավելի փոքր նկար */
    margin-top: 15px;
  }

  .site-header.scrolled {
    backdrop-filter: none;
    background: rgba(6, 26, 32, 0.97);
  }
  .modal {
    backdrop-filter: none;
    background: rgba(6, 26, 32, 0.92);
  }
  .cart-backdrop {
    backdrop-filter: none;
  }

  .slider img.active {
    animation: kenburns-mobile 8s ease-out forwards;
  }
}

@keyframes kenburns-mobile {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}
/* =======================================================
   ԷԿՈ ԿԱՐՄՐԱԽԱՅՏԻ ՄՈԴԱԼԻ ՅՈՒՐԱՀԱՏՈՒԿ ՈՃԵՐ
   ======================================================= */

/* Մոդալի արտաքին մութ ֆոնը */
.eco-modal-overlay {
  display: none; /* Լռելյայն թաքցված է, JS-ով պետք է դառնա flex */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 26, 32, 0.85); /* Բրենդային մուգ ֆոն */
  backdrop-filter: blur(8px); /* Թեթև blur հետևի պլանում */
  justify-content: center;
  align-items: center;
  z-index: 2100; /* Միշտ ամենավերևում */
  padding: 16px;
  box-sizing: border-box;
}

/* Մոդալի հիմնական պատուհանը (Քարտը) */
.eco-modal-card {
  background: var(--abyss-soft); /* Քո կայքի մուգ կապույտ վահանակի ֆոնը */
  border: 1px solid var(--line);
  padding: 30px 24px 24px 24px;
  border-radius: 16px;
  width: 100%;
  max-width: 480px; /* Կատարյալ լայնություն բոլոր էկրանների համար */
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column; /* Էլեմենտները դասավորվում են իրար տակ */
  align-items: stretch;
  box-sizing: border-box;
  animation: ecoModalIn 0.35s var(--ease);
}

/* Փակելու կոճակը (X) */
.eco-modal-close {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  color: var(--mist);
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1;
  z-index: 5;
}

.eco-modal-close:hover {
  color: var(--trout); /* Փայլող նարնջագույն */
  transform: scale(1.1);
}

/* Մոդալի վերնագիրը */
.eco-modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--foam);
  margin-top: 0;
  margin-bottom: 14px;
  padding-right: 20px; /* Որպեսզի X-ին չկպչի */
}

/* Նկարագրության տեքստը */
.eco-modal-text {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--mist);
  margin-bottom: 20px;
  text-align: justify; /* Հավասարաչափ լայնությամբ տեքստ */
}

/* Ձկան նկարը */
.eco-modal-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover; /* Որպեսզի նկարը չծռվի */
  border-radius: 10px;
  border: 1px solid var(--line);
  display: block;
}

/* Հայտնվելու սահուն անիմացիան */
@keyframes ecoModalIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Հարմարեցում հեռախոսների համար (Mobile responsive) */
@media (max-width: 480px) {
  .eco-modal-card {
    padding: 24px 16px 16px 16px;
    border-radius: 12px;
  }
  
  .eco-modal-title {
    font-size: 19px;
    margin-bottom: 10px;
  }
  
  .eco-modal-text {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  
  .eco-modal-image {
    max-height: 160px; /* Փոքր էկրանների վրա նկարը ավելի քիչ տեղ կզբաղեցնի */
  }
}