/* ============================================================
   Shirak Wireless Solutions — style.css
   Palette derived from the ShirakWS logo (apricot + charcoal)
   ============================================================ */
:root {
  --ink:       #123047;   /* deep marine — from the MariNet blue     */
  --ink-soft:  #44586A;
  --apricot:   #F28F2C;   /* brand orange — from "Net"               */
  --apricot-d: #D67816;
  --brand:     #0A5C89;   /* MariNet blue */
  --air:       #F4F6F8;   /* cool highland-air background           */
  --card:      #FFFFFF;
  --line:      #DEE4EA;
  --ok:        #2E8B57;   /* seagreen nod to the old site           */
  --radius:    14px;
  --shadow:    0 6px 24px rgba(28, 34, 42, .08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans Armenian", "Arial Unicode MS", system-ui, sans-serif;
  color: var(--ink);
  background: var(--air);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, .display {
  font-family: "Noto Serif Armenian", Georgia, serif;
  line-height: 1.25;
  font-weight: 700;
}

img { max-width: 100%; display: block; }
a { color: var(--apricot-d); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--apricot);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- top strip ---------- */
.topbar {
  background: var(--ink);
  color: #C9D2DC;
  font-size: .85rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 38px; gap: 12px; flex-wrap: wrap;
}
.topbar a { color: #fff; }
.topbar .phone { color: var(--apricot); font-weight: 700; letter-spacing: .03em; }

/* ---------- header / nav ---------- */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand .slogan {
  font-size: .78rem; color: var(--ink-soft);
  border-left: 2px solid var(--apricot); padding-left: 10px;
  max-width: 150px; line-height: 1.3;
}

.nav-toggle { display: none; }
.nav-toggle-label {
  display: none; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle-label span {
  width: 26px; height: 3px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease;
}

.main-nav ul { display: flex; gap: 6px; list-style: none; }
.main-nav a {
  display: block; padding: 10px 16px; border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: .95rem;
}
.main-nav a:hover { background: var(--air); text-decoration: none; }
.main-nav a.active { background: var(--brand); color: #fff; }

/* ---------- hero with signal signature ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(242,143,44,.16), transparent 60%),
    linear-gradient(180deg, #0F3B58 0%, #123047 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero .container {
  display: grid; grid-template-columns: 1.15fr .85fr;
  align-items: center; gap: 32px;
  padding-top: 72px; padding-bottom: 84px;
}
.hero .eyebrow {
  color: var(--apricot); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; font-size: .8rem; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin-bottom: 10px; }
.hero .sub { color: #B9C3CE; font-size: 1.1rem; max-width: 46ch; }
.hero .cta-row { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; border: 0; cursor: pointer;
}
.btn-primary { background: var(--apricot); color: #211A0C; }
.btn-primary:hover { background: #F7B356; text-decoration: none; }
.btn-ghost { border: 1.5px solid #5A6672; color: #fff; }
.btn-ghost:hover { border-color: var(--apricot); color: var(--apricot); text-decoration: none; }

/* the signature: antenna emitting expanding signal arcs */
.signal { position: relative; height: 300px; }
.signal svg { width: 100%; height: 100%; overflow: visible; }
.arc {
  fill: none; stroke: var(--apricot); stroke-width: 3; stroke-linecap: round;
  opacity: 0; transform-origin: 150px 190px;
  animation: pulse 3.6s ease-out infinite;
}
.arc:nth-child(2) { animation-delay: .6s; }
.arc:nth-child(3) { animation-delay: 1.2s; }
.arc:nth-child(4) { animation-delay: 1.8s; }
@keyframes pulse {
  0%   { opacity: 0;  transform: scale(.55); }
  25%  { opacity: .9; }
  100% { opacity: 0;  transform: scale(1.25); }
}
@media (prefers-reduced-motion: reduce) {
  .arc { animation: none; opacity: .55; }
  html { scroll-behavior: auto; }
}

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow {
  color: var(--apricot-d); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; font-size: .78rem; margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }

/* ---------- tariffs ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; max-width: 760px; margin: 0 auto; }
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; text-align: center; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .18s ease, border-color .18s ease;
}
.plan:hover { transform: translateY(-4px); border-color: var(--apricot); }
.plan .speed {
  font-family: "Noto Serif Armenian", Georgia, serif;
  font-size: 1.25rem; font-weight: 700;
}
.plan .speed b { color: var(--apricot-d); font-size: 1.6rem; }
.plan .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.plan ul { list-style: none; color: var(--ink-soft); font-size: .95rem; }
.plan ul li::before { content: "✔"; color: var(--ok); margin-right: 8px; }
.plan .btn { margin-top: auto; }

/* ---------- coverage ---------- */
.villages { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.village {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; display: flex; align-items: center; gap: 12px;
  font-weight: 700;
}
.village .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 0 4px rgba(46,139,87,.15);
  flex: none;
}
.village small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .8rem; }

/* ---------- how it works: the signal path ---------- */
.path { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; position: relative; max-width: 860px; margin: 0 auto; }
.path::before {
  /* dashed line: the route of the signal from roof to apartment */
  content: ""; position: absolute; top: 50%; left: 12%; right: 12%;
  border-top: 2px dashed var(--apricot); opacity: .55; z-index: 0;
}
.step {
  position: relative; z-index: 1;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.step .icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(242,143,44,.14); color: var(--apricot-d);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; font-size: 1.15rem; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- reports ---------- */
.report-year { max-width: 720px; margin: 0 auto 26px; }
.report-year h3 {
  font-size: 1.2rem; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.report-year h3::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.report-list { list-style: none; display: grid; gap: 10px; }
.report-list a {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; color: var(--ink); font-weight: 600;
  transition: border-color .15s ease;
}
.report-list a:hover { border-color: var(--apricot); text-decoration: none; }
.report-list .filetype {
  flex: none; font-size: .68rem; font-weight: 800; letter-spacing: .05em;
  background: var(--ink); color: #fff; border-radius: 6px; padding: 4px 8px;
}
.report-list .filetype.html { background: var(--apricot-d); }
.report-list .go { margin-left: auto; color: var(--ink-soft); }

/* ---------- data table (4eramsyak) ---------- */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table.report {
  width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 640px;
}
table.report caption {
  text-align: left; padding: 20px 22px 8px; font-weight: 700;
  font-family: "Noto Serif Armenian", Georgia, serif; font-size: 1.05rem;
}
table.report th, table.report td { padding: 11px 16px; border-top: 1px solid var(--line); vertical-align: top; }
table.report thead th { background: var(--ink); color: #fff; border: 0; text-align: left; font-size: .85rem; }
table.report td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.report tr.group td { font-weight: 700; background: rgba(242,143,44,.08); }
table.report tr.sub td:nth-child(2) { padding-left: 30px; }
.notes { max-width: 900px; margin: 22px auto 0; color: var(--ink-soft); font-size: .87rem; }
.notes li { margin-bottom: 6px; }

/* ---------- generic text page ---------- */
.prose { max-width: 720px; margin: 0 auto; font-size: 1.05rem; }
.prose p { margin-bottom: 16px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, #0F3B58, #123047);
  color: #fff; padding: 52px 0; text-align: center;
}
.page-hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.page-hero p { color: #B9C3CE; margin-top: 6px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #B9C3CE; margin-top: 72px; }
.site-footer .container {
  padding: 40px 20px; display: flex; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; align-items: center;
}
.site-footer nav ul { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.site-footer a { color: #fff; }
.site-footer .copy { font-size: .85rem; }
.site-footer .copy a { color: var(--apricot); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 56px; }
  .signal { height: 200px; order: -1; }
  .villages { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .brand .slogan { display: none; }
  .nav-toggle-label { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--line);
    display: none; box-shadow: var(--shadow);
  }
  .main-nav ul { flex-direction: column; padding: 10px 16px 16px; }
  .main-nav a { border-radius: 10px; }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .plans, .path, .villages { grid-template-columns: 1fr; }
  .path::before { display: none; }
  .section { padding: 52px 0; }
}
