/* ============================================
   wingwavecoach.ru — Каталог коучей wingwave
   ============================================ */

:root {
  --primary: #1a6b6b;
  --primary-dark: #0f5252;
  --primary-light: #e6f4f4;
  --accent: #2d9cdb;
  --accent-light: #e8f4fd;
  --dark: #1e293b;
  --text: #334155;
  --text-light: #64748b;
  --text-lighter: #94a3b8;
  --border: #e2e8f0;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --gold: #c9a33e;
  --gold-light: #fdf6e8;
  --success: #10b981;
  --success-light: #ecfdf5;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 40px -8px rgba(0,0,0,0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base --- */
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Navigation --- */
.navbar-wingwave {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: var(--transition);
}
.navbar-wingwave .navbar-brand {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  margin-left: 0.5rem;
}
.navbar-wingwave .navbar-brand .brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  color: #fff;
  margin-right: 8px;
  vertical-align: middle;
}
.navbar-wingwave .navbar-brand .brand-icon svg {
  display: block;
}
.navbar-wingwave .nav-link {
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}
.navbar-wingwave .nav-link:hover,
.navbar-wingwave .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}
.navbar-wingwave .btn-nav {
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  padding: 0.45rem 1.3rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  border: none;
}
.navbar-wingwave .btn-nav:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow);
  color: #fff;
}

/* --- Hero --- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0a3d3d 0%, #1a6b6b 40%, #1e7a7a 70%, #2d9cdb 100%);
  padding: 80px 0 70px;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://cdn.ypage.site/assets/2026/08/344/images/0kol3.webp') center/cover no-repeat;
  opacity: 0.15;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255,255,255,0.25);
}
.hero-badge i {
  margin-right: 6px;
  color: var(--gold);
}
.hero-section h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.hero-section h1 span {
  color: #ffd166;
}
.hero-section .hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffd166;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}
.hero-section .btn-hero {
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.hero-section .btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.hero-section .btn-hero-outline {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.5);
  transition: var(--transition);
  margin-left: 0.75rem;
}
.hero-section .btn-hero-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  text-decoration: none;
  color: #fff;
}

/* --- About Wingwave (mini) --- */
.about-wingwave {
  padding: 60px 0;
  background: var(--white);
}
.about-wingwave .method-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.about-wingwave .method-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.about-wingwave .method-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.about-wingwave .method-card h5 {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.05rem;
}
.about-wingwave .method-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* --- Section Titles --- */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title .overline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.section-title h2 {
  font-weight: 800;
  font-size: 2rem;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.section-title .subtitle {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 550px;
  margin: 0 auto;
}

/* --- Catalog Section --- */
.catalog-section {
  padding: 70px 0;
  background: var(--bg-light);
}

/* Filter Bar */
.filter-bar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.filter-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.filter-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.filter-tag {
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.filter-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}
.filter-tag.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.filter-search {
  position: relative;
}
.filter-search input {
  border-radius: 50px;
  border: 1.5px solid var(--border);
  padding: 0.55rem 1rem 0.55rem 2.5rem;
  font-size: 0.9rem;
  width: 100%;
  transition: var(--transition);
}
.filter-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,107,107,0.1);
  outline: none;
}
.filter-search .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-lighter);
  font-size: 1rem;
}
.filter-results-count {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.75rem;
}
.filter-reset {
  font-size: 0.82rem;
  color: var(--accent);
  cursor: pointer;
  font-weight: 600;
  background: none;
  border: none;
  padding: 0;
  transition: var(--transition);
}
.filter-reset:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Coach Cards Grid */
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.coach-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.coach-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.coach-card-top {
  position: relative;
  padding: 1.5rem 1.5rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.coach-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
}
.coach-badge-accredited {
  position: absolute;
  top: 10px;
  right: 14px;
  background: var(--gold-light);
  color: #8b6914;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 4px;
}
.coach-info {
  flex: 1;
  min-width: 0;
}
.coach-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  margin: 0;
  line-height: 1.3;
}
.coach-base-spec {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 2px;
}
.coach-experience {
  font-size: 0.78rem;
  color: var(--text-lighter);
  margin-top: 2px;
}
.coach-experience i {
  margin-right: 3px;
}
.coach-card-body {
  padding: 0.75rem 1.5rem;
  flex: 1;
}
.coach-location {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.coach-format {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.coach-format-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 50px;
}
.format-online {
  background: var(--accent-light);
  color: var(--accent);
}
.format-offline {
  background: var(--success-light);
  color: var(--success);
}
.coach-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.coach-specialty-tag {
  font-size: 0.72rem;
  padding: 2px 10px;
  border-radius: 50px;
  background: var(--bg-light);
  color: var(--text-light);
  border: 1px solid var(--border);
  white-space: nowrap;
}
.coach-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.coach-card-footer .btn-coach {
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  padding: 0.45rem 1.4rem;
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  transition: var(--transition);
}
.coach-card-footer .btn-coach:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow);
}
.coach-card-footer .btn-details {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  background: none;
  border: none;
  transition: var(--transition);
}
.coach-card-footer .btn-details:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* No results */
.no-results {
  text-align: center;
  padding: 3rem;
  color: var(--text-light);
  grid-column: 1 / -1;
}
.no-results i {
  font-size: 3rem;
  color: var(--text-lighter);
  display: block;
  margin-bottom: 1rem;
}

