/* =============================================================
   WN REKRUTACJA – main.css
   ============================================================= */

/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:     #70b62f;
  --green-d:   #5a9424;
  --green-l:   #edf6e0;
  --green-tab: #5a9424;
  --dark:      #1a1a1a;
  --mid:       #555;
  --light:     #f4f5f4;
  --white:     #fff;
  --font:      'Commissioner', 'Segoe UI', Arial, sans-serif;
  --serif:     'Noto Serif', Georgia, serif;
  --radius:    0px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); font-size: 16px; line-height: 1.7; }
a { color: var(--green-d); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ===== LAYOUT ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; background: var(--green); color: var(--white);
  padding: 11px 26px; font-weight: 700; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase;
  border: 2px solid var(--green); transition: background .18s, border-color .18s;
}
.btn:hover { background: var(--green-d); border-color: var(--green-d); text-decoration: none; color: var(--white); }

.btn-outline {
  display: inline-block; background: var(--white); border: 2px solid var(--green); color: var(--green-d);
  padding: 11px 26px; font-weight: 700; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase;
  transition: background .18s, color .18s;
}
.btn-outline:hover { background: var(--green); color: var(--white); border-color: var(--green); text-decoration: none; }

.btn-white {
  display: inline-block; background: var(--white); color: var(--green-d);
  border: 2px solid var(--white);
  padding: 11px 26px; font-weight: 700; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase;
  transition: background .18s;
}
.btn-white:hover { background: var(--green-l); border-color: var(--green-l); text-decoration: none; color: var(--green-d); }

/* Hero outline button – fill hover */
.btn-hero-outline {
  display: inline-block;
  padding: 11px 26px; font-weight: 700; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase; font-family: var(--font);
  border: 2px solid rgba(255,255,255,.7); color: var(--white); background: transparent;
  transition: background .22s, border-color .22s;
}
.btn-hero-outline:hover { background: rgba(0,0,0,.35); border-color: var(--white); text-decoration: none; color: var(--white); }

/* ===== SECTION LABEL ===== */
.section-label {
  display: inline-block; background: var(--green-l); color: var(--green-d);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; margin-bottom: 14px; border-left: 4px solid var(--green);
}
h2.section-title { font-size: 2rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.section-sub { color: var(--mid); font-size: 1.05rem; max-width: 600px; margin-bottom: 40px; }

/* ===== TOPBAR ===== */
.topbar { background: var(--green-d); color: rgba(255,255,255,.8); font-size: 12px; padding: 6px 0; letter-spacing: .02em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255,255,255,.8); }
.topbar a:hover { color: var(--white); text-decoration: none; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 3px solid var(--green);
  box-shadow: 0 2px 10px rgba(0,0,0,.10);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo-wrap { display: flex; align-items: center; gap: 6px; }
.logo-wrap img { height: 52px; }
.logo-wrap a { display: flex; align-items: center; }
.logo-wrap a img { transition: transform .2s ease; }
.logo-wrap a:hover img { transform: scale(1.07); }
.logo-uw { position: relative; padding-right: 14px; }
.logo-uw::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 36px; width: 1px; background: rgba(255,255,255,.35); }
.logo-uw-img { height: 52px; width: auto; display: block; }

