/* ============================================
   ԱՐԻ Կրթական Կենտրոն — Stylesheet v2
   Palette:  #C97471 terracotta · #7A8AD6 periwinkle · #F7F9FE cream
   ============================================ */

:root {
  /* Brand palette */
  --terracotta:        #C97471;
  --terracotta-strong: #B85A57;
  --terracotta-soft:   #F2D9D8;
  --periwinkle:        #7A8AD6;
  --periwinkle-strong: #5566B8;
  --periwinkle-soft:   #DCE0F2;
  --cream:             #F7F9FE;
  --ink:               #0F1530;
  --ink-2:             #1A2147;
  --ink-3:             #29345E;

  /* Semantic */
  --brand:             var(--terracotta);
  --brand-2:           var(--periwinkle);
  --gradient-warm:     linear-gradient(135deg, #C97471 0%, #E0A09E 100%);
  --gradient-cool:     linear-gradient(135deg, #7A8AD6 0%, #A4B0E5 100%);
  --gradient-blend:    linear-gradient(135deg, #C97471 0%, #B47AB1 50%, #7A8AD6 100%);
  --gradient-blend-r:  linear-gradient(135deg, #7A8AD6 0%, #B47AB1 50%, #C97471 100%);

  /* Light theme */
  --bg:                #F7F9FE;
  --bg-2:              #FFFFFF;
  --bg-3:              #ECEFFA;
  --text:              #0F1530;
  --text-2:            #2E3654;
  --text-3:            #6B7295;
  --border:            rgba(15, 21, 48, 0.08);
  --border-2:          rgba(15, 21, 48, 0.16);
  --shadow-sm:         0 1px 2px rgba(15, 21, 48, 0.04), 0 2px 8px rgba(15, 21, 48, 0.05);
  --shadow-md:         0 8px 20px rgba(15, 21, 48, 0.08), 0 16px 40px rgba(122, 138, 214, 0.10);
  --shadow-lg:         0 20px 40px rgba(15, 21, 48, 0.12), 0 32px 80px rgba(122, 138, 214, 0.16);
  --shadow-warm:       0 12px 32px rgba(201, 116, 113, 0.32);
  --glass-bg:          rgba(247, 249, 254, 0.78);

  /* Layout */
  --container:         1280px;
  --container-narrow:  920px;
  --r-sm:              10px;
  --r-md:              16px;
  --r-lg:              24px;
  --r-xl:              36px;
  --r-pill:            999px;

  /* Type */
  --font-display:      'Instrument Serif', 'Cormorant Garamond', 'Noto Serif Armenian', Georgia, serif;
  --font-body:         'Inter', 'Noto Sans Armenian', system-ui, sans-serif;

  /* Spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  --ease:              cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:       cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-theme="dark"] {
  --bg:                #0B1024;
  --bg-2:              #141A38;
  --bg-3:              #1F2750;
  --text:              #F7F9FE;
  --text-2:            #C7CCE0;
  --text-3:            #8C94B5;
  --border:            rgba(247, 249, 254, 0.08);
  --border-2:          rgba(247, 249, 254, 0.16);
  --shadow-sm:         0 1px 2px rgba(0, 0, 0, 0.30), 0 2px 8px rgba(0, 0, 0, 0.20);
  --shadow-md:         0 8px 20px rgba(0, 0, 0, 0.40), 0 16px 40px rgba(122, 138, 214, 0.16);
  --shadow-lg:         0 20px 40px rgba(0, 0, 0, 0.50), 0 32px 80px rgba(122, 138, 214, 0.24);
  --glass-bg:          rgba(11, 16, 36, 0.78);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
img, picture, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--terracotta-strong); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--terracotta-soft); color: var(--ink); }
[data-theme="dark"] ::selection { background: rgba(122, 138, 214, 0.4); color: var(--cream); }

h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 var(--sp-4);
}
h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--font-body); }

p { margin: 0 0 var(--sp-4); color: var(--text-2); }

.container         { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-6); }
.container--narrow { max-width: var(--container-narrow); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: currentColor;
  display: inline-block;
}

.gradient-text {
  background: var(--gradient-blend);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600; font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-blend-r);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.btn:hover::before { opacity: 1; }

.btn--primary {
  background: var(--brand);
  color: white;
  box-shadow: var(--shadow-warm);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(201, 116, 113, 0.42);
  color: white;
}

.btn--secondary {
  background: var(--bg-2);
  color: var(--text);
  border-color: var(--border-2);
}
.btn--secondary::before { display: none; }
.btn--secondary:hover { background: var(--bg-3); transform: translateY(-3px); border-color: var(--brand); }

.btn--ghost { color: var(--text); }
.btn--ghost::before { display: none; }
.btn--ghost:hover { background: var(--bg-3); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: var(--sp-4);
}

.logo {
  display: flex; align-items: center; gap: var(--sp-3);
  font-weight: 700;
  color: var(--text);
}
.logo__mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient-blend);
  color: white;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  box-shadow: 0 6px 18px rgba(201, 116, 113, 0.32);
  position: relative;
  overflow: hidden;
}
.logo__mark::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 60%);
}
.logo__text {
  display: flex; flex-direction: column; line-height: 1.1;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}
.logo__text small {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Header text-based SVG logo (replaces .logo__mark + .logo__text combo) */
.logo__img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 160px;
  transition: transform 0.3s var(--ease-spring);
}
.logo:hover .logo__img {
  transform: scale(1.04) rotate(-1.5deg);
}
/* In dark theme, brighten the SVG so the dark navy doesn't dim it */
[data-theme="dark"] .logo__img {
  filter: brightness(1.08) saturate(1.05);
}
@media (max-width: 480px) {
  .logo__img { height: 44px; }
}


/* ---------- Nav ---------- */
.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-pill);
  transition: color 0.2s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-3);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
  z-index: -1;
}
.nav__link:hover::before { opacity: 1; }
.nav__link.is-active { color: var(--brand); }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 2px;
  background: var(--gradient-blend);
  border-radius: 2px;
}

