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

:root {
  --primary: #0e6e8c;
  --primary-dark: #094d63;
  --primary-light: #1a9cc2;
  --accent: #2eaa6f;
  --accent-light: #3cc882;
  --bg: #f7f9fb;
  --bg-white: #ffffff;
  --text: #2c3e50;
  --text-light: #5a6d7e;
  --text-muted: #8899a6;
  --border: #dfe6ed;
  --shadow: 0 2px 16px rgba(14,110,140,0.08);
  --shadow-lg: 0 8px 40px rgba(14,110,140,0.12);
  --radius: 10px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  padding: 6px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: #fff; }
.top-bar__links { display: flex; gap: 16px; align-items: center; }
.top-bar__links a { display: inline-flex; align-items: center; gap: 4px; }

/* ===== HEADER ===== */
.header {
  background: var(--bg-white);
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--primary-dark);
  flex-shrink: 0;
}
.logo-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}
.logo-text { font-size: 0.95rem; line-height: 1.3; font-weight: 600; max-width: 280px; }
.logo-text span { display: block; font-size: 0.78rem; font-weight: 400; color: var(--text-light); }

/* ===== NAV ===== */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav a:hover, .nav a.active {
  background: var(--primary);
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46,170,111,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}
.hero p { font-size: 1.15rem; opacity: 0.92; max-width: 680px; line-height: 1.8; }
.hero--small { padding: 48px 0 40px; }
.hero--small h1 { font-size: 1.8rem; margin-bottom: 8px; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* ===== CONTENT ===== */
.content-section { padding: 56px 0; }
.content-section:nth-child(even) { background: var(--bg-white); }

.page-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  padding: 48px 0;
}
.page-content--full { grid-template-columns: 1fr; }

.main-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.main-content h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 28px 0 12px;
  font-weight: 600;
}
.main-content p { margin-bottom: 16px; color: var(--text); }
.main-content ul, .main-content ol {
  margin: 16px 0;
  padding-left: 24px;
}
.main-content li { margin-bottom: 8px; color: var(--text); }

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(14,110,140,0.1), rgba(46,170,111,0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  color: var(--primary);
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.card p { font-size: 0.92rem; color: var(--text-light); line-height: 1.6; }
.card a.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}
.card a.card-link:hover { color: var(--accent); gap: 10px; }

/* ===== SIDEBAR ===== */
.sidebar {}
.sidebar-block {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.sidebar-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}
.sidebar-block ul { list-style: none; padding: 0; }
.sidebar-block li { margin-bottom: 0; }
.sidebar-block li a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.92rem;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.sidebar-block li a:hover, .sidebar-block li a.active {
  background: rgba(14,110,140,0.06);
  color: var(--primary);
  border-left-color: var(--primary);
}

.contact-widget { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border: none; }
.contact-widget h3 { color: #fff; border-bottom-color: rgba(255,255,255,0.3); }
.contact-widget p { color: rgba(255,255,255,0.9); font-size: 0.9rem; margin-bottom: 8px; }
.contact-widget a { color: rgba(255,255,255,0.95); }
.contact-widget a:hover { color: #fff; }
.contact-widget .cw-item { margin-bottom: 14px; }
.contact-widget .cw-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.75; }

/* ===== MISSION BLOCK ===== */
.mission-block {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--accent);
  margin: 32px 0;
}
.mission-block p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
}

/* ===== INFO BANNER ===== */
.info-banner {
  background: linear-gradient(135deg, var(--accent), #1a9e6b);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.info-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.info-banner p { opacity: 0.92; max-width: 600px; margin: 0 auto; }

/* ===== CONTACT INFO GRID ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.contact-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-lg); }
.contact-card h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-weight: 700;
}
.contact-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 6px; }
.contact-card a { color: var(--primary); font-weight: 600; }

/* ===== TABLE ===== */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.styled-table th {
  background: var(--primary);
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
}
.styled-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.styled-table tr:hover td { background: rgba(14,110,140,0.03); }

/* ===== NEWS ===== */
.news-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.news-item:hover { box-shadow: var(--shadow-lg); }
.news-date { font-size: 0.8rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.news-item h3 { font-size: 1.1rem; color: var(--primary-dark); margin-bottom: 10px; }
.news-item h3 a { color: var(--primary-dark); }
.news-item h3 a:hover { color: var(--primary); }
.news-item p { font-size: 0.92rem; color: var(--text-light); }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}
.footer p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,0.8); }
.footer a:hover { color: var(--accent-light); }
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer li a {
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ===== MAP ===== */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 32px;
}
.map-container iframe { display: block; width: 100%; height: 400px; border: 0; }

/* ===== BADGES ===== */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge--info { background: rgba(14,110,140,0.1); color: var(--primary); }
.badge--success { background: rgba(46,170,111,0.1); color: var(--accent); }
.badge--warning { background: rgba(230,170,50,0.1); color: #c5930f; }

/* ===== ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 6px 6px;
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-content { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
}

@media (max-width: 768px) {
  .top-bar { font-size: 0.78rem; }
  .top-bar .container { justify-content: center; text-align: center; }
  
  .header .container { flex-wrap: wrap; }
  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 12px 0;
    gap: 2px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 16px; width: 100%; }
  
  .hamburger { display: flex; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
  
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 1rem; }
  .hero--small { padding: 32px 0 28px; }
  .hero--small h1 { font-size: 1.4rem; }
  
  .cards-grid { grid-template-columns: 1fr; }
  .mission-block { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .content-section { padding: 36px 0; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.35rem; }
  .card { padding: 24px 20px; }
}