/* Nav */
.nav-list { list-style: none; display: flex; align-items: center; }
.nav-list li { display: flex; align-items: center; }
.nav-list li::before { content: ''; display: block; width: 1px; height: 18px; background: #ccc; }
.nav-list li:first-child::before { display: none; }
.nav-list li a {
  padding: 6px 18px; font-weight: 400; font-size: .9rem; color: var(--dark);
  letter-spacing: .01em; transition: color .15s; white-space: nowrap;
}
.nav-list li a:hover { color: var(--green-d); text-decoration: none; }
.nav-list li a.active,
.nav-list li.current-menu-item > a,
.nav-list li.current-page-ancestor > a { color: var(--green-d); font-weight: 600; }

.nav-cta { margin-left: 24px; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); margin: 5px 0; transition: .3s; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 600px;
  background: var(--dark) center/cover no-repeat;
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.72) 40%, rgba(0,0,0,.2)); }
.hero-content { position: relative; z-index: 2; padding: 80px 0; max-width: 620px; }
.hero-badge {
  display: inline-block; background: var(--green); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 14px; margin-bottom: 20px;
}
.hero h1 { font-size: 2.8rem; color: var(--white); line-height: 1.2; margin-bottom: 16px; font-weight: 800; font-family: var(--serif); }
.hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero stats */
.hero-stats { position: absolute; bottom: 0; right: 0; z-index: 2; display: flex; }
.hero-stat {
  background: rgba(255,255,255,.96); padding: 20px 0; text-align: center;
  border-top: 4px solid var(--green); width: 160px; flex-shrink: 0;
}
.hero-stat strong { display: block; font-size: 2.1rem; color: var(--green); font-weight: 800; }
.hero-stat span { font-size: .72rem; color: var(--mid); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

/* ===== PAGE HEADER ===== */
.page-header-simple { background: var(--green-d); padding: 48px 0; }
.page-header-simple h1 { color: var(--white); font-size: 2.2rem; font-weight: 800; font-family: var(--serif); margin: 0; }
.page-header {
  position: relative; overflow: hidden;
  background: var(--dark) center/cover no-repeat;
  padding: 64px 0;
}
.page-header::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(112,182,47,.82) 0%, rgba(0,0,0,.68) 100%); }
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { font-size: 2.6rem; color: var(--white); font-weight: 800; margin-bottom: 10px; font-family: var(--serif); }
.page-header p, .page-header .lead { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 560px; margin-bottom: 24px; }
.breadcrumb { font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 16px; letter-spacing: .03em; }
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: #fff; text-decoration: none; }
.header-meta { display: flex; gap: 0; margin-bottom: 28px; flex-wrap: wrap; }
.header-meta-item {
  background: rgba(255,255,255,.12); backdrop-filter: blur(4px);
  padding: 10px 20px; border-right: 1px solid rgba(255,255,255,.15);
  font-size: .82rem; color: rgba(255,255,255,.85);
}
.header-meta-item:last-child { border-right: none; }
.header-meta-item strong { display: block; color: var(--white); font-size: .95rem; }
.header-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== QUICK LINKS ===== */
.quick-links { padding: 60px 0; background: var(--light); }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quick-card { background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,.08); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.quick-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,.13); }
.quick-card-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.quick-card-body { padding: 32px 28px 36px; flex: 1; display: flex; flex-direction: column; }
.quick-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 14px; color: var(--dark); font-family: var(--serif); }
.quick-card p { font-size: .95rem; color: var(--mid); margin-bottom: 28px; flex: 1; line-height: 1.7; }