.tools { display: flex; align-items: center; gap: var(--sp-2); }
.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text-2);
  transition: all 0.25s var(--ease);
}
.icon-btn:hover { background: var(--bg-3); color: var(--text); transform: scale(1.05); }
.icon-btn:active { transform: scale(0.95); }
.icon-btn svg { width: 20px; height: 20px; transition: transform 0.4s var(--ease); }
.icon-btn.is-spinning svg { animation: spin 0.8s linear; }
@keyframes spin { to { transform: rotate(360deg); } }

.lang-btn {
  width: auto; padding: 0 14px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.08em;
  border: 1px solid var(--border-2);
}

.theme-icon-light, .theme-icon-dark { display: none; }
[data-theme="light"] .theme-icon-light { display: block; }
[data-theme="dark"] .theme-icon-dark { display: block; }

.burger {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
  border-radius: 50%;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 78px 0 0 0;
  background: var(--bg);
  z-index: 99;
  padding: var(--sp-6);
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-soft);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.mobile-menu__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  border-radius: var(--r-md);
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: all 0.2s var(--ease);
}
.mobile-menu__link::after { content: '→'; opacity: 0.4; transition: transform 0.3s var(--ease); }
.mobile-menu__link:hover { transform: translateX(4px); border-color: var(--brand); }
.mobile-menu__link:hover::after { transform: translateX(4px); opacity: 1; }
.mobile-menu__link.is-active { background: var(--terracotta-soft); border-color: rgba(201, 116, 113, 0.3); color: var(--terracotta-strong); }
[data-theme="dark"] .mobile-menu__link.is-active { background: rgba(201, 116, 113, 0.15); color: var(--brand); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--scale { transform: scale(0.94) translateY(20px); }
.reveal--scale.is-visible { transform: scale(1) translateY(0); }
.reveal--left { transform: translateX(-32px); }
.reveal--left.is-visible { transform: translateX(0); }

.page { animation: fadeUp 0.5s var(--ease-soft) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(70px, 11vw, 150px) 0 clamp(60px, 9vw, 110px);
  overflow: hidden;
}
.hero__orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite;
}
.hero__orb:nth-child(1) {
  width: 480px; height: 480px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(201, 116, 113, 0.55), transparent 70%);
}
.hero__orb:nth-child(2) {
  width: 380px; height: 380px;
  bottom: -100px; left: -60px;
  background: radial-gradient(circle, rgba(122, 138, 214, 0.55), transparent 70%);
  animation-delay: -9s;
}
.hero__orb:nth-child(3) {
  width: 280px; height: 280px;
  top: 40%; left: 50%;
  background: radial-gradient(circle, rgba(180, 122, 177, 0.35), transparent 70%);
  animation-delay: -4s;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.08); }
  66%      { transform: translate(-30px, 40px) scale(0.95); }
}
[data-theme="dark"] .hero__orb { opacity: 0.32; }

