/* =========================
   GAZDYUTI — Light Theme CSS (FINAL)
   ========================= */

:root{
  --bg: #f4f7fb;
  --card: rgba(255,255,255,.92);
  --card2: rgba(255,255,255,.80);

  --text: #0f172a;          /* սև */
  --muted: #0f172a;         /* սև՝ ըստ պահանջի */
  --line: rgba(15,23,42,.12);

  --accent: #1f6feb;
  --accent2:#16a34a;

  --shadow: 0 16px 40px rgba(15,23,42,.10);
  --shadow2: 0 10px 24px rgba(15,23,42,.08);

  --radius: 20px;
  --radius2: 14px;

  --maxw: 1120px;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans Armenian", sans-serif;
}

/* Base */
*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(980px 560px at 14% 8%, rgba(31,111,235,.12), transparent 60%),
    radial-gradient(860px 520px at 88% 18%, rgba(22,163,74,.09), transparent 55%),
    radial-gradient(1100px 700px at 55% 110%, rgba(31,111,235,.07), transparent 55%),
    var(--bg);
  line-height:1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

/* Force all text black (even if inline styles exist) */
body, p, span, small, li, nav a, .badge, .pill, .sub, .stat span, .visual .cap{
  color: var(--text) !important;
}

/* Layout */
.wrap{ width:min(var(--maxw), calc(100% - 32px)); margin:0 auto; }

/* Header / Nav */
header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(244,247,251,.95), rgba(244,247,251,.78));
  border-bottom:1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}

.brand img{
  width: 140px;
  height: auto;       /* թող բուն համամասնությունը պահի */
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(15,23,42,.12));
}


.brand .name{ font-weight:900; letter-spacing:.8px; }
.brand .tag{ font-size:12px; opacity:.75; margin-top:2px; }

nav ul{
  list-style:none;
  padding:0; margin:0;
  display:flex; gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

nav a{
  padding:10px 12px;
  border:1px solid transparent;
  border-radius: 12px;
  transition: .2s ease;
  opacity:.86;
}

nav a:hover{
  opacity:1;
  border-color: var(--line);
  background: rgba(255,255,255,.85);
}

/* -------------------------
   HERO
   ------------------------- */
.hero{ padding: 46px 0 34px; }
.hero-sub{
  margin: 0 0 14px;
  font-size: 15px;
  max-width: 62ch;
  line-height: 1.5;
  opacity: .9;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;    /* ✅ հավասար տեղ */
  gap:28px;
  align-items: stretch;              /* ✅ հավասար բարձրություն */
}

@media (max-width: 900px){
  .hero-grid{ grid-template-columns:1fr; }
}

.hero-card{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.82));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:32px;
  position:relative;
  overflow: visible;                 /* ✅ չկտրի ներքևը */
}

.hero-card:before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(700px 260px at 15% 0%, rgba(31,111,235,.10), transparent 62%),
    radial-gradient(560px 240px at 90% 35%, rgba(22,163,74,.08), transparent 64%);
  pointer-events:none;
  border-radius: inherit;
}

.hero-card > *{ position:relative; }

.kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  font-size:13px;
  width:fit-content;
  box-shadow: 0 8px 18px rgba(15,23,42,.05);
}

.dot{
  width:8px;
  height:8px;
  background:var(--accent2);
  border-radius:50%;
  box-shadow:0 0 0 6px rgba(22,163,74,.14);
}

/* ✅ smaller hero title */
.hero-title{
  margin:10px 0 10px;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.2px;
  font-weight: 850;
}

@media (max-width: 520px){
  .hero-title{
    font-size: 22px;
    line-height: 1.25;
  }
}

.sub{
  margin:0 0 14px;
  font-size: 14.8px;
  max-width: 62ch;
  opacity:.86;
}

/* Buttons */
.cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.86);
  font-weight:800;
  transition:.2s ease;
  box-shadow: 0 10px 18px rgba(15,23,42,.06);
}

.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.98);
}

.btn.primary{
  border-color: rgba(31,111,235,.35);
  background: linear-gradient(180deg, rgba(31,111,235,.16), rgba(31,111,235,.08));
}

.btn.primary:hover{
  background: linear-gradient(180deg, rgba(31,111,235,.20), rgba(31,111,235,.10));
}

/* Stats */
.stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top: 18px;
}

