/* Armsalt corporate site — pure HTML/CSS (no frameworks) */

:root{
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, .10);
  --brand: #0b5ed7;
  --brand-2: #00a3d7;
  --shadow: 0 12px 28px rgba(2, 8, 23, .10);
  --shadow-soft: 0 10px 24px rgba(2, 8, 23, .08);
  --radius: 16px;
  --radius-sm: 12px;
  --container: 1280px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background: radial-gradient(1200px 600px at 70% -10%, rgba(11,94,215,.10), transparent 60%),
              radial-gradient(900px 500px at 15% 0%, rgba(0,163,215,.10), transparent 55%),
              var(--bg);
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", "Liberation Sans", sans-serif;
  line-height:1.6;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }

.container{
  width:min(var(--container), calc(100% - 40px));
  margin-inline:auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:8px;
  background:var(--text);
  color:#fff;
  padding:10px 12px;
  border-radius:10px;
  z-index:9999;
}
.skip-link:focus{ left:12px; }

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.72);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}
.logo{
  width:44px;
  height:44px;
  position:relative;
}
.logo:after{
  content:"";
  position:absolute;
  inset:10px 12px;
  border-radius:12px;
  background: rgba(255,255,255,.22);
  transform: rotate(8deg);
}
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand-text strong{ font-size:14px; letter-spacing:.06em; text-transform:uppercase; }
.brand-text span{ margin-top:5px; font-size:12px; color:var(--muted); }

.nav{
  display:flex;
  align-items:center;
  gap:10px;
}
.nav a{
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
  font-weight:600;
  font-size:14px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav a:hover{
  background: rgba(11,94,215,.08);
  color: var(--text);
}
.nav a[aria-current="page"]{
  background: rgba(11,94,215,.12);
  color: var(--text);
}

.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}
.lang{
  display:flex;
  align-items:center;
  gap:6px;
  padding:6px;
  border:1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.70);
}
.lang a{
  appearance:none;
  border:0;
  background:transparent;
  color:var(--muted);
  font-weight:700;
  font-size:12px;
  padding:8px 10px;
  border-radius: 999px;
  cursor:pointer;
  transition: background .2s ease, color .2s ease;
}
.lang .active{
    color: #254793; 
    text-decoration: underline;
}
.nav .active{
    background: rgba(11, 94, 215, .08);
   color: #254793;
}
.side-nav .active{
    background: rgba(11, 94, 215, .08);
   color: #254793;
}
.lang a[aria-pressed="true"]{
  background: rgba(11,94,215,.14);
  color: var(--text);
}
.menu-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.75);
  cursor:pointer;
}
.menu-toggle .bars{
  width:18px;
  height:12px;
  margin:auto;
  position:relative;
}
.menu-toggle .bars span{
  position:absolute;
  left:0;
  right:0;
  height:2px;
  background: var(--text);
  border-radius:999px;
}
.menu-toggle .bars span:nth-child(1){ top:0; }
.menu-toggle .bars span:nth-child(2){ top:5px; opacity:.8; }
.menu-toggle .bars span:nth-child(3){ bottom:0; opacity:.65; }

/* Hero (Swiper) */
.hero{
  padding: 18px 0 26px;
}

.hero-slider{
  border-radius: 24px;
  overflow:hidden;
  box-shadow: var(--shadow);
  border:1px solid rgba(15,23,42,.08);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}
.hero-slide{
  min-height: 420px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:10px;
  align-items:center;
  padding: 34px;
}
.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: rgba(11,94,215,.90);
}
.hero-title{
  font-size: clamp(14px, 1.6vw, 22px);
  line-height:1.12;
  margin:10px 0 12px;
}
.hero-subtitle{
  color: var(--muted);
  font-size: 15px;
  margin:0 0 18px;
  max-width: 56ch;
}
.hero-cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.85);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn-primary{
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: rgba(11,94,215,.25);
  color:#fff;
}
.btn-ghost{
  background: rgba(11,94,215,.06);
  border-color: rgba(11,94,215,.20);
}
.hero-media{
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  overflow:hidden;
  background: radial-gradient(900px 420px at 30% 20%, rgba(0,163,215,.22), transparent 65%),
              radial-gradient(800px 400px at 75% 75%, rgba(11,94,215,.22), transparent 55%),
              #f8fbff;
  min-height: 280px;
  display:flex;
  align-items:center;
  justify-content:center;
  max-height: 390px;
}
.hero-media img{ width:100%; height:100%; object-fit:cover; }