.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(var(--sp-8), 6vw, var(--sp-16));
  align-items: center;
}
.hero__title {
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  margin: 0 0 var(--sp-5);
  line-height: 0.98;
}
.hero__title em {
  font-style: italic;
  background: var(--gradient-blend);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: var(--sp-8);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 480px;
  margin-left: auto;
  perspective: 1000px;
}
.hero__visual::before {
  content: '';
  position: absolute; inset: -20px -20px auto auto;
  width: 80%; height: 80%;
  background: var(--gradient-blend);
  opacity: 0.18;
  border-radius: 50% 30% 50% 30%;
  animation: morph 12s var(--ease-soft) infinite;
  z-index: 0;
}
@keyframes morph {
  0%, 100% { border-radius: 50% 30% 50% 30%; transform: rotate(0deg); }
  33%      { border-radius: 30% 50% 30% 50%; transform: rotate(8deg); }
  66%      { border-radius: 40% 60% 40% 60%; transform: rotate(-6deg); }
}
.hero__visual img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  transition: transform 0.6s var(--ease-spring);
}
.hero__visual:hover img { transform: scale(1.02) rotate(-1deg); }

.hero__badge {
  position: absolute;
  bottom: 24px; left: -32px;
  background: var(--bg-2);
  padding: 14px 20px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  z-index: 2;
  display: flex; align-items: center; gap: var(--sp-3);
  border: 1px solid var(--border);
  animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero__badge-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(201, 116, 113, 0.2);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201,116,113,0.2); }
  50%      { box-shadow: 0 0 0 10px rgba(201,116,113,0.0); }
}
.hero__badge-text { font-size: 13px; font-weight: 600; }

