/* ===== PROGOSTORGI — shared styles ===== */
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400&family=PT+Serif:wght@400;700&display=swap');

:root {
  --red:    #8b1b2b;
  --red2:   #a82035;
  --navy:   #1c3664;
  --navy2:  #24427a;
  --bg:     #f4f4f2;
  --white:  #fdfcfa;
  --text:   #1e1e1e;
  --muted:  #666;
  --border: #ddd;
  --card-r: 4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'PT Sans', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

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

/* ── TOP BAR ── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 6px 0;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar a { color: rgba(255,255,255,0.8); }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar-contacts { display: flex; gap: 20px; align-items: center; }

/* ── HEADER ── */
header {
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}
.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: #fff;
}
.logo-main {
  font-family: 'PT Serif', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.logo-sub {
  font-size: 11px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.logo-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
}
.logo-badge strong { font-size: 13px; }

/* ── NAV ── */
nav {
  background: var(--navy);
}
.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.nav-list > li { position: relative; }
.nav-list > li > a,
.nav-list > li > span {
  display: block;
  padding: 13px 18px;
  color: rgba(255,255,255,0.88);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-list > li > a:hover,
.nav-list > li > span:hover,
.nav-list > li.active > a {
  background: var(--red);
  color: #fff;
  text-decoration: none;
}
.nav-list > li.active > a { background: var(--red2); }

/* dropdown */
.dropdown { display: none; position: absolute; top: 100%; left: 0; z-index: 100; min-width: 280px; background: var(--white); border-top: 3px solid var(--red); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.nav-list > li:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.dropdown a:hover { background: #f0e8e8; color: var(--red); text-decoration: none; }

/* ── WRAP ── */
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2247 100%);
  color: #fff;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 41px);
}
.hero-inner { position: relative; max-width: 720px; }
.hero-label {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'PT Serif', serif;
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 18px;
  font-weight: 700;
}
.hero-lead {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 28px;
  line-height: 1.55;
}
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 32px; }
.hero-checks span {
  font-size: 15px;
  opacity: 0.92;
  display: flex; align-items: center; gap: 8px;
}
.hero-checks span::before { content: '✓'; color: #e8b84b; font-weight: 700; }
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
  border: none;
  text-decoration: none;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red2); color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); text-decoration: none; color: #fff; }

/* ── SECTIONS ── */
.section { padding: 56px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--navy); color: #fff; }
.section-title {
  font-family: 'PT Serif', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.section-dark .section-title { color: #fff; }
.section-sub { color: var(--muted); font-size: 15px; margin-bottom: 36px; max-width: 640px; }
.section-dark .section-sub { color: rgba(255,255,255,0.65); }
.divider { width: 48px; height: 3px; background: var(--red); margin-bottom: 24px; border-radius: 2px; }

/* ── PROGRAM CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--card-r);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); border-color: #c9a; }
.card-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  background: #f5e8ea;
  padding: 3px 8px;
  border-radius: 2px;
  align-self: flex-start;
}
.card h3 { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--navy); }
.card p { font-size: 14px; color: var(--muted); line-height: 1.5; flex: 1; }
.card-link { font-size: 14px; font-weight: 700; color: var(--red); align-self: flex-start; margin-top: 4px; }
.card-link:hover { text-decoration: underline; }

/* ── AUDIENCE ── */
.audience-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.audience-item { text-align: center; padding: 28px 20px; background: var(--bg); border-radius: var(--card-r); border: 1px solid var(--border); }
.audience-icon { font-size: 36px; margin-bottom: 12px; }
.audience-item h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.audience-item p { font-size: 13px; color: var(--muted); }

/* ── WHY ── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: var(--bg); border-radius: var(--card-r); border-left: 3px solid var(--red); }
.why-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.why-item h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.why-item p { font-size: 13px; color: var(--muted); }
.section-dark .why-item { background: rgba(255,255,255,0.07); border-left-color: #e8b84b; }
.section-dark .why-item h4 { color: #fff; }
.section-dark .why-item p { color: rgba(255,255,255,0.65); }

/* ── REVIEWS ── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--card-r);
  padding: 24px;
  position: relative;
}
.review::before { content: '«'; font-size: 60px; color: var(--red); opacity: 0.12; position: absolute; top: 8px; left: 16px; line-height: 1; font-family: serif; }
.review-text { font-size: 14px; color: var(--text); line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.review-author { font-size: 13px; font-weight: 700; color: var(--navy); }
.review-org { font-size: 12px; color: var(--muted); }

/* ── TEAM ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.team-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--card-r); padding: 24px 20px; text-align: center; }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--navy));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff;
  margin: 0 auto 14px;
}
.team-card h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.team-card p { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--red);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.cta-banner h2 { font-family: 'PT Serif', serif; font-size: 28px; margin-bottom: 10px; }
.cta-banner p { font-size: 16px; opacity: 0.88; margin-bottom: 28px; }

/* ── SERVICE PAGE ── */
.service-section { margin-bottom: 48px; }
.service-section h2 {
  font-family: 'PT Serif', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}
.service-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.service-link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--card-r);
  border-left: 4px solid var(--navy);
  transition: box-shadow 0.18s, border-left-color 0.18s;
  text-decoration: none;
  color: var(--text);
}
.service-link-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-left-color: var(--red);
  text-decoration: none;
  color: var(--text);
}
.service-link-card strong { font-size: 15px; color: var(--navy); line-height: 1.3; }
.service-link-card span { font-size: 13px; color: var(--muted); }
.service-link-card .arrow { color: var(--red); font-size: 13px; font-weight: 700; margin-top: 4px; }

/* ── KAPREM PAGE ── */
.page-hero {
  background: linear-gradient(135deg, var(--red) 0%, #5a0e1a 100%);
  color: #fff;
  padding: 48px 0;
}
.page-hero h1 { font-family: 'PT Serif', serif; font-size: 32px; line-height: 1.25; margin-bottom: 14px; }
.page-hero p { font-size: 16px; opacity: 0.88; max-width: 680px; }
.info-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--card-r); padding: 24px; margin-bottom: 24px; }
.info-box h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.info-list li { font-size: 14px; color: var(--text); display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.info-list li::before { content: '—'; color: var(--red); font-weight: 700; flex-shrink: 0; }
.program-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.meta-tag {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 3px;
}
.meta-tag.red { background: var(--red); }

/* ── BREADCRUMB ── */
.breadcrumb { padding: 12px 0; font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--red); }
.breadcrumb span { color: var(--muted); }

/* ── FOOTER ── */
footer { background: #111; color: rgba(255,255,255,0.7); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col p, .footer-col li { font-size: 13px; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 13px; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 8px; }
.footer-logo { font-family: 'PT Serif', serif; font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 10px; }

@media (max-width: 768px) {
  .hero h1 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-inner { flex-wrap: wrap; }
  .logo-badge { display: none; }
  .nav-list > li > a, .nav-list > li > span { padding: 10px 12px; font-size: 13px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
