@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --blue:    #1D4080;
  --orange:  #E8811A;
  --gray:    #C5C7CB;
  --dark:    #1A1A2E;
  --light:   #F5F6F8;
  --white:   #FFFFFF;
  --text:    #2D3142;
  --muted:   #6B7280;
  --radius:  10px;
  --shadow:  0 4px 24px rgba(29,64,128,.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAVBAR ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e8eaf0;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  box-shadow: 0 2px 12px rgba(29,64,128,.06);
}

.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.6rem; font-weight: 700; color: var(--blue);
  letter-spacing: -.5px;
}
.nav-logo span { color: var(--orange); }

.nav-links { display: flex; gap: .25rem; }
.nav-links a {
  padding: .5rem .9rem;
  border-radius: 6px;
  font-size: .93rem; font-weight: 500; color: var(--muted);
  transition: background .15s, color .15s;
}
.nav-links a:hover, .nav-links a.active { background: var(--light); color: var(--blue); }

.nav-cta {
  background: var(--orange); color: var(--white) !important;
  padding: .5rem 1.2rem !important; border-radius: 6px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: #d0720f !important; color: var(--white) !important; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #162e5e 100%);
  color: var(--white);
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(232,129,26,.2); border: 1px solid rgba(232,129,26,.4);
  color: #ffc170; padding: .35rem 1rem; border-radius: 20px;
  font-size: .85rem; font-weight: 600; letter-spacing: .5px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 1.25rem;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,.8);
  max-width: 580px; margin: 0 auto 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.8rem; border-radius: 8px;
  font-weight: 600; font-size: 1rem;
  transition: all .2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: #d0720f; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

/* ── COUNTER ── */
.counters {
  background: var(--white);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 0;
  border-bottom: 1px solid #e8eaf0;
  box-shadow: var(--shadow);
}
.counter-item {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid #e8eaf0;
  position: relative;
}
.counter-item:last-child { border-right: none; }
.counter-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--blue);
  line-height: 1; margin-bottom: .4rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.counter-num .unit { font-size: .55em; color: var(--orange); }
.money-full { display: none; }
.money-short { display: inline; }
@media (min-width: 1500px) {
  .money-full { display: inline; }
  .money-short { display: none; }
}
.counter-label { font-size: .88rem; color: var(--muted); font-weight: 500; }
.counter-live {
  position: absolute; top: 1rem; right: 1rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* ── SECTIONS ── */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: .8rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--blue);
  margin-bottom: 1rem; line-height: 1.25;
}
.section-sub { color: var(--muted); max-width: 600px; }

.section-bg { background: var(--light); }

/* ── O NÁS ── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; margin-top: 3rem;
}
@media (max-width:768px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }
.about-features { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.feature {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--white); padding: 1.25rem 1.5rem;
  border-radius: var(--radius); border: 1px solid #e8eaf0;
  box-shadow: 0 2px 8px rgba(29,64,128,.05);
}
.feature-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(232,129,26,.12); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.feature-text h4 { font-weight: 600; color: var(--blue); margin-bottom: .2rem; }
.feature-text p { font-size: .9rem; color: var(--muted); }
.about-visual {
  background: linear-gradient(135deg, var(--blue), #2557a7);
  border-radius: 16px; padding: 3rem 2.5rem; color: var(--white);
}
.about-visual h3 { font-size: 1.4rem; margin-bottom: 2rem; }
.stat-row { display: flex; flex-direction: column; gap: 1.2rem; }
.stat { display: flex; justify-content: space-between; align-items: center; }
.stat-bar-wrap { flex: 1; height: 6px; background: rgba(255,255,255,.2); border-radius: 3px; margin: 0 1rem; }
.stat-bar { height: 100%; border-radius: 3px; background: var(--orange); }
.stat-val { font-weight: 700; font-size: 1.1rem; }

/* ── MEMBERS ── */
.members-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.member-card {
  background: var(--white); border: 1px solid #e8eaf0;
  border-radius: var(--radius); padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.member-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(29,64,128,.15); }
.member-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #2557a7);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1.2rem;
  margin-bottom: 1rem;
}
.member-type {
  font-size: .75rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: .4rem;
}
.member-name { font-size: 1.1rem; font-weight: 700; color: var(--blue); margin-bottom: .2rem; }
.member-office { font-size: .82rem; font-weight: 600; color: var(--blue); opacity: .7; margin-bottom: .5rem; }
.member-desc { font-size: .88rem; color: var(--muted); line-height: 1.55; }
.member-web {
  display: block; margin-top: auto; padding-top: 1rem;
  border-top: 1px solid #e8eaf0;
  font-size: .82rem; font-weight: 600; color: var(--blue);
  text-decoration: none; transition: color .2s;
}
.member-web:hover { color: var(--orange); }