/* Decorative scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0.7;
}
.hero__scroll::after {
  content: '';
  width: 1px; height: 28px;
  background: linear-gradient(180deg, var(--text-3), transparent);
  animation: scrollIndicator 2s ease-in-out infinite;
}
@keyframes scrollIndicator {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 12px) 0; position: relative; }
.section--alt { background: var(--bg-2); }
.section--accent {
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 116, 113, 0.10), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(122, 138, 214, 0.10), transparent 50%),
    var(--bg-2);
}

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--sp-12);
}
.section__head--row {
  display: flex; align-items: end; justify-content: space-between;
  text-align: left;
  gap: var(--sp-8);
  flex-wrap: wrap;
}
.section__head--row .section__title { margin: 0; }
.section__title { margin: 0 0 var(--sp-3); }
.section__lead  { font-size: 1.1rem; color: var(--text-2); }

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  margin: 0 calc(var(--sp-6) * -1);
  padding: 0 var(--sp-6);
}
.carousel__track {
  display: flex;
  gap: var(--sp-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: var(--sp-6);
  padding: var(--sp-2) 0 var(--sp-6);
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.carousel__item--card    { width: clamp(260px, 32vw, 340px); }
.carousel__item--video   { width: clamp(300px, 40vw, 460px); }
.carousel__item--insta   { width: clamp(220px, 25vw, 290px); }
.carousel__item--feature { width: clamp(260px, 30vw, 320px); }
.carousel__item--news    { width: clamp(280px, 35vw, 380px); }

.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  color: var(--text);
  display: grid; place-items: center;
  z-index: 5;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
}
.carousel:hover .carousel__nav { opacity: 1; pointer-events: auto; }
.carousel__nav:hover { background: var(--brand); color: white; transform: translateY(-50%) scale(1.08); border-color: var(--brand); box-shadow: var(--shadow-warm); }
.carousel__nav:disabled { opacity: 0.3 !important; cursor: not-allowed; }
.carousel__nav--prev { left: -2px; }
.carousel__nav--next { right: -2px; }
.carousel__nav svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .carousel__nav { display: none; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-blend);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  mix-blend-mode: overlay;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 116, 113, 0.35);
}
.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-3);
  position: relative;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-soft);
}
.card:hover .card__media img { transform: scale(1.08); }
.card__body {
  padding: var(--sp-6);
  display: flex; flex-direction: column; flex: 1;
}
.card__title { font-size: 1.2rem; margin: 0 0 var(--sp-3); }
.card__text  { color: var(--text-2); font-size: 0.95rem; flex: 1; margin: 0 0 var(--sp-4); }
.card__link  {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-weight: 600; font-size: 14px;
  color: var(--brand);
}
.card__link::after { content: '→'; transition: transform 0.25s var(--ease); }
.card__link:hover::after { transform: translateX(6px); }

/* ---------- Feature row (image + text) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-8), 6vw, var(--sp-16));
  align-items: center;
}
.feature--reverse { direction: rtl; }
.feature--reverse > * { direction: ltr; }

.feature__media {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--terracotta-soft);
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-spring);
}
.feature__media::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-blend);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: 1;
  mix-blend-mode: soft-light;
}
.feature__media:hover { transform: scale(1.02) rotate(-1deg); }
.feature__media:hover::before { opacity: 0.18; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__title { margin: 0 0 var(--sp-5); }
.feature__text  { color: var(--text-2); font-size: 1.08rem; line-height: 1.7; }

/* ---------- Video card ---------- */
.video-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(122, 138, 214, 0.35);
}
.video-card__embed {
  position: relative; aspect-ratio: 16/9; background: #000;
  overflow: hidden;
}
.video-card__embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.lite-yt {
  cursor: pointer;
  transition: transform 0.4s var(--ease);
}
.lite-yt__thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-soft), filter 0.4s var(--ease);
}
.lite-yt:hover .lite-yt__thumb { transform: scale(1.06); filter: brightness(0.85); }
.lite-yt__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.92;
  transition: transform 0.3s var(--ease-spring), opacity 0.3s var(--ease);
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
  z-index: 1;
}
.lite-yt:hover .lite-yt__play { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
.lite-yt:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.lite-yt--playing .lite-yt__play,
.lite-yt--playing .lite-yt__thumb { display: none; }
.video-card__body { padding: var(--sp-5); flex: 1; }
.video-card__title { font-size: 1.05rem; margin: 0 0 var(--sp-2); }
.video-card__text  { color: var(--text-2); font-size: 0.9rem; margin: 0; }

/* ---------- Insta item ---------- */
.insta-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  display: block;
  transition: transform 0.4s var(--ease-spring);
}
.insta-item:hover { transform: scale(1.04); }
.insta-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-soft);
}
.insta-item:hover img { transform: scale(1.08); }
.insta-item__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--sp-4);
  background: linear-gradient(180deg, transparent, rgba(15, 21, 48, 0.85));
  color: white;
  font-size: 13px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.insta-item:hover .insta-item__caption { opacity: 1; transform: translateY(0); }

/* ---------- News card ---------- */
.news-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease);
  height: 100%;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card__media { aspect-ratio: 16/10; background: var(--bg-3); overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-soft); }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__body { padding: var(--sp-6); flex: 1; display: flex; flex-direction: column; }
.news-card__date {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--sp-3);
}
.news-card__title { margin: 0 0 var(--sp-3); font-size: 1.15rem; }
.news-card__text  { color: var(--text-2); font-size: 0.95rem; flex: 1; }

/* ---------- Feature slider card ---------- */
.feature-card {
  position: relative;
  padding: var(--sp-8) var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  border: 1px solid var(--border);
  text-align: left;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease);
  overflow: hidden;
  height: 100%;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--gradient-blend);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-soft);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card__img {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  background: var(--terracotta-soft);
  display: grid; place-items: center;
  margin-bottom: var(--sp-5);
  overflow: hidden;
  font-size: 24px;
  color: var(--brand);
  transition: transform 0.5s var(--ease-spring);
}
.feature-card:hover .feature-card__img { transform: rotate(-8deg) scale(1.06); }
.feature-card__img img { width: 100%; height: 100%; object-fit: cover; }
.feature-card__title { margin: 0 0 var(--sp-3); font-size: 1.2rem; }
.feature-card__text  { color: var(--text-2); font-size: 0.95rem; margin: 0; line-height: 1.6; }

/* ---------- Contact ---------- */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-12);
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: var(--sp-4); }
.contact-item {
  display: flex; align-items: flex-start; gap: var(--sp-4);
  padding: var(--sp-5);
  border-radius: var(--r-md);
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-spring);
}
.contact-item:hover {
  transform: translateX(6px);
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.contact-item__icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background: var(--terracotta-soft);
  color: var(--terracotta-strong);
  display: grid; place-items: center;
  transition: all 0.3s var(--ease-spring);
}
.contact-item:hover .contact-item__icon { background: var(--brand); color: white; transform: rotate(-8deg); }
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin: 0 0 4px;
  font-weight: 600;
}
.contact-item__value {
  font-size: 1rem;
  margin: 0;
  color: var(--text);
  font-weight: 500;
  word-break: break-word;
}