@media (max-width: 700px){
  .stats{ grid-template-columns:1fr; }
}

.stat{
  padding:14px;
  border-radius: 16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 18px rgba(15,23,42,.06);
}

.stat b{ display:block; font-size: 16px; letter-spacing:.2px; }
.stat span{ font-size: 12.4px; opacity:.82; }

/* -------------------------
   Right Visual (BIG but balanced)
   ------------------------- */
.visual{
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.88);
  display:flex;
  flex-direction:column;
  height: 100%; /* ✅ նույն բարձրությունը ինչ ձախ բլոկը */
}

.visual .img{
  flex:1;
  min-height: 520px;
  background:#e9f0ff;
  position:relative;
  overflow:hidden;
}

@media (max-width: 900px){
  .visual .img{ min-height: 360px; }
}

.visual .img img{
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
  object-position:center;
  filter: contrast(1.04) saturate(1.04);
  transform: scale(1.06);
  transform-origin: center;
}

.visual .cap{
  padding:14px 16px;
  border-top:1px solid var(--line);
  font-size: 13px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  opacity:.9;
}

/* -------------------------
   Sections / Cards
   ------------------------- */
section{ padding: 18px 0; }

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}

@media (max-width: 900px){
  .grid2{ grid-template-columns:1fr; }
}

.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.90);
  border-radius: var(--radius);
  padding:22px;
  box-shadow: var(--shadow2);
}

.title{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 12px;
  font-size: 18px;
  letter-spacing:.2px;
  font-weight:900;
}

.badge{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.84);
  width:fit-content;
  opacity:.95;
}

/* Lists */
.list{
  margin:0;
  padding-left: 18px;
  opacity:.88;
}
.list li{ margin: 8px 0; }

/* -------------------------
   Gallery
   ------------------------- */
.gallery{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
}

@media (max-width: 900px){
  .gallery{ grid-template-columns:1fr; }
}

.gallery .big, .gallery .small{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.88);
}

.gallery img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter: contrast(1.02) saturate(1.02);
}

.gallery .small{
  display:grid;
  grid-template-rows: 1fr 1fr;
}
.gallery .small > div{ height: 220px; }
.gallery .big{ height: 460px; }

@media (max-width: 520px){
  .gallery .big{ height: 340px; }
  .gallery .small > div{ height: 180px; }
}
.more{
  margin-top:10px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 12px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 18px rgba(15,23,42,.05);
}
.more summary{
  cursor:pointer;
  font-weight:900;
  list-style:none;
}
.more summary::-webkit-details-marker{ display:none; }
.more summary:after{
  content:"▾";
  float:right;
  opacity:.7;
}
.more[open] summary:after{ content:"▴"; }
.more p{ margin:10px 0 0; opacity:.9; }

/* -------------------------
   Footer
   ------------------------- */
footer{
  margin-top: 22px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
}
.footer-logo{
  width: 90px;     /* կամ 100/120 */
  height: auto;
  object-fit: contain;
}

.foot{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  align-items:flex-start;
}

.foot small{ display:block; margin-top:8px; opacity:.8; }

.pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 18px rgba(15,23,42,.06);
}
.icon-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.icon-list li{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.65);
  border: 1px solid var(--line);
  box-shadow: 0 8px 16px rgba(15,23,42,.04);
  transition: .2s ease;
}

.icon-list li:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(15,23,42,.10);
  background: rgba(255,255,255,.9);
}

.icon-list .ico{
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}
.rekvizit-list{
  display: grid;
  gap: 12px;
}

.rek-item{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(15,23,42,.06);
  transition: .2s ease;
}

.rek-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15,23,42,.10);
  border-color: rgba(31,111,235,.25);
}

.rek-ico{
  font-size: 20px;
  line-height: 1;
  margin-top: 2px;
  min-width: 24px;
}

.rek-item small{
  display: block;
  font-size: 11.5px;
  letter-spacing: .3px;
  opacity: .7;
  margin-bottom: 2px;
}

.rek-item b{
  display: block;
  font-size: 14.5px;
  letter-spacing: .2px;
}

.rek-item a{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(15,23,42,.35);
}
.rek-item a:hover{
  border-bottom-style: solid;
}
.quote-box{
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(31,111,235,.10), rgba(22,163,74,.06));
  border: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(15,23,42,.08);
}
.quote-box p{
  margin: 0 0 8px;
  font-size: 15.5px;
  font-weight: 900;
}
.quote-box span{
  font-size: 14px;
  opacity: .92;
}

