/* ============================================================
   ВОРДГИД — assets/style.css
   Palette: #1A4480 #2B579A #5B7FBF #A9C0E0 #EAF1FA
   Fonts: Merriweather (headings) + Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #1A4480;
  --blue:   #2B579A;
  --mid:    #5B7FBF;
  --soft:   #A9C0E0;
  --pale:   #EAF1FA;
  --steel:  #5A6675;
  --accent: #E0A75E;
  --white:  #ffffff;
  --text:   #1e2733;
  --muted:  #4a5566;
  --radius: 14px;
  --shadow: 0 8px 32px rgba(26,68,128,0.13);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

a { color: var(--blue); text-decoration: none; transition: color .25s; }
a:hover { color: var(--navy); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { padding-left: 1.4rem; }

/* ---------- Utility ---------- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-pad { padding: 90px 0; }
.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--pale);
  padding: .3rem .9rem;
  border-radius: 30px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
  color: var(--navy);
}

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  border: none;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(26,68,128,.3); }

.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
}
.btn-primary:hover { color: var(--white); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.15); color: var(--white); }

/* ---------- Header / Nav ---------- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(26,68,128,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s;
}
#site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.logo-svg { width: 38px; height: 38px; flex-shrink: 0; }
.logo-text {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: .01em;
}
.logo-text span { color: var(--soft); }

nav#main-nav { display: flex; align-items: center; gap: 1.6rem; }
nav#main-nav a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  transition: color .2s;
  white-space: nowrap;
}
nav#main-nav a:hover, nav#main-nav a.active { color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1000;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.pexels.com/photos/8205184/pexels-photo-8205184.jpeg?auto=compress&cs=tinysrgb&w=1600');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,68,128,.85) 0%, rgba(20,40,80,.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 1.5rem;
  margin-top: 68px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--soft);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 30px;
  margin-bottom: 1.4rem;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-content p {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.88);
  margin-bottom: 2.2rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Showcase ---------- */
#showcase {
  background: var(--pale);
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.showcase-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  border-top: 4px solid var(--blue);
}
.showcase-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.showcase-card-body { padding: 1.4rem; }
.showcase-card-body h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.showcase-card-body p { font-size: .9rem; color: var(--muted); }

/* ---------- Stats counter ---------- */
#stats {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 70px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-family: 'Merriweather', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  display: block;
}
.stat-label {
  font-size: .9rem;
  color: var(--soft);
  margin-top: .3rem;
  display: block;
}

/* ---------- About ---------- */
#about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.about-accent {
  position: absolute;
  bottom: -18px; right: -18px;
  width: 120px; height: 120px;
  background: linear-gradient(135deg, var(--mid), var(--accent));
  border-radius: 18px;
  opacity: .4;
  z-index: -1;
}
.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--muted); margin-bottom: 1rem; font-size: .97rem; }
.about-badges { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.badge {
  background: var(--pale);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .82rem;
  padding: .35rem .9rem;
  border-radius: 8px;
  border: 1px solid var(--soft);
}

/* ---------- Learn (cards / replaced blog) ---------- */
#learn {
  background: var(--pale);
}
.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.learn-card {
  background: var(--white);
  border: 1px solid rgba(91,127,191,.15);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.learn-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(26,68,128,.18); }
.learn-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--mid));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
}
.learn-card h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.learn-card p { font-size: .9rem; color: var(--muted); }

/* ---------- Gallery (examples) ---------- */
#gallery {
  background: var(--white);
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.highlight-card {
  background: var(--white);
  border: 1px solid rgba(91,127,191,.15);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s;
}
.highlight-card:hover { transform: translateY(-6px); }
.highlight-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.highlight-card-body { padding: 1.4rem; }
.highlight-card-body .dest-tag {
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .5rem;
}
.highlight-card-body h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.highlight-card-body p { font-size: .88rem; color: var(--muted); }