.form {
  background: var(--bg-2);
  padding: var(--sp-8);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.form__group { margin-bottom: var(--sp-5); }
.form__label {
  display: block; font-size: 13px; font-weight: 600;
  margin-bottom: var(--sp-2); color: var(--text-2);
}
.form__input, .form__textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.25s var(--ease);
}
.form__input:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(201, 116, 113, 0.18);
}
.form__textarea { resize: vertical; min-height: 130px; }

/* ---------- CTA banner ---------- */
.cta {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-xl);
  padding: clamp(40px, 7vw, 90px) clamp(30px, 5vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 116, 113, 0.32), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(122, 138, 214, 0.32), transparent 50%);
}
.cta__title {
  color: var(--cream);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0 0 var(--sp-4);
  position: relative;
}
.cta__lead {
  color: rgba(247, 249, 254, 0.85);
  font-size: 1.1rem;
  max-width: 600px; margin: 0 auto var(--sp-6);
  position: relative;
}
.cta__actions {
  display: flex; gap: var(--sp-3);
  justify-content: center; flex-wrap: wrap;
  position: relative;
}
.cta .btn--secondary {
  background: rgba(247, 249, 254, 0.10);
  color: var(--cream);
  border-color: rgba(247, 249, 254, 0.25);
}
.cta .btn--secondary:hover {
  background: rgba(247, 249, 254, 0.18);
  color: var(--cream);
  border-color: rgba(247, 249, 254, 0.4);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee__track {
  display: flex;
  gap: var(--sp-12);
  animation: marquee 32s linear infinite;
  width: max-content;
}
.marquee__item {
  display: flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--text-2);
  white-space: nowrap;
}
.marquee__item::before {
  content: '✦';
  color: var(--brand);
  font-size: 1em;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: var(--sp-16) 0 var(--sp-8);
  margin-top: var(--sp-16);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(201, 116, 113, 0.20), transparent 50%),
    radial-gradient(circle at 10% 100%, rgba(122, 138, 214, 0.20), transparent 50%);
  pointer-events: none;
}
.footer > * { position: relative; }
.footer h4 { color: var(--cream); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}
.footer .logo, .footer .logo__text { color: var(--cream); }
.footer .logo__text small { color: rgba(247, 249, 254, 0.55); }
.footer__brand p {
  margin-top: var(--sp-4);
  max-width: 320px;
  font-size: 0.95rem;
  color: rgba(247, 249, 254, 0.72);
}
.footer__heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin-bottom: var(--sp-5);
  color: var(--cream);
  font-family: var(--font-body);
}
.footer__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.footer__list a {
  color: rgba(247, 249, 254, 0.72); font-size: 0.95rem;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.footer__list a:hover { color: var(--brand); padding-left: 6px; }
.footer__social { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(247, 249, 254, 0.08);
  display: grid; place-items: center;
  color: var(--cream);
  transition: all 0.25s var(--ease-spring);
}
.footer__social a:hover {
  background: var(--brand);
  transform: translateY(-3px) rotate(-6deg);
  color: white;
}
.footer__bottom {
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(247, 249, 254, 0.12);
  text-align: center;
  color: rgba(247, 249, 254, 0.55);
  font-size: 0.9rem;
}

/* ---------- Loader / empty ---------- */
.loader {
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-16);
  color: var(--text-3);
  gap: var(--sp-3);
}
.loader__spinner {
  width: 28px; height: 28px;
  border: 3px solid var(--border-2);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.empty-state {
  text-align: center;
  padding: var(--sp-16);
  color: var(--text-3);
}
.empty-state__icon { font-size: 3rem; margin-bottom: var(--sp-4); opacity: 0.4; }

/* ---------- Page header (non-home) ---------- */
.page-header {
  position: relative;
  padding: clamp(80px, 11vw, 160px) 0 clamp(50px, 8vw, 90px);
  background: linear-gradient(180deg, var(--bg-3), var(--bg) 70%);
  text-align: center;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 116, 113, 0.16), transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(122, 138, 214, 0.14), transparent 50%);
  pointer-events: none;
}
.page-header__content { position: relative; }
.page-header h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin: 0 0 var(--sp-4);
}
.page-header p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}