.trust-card{
  border-radius: 24px;
  border:1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}
.trust-card h3{ margin:0 0 6px; font-size: 14px; }
.trust-card p{ margin:0; color: var(--muted); font-size: 13px; }
.stats{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top: 12px;
}
.stat{
  border-radius: 16px;
  border:1px solid rgba(15,23,42,.08);
  background: rgba(246,249,252,.75);
  padding: 12px;
}
.stat strong{
  display:block;
  font-size: 18px;
  line-height:1.1;
}
.stat span{ color: var(--muted); font-size: 12px; }

/* Sections */
.section{
  padding: 38px 0;
}
.section-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 18px;
}
.section-header h2{
  margin:0;
  font-size: 22px;
}
.section-header p{
  margin:0;
  color: var(--muted);
  max-width: 64ch;
  font-size: 13px;
}

.alt-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
}
.panel{
  border-radius: 24px;
  border:1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
  overflow:hidden;
  margin-top:30px;
}
.panel-inner{
  padding: 22px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.panel h3{ margin:0; font-size:18px; }
.panel p{ margin:0; color: var(--muted); font-size: 16px; }
.panel-media{
  background: linear-gradient(135deg, rgba(11,94,215,.10), rgba(0,163,215,.10));
  min-height: 220px;
}
.panel-media img{ width:100%; height:285px; object-fit:cover; }

/* Inner pages with sidebar */
.page-hero{
  padding: 22px 0 10px;
}
.page-hero .title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.page-hero h1{
  margin:0;
  font-size: clamp(24px, 3vw, 34px);
}
.breadcrumbs{
  color: var(--muted);
  font-size: 12px;
}
.content-layout{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  padding: 16px 0 30px;
}
.sidebar{
  position:sticky;
  top: 92px;
  align-self:start;
  border-radius: 24px;
  border:1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
  overflow:hidden;
}
.sidebar .side-title{
  padding: 16px 16px 12px;
  border-bottom:1px solid rgba(15,23,42,.08);
  font-weight: 800;
  font-size: 12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: rgba(71,85,105,.95);
}
.side-nav{
  display:flex;
  flex-direction:column;
  padding: 10px;
  gap: 6px;
}
.side-nav a{
  padding: 12px 12px;
  border-radius: 16px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.side-nav a:hover{
  background: rgba(11,94,215,.06);
  border-color: rgba(11,94,215,.14);
  color: var(--text);
}
.side-nav a[aria-current="page"]{
  background: rgba(11,94,215,.10);
  border-color: rgba(11,94,215,.18);
  color: var(--text);
}
.main-card{
  border-radius: 24px;
  border:1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}
.main-card h2{
  margin:0 0 10px;
  font-size: 24px;
}
.main-card p{
  margin:0 0 12px;
  color: var(--muted);
  font-size: 16px;
}
.split{
  margin-top: 16px;
}
.callout{
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(246,249,252,.78);
  padding: 14px;
}
.callout strong{ display:block; font-size: 13px; margin-bottom: 6px; }
.callout span{ display:block; color: var(--muted); font-size: 12px; }

/* Fancybox gallery */
.gallery{
  padding: 14px 0 48px;
}
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-grid a{
  display:block;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  box-shadow: 0 10px 18px rgba(2,8,23,.06);
  background: #fff;
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease;
}
.gallery-grid a:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(2,8,23,.10);
}
.gallery-grid img{
  width:100%;
  height: 160px;
  object-fit: cover;
}
  
/* Contacts */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.contact-item{
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(246,249,252,.78);
  padding: 14px;
}
.contact-item strong{ display:block; font-size: 16px; margin-bottom: 6px; }
.contact-item a{ color: rgba(11,94,215,.95); font-weight:700; }
.map{
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  height: 320px;
}
.map iframe{ width:100%; height:100%; border:0; }

/* Footer */
.site-footer{
  margin-top: 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(246,249,252,.70), rgba(255,255,255,.70));
}
.footer-inner{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 25px 0;
}
.footer-card{
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.75);
  box-shadow: 0 10px 22px rgba(2,8,23,.06);
  padding: 16px;
}
.footer-card h3{ margin:0 0 10px; font-size: 13px; }
.footer-card p{ margin:0; color: var(--muted); font-size: 12px; }
.footer-menu{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
}
.footer-menu a{
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight:700;
  font-size: 12px;
}
.footer-menu a:hover{
  background: rgba(11,94,215,.06);
  border-color: rgba(11,94,215,.14);
  color: var(--text);
}
.copyright{
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.hospital__contacts{
  display: flex;
  flex-direction: column;
  margin-top:30px;
}
.hospital__contacts p{
  margin: 0;
}
.technologies__sertificat_box{
  display: flex;
  gap:30px;
}
.technologies__sertificat_box p a{
  color:rgba(11,94,215,.95);
}
.page-404-text{
  font-size: 200px!important;
  text-align: center;
  letter-spacing: 30px;
}
.about__imgs{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom:20px;
}
.about__img{
    max-height:360px;
}
.about__img img{
   width: 100%;
    height: 100%;
    object-fit: cover; 
}
.about-box-sertificat{
  display: grid;
  grid-template-columns: 1fr 160px;
}
/* Reveal animations */
.reveal{
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in{
  opacity:1;
  transform:none;
}

.viber__box{
  display: flex;
  align-items: center;
  gap: 10px
}
.viber__box a img{
  width: 25px;
}
  .page-products p, .page-products li {
      margin-bottom: 0.5rem;
  }
  .page-products ul {
      margin: 0.5rem 0 1rem 1.5rem;
      padding-left: 0;
  }
  .page-products table {
      border-collapse: collapse;
      width: 100%;
      margin: 1rem 0 1.5rem 0;
      background: #fefefe;
      border: 1px solid #ccc;
  }
  .page-products th, .page-products td {
      border: 1px solid #aaa;
      padding: 8px 10px;
      vertical-align: top;
      text-align: left;
  }
  .page-products th {
      background: #f1f5f9;
      font-weight: 600;
  }
  .page-products .note {
      margin-top: 0.25rem;
      font-style: normal;
  }
  .page-products hr {
      margin: 2rem 0;
      border: 0;
      border-top: 1px solid #ddd;
  }
  .catalogs{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:30px;
  }
  .catalogs__item{
      border: solid 1px rgba(11, 94, 215, .10);
      padding:20px; 
      border-radius: 20px;
  }
  .products__sec{
    margin-bottom:30px;
  }
   .catalogs__img{
    max-width: 320px;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
   }
   .product-text-hide{
    display: none;
   }
   .product-more{
      border: solid 1px rgba(11, 94, 215, .10);
      padding: 5px 15px;
      border-radius: 10px;
      margin: 10px 0px;
      max-width: 160px;
      display: block;
      background: #264995;
      color: #fff;

   }
/* Mobile nav */


.hero .swiper-slide{
  height: 500px;
}
.hero .swiper-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .swiper-button-next, .hero .swiper-button-prev{
  color:#fff;
}
.gallery-box{
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: rgba(255, 255, 255, .76);
    box-shadow: var(--shadow-soft);
    padding: 25px;
}


@media (max-width: 980px){
  .hero-slide{ grid-template-columns: 1fr; min-height: auto; }
  .hero-media{ min-height: 240px; }
  .content-layout{ grid-template-columns: 1fr; }
  .sidebar{ position:relative; top:0; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-inner{ grid-template-columns: 1fr; }
}
@media (max-width: 860px){
  .menu-toggle{ display:inline-flex; }
  .nav{
    position:fixed;
    left:20px;
    right:20px;
    top:78px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 10px;
    display:none;
    flex-direction:column;
    align-items:stretch;
  }
  body.nav-open .nav{ display:flex; }
  .nav a{ padding: 12px 14px; }
  .brand{ min-width: unset; }
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .btn, .nav a, .gallery-grid a, .reveal{ transition:none !important; }
  .btn:hover, .gallery-grid a:hover{ transform:none; }
}

@media (max-width: 1200px){
  .catalogs{
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px){
    .alt-grid{
        grid-template-columns: 1fr;
    }
    .catalogs{
      grid-template-columns: 1fr;
    }
    .gallery-grid{
      grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid{
      grid-template-columns: 1fr;
    }
}
