:root{
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --text: #0f172a;        /* navy-ish */
  --muted: #475569;
  --border: #e5e7eb;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);

  --navy: #0b1f3a;
  --gold: #caa24a;

  --radius: 16px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a{ color: var(--navy); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.skip{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip:focus{
  left: 16px;
  top: 16px;
  width:auto;
  height:auto;
  background:#fff;
  border:1px solid var(--border);
  padding:10px 12px;
  border-radius: 10px;
  z-index: 9999;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
}
.mark{
  width: 14px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), #e7d08d);
  box-shadow: 0 6px 18px rgba(202,162,74,0.35);
}
.brand-title{
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.brand-subtitle{
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.nav{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content:space-between;
  gap:20px;
}
.nav a{
  font-weight: 600;
  color: var(--text);
  opacity: 0.92;
}
.nav a:hover{
  opacity: 1;
  text-decoration: none;
}
.nav-cta{
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff !important;
  border: 1px solid rgba(11,31,58,0.2);
}
.nav-cta:hover{ filter: brightness(1.05); }

/* ===== NAV layout clean ===== */

/* ліва частина */
.nav-left{
  display:flex;
  gap:18px;
  align-items:center;
  flex-wrap:wrap;
}

/* права частина */
.nav-right{
  display:flex;
  align-items:center;
}

/* кнопка дзвінка */
.nav-cta{
  white-space:nowrap;
}

@media (max-width: 900px){

  /* ховаємо всі лінки зліва */
  .nav-left a{
    display:none;
  }

  /* залишаємо тільки головну */
  .nav-left a:first-child{
    display:inline-flex;
  }
}


.hero{
  padding: 46px 0 18px;
  background:
    radial-gradient(900px 420px at 10% 10%, rgba(202,162,74,0.14), transparent 55%),
    radial-gradient(900px 420px at 80% 5%, rgba(11,31,58,0.12), transparent 55%);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}
.badge{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(202,162,74,0.5);
  background: rgba(202,162,74,0.10);
  color: var(--navy);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
}
h1{
  margin: 14px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.lead{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-weight: 700;
  text-decoration:none !important;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn.primary{
  background: var(--navy);
  color:#fff;
  border-color: rgba(11,31,58,0.25);
  box-shadow: 0 12px 26px rgba(11,31,58,0.20);
}
.btn.ghost{
  background: #fff;
  color: var(--navy);
  border-color: rgba(11,31,58,0.18);
}

.hero-meta{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}
.meta-item{
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.meta-label{
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.meta-value{
  margin-top: 6px;
  font-weight: 600;
  color: var(--text);
}

.hero-photo{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  min-height: 360px;
  display:flex;
}
.photo-placeholder{
  width: 100%;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(202,162,74,0.10), rgba(11,31,58,0.06))
    /*repeating-linear-gradient(45deg, rgba(11,31,58,0.06) 0 12px, rgba(11,31,58,0.02) 12px 24px);*/
  /*background:*/
  /*        radial-gradient(700px 300px at 20% 10%, var(--accent-soft), transparent 60%),*/
  /*        linear-gradient(180deg, #575555, #8a8686);*/
}
.ph-title{
  font-weight: 800;
  color: var(--navy);
  font-size: 18px;
}
.ph-subtitle{
  margin-top: 6px;
  color: var(--muted);
  max-width: 320px;
  font-weight: 600;
}

.section{
  padding: 56px 0;
}
.section.alt{
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head{
  display:flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
h2{
  margin:0;
  font-size: 26px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.muted{ margin:0; color: var(--muted); }

.grid.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.06);
}
.card h3{
  margin:0 0 10px;
  color: var(--navy);
  font-size: 16px;
}
.card ul{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
}
.card li{ margin: 6px 0; }

.note{
  margin-top: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(202,162,74,0.35);
  background: rgba(202,162,74,0.08);
  padding: 14px 16px;
}
.note-title{
  font-weight: 800;
  color: var(--navy);
}
.note-text{
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.about-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}
.about-text{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.06);
  color: var(--muted);
  font-weight: 600;
}
.about-text p{ margin: 0 0 12px; }
.about-text p:last-child{ margin-bottom: 0; }

.steps{
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.step{
  display:flex;
  gap: 12px;
  padding: 14px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.06);
}
.step-num{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(11,31,58,0.10);
  border: 1px solid rgba(11,31,58,0.18);
  color: var(--navy);
  font-weight: 900;
  display:flex;
  align-items:center;
  justify-content:center;
}
.step-title{ font-weight: 800; color: var(--navy); }
.step-text{ color: var(--muted); font-weight: 600; margin-top: 4px; }

.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-card{
  background:#fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.contact-card h3{
  margin:0 0 12px;
  color: var(--navy);
}

.contact-row{
  display:flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(229,231,235,0.8);
}
.contact-row:last-of-type{ border-bottom: none; }

.icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(202,162,74,0.12);
  border: 1px solid rgba(202,162,74,0.28);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 16px;
}
.label{
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.value{
  font-weight: 700;
  color: var(--text);
  margin-top: 4px;
}

.contact-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.hours{
  margin-top: 16px;
  border-top: 1px solid rgba(229,231,235,0.8);
  padding-top: 14px;
}
.hours-title{
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
}
.hours-grid{
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.hours-row{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}
.hours-row span:last-child{ color: var(--text); }

.map-card{
  background:#fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction: column;
  min-height: 420px;
}
.map-card iframe{
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}
.map-footer{
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: rgba(246,247,251,0.7);
}
.link{ font-weight: 800; }

.legal-links{
  margin-top: 16px;
  display:flex;
  align-items:center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}
.dot{ opacity: 0.6; }

.footer{
  border-top: 1px solid var(--border);
  padding: 20px 0;
  background: #fff;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-title{
  font-weight: 900;
  color: var(--navy);
}
.footer-muted{
  color: var(--muted);
  font-weight: 700;
  margin-top: 2px;
}
.footer-right{
  color: var(--muted);
  font-weight: 800;
}
.footer-right a{ color: var(--navy); }
.sep{ margin: 0 8px; opacity: 0.6; }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-photo{ min-height: 280px; }
  .grid.cards{ grid-template-columns: 1fr; }
  .about-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .hero-meta{ grid-template-columns: 1fr; }
  .nav{ display:none; } /* простий мобільний режим, без бургер-меню */
}


/* Multi-page tweaks */
.nav a.active{
  color: var(--navy);
  text-decoration: none;
  opacity: 1;
  position: relative;
}
.nav a.active::after{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: rgba(202,162,74,0.9);
  border-radius: 999px;
}

.page-hero{
  padding: 44px 0 18px;
  background:
    radial-gradient(900px 420px at 10% 10%, rgba(202,162,74,0.10), transparent 55%),
    radial-gradient(900px 420px at 80% 5%, rgba(11,31,58,0.10), transparent 55%);
}
.page-hero .hero-grid{
  grid-template-columns: 1fr;
}
.page-hero h1{
  margin-top: 10px;
}
.bullets{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 600;
}
.faq{
  margin-top: 16px;
  display: grid;
  gap: 12px;
}
.faq-item{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.06);
}
.faq-q{
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}
.faq-a{
  color: var(--muted);
  font-weight: 600;
  margin: 0;
}


/* ===== Hero layout: text left, photo right ===== */
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items:center;
}

.hero-photo-side{
  display:flex;
  justify-content:flex-end;
}

.hero-photo-side img{
  width: 360px;
  max-width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
  object-fit: cover;
}

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-photo-side{ justify-content:center; margin-top:20px; }
}

.card-link{
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link .card{
  height: 100%;
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}

.card-link:hover .card{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* картка як кнопка */
.card-link,
.card-link:hover,
.card-link:focus,
.card-link:active{
  text-decoration: none;
  color: inherit;
}

/* страховка для вкладених елементів */
.card-link *{
  text-decoration: none !important;
}

@media (max-width: 900px){

  /* ховаємо всі */
  .nav a{
    display:none;
  }

  /* показуємо тільки ці дві */
  .nav a[href="index.html"],
  .nav .nav-cta{
    display:inline-flex;
  }

  /* розкидуємо по краях */
  .nav{
    display:flex;
    width:100%;
    justify-content:space-between;
    align-items:center;
  }
}