/* ---------- Product modal (lightbox) ---------- */
.modal {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-6);
  background: rgba(15, 21, 48, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.modal.is-open { opacity: 1; pointer-events: auto; }

.modal__card {
  background: var(--bg-2);
  border-radius: var(--r-lg);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.92) translateY(24px);
  transition: transform 0.4s var(--ease-spring);
  border: 1px solid var(--border);
}
.modal.is-open .modal__card { transform: scale(1) translateY(0); }

.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(15, 21, 48, 0.55);
  color: var(--cream);
  display: grid; place-items: center;
  border: 0;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
  backdrop-filter: blur(6px);
}
.modal__close:hover {
  background: var(--brand);
  color: white;
  transform: scale(1.08) rotate(90deg);
}

.modal__media {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-3);
}
.modal__media[hidden] { display: none; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }

.modal__body { padding: clamp(var(--sp-6), 4vw, var(--sp-10)); }
.modal__text--summary {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 var(--sp-5);
  letter-spacing: -0.01em;
}
.modal__text--summary:empty { display: none; }
.modal__text--more {
  color: var(--text-2);
  line-height: 1.75;
  font-size: 1rem;
  margin: 0 0 var(--sp-5);
}
.modal__text--more:empty { display: none; }

.modal__actions {
  margin-top: var(--sp-5);
  display: flex; gap: var(--sp-3);
  justify-content: flex-start;
  flex-wrap: wrap;
}
.modal__actions[hidden] { display: none; }

/* Card-as-button (modal-trigger) shouldn't have button defaults */
button.card,
button.news-card {
  text-align: left;
  font: inherit;
  cursor: pointer;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  color: inherit;
  border: 1px solid var(--border);
}

/* News page — smaller cards, centered, equal height with text truncation. */
.news-page-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  justify-content: center;   /* symmetric — center the whole row */
  align-items: stretch;      /* every card in a row gets same height */
}
.news-page-grid > .news-card {
  flex: 0 0 280px;            /* fixed-ish: 280px, no growing */
  max-width: 280px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
}
.news-page-grid > .news-card .news-card__media {
  aspect-ratio: 16/10;
  flex-shrink: 0;
}
.news-page-grid > .news-card .news-card__body {
  flex: 1;                    /* body fills remaining card height */
  display: flex;
  flex-direction: column;
}
/* Title — clamp to 2 lines */
.news-page-grid > .news-card .news-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.6em;          /* reserve 2 lines worth of space */
}
/* Body text — clamp to 3 lines */
.news-page-grid > .news-card .news-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
/* "Իմանալ ավելին" link — pinned to bottom of body */
.news-page-grid > .news-card .card__link {
  margin-top: auto;
  padding-top: var(--sp-3);
}
@media (max-width: 600px) {
  .news-page-grid > .news-card { flex-basis: 100%; max-width: 100%; }
}

/* Lock body scroll while modal is open (toggled via JS) */
body.modal-open { overflow: hidden; }

@media (max-width: 600px) {
  .modal { padding: var(--sp-3); }
  .modal__card { max-height: 92vh; }
}


/* ---------- Modal gallery thumbnails (preserve aspect ratios) ---------- */
.modal__gallery {
  margin: var(--sp-5) 0;
  position: relative;          /* arrow buttons absolute-position against this */
}
.modal__gallery-track {
  display: flex;
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--sp-2) 0;
  scrollbar-width: none;       /* Firefox: hide scrollbar */
  -ms-overflow-style: none;    /* IE/Edge */
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.modal__gallery-track::-webkit-scrollbar { display: none; }  /* WebKit */

/* Side arrows — same look as carousel arrows */
.modal__gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  color: var(--text);
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.25s var(--ease-spring);
  box-shadow: var(--shadow-sm);
  opacity: 0.85;
}
.modal__gallery-nav:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  transform: translateY(-50%) scale(1.08);
  opacity: 1;
}
.modal__gallery-nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.modal__gallery-nav--prev { left: -10px; }
.modal__gallery-nav--next { right: -10px; }
.modal__gallery-nav svg { width: 18px; height: 18px; }
.modal__gallery-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: block;
  height: 160px;                /* fixed height — width adapts to image's natural ratio */
  background: var(--bg-3);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease);
  position: relative;
}
.modal__gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.modal__gallery-item img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;          /* preserve aspect ratio */
  pointer-events: none;
}