/* ===== ABOUT STRIP ===== */
.about-strip { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image img { width: 100%; height: 420px; object-fit: cover; }
.about-text .section-label { margin-bottom: 8px; }
.about-text p { color: var(--mid); margin-bottom: 16px; }
.feature-list { list-style: none; margin: 24px 0; }
.feature-list li { padding: 8px 0 8px 28px; position: relative; font-size: .95rem; color: var(--mid); border-bottom: 1px solid #eee; }
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ===== KIERUNKI SCROLL ===== */
.kierunki-scroll-section { padding: 60px 0 80px; background: var(--light); }
.kierunki-scroll-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.kierunki-scroll-header h2 { font-family: var(--serif); font-size: 1.8rem; font-weight: 800; color: var(--dark); margin: 0; }

.kierunki-scroll-wrap { overflow-x: auto; padding: 4px 0 20px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--green) #e0e0e0; }
.kierunki-scroll-wrap::-webkit-scrollbar { height: 5px; }
.kierunki-scroll-wrap::-webkit-scrollbar-track { background: #e0e0e0; }
.kierunki-scroll-wrap::-webkit-scrollbar-thumb { background: var(--green); }

.kierunki-scroll-track { display: flex; gap: 20px; width: max-content; }

.scroll-card { width: 280px; flex-shrink: 0; background: var(--white); border: 1px solid #e4e4e4; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.scroll-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.10); transform: translateY(-3px); }

.scroll-card-img { display: block; overflow: hidden; height: 180px; }
.scroll-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.scroll-card:hover .scroll-card-img img { transform: scale(1.04); }
.scroll-card-img-placeholder { width: 100%; height: 100%; background: var(--green-l); }

.scroll-card-body { padding: 18px 18px 10px; flex: 1; }
.scroll-card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); font-family: var(--serif); line-height: 1.35; }
.scroll-card-body h3 a { color: var(--dark); }
.scroll-card-body h3 a:hover { color: var(--green-d); text-decoration: none; }
.scroll-card-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.scroll-card-meta span { font-size: .72rem; font-weight: 600; color: var(--green-d); background: var(--green-l); padding: 2px 8px; }

/* ===== CTA BAND ===== */
.cta-band { background: var(--green); padding: 60px 0; text-align: center; }
.cta-band h2 { font-size: 2rem; color: var(--white); margin-bottom: 12px; font-weight: 800; font-family: var(--serif); }
.cta-band p { color: rgba(255,255,255,.88); font-size: 1.05rem; max-width: 540px; margin: 0 auto 32px; }

/* ===== FACULTY / O WYDZIALE ===== */
.faculty-section { padding: 80px 0; }
.text-body p { color: var(--mid); margin-bottom: 18px; }
.text-body h2, .text-body h3 { font-family: var(--serif); }
.text-body h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin: 28px 0 10px; }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin: 48px 0; }
.stat-box {
  background: var(--white); padding: 28px 20px;
  text-align: center; border: 1px solid #e0e0e0; border-left: none;
  border-bottom: 4px solid var(--green);
}
.stat-box:first-child { border-left: 1px solid #e0e0e0; }
.stat-box strong { display: block; font-size: 2.4rem; color: var(--green); font-weight: 800; }
.stat-box span { font-size: .78rem; color: var(--mid); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }

/* ===== PROGRAMS PAGE (archiwum) ===== */
.programs-page { padding: 80px 0; }
.tab-bar { display: flex; gap: 0; flex-wrap: wrap; }
.tab-btn {
  padding: 11px 22px; border: none; cursor: pointer;
  font-family: var(--font); font-size: .82rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  background: var(--green-tab); color: var(--white);
  border-right: 1px solid rgba(255,255,255,.18); transition: background .15s;
}
.tab-btn:hover { background: var(--green-d); }
.tab-btn.active { background: var(--white); color: var(--green-d); border: 1px solid #ddd; border-bottom: 3px solid var(--green); margin-bottom: -1px; position: relative; z-index: 1; }
/* ===== KIERUNEK CARDS GRID ===== */
.kierunek-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 32px 0; }

.kierunek-card { background: var(--white); border: 1px solid #e4e4e4; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.kierunek-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.10); transform: translateY(-3px); }

.kierunek-card-img-wrap { display: block; overflow: hidden; height: 200px; }
.kierunek-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.kierunek-card:hover .kierunek-card-img-wrap img { transform: scale(1.04); }
.kierunek-card-img-placeholder { width: 100%; height: 100%; background: var(--green-l); }

.kierunek-card-body { padding: 24px 24px 16px; flex: 1; display: flex; flex-direction: column; }
.kierunek-card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); font-family: var(--serif); line-height: 1.35; }
.kierunek-card-body h3 a { color: var(--dark); }
.kierunek-card-body h3 a:hover { color: var(--green-d); text-decoration: none; }
.kierunek-card-body p { font-size: .9rem; color: var(--mid); line-height: 1.6; flex: 1; }

.kierunek-card-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.kierunek-card-meta span { font-size: .78rem; font-weight: 600; color: var(--green-d); background: var(--green-l); padding: 3px 10px; }

.kierunek-card-btn { display: block; background: var(--green); color: var(--white); text-align: center; padding: 14px 20px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background .15s; margin-top: auto; }
.kierunek-card-btn:hover { background: var(--green-d); color: var(--white); text-decoration: none; }

.program-lang { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-d); background: var(--green-l); padding: 3px 10px; margin-bottom: 10px; }
.kierunek-empty { padding: 32px; color: var(--mid); }

/* Ramki */
.box-2 { background: var(--green-l); padding: 20px 24px; display: flex; gap: 14px; align-items: flex-start; }
.box-2::before { content: ''; display: block; width: 14px; height: 14px; background: var(--green); flex-shrink: 0; margin-top: 4px; }

