:root {
  --brand: #5CC4E3;
  --brand-dark: #49B1D8;
  --text: #1f2d2f;
  --muted: #6b7280;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: #f7fbfc;
  color: var(--text);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(47, 185, 240, 0.95);
  backdrop-filter: blur(6px);
  z-index: 100;
  transition: transform 0.3s ease;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  transform: translateY(-100%);
}

.header.visible {
  transform: translateY(0);
}

.header.shrink {
  padding: 8px 24px;
}

.header .left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo img {
  height: 48px;
}

.header .right {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  background: white;
  color: var(--brand);
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 8px 20px rgba(76,196,214,0.06);
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Hero */
.hero {
  padding-top: 100px;
  min-height: 500px;
  background-image: url('background.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero .overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.08));
  width: 100%;
  padding: 60px 20px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.hero h1 {
  color: white;
  font-size: 36px;
  margin: 0 0 12px;
  text-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.lead {
  color: rgba(255,255,255,0.9);
  margin-bottom: 14px;
}

.lead small {
  display: block;
  color: rgba(255,255,255,0.8);
}

/* Sections */
.section {
  padding: 40px 20px;
  background: #fff;
}

.section h2 {
  color: var(--brand-dark);
  margin: 0 0 18px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 18px;
}

.card {
  background: #f8fbfd;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(2,6,23,0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  color: var(--muted);
  flex: 1;
}

.prices {
  font-weight: 700;
  margin-top: 8px;
}

/* Contacts */
.contacts {
  padding: 40px 20px;
  background: linear-gradient(180deg,#f7fbfc,#eef9fc);
}

.contacts .grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 18px;
  align-items: start;
}

.contact-card {
  background: white;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(2,6,23,0.04);
}

.map {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 8px;
}

/* Floating buttons (Telegram + WhatsApp) */
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 120;
}

.fab-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, background 0.3s ease;
  overflow: hidden;
}

.fab-btn img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.fab-btn:hover {
  transform: translateY(-4px);
}

.fab-btn.tg {
  background: #ffffff;
}

.fab-btn.wa {
  background: #ffffff;
}

/* Footer */
footer {
  padding: 18px 20px;
  background: #fff;
  border-top: 1px solid #eef6f6;
  text-align: center;
  color: var(--muted);
}

/* Schedule iframe */
.schedule {
  width: 100%;
  height: 70vh;
  min-height: 400px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 800px) {
  .header {
    padding: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .header .right {
    flex-direction: column;
    width: 100%;
  }
  .header .right a.btn {
    width: 100%;
    text-align: center;
  }
  .logo img {
    height: 40px;
  }
  .hero {
    min-height: 360px;
    padding-top: 60px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .lead {
    font-size: 14px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contacts .grid {
    grid-template-columns: 1fr;
  }
  .map {
    height: 250px;
  }
  .schedule {
    height: 60vh;
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 22px;
  }
  .lead {
    font-size: 13px;
  }
  .btn {
    font-size: 14px;
    padding: 8px 10px;
  }
  .card img {
    height: 140px;
  }
}