/* ── CONTACT ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; margin-top: 3rem;
}
@media (max-width:768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--white); border: 1px solid #e8eaf0;
  border-radius: var(--radius); padding: 2.5rem;
  box-shadow: var(--shadow); text-align: center;
}
.contact-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #2557a7);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1.8rem;
  margin: 0 auto 1.25rem;
}
.contact-role {
  font-size: .8rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: .4rem;
}
.contact-name { font-size: 1.3rem; font-weight: 700; color: var(--blue); margin-bottom: 1rem; }
.contact-link {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--blue); font-weight: 500;
  padding: .5rem 1rem; border-radius: 6px;
  border: 1px solid #e8eaf0;
  transition: background .15s;
  margin-top: .5rem;
}
.contact-link:hover { background: var(--light); }
.contact-info {
  background: linear-gradient(135deg, var(--blue), #162e5e);
  color: var(--white); border-radius: var(--radius);
  padding: 2.5rem; margin-top: 2rem;
}
.contact-info h3 { font-size: 1.1rem; margin-bottom: 1.5rem; }
.info-row { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; font-size: .95rem; }
.info-row svg { flex-shrink: 0; margin-top: 2px; }

/* ── BLOG ── */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem; margin-top: 3rem;
}
.blog-card {
  background: var(--white); border: 1px solid #e8eaf0;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(29,64,128,.15); }
.blog-img {
  height: 180px;
  background: linear-gradient(135deg, var(--blue) 0%, #2557a7 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex; gap: .75rem; align-items: center;
  font-size: .8rem; color: var(--muted); margin-bottom: .75rem;
}
.blog-tag {
  background: rgba(232,129,26,.12); color: var(--orange);
  padding: .2rem .65rem; border-radius: 4px; font-weight: 600;
}
.blog-title { font-size: 1.05rem; font-weight: 700; color: var(--blue); margin-bottom: .5rem; line-height: 1.4; }
.blog-excerpt { font-size: .88rem; color: var(--muted); flex: 1; }
.blog-more { margin-top: 1rem; font-size: .88rem; font-weight: 600; color: var(--orange); }
.blog-more:hover { text-decoration: underline; }

/* ── EVENTS ── */
.events-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.25rem; }
.event-card {
  display: flex; gap: 1.5rem; align-items: flex-start;
  background: var(--white); border: 1px solid #e8eaf0;
  border-radius: var(--radius); padding: 1.5rem 2rem;
  box-shadow: var(--shadow); transition: transform .2s;
}
.event-card:hover { transform: translateY(-2px); }
@media (max-width:600px) { .event-card { flex-direction: column; } }
.event-date {
  background: var(--blue); color: var(--white);
  border-radius: 10px; padding: .75rem 1rem;
  text-align: center; min-width: 64px; flex-shrink: 0;
}
.event-date .day { font-size: 1.8rem; font-weight: 700; line-height: 1; }
.event-date .month { font-size: .75rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.event-info { flex: 1; }
.event-title { font-size: 1.05rem; font-weight: 700; color: var(--blue); margin-bottom: .4rem; }
.event-meta { font-size: .88rem; color: var(--muted); display: flex; gap: 1rem; flex-wrap: wrap; }
.event-badge {
  background: rgba(34,197,94,.12); color: #15803d;
  padding: .2rem .65rem; border-radius: 4px;
  font-size: .78rem; font-weight: 600; align-self: center;
}
.event-btn {
  background: var(--orange); color: var(--white);
  padding: .6rem 1.3rem; border-radius: 6px;
  font-weight: 600; font-size: .9rem;
  align-self: center; flex-shrink: 0;
  transition: background .15s;
}
.event-btn:hover { background: #d0720f; }

/* ── LUMA BOX ── */
.luma-box {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: var(--white); border-radius: 16px;
  padding: 3rem; margin-top: 3rem;
  display: flex; gap: 2rem; align-items: center; flex-wrap: wrap;
}
.luma-box h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.luma-box p { font-size: .92rem; color: rgba(255,255,255,.7); max-width: 480px; }
.luma-btn {
  background: var(--white); color: #0f172a;
  padding: .75rem 1.8rem; border-radius: 8px;
  font-weight: 700; flex-shrink: 0;
  transition: opacity .15s;
}
.luma-btn:hover { opacity: .9; }

/* ── FOOTER ── */
footer {
  background: var(--dark); color: rgba(255,255,255,.7);
  padding: 3rem 2rem 2rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; margin-bottom: 2.5rem;
}
@media (max-width:768px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand .nav-logo { color: var(--white); margin-bottom: 1rem; font-size: 1.4rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
footer h4 { color: var(--white); font-size: .9rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: .5px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
footer ul a { font-size: .9rem; transition: color .15s; }
footer ul a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: .85rem;
}

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #162e5e 100%);
  color: var(--white); padding: 4rem 2rem 3.5rem; text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.05rem; }

/* ── BREADCRUMB ── */
.breadcrumb {
  max-width: 1100px; margin: 1.5rem auto; padding: 0 2rem;
  font-size: .85rem; color: var(--muted);
  display: flex; gap: .5rem; align-items: center;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── BLOG POST ── */
.post-body {
  max-width: 740px; margin: 0 auto; padding: 3rem 2rem;
}
.post-body h2 { font-size: 1.4rem; color: var(--blue); margin: 2rem 0 .75rem; }
.post-body p { margin-bottom: 1.2rem; color: var(--text); }
.post-body ul { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.post-body ul li { margin-bottom: .5rem; }
.post-header { max-width: 740px; margin: 0 auto 0; padding: 3rem 2rem 0; }
.post-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; color: var(--blue); margin-bottom: 1rem; }
.post-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .88rem; color: var(--muted); margin-bottom: 2rem; }

@media (max-width: 900px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  section { padding: 3.5rem 1.25rem; }
}