/* small highlights under about */
.about-chips{
  display: grid;
  gap: 10px;
}
.chip{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 18px rgba(15,23,42,.05);
}
.chip span{ font-size: 18px; line-height:1; margin-top:1px; }

/* rekvizit styles (եթե արդեն ունես՝ թող նույնը) */
.rekvizit-list{ display:grid; gap:12px; }
.rek-item{
  display:flex; gap:14px; align-items:flex-start;
  padding:12px 14px; border-radius:14px;
  background: rgba(255,255,255,.85);
  border:1px solid var(--line);
  box-shadow: 0 8px 18px rgba(15,23,42,.06);
  transition: .2s ease;
}
.rek-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15,23,42,.10);
  border-color: rgba(31,111,235,.25);
}
.rek-ico{ font-size:20px; line-height:1; margin-top:2px; min-width:24px; }
.rek-item small{
  display:block; font-size:11.5px; letter-spacing:.3px;
  opacity:.7; margin-bottom:2px;
}
.rek-item b{ display:block; font-size:14.5px; letter-spacing:.2px; }
.rek-item a{
  color:inherit; text-decoration:none;
  border-bottom:1px dashed rgba(15,23,42,.35);
}
.rek-item a:hover{ border-bottom-style: solid; }
.why-card{
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 16px 30px rgba(15,23,42,.08);
}

.mini-title{
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: .4px;
  opacity: .8;
  font-weight: 900;
  text-transform: uppercase;
}

.why-text{
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.55;
  opacity: .92;
}

.why-points{
  display: grid;
  gap: 10px;
}

.why-point{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.75);
}

.why-point span{
  font-size: 18px;
  line-height: 1;
  margin-top: 1px;
}

/* Key-value list (Rekvizitner) */
.kv-list{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap:10px 14px;
  align-items:start;
}

.kv-list .k{
  font-weight:800;
  white-space:nowrap;
}

/* Optional: pills with fixed label inside */
.pill-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}

.pill-grid .pill{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.pill-grid .pill b{
  min-width: 90px;
  display:inline-block;
}
/* ===== Hover / Focus (սենսիթիվ) ===== */

/* Link-եր */
nav a{
  position: relative;
}
nav a:hover,
nav a:focus-visible{
  background: rgba(31,111,235,.10);
  border-color: rgba(31,111,235,.30);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15,23,42,.08);
  outline: none;
}

/* Button-ներ */
.btn{
  cursor:pointer;
}
.btn:hover,
.btn:focus-visible{
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(15,23,42,.12);
  outline: none;
}

/* Pill-եր */
.pill{
  transition: .2s ease;
}
.pill:hover,
.pill:focus-visible{
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(15,23,42,.12);
  border-color: rgba(31,111,235,.25);
  outline: none;
}

/* Քարտեր՝ փոքր highlight */
.card{
  transition: .2s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(15,23,42,.10);
  border-color: rgba(31,111,235,.22);
}
/* ===== Splash Loader ===== */
/* =========================
   Splash (gear rotates, flame static)
   ========================= */

#splash{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--bg);
  /* մի քիչ գեղեցիկ լուսային շերտ */
  background:
    radial-gradient(780px 420px at 50% 45%, rgba(31,111,235,.10), transparent 60%),
    radial-gradient(640px 380px at 60% 55%, rgba(22,163,74,.08), transparent 55%),
    var(--bg);
}

.splash-logo{
  position: relative;
  width: 220px;   /* սա base չափն է */
  height: 220px;
}

.splash-logo .gear{
  position: absolute;
  inset: 0;
  margin: auto;

  width: 140%;
  height: 140%;

  object-fit: contain;   /* ⭐ ՍԱ Է ԳԼԽԱՎՈՐԸ */
  aspect-ratio: 1 / 1;   /* ⭐ պարտադրում է շրջան */
}


.splash-logo .flame{
  position: absolute;
  inset: 0;
  margin: auto;

  width: 75%;
  height: 75%;

  object-fit: contain;
  aspect-ratio: 1 / 1;
}
.splash-logo .gear{
  animation: spin 1.6s linear infinite;
}

@keyframes spin{
  to { transform: rotate(360deg); }
}

