:root {
  --bg: #c7ddeb;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(32, 48, 46, 0.14);
  --text: #17201e;
  --muted: #56615f;
  --accent: #24443d;
  --accent-soft: #dbe3df;
  --shadow: 0 30px 70px rgba(23, 32, 30, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --content-width: min(1140px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-width: 320px;
  font-family: "Noto Sans Armenian", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.78), transparent 38%),
    linear-gradient(180deg, #dcecf7 0%, #c7ddeb 48%, #b6cad8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(36, 68, 61, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 68, 61, 0.06) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 84%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(90deg, rgba(36, 68, 61, 0) 0 1.2%, rgba(36, 68, 61, 0.14) 1.2% 1.6%, rgba(36, 68, 61, 0) 1.6% 98.4%, rgba(36, 68, 61, 0.14) 98.4% 98.8%, rgba(36, 68, 61, 0) 98.8%),
    linear-gradient(rgba(36, 68, 61, 0) 0 1.2%, rgba(36, 68, 61, 0.14) 1.2% 1.6%, rgba(36, 68, 61, 0) 1.6% 98.4%, rgba(36, 68, 61, 0.14) 98.4% 98.8%, rgba(36, 68, 61, 0) 98.8%),
    linear-gradient(90deg, rgba(36, 68, 61, 0) 0 1.4%, rgba(36, 68, 61, 0.12) 1.4% 1.9%, rgba(36, 68, 61, 0) 1.9% 98.1%, rgba(36, 68, 61, 0.12) 98.1% 98.6%, rgba(36, 68, 61, 0) 98.6%),
    linear-gradient(rgba(36, 68, 61, 0) 0 1.4%, rgba(36, 68, 61, 0.12) 1.4% 1.9%, rgba(36, 68, 61, 0) 1.9% 98.1%, rgba(36, 68, 61, 0.12) 98.1% 98.6%, rgba(36, 68, 61, 0) 98.6%),
    linear-gradient(90deg, rgba(36, 68, 61, 0) 0 1.8%, rgba(36, 68, 61, 0.11) 1.8% 2.4%, rgba(36, 68, 61, 0) 2.4% 97.6%, rgba(36, 68, 61, 0.11) 97.6% 98.2%, rgba(36, 68, 61, 0) 98.2%),
    linear-gradient(rgba(36, 68, 61, 0) 0 1.8%, rgba(36, 68, 61, 0.11) 1.8% 2.4%, rgba(36, 68, 61, 0) 2.4% 97.6%, rgba(36, 68, 61, 0.11) 97.6% 98.2%, rgba(36, 68, 61, 0) 98.2%),
    linear-gradient(90deg, rgba(36, 68, 61, 0) 0 2%, rgba(36, 68, 61, 0.1) 2% 2.8%, rgba(36, 68, 61, 0) 2.8% 97.2%, rgba(36, 68, 61, 0.1) 97.2% 98%, rgba(36, 68, 61, 0) 98%),
    linear-gradient(rgba(36, 68, 61, 0) 0 2%, rgba(36, 68, 61, 0.1) 2% 2.8%, rgba(36, 68, 61, 0) 2.8% 97.2%, rgba(36, 68, 61, 0.1) 97.2% 98%, rgba(36, 68, 61, 0) 98%),
    linear-gradient(rgba(36, 68, 61, 0.12), rgba(36, 68, 61, 0.12)),
    linear-gradient(90deg, rgba(36, 68, 61, 0.12), rgba(36, 68, 61, 0.12));
  background-repeat: no-repeat;
  background-position:
    72% 18%,
    72% 18%,
    62% 34%,
    62% 34%,
    79% 40%,
    79% 40%,
    55% 50%,
    55% 50%,
    56% 71%,
    86% 12%;
  background-size:
    42% 62%,
    42% 62%,
    16% 24%,
    16% 24%,
    12% 18%,
    12% 18%,
    10% 14%,
    10% 14%,
    30% 1px,
    1px 68%;
  mask-image: radial-gradient(circle at 74% 36%, black 12%, transparent 56%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  width: var(--content-width);
  margin: 0 auto;
  padding: 28px 0 56px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(36, 68, 61, 0.14);
  border-radius: 999px;
  background: rgba(248, 245, 239, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(23, 32, 30, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 5px;
  transform: rotate(45deg);
  box-shadow: 0 0 0 7px rgba(36, 68, 61, 0.08);
}

.brand-text {
  white-space: nowrap;
  font-size: 0.95rem;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.language-switcher {
  display: inline-flex;
  gap: 8px;
}

.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(36, 68, 61, 0.16);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.lang-button:hover,
.lang-button:focus-visible,
.lang-button.is-active {
  border-color: transparent;
  background: var(--accent);
  color: #f7f2ea;
  transform: translateY(-1px);
}

.flag {
  position: relative;
  width: 18px;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.flag-am {
  background:
    linear-gradient(180deg, #cb2330 0 33.33%, #1f4168 33.33% 66.66%, #e08f21 66.66% 100%);
}

.flag-en {
  background:
    repeating-linear-gradient(
      180deg,
      #c93f49 0 1.3px,
      #f7f3ec 1.3px 2.6px
    );
}

.flag-en::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 7px;
  background:
    radial-gradient(circle at 1.5px 1.4px, #f7f3ec 0 0.6px, transparent 0.7px),
    radial-gradient(circle at 4px 2.5px, #f7f3ec 0 0.6px, transparent 0.7px),
    radial-gradient(circle at 6.4px 1.6px, #f7f3ec 0 0.55px, transparent 0.65px),
    radial-gradient(circle at 2.5px 4.8px, #f7f3ec 0 0.6px, transparent 0.7px),
    radial-gradient(circle at 5.5px 5.2px, #f7f3ec 0 0.55px, transparent 0.65px),
    #28467d;
}

main {
  display: grid;
  gap: 72px;
  padding-top: 42px;
}

.content-section {
  display: grid;
  gap: 28px;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.section-label,
.hero-panel-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1,
h2 {
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 640px;
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.45rem;
  line-height: 1.2;
}

p,
li {
  line-height: 1.7;
  color: var(--muted);
}

.section-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(36, 68, 61, 0.12);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--surface-strong) 0%, var(--surface) 100%);
  box-shadow: var(--shadow);
}

.section-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.5), transparent 36%),
    linear-gradient(45deg, transparent 0 68%, rgba(36, 68, 61, 0.07) 68% 69%, transparent 69% 100%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 28px;
  padding: 56px;
  min-height: 72vh;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.hero-lead {
  max-width: 620px;
  font-size: 1.12rem;
}

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

.primary-action,
.secondary-action,
.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(36, 68, 61, 0.16);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.primary-action {
  background: var(--accent);
  color: #f9f6f0;
  box-shadow: 0 20px 40px rgba(36, 68, 61, 0.24);
}

.secondary-action,
.map-link {
  background: rgba(255, 255, 255, 0.5);
}

.primary-action:hover,
.primary-action:focus-visible,
.secondary-action:hover,
.secondary-action:focus-visible,
.map-link:hover,
.map-link:focus-visible {
  transform: translateY(-2px);
}

.hero-panel {
  position: relative;
  padding: 28px;
  align-self: end;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(36, 68, 61, 0.08);
}

.panel-line {
  width: 72px;
  height: 1px;
  margin-bottom: 20px;
  background: var(--accent);
}

.hero-list {
  display: grid;
  gap: 14px;
  padding-left: 20px;
}

.narrative-card {
  padding: 34px;
  display: grid;
  gap: 18px;
  max-width: 840px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  min-height: 280px;
  padding: 30px;
  display: grid;
  gap: 20px;
}

.service-index {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
}

.contact-card {
  padding: 30px;
  display: grid;
  gap: 24px;
}

.contact-item {
  display: grid;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(36, 68, 61, 0.1);
}

.contact-item:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-item-title {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-card a,
.contact-card [data-location-display] {
  font-size: 1.05rem;
  color: var(--text);
}

.map-card {
  min-height: 440px;
  padding: 12px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 416px;
  border: 0;
  border-radius: 24px;
  filter: grayscale(0.1) saturate(0.82) contrast(1.03);
}

@media (max-width: 920px) {
  .page-shell {
    width: min(100vw - 28px, 1140px);
    padding-top: 18px;
  }

  .site-header {
    top: 12px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 28px;
  }

  .header-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    justify-content: space-between;
  }

  .language-switcher {
    align-self: flex-end;
  }

  .hero,
  .contact-layout,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 34px 24px;
    min-height: unset;
  }

  .hero-panel {
    align-self: stretch;
  }

  .narrative-card,
  .service-card,
  .contact-card {
    padding: 24px;
  }

  .map-card {
    min-height: 340px;
  }

  body::after {
    opacity: 0.22;
    background-position:
      72% 12%,
      72% 12%,
      60% 28%,
      60% 28%,
      78% 36%,
      78% 36%,
      54% 44%,
      54% 44%,
      50% 62%,
      84% 10%;
  }
}

@media (max-width: 640px) {
  :root {
    --content-width: min(100vw - 20px, 1140px);
  }

  .site-nav {
    gap: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand-text {
    font-size: 0.88rem;
  }

  .lang-button {
    padding-inline: 10px;
  }

  main {
    gap: 56px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action,
  .map-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