/* ---------- Directions ---------- */
#directions {
  background: var(--pale);
}
.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.direction-card {
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform .3s;
}
.direction-card:hover { transform: translateY(-4px); }
.direction-card .dir-num {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--soft);
  margin-bottom: .5rem;
}
.direction-card h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.direction-card p { font-size: .9rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
#testimonials {
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 60%, #34619e 100%);
  padding: 90px 0;
}
#testimonials .section-title,
#testimonials .section-label { color: var(--white); background: rgba(255,255,255,.12); }
#testimonials .section-sub { color: rgba(255,255,255,.7); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.testi-card {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .3s;
}
.testi-card:hover { transform: translateY(-4px); }
.testi-quote { font-family: 'Merriweather', serif; font-size: 2.5rem; color: var(--soft); line-height: 1; margin-bottom: .5rem; }
.testi-text { font-size: .92rem; color: rgba(255,255,255,.85); margin-bottom: 1.4rem; line-height: 1.6; }
.testi-author { display: flex; align-items: center; gap: .8rem; }
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mid), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; color: var(--white); font-size: .9rem; }
.testi-role { font-size: .78rem; color: var(--soft); }
.testi-stars { color: #FFD54F; font-size: .9rem; margin-top: .2rem; }

/* ---------- CTA banner ---------- */
#cta-banner {
  background: linear-gradient(135deg, var(--mid) 0%, var(--navy) 100%);
  padding: 80px 0;
  text-align: center;
}
#cta-banner h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.4rem); margin-bottom: 1rem; }
#cta-banner p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 2rem; }

/* ---------- Contact ---------- */
#contact {
  background: var(--pale);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: 1.2rem; }
.contact-info a { color: var(--blue); font-weight: 600; }
.contact-detail { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: 1rem; }
.contact-detail .icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--mid));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--white);
}
.contact-detail-text strong { display: block; font-size: .8rem; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.contact-detail-text span { font-size: .92rem; color: var(--muted); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1.4rem;
  box-shadow: var(--shadow);
}
.map-wrap iframe { display: block; border: 0; }

/* Contact form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { margin-bottom: 1.4rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  color: var(--navy);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--soft);
  border-radius: 9px;
  font-family: 'Inter', sans-serif;
  font-size: .93rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error { color: #c62828; font-size: .8rem; margin-top: .3rem; display: none; }
.form-error.show { display: block; }
.form-success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 9px;
  padding: 1rem 1.4rem;
  color: #1b5e20;
  font-size: .93rem;
  display: none;
  margin-top: 1rem;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo-text { font-size: 1.1rem; }
.footer-brand p { font-size: .88rem; margin-top: .8rem; line-height: 1.6; }
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul li a { font-size: .87rem; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-col ul li a:hover { color: var(--soft); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--soft); }

/* ---------- Cookie banner ---------- */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 2px solid var(--mid);
  font-size: .87rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}
#cookie-banner.hidden { display: none; }
#cookie-banner p { flex: 1; min-width: 200px; }
#cookie-banner p a { color: var(--soft); text-decoration: underline; }
.cookie-buttons { display: flex; gap: .7rem; flex-wrap: wrap; }
#cookie-accept, #cookie-decline {
  padding: .6rem 1.6rem;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  transition: opacity .2s, background .2s;
}
#cookie-accept {
  background: linear-gradient(135deg, var(--mid), var(--blue));
  color: var(--white);
  border: none;
}
#cookie-accept:hover { opacity: .85; }
#cookie-decline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.5);
}
#cookie-decline:hover { background: rgba(255,255,255,.12); }

/* ---------- Inner pages ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 120px 0 60px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.6rem); }
.page-hero p { color: rgba(255,255,255,.75); margin-top: .7rem; font-size: .97rem; }

.page-content { padding: 70px 0; }
.page-content .container { max-width: 860px; }

.legal-section { margin-bottom: 2.4rem; }
.legal-section h2 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: .7rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--pale);
}
.legal-section p, .legal-section li { font-size: .94rem; color: var(--muted); line-height: 1.75; }
.legal-section ul { margin-top: .5rem; }
.legal-section ul li { margin-bottom: .4rem; }

/* Cookie table */
.cookie-table-wrap { overflow-x: auto; margin: 1rem 0; }
table.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .87rem;
}
table.cookie-table th {
  background: var(--navy);
  color: var(--white);
  padding: .7rem 1rem;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
table.cookie-table td {
  padding: .65rem 1rem;
  color: var(--muted);
  border-bottom: 1px solid var(--pale);
}
table.cookie-table tr:nth-child(even) td { background: var(--pale); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-top: .6rem;
}
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb span { margin: 0 .4rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-wrap img { height: 320px; }
}

@media (max-width: 768px) {
  .section-pad { padding: 65px 0; }

  nav#main-nav {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.5rem 2rem;
    gap: 1.2rem;
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
  }
  nav#main-nav.open { display: flex; }
  nav#main-nav a { font-size: .95rem; }

  .hamburger { display: flex; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; max-width: 300px; }
  .container { width: 94%; }
}