@keyframes gearSpin{
  to{ transform: rotate(360deg); }
}

/* դուրս գալու անիմացիա */
#splash.hide{
  animation: splashOut .45s ease forwards;
}

@keyframes splashOut{
  to{ opacity: 0; visibility: hidden; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .splash-logo .gear{ animation: none; }
  #splash.hide{ animation: none; opacity:0; visibility:hidden; }
}

/* "Metallic" ring */
.splash-ring{
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background:
    conic-gradient(
      from 0deg,
      rgba(255,255,255,.95),
      rgba(31,111,235,.20),
      rgba(255,255,255,.85),
      rgba(22,163,74,.18),
      rgba(255,255,255,.95)
    );
  filter: blur(.2px);
  box-shadow: inset 0 0 0 8px rgba(255,255,255,.78);
  animation: ringSpin 1.1s linear infinite;
  opacity: .95;
}

@keyframes ringSpin{
  to{ transform: rotate(360deg); }
}

/* Body reveal (optional smoothness) */
body.loading main,
body.loading header{
  opacity: 0;
}
body.ready main,
body.ready header{
  opacity: 1;
  transition: opacity .35s ease;
}
.brand img{
  width: 140px;     /* այստեղ դիր ինչքան ուզում ես */
  height: auto;
  object-fit: contain;
}

.card{
  transition:
    background-color .25s ease,
    box-shadow .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.card:hover{
  background-color: rgba(31,111,235,.06); /* թեթև կապույտ */
  border-color: rgba(31,111,235,.28);
}
.hero{ padding: 46px 0 34px; }

.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr; /* ձախը մի քիչ ավելի լայն */
  gap: 26px;
  align-items: stretch; /* նույն բարձրություն */
}

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
}

/* visual — թող նույն բարձրությունը վերցնի */
.visual{
  height: 100%;
  display:flex;
  flex-direction: column;
}

/* Text+small image wrap */
.hero-sub-wrap{
  display:flex;
  align-items: center;
  gap: 22px;
  margin: 10px 0 14px;
}

.hero-sub-wrap .hero-sub{
  margin: 0;
  flex: 1;
  max-width: 62ch;
}

.hero-sub-img{
  width: 200px;
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.14);
  background: #fff;
  box-shadow: 0 16px 36px rgba(15,23,42,.18);
}

.hero-sub-img img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

/* Mobile */
@media (max-width: 680px){
  .hero-sub-wrap{
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-sub-img{
    width: 100%;
    max-width: 420px;
  }
}
/* Global image hover effect (subtle) */
img{
  transition: transform .28s ease, filter .28s ease;
  will-change: transform;
}

/* image moves slightly + tiny zoom */
img:hover{
  transform: translateY(-3px) scale(1.03);
  filter: saturate(1.03) contrast(1.03);
}

/* reduce on mobile (optional) */
@media (max-width: 700px){
  img:hover{
    transform: scale(1.015);
  }
}
.visual .img,
.gallery .big,
.gallery .small > div,
.hero-sub-img{
  transition: transform .28s ease, box-shadow .28s ease;
  will-change: transform;
}

.visual .img:hover,
.gallery .big:hover,
.gallery .small > div:hover,
.hero-sub-img:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(15,23,42,.12);
}
.title{
  position: relative;
}
.title:after{
  content:"";
  position:absolute;
  left:0; bottom:-6px;
  width:0;
  height:3px;
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  transition: .6s ease;
}
.reveal.show .title:after{
  width:64px;
}
/* ✅ Mobile header/nav fix */
@media (max-width: 700px){
  .nav{ flex-direction: column; align-items: flex-start; }
  .brand{ min-width: 0; }
  .brand img{ width: 110px; }
  nav ul{ justify-content: flex-start; gap: 6px; }
  nav a{ padding: 8px 10px; font-size: 13px; }
}
/* ✅ Smaller hero visual on small phones */
@media (max-width: 520px){
  .visual .img{ min-height: 260px; }
}
/* ✅ Disable hover effects on touch devices */
@media (hover: none){
  img:hover{
    transform: none;
    filter: none;
  }
  .visual .img:hover,
  .gallery .big:hover,
  .gallery .small > div:hover,
  .hero-sub-img:hover{
    transform: none;
    box-shadow: none;
  }
}


/* Anchors spacing */
.anchor{ scroll-margin-top: 90px; }