/* ---------- Fullscreen image viewer ---------- */
.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 300;                 /* above the modal (200) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  background: rgba(15, 21, 48, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.image-viewer.is-open { opacity: 1; pointer-events: auto; }

.image-viewer__stage {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.92);
  transition: transform 0.4s var(--ease-spring);
}
.image-viewer.is-open .image-viewer__stage { transform: scale(1); }

.image-viewer__stage img {
  max-width: 92vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
  display: block;
}

.image-viewer__close {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(247, 249, 254, 0.12);
  color: var(--cream);
  display: grid; place-items: center;
  border: 0;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s var(--ease-spring);
}
.image-viewer__close:hover {
  background: var(--brand);
  color: white;
  transform: rotate(90deg) scale(1.06);
}

.image-viewer__nav {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(247, 249, 254, 0.12);
  color: var(--cream);
  display: grid; place-items: center;
  border: 0;
  cursor: pointer;
  backdrop-filter: blur(8px);
  flex-shrink: 0;
  transition: all 0.25s var(--ease-spring);
  margin: 0 var(--sp-4);
}
.image-viewer__nav:hover {
  background: var(--brand);
  color: white;
  transform: scale(1.08);
}
.image-viewer__nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.image-viewer__counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(247, 249, 254, 0.72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .image-viewer { padding: var(--sp-3); }
  .image-viewer__nav { width: 44px; height: 44px; margin: 0 var(--sp-2); }
  .image-viewer__close { top: 12px; right: 12px; }
  .modal__gallery-item { height: 120px; }
}


/* ---------- Modal videos (horizontal carousel) ---------- */
.modal__videos {
  margin: var(--sp-5) 0;
  position: relative;
}
.modal__videos-track {
  display: flex;
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--sp-2) 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.modal__videos-track::-webkit-scrollbar { display: none; }

.modal__video {
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: clamp(240px, 36vw, 320px);
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  display: block;
  background: #000;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease);
}
.modal__video:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.modal__video img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-soft), filter 0.3s var(--ease);
}
.modal__video:hover img {
  transform: scale(1.04);
  filter: brightness(0.85);
}
.modal__video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5));
  transition: transform 0.25s var(--ease-spring);
}
.modal__video:hover .modal__video-play {
  transform: translate(-50%, -50%) scale(1.12);
}
.modal__video-play svg { display: block; }


/* ---------- Contact form status pill ---------- */
.form__status {
  margin: var(--sp-4) 0 0;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.form__status[hidden] { display: none; }
.form__status--info {
  background: var(--periwinkle-soft);
  color: var(--periwinkle-strong);
}
.form__status--ok {
  background: rgba(80, 180, 110, 0.14);
  color: #2a8b4b;
}
.form__status--err {
  background: rgba(201, 116, 113, 0.16);
  color: var(--terracotta-strong);
}
[data-theme="dark"] .form__status--info { background: rgba(122, 138, 214, 0.18); color: #B4C0F0; }
[data-theme="dark"] .form__status--ok { background: rgba(80, 180, 110, 0.18); color: #8BD9A6; }
[data-theme="dark"] .form__status--err { background: rgba(201, 116, 113, 0.22); color: #F2BEBC; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__visual { margin: 0 auto; max-width: 380px; }
  .hero__actions { justify-content: center; }
  .hero__badge { left: 50%; transform: translateX(-50%); }

  .feature { grid-template-columns: 1fr; text-align: left; }
  .feature--reverse { direction: ltr; }
  .feature__media { max-width: 600px; }

  .contact-block { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .section__head--row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__inner { height: 64px; }
  .mobile-menu { inset-block-start: 64px; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .container { padding: 0 var(--sp-4); }
  .hero { padding: var(--sp-12) 0 var(--sp-10); }
  .section { padding: var(--sp-12) 0; }
  .carousel { margin: 0 calc(var(--sp-4) * -1); padding: 0 var(--sp-4); }
  .carousel__track { scroll-padding: var(--sp-4); }
}
@media (max-width: 480px) {
  .logo__text { display: none; }
  .lang-btn { padding: 0 10px; font-size: 12px; }
  .form { padding: var(--sp-6); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
                                     