/* --- Accreditation Section --- */
.accreditation-section {
  padding: 70px 0;
  background: var(--white);
}
.accreditation-list {
  list-style: none;
  padding: 0;
}
.accreditation-list li {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.accreditation-list li:last-child {
  border-bottom: none;
}
.accreditation-list .acc-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.accreditation-list .acc-text strong {
  display: block;
  color: var(--dark);
  font-size: 0.95rem;
}
.accreditation-list .acc-text span {
  color: var(--text-light);
  font-size: 0.85rem;
}
.accreditation-badge-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-light);
  border: 1.5px solid var(--gold);
  color: #8b6914;
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
}

/* --- Contact / CTA Section --- */
.cta-section {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1e7a7a 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://cdn.ypage.site/assets/2026/08/344/images/0kol3.webp') center/cover no-repeat;
  opacity: 0.08;
}
.cta-section .cta-content {
  position: relative;
  z-index: 1;
}
.cta-section h2 {
  color: #fff;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.02em;
}
.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
}
.cta-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}
.cta-form-card h4 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}
.cta-form-card .form-subtitle {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}
.cta-form-card .form-control {
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--border);
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  transition: var(--transition);
}
.cta-form-card .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,107,107,0.1);
}
.cta-form-card .btn-submit {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.65rem 2rem;
  font-size: 0.95rem;
  border: none;
  width: 100%;
  transition: var(--transition);
}
.cta-form-card .btn-submit:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow);
}
.cta-form-card .form-note {
  font-size: 0.75rem;
  color: var(--text-lighter);
  text-align: center;
  margin-top: 0.75rem;
}
.toast-success {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--success);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* --- Footer --- */
.footer-wingwave {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}
.footer-wingwave .footer-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}
.footer-wingwave a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-wingwave a:hover {
  color: #fff;
  text-decoration: none;
}
.footer-wingwave .footer-title {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .hero-section h1 { font-size: 2.2rem; }
  .hero-stats { gap: 1.5rem; }
  .coaches-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}
@media (max-width: 767px) {
  .hero-section { padding: 50px 0 45px; }
  .hero-section h1 { font-size: 1.7rem; }
  .hero-section .hero-sub { font-size: 1rem; }
  .hero-stats { gap: 1rem; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-section .btn-hero-outline { margin-left: 0; margin-top: 0.6rem; }
  .coaches-grid { grid-template-columns: 1fr; }
  .filter-bar { padding: 1rem; }
  .cta-form-card { margin-top: 2rem; }
  .section-title h2 { font-size: 1.6rem; }
}
@media (max-width: 400px) {
  .coach-card-top { flex-direction: column; align-items: center; text-align: center; }
  .coach-info { text-align: center; }
  .coach-card-body { text-align: center; }
  .coach-location { justify-content: center; }
  .coach-format { justify-content: center; }
  .coach-specialties { justify-content: center; }
  .coach-card-footer { flex-direction: column; gap: 0.5rem; }
  .filter-tabs { flex-direction: column; }
}