/* ===== EDITOR CONTENT (bloki WP) ===== */
.entry-content p,
.main-content p { margin-bottom: 1.4em; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--serif); font-weight: 700; color: var(--dark); margin: 1.8em 0 .6em; }
.entry-content h2 { font-size: 1.55rem; border-bottom: 2px solid var(--green-l); padding-bottom: 8px; }
.entry-content h3 { font-size: 1.2rem; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin-bottom: 1.4em; }
.entry-content ul li, .entry-content ol li { margin-bottom: .5em; color: var(--mid); }
.entry-content img { max-width: 100%; height: auto; }

/* ===== SINGLE KIERUNEK ===== */
.content-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding: 56px 0 80px; }
.main-content h2 { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--dark); margin: 36px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--green-l); }
.main-content h2:first-child { margin-top: 0; }
.main-content p { color: var(--mid); margin-bottom: 16px; font-size: .97rem; }
.main-content ul { padding-left: 0; list-style: none; margin-bottom: 20px; }
.main-content ul li { padding: 8px 0 8px 22px; position: relative; color: var(--mid); font-size: .95rem; border-bottom: 1px solid #eee; }
.main-content ul li::before { content: ''; position: absolute; left: 0; top: 17px; width: 8px; height: 8px; background: var(--green); }

/* Zakładki wewnętrzne */
.tabs-bar { display: flex; gap: 0; border-bottom: 1px solid #ddd; margin: 32px 0 0; }
.tab-panel { display: none; border: 1px solid #ddd; border-top: none; padding: 28px; }
.tab-panel.active { display: block; }
.tab-panel p { color: var(--mid); font-size: .95rem; margin-bottom: 14px; }

/* Syllabus grid */
.syllabus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.syllabus-card { border: 1px solid #e0e0e0; padding: 18px 20px; border-top: 3px solid var(--green); transition: box-shadow .2s; }
.syllabus-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.syllabus-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.syllabus-card p { font-size: .83rem; color: var(--mid); margin: 0; }
.syllabus-card .sc-meta { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.sc-meta .badge { background: var(--green-l); color: var(--green-d); }

/* Video */
.video-wrap { position: relative; aspect-ratio: 16/9; background: var(--dark); margin: 24px 0; display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; }
.video-play { position: relative; z-index: 2; width: 68px; height: 68px; border: 3px solid var(--white); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.6rem; transition: background .2s; }
.video-wrap:hover .video-play { background: var(--green); border-color: var(--green); }

/* WordPress oEmbed / Gutenberg embed block – pełna szerokość kolumny */
.main-content .wp-block-embed,
.main-content figure.wp-block-embed { width: 100%; max-width: 100%; margin: 24px 0; }
.main-content .wp-block-embed__wrapper { width: 100%; }
.main-content .wp-block-embed__wrapper iframe { width: 100%; height: auto; aspect-ratio: 16/9; display: block; }

/* Sidebar */
.sidebar-widget { border: 1px solid #e0e0e0; margin-bottom: 24px; border-top: 4px solid var(--green); }
.sidebar-widget h3 { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--white); background: var(--green-d); padding: 10px 16px; }
.widget-body { padding: 16px; }
.widget-row { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px solid #f0f0f0; font-size: .9rem; }
.widget-row:last-child { border-bottom: none; }
.widget-row span { color: var(--mid); font-size: .83rem; }
.widget-row strong { color: var(--dark); font-weight: 600; }

.contact-person { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
.contact-person:last-child { border-bottom: none; }
.contact-avatar { width: 48px; height: 48px; background: var(--green-l); border: 2px solid var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-person h4 { font-size: .9rem; font-weight: 700; margin-bottom: 2px; }
.contact-person strong { display: block; font-size: .9rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.contact-person p { font-size: .82rem; color: var(--mid); margin: 0 0 2px; line-height: 1.5; }
.contact-person a { font-size: .82rem; color: var(--green-d); }
.contact-person > div { min-width: 0; }

.download-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; transition: background .15s; }
.download-item:last-child { border-bottom: none; }
.download-icon { width: 36px; height: 36px; background: var(--green); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .03em; flex-shrink: 0; }
.download-item span { font-size: .88rem; color: var(--dark); font-weight: 500; }
.download-item:hover span { color: var(--green-d); }

.social-row { display: flex; gap: 8px; padding: 14px 0 4px; }
.social-btn { width: 36px; height: 36px; border: 1px solid var(--green); display: flex; align-items: center; justify-content: center; color: var(--green-d); font-size: .78rem; font-weight: 700; transition: background .15s; text-decoration: none; }
.social-btn:hover { background: var(--green); color: var(--white); text-decoration: none; }

.sidebar-cta { background: var(--green); padding: 24px 20px; text-align: center; }
.sidebar-cta h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; font-weight: 700; }
.sidebar-cta p { color: rgba(255,255,255,.85); font-size: .85rem; margin-bottom: 18px; }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.contact-info-single { max-width: 600px; }
.contact-info-single h3,
.contact-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; color: var(--dark); }
.info-item { display: flex; gap: 14px; margin-bottom: 20px; }
.info-icon { width: 38px; height: 38px; border: 1px solid var(--green); background: var(--green-l); color: var(--green-d); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.info-item p { font-size: .9rem; color: var(--mid); }
.info-item p a { color: var(--green-d); }
.info-item strong { display: block; font-size: .95rem; color: var(--dark); }
.map-box { overflow: hidden; }
.map-placeholder { background: #e8ede8; height: 220px; display: flex; align-items: center; justify-content: center; color: var(--mid); font-size: .9rem; border: 1px solid #ccc; padding: 20px; text-align: center; }
.map-box iframe { display: block; }

.contact-form { background: var(--white); padding: 40px; border: 1px solid #e0e0e0; border-top: 4px solid var(--green); }
.contact-form h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; font-family: var(--serif); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .78rem; font-weight: 700; color: var(--mid); margin-bottom: 6px; letter-spacing: .05em; text-transform: uppercase; }
.form-group input,
.form-group textarea,
.form-group select { width: 100%; padding: 10px 14px; border: 1px solid #ccc; font-family: var(--font); font-size: .95rem; transition: border-color .2s; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(112,182,47,.12); }
.form-group textarea { height: 130px; resize: vertical; }

/* ===== FOOTER ===== */
.site-footer { background: var(--green-d); color: rgba(255,255,255,.75); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }

.footer-brand img,
.footer-brand .custom-logo { height: 44px; filter: brightness(0) invert(1); margin-bottom: 14px; width: auto; }
.footer-brand p { font-size: .88rem; line-height: 1.65; color: rgba(255,255,255,.7); }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); font-size: .78rem; font-weight: 700; text-decoration: none; transition: background .15s; }
.footer-social a:hover { background: var(--white); color: var(--green-d); text-decoration: none; }

.footer-col h4 { color: var(--white); font-size: .78rem; margin-bottom: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; border-bottom: 2px solid rgba(255,255,255,.15); padding-bottom: 8px; }
.footer-col ul,
.footer-col .footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-col ul li,
.footer-col .footer-menu li { margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.07); padding-bottom: 8px; }
.footer-col ul li a,
.footer-col .footer-menu li a { font-size: .88rem; color: rgba(255,255,255,.7); transition: color .15s; }
.footer-col ul li a:hover,
.footer-col .footer-menu li a:hover { color: var(--white); text-decoration: none; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: rgba(255,255,255,.45); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--white); text-decoration: none; }

/* ===== WP CUSTOM LOGO ===== */
.custom-logo-link img { display: block; }
.header-inner .custom-logo-link img { height: 52px; width: auto; }
.footer-brand .custom-logo-link img { height: 44px; filter: brightness(0) invert(1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .kierunek-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { display: none; }
  .content-wrap { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .syllabus-grid { grid-template-columns: 1fr; }
  .header-meta { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .nav-list { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 3px solid var(--green); padding: 16px 0; box-shadow: 0 8px 24px rgba(0,0,0,.1); z-index: 99; }
  .nav-list.open { display: flex; }
  .nav-list li::before { display: none; }
  .nav-list li a { padding: 12px 24px; border-bottom: 1px solid #eee; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .site-header .container { position: relative; }
  .tab-bar { flex-wrap: wrap; }
}

@media (max-width: 700px) {
  .kierunek-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
