/*
Theme Name: Veštine i Razvoj
Theme URI: https://vestineirazvoj.rs
Author: Bojan Jovanović
Author URI: https://www.linkedin.com/in/bojan-jovanovic/
Description: Profesionalna WordPress tema za coaching, HR razvoj i poslovnu psihologiju. Optimizovana za SEO, brzo učitavanje i mobilne uređaje.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vir-theme
Tags: coaching, hr, business, responsive, seo-friendly, custom-colors
*/

/* ═══════════════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════════════ */
:root {
  --g1: #0D2B1F;
  --g2: #1A4A35;
  --g3: #27734F;
  --g4: #3BAE78;
  --g4-light: rgba(59,174,120,0.12);
  --cream: #FDF9F3;
  --warm: #F5EDD8;
  --gold: #C9922A;
  --gold-lt: #FDF0D5;
  --text: #0D1F15;
  --muted: #5A7A65;
  --border: #D4E8D8;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(13,43,31,0.08);
  --shadow-md: 0 8px 40px rgba(13,43,31,0.12);
  --transition: 0.25s ease;
  --max-w: 1100px;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* Skip to content (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--g2);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  font-size: 0.875rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ═══════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  line-height: 1.15;
  color: var(--g1);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

h1 strong, h2 strong, h3 strong {
  font-weight: 600;
  font-style: normal;
  color: var(--g3);
}

p { margin-bottom: 1rem; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════ */
.container {
  width: min(var(--max-w), 100% - 3rem);
  margin-inline: auto;
}
.container--narrow { width: min(720px, 100% - 3rem); margin-inline: auto; }
.container--wide   { width: min(1300px, 100% - 2rem); margin-inline: auto; }

.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section--dark  { background: var(--g1); color: #fff; }
.section--warm  { background: var(--warm); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: 100px;
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }

.btn--primary   { background: var(--g4); color: #fff; }
.btn--secondary { background: var(--g2); color: #fff; }
.btn--ghost {
  border: 1.5px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.75);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn--outline {
  border: 1.5px solid var(--g2);
  color: var(--g2);
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(253,249,243,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--g1);
  display: flex;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
}
.site-logo em { font-style: italic; color: var(--g3); }
.site-logo img { height: 44px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-menu a {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a { color: var(--g2); background: var(--g4-light); }

/* Dropdown */
.menu-item-has-children { position: relative; }
.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 240px;
  padding: 0.4rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 300;
}
.menu-item-has-children:hover .sub-menu,
.menu-item-has-children:focus-within .sub-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.sub-menu a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text);
  border-radius: 8px;
}
.sub-menu a:hover { background: var(--g4-light); color: var(--g2); }

.nav-cta { margin-left: 0.75rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--g1);
  z-index: 190;
  flex-direction: column;
  padding: 5.5rem 2rem 2rem;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav .menu-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav .sub-menu {
  position: static;
  opacity: 1;
  pointer-events: all;
  transform: none;
  box-shadow: none;
  border: none;
  background: transparent;
  padding: 0 0 0 1.2rem;
}
.mobile-nav .sub-menu a {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  border-bottom-color: rgba(255,255,255,0.04);
}
.mobile-nav-cta {
  margin-top: auto;
  padding-top: 2rem;
}

/* ═══════════════════════════════════════════════════
   HERO SLIDER
═══════════════════════════════════════════════════ */
.hero-slider {
  position: relative;
  height: clamp(480px, 70vh, 640px);
  overflow: hidden;
}

/* Fixed background layer */
.slider-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--g1);
  transition: background 0.9s ease;
  will-change: transform;
}
.slider-bg__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
}
.slider-bg__ring--1 { width: 700px; height: 700px; top: -220px; right: -180px; }
.slider-bg__ring--2 { width: 420px; height: 420px; top: -60px; right: 30px; }
.slider-bg__ring--3 { width: 220px; height: 220px; bottom: 40px; left: 80px; }
.slider-bg__blob {
  position: absolute;
  border-radius: 50%;
  transition: background 0.9s ease;
}
.slider-bg__blob--1 { width: 400px; height: 400px; bottom: -110px; left: -90px; background: rgba(39,115,79,0.2); }
.slider-bg__blob--2 { width: 220px; height: 220px; top: 40px; right: 36%; background: rgba(59,174,120,0.08); }

/* Slides track */
.slides-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 300%;
  z-index: 5;
  transition: transform 0.78s cubic-bezier(0.77,0,0.18,1);
  will-change: transform;
}

.slide {
  width: calc(100% / 3);
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 calc((100% - var(--max-w)) / 2 + 1.5rem);
  position: relative;
}

/* Text — left half */
.slide__text {
  width: min(460px, 48%);
  position: relative;
  z-index: 10;
  will-change: transform;
}
.slide__eyebrow {
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.3rem;
  background: rgba(59,174,120,0.18);
  color: var(--g4);
  border: 1px solid rgba(59,174,120,0.22);
}
.slide--2 .slide__eyebrow { background: rgba(100,130,255,0.18); color: #8fa4ff; border-color: rgba(100,130,255,0.22); }
.slide--3 .slide__eyebrow { background: rgba(201,146,42,0.18); color: #e8b45a; border-color: rgba(201,146,42,0.22); }

.slide__text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
}
.slide__text h1 strong { color: var(--g4); }
.slide--2 .slide__text h1 strong { color: #8fa4ff; }
.slide--3 .slide__text h1 strong { color: #e8b45a; }

.slide__text p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
  max-width: 38ch;
}

.slide__btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.slide--2 .btn--primary { background: #6680ff; }
.slide--3 .btn--primary { background: var(--gold); }

/* Elements — right half */
.slide__elements {
  position: absolute;
  right: 0;
  top: 0;
  width: 52%;
  height: 100%;
  pointer-events: none;
  will-change: transform;
}
.slide__el {
  position: absolute;
  pointer-events: all;
  cursor: pointer;
  border-radius: 14px;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
  animation: elFloat 5s ease-in-out infinite;
}
.slide__el:hover { transform: scale(1.07) translateY(-5px) !important; z-index: 20; box-shadow: 0 16px 48px rgba(0,0,0,0.3) !important; }
.slide__el:active { transform: scale(0.97) !important; }
.slide__el::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  box-shadow: var(--shadow);
}
.slide__el:hover::after { opacity: 1; }

@keyframes elFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Slider controls */
.slider-nav {
  position: absolute;
  bottom: 1.8rem;
  left: calc((100% - var(--max-w)) / 2 + 1.5rem);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.slider-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.22);
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.slider-dot.is-active { background: #fff; transform: scale(1.4); }
.slider-counter {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
  margin-left: 0.5rem;
}

.slider-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 1.5rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.slider-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.slider-arrow:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* Comment bubble */
.slider-bubble-wrap {
  position: absolute;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 40;
  width: 250px;
}
.slider-bubble {
  background: #fff;
  border-radius: 16px 16px 4px 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.4s, transform 0.4s;
}
.slider-bubble.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.slider-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px; right: 18px;
  width: 16px; height: 16px;
  background: #fff;
  clip-path: polygon(0 0,100% 0,100% 100%);
  border-radius: 0 0 3px 0;
}
.bubble__quote { font-size: 0.76rem; font-style: italic; color: var(--text); line-height: 1.55; margin-bottom: 0.65rem; }
.bubble__meta { display: flex; align-items: center; gap: 0.55rem; }
.bubble__avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.58rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.bubble__name { font-size: 0.72rem; font-weight: 600; color: var(--text); }
.bubble__role { font-size: 0.64rem; color: var(--muted); }
.bubble__stars { font-size: 0.6rem; color: var(--gold); letter-spacing: 1px; margin-top: 2px; }

/* ═══════════════════════════════════════════════════
   STATS STRIP
═══════════════════════════════════════════════════ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-bottom: 1px solid var(--border);
}
.stats-strip__item {
  padding: 1.5rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stats-strip__item:last-child { border-right: none; }
.stats-strip__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  font-style: normal;
  color: var(--g2);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stats-strip__label { font-size: 0.72rem; color: var(--muted); margin-top: 4px; }

/* ═══════════════════════════════════════════════════
   SERVICE CARDS
═══════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--cream);
  padding: 1.75rem;
  transition: background var(--transition);
}
.service-card:hover { background: var(--warm); }
.service-card__num {
  font-size: 0.65rem;
  color: var(--g3);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.service-card h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}
.service-card p { font-size: 0.78rem; color: var(--muted); line-height: 1.6; max-width: none; margin: 0; }

/* ═══════════════════════════════════════════════════
   ABOUT / BIO
═══════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}
.about-card {
  background: var(--g2);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: #fff;
  position: sticky;
  top: 80px;
}
.about-card__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 500; color: #fff;
  margin-bottom: 1rem;
}
.about-card__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.about-card__name { font-family: var(--font-serif); font-size: 1rem; font-weight: 500; font-style: normal; margin-bottom: 0.2rem; color: #fff; }
.about-card__title { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.about-card__certs { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.45rem; }
.about-card__cert {
  background: rgba(255,255,255,0.1);
  border-radius: 7px;
  padding: 0.4rem 0.7rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.8);
}
.about-text p { font-size: 0.88rem; line-height: 1.82; color: var(--muted); }

/* ═══════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.25rem; }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
}
.testimonial-card__quote {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--g2);
  line-height: 1.6;
  margin-bottom: 1.1rem;
}
.testimonial-card__quote::before { content: '"'; font-size: 2rem; color: var(--g4); line-height: 0; vertical-align: -0.6rem; margin-right: 0.2rem; }
.testimonial-card__author { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.testimonial-card__role  { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.testimonial-card__stars { color: var(--gold); font-size: 0.72rem; letter-spacing: 2px; margin-top: 4px; }

/* ═══════════════════════════════════════════════════
   TRAINING GRID
═══════════════════════════════════════════════════ */
.trainings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.training-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.training-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.training-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.training-card__body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.training-card__title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 300;
  font-style: italic;
  color: var(--g1);
  margin-bottom: 0.75rem;
  flex: 1;
}
.training-card__link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--g3);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.training-card__link::after { content: '→'; transition: transform 0.2s; }
.training-card:hover .training-card__link::after { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════
   HR CURRICULUM TABLE
═══════════════════════════════════════════════════ */
.curriculum-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.curriculum-table th {
  background: var(--g2);
  color: #fff;
  font-weight: 600;
  font-family: var(--font-sans);
  font-style: normal;
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.curriculum-table td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
.curriculum-table tr:nth-child(odd) td { background: rgba(212,232,216,0.15); }
.curriculum-table tr:hover td { background: var(--g4-light); }
.curriculum-table .module-num { font-weight: 700; color: var(--g2); font-style: normal; }
.curriculum-table .module-name { font-weight: 600; color: var(--text); }

/* ═══════════════════════════════════════════════════
   BLOG / ARTICLES
═══════════════════════════════════════════════════ */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.25rem; }
.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--g2);
}
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .post-card__thumb img { transform: scale(1.05); }
.post-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.post-card__tag {
  display: inline-block;
  background: var(--gold-lt); color: var(--gold);
  font-size: 0.65rem; font-weight: 600;
  padding: 0.2rem 0.65rem; border-radius: 100px;
  margin-bottom: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.post-card__title {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  line-height: 1.35;
  flex: 1;
}
.post-card__title a { color: var(--g1); }
.post-card__title a:hover { color: var(--g3); }
.post-card__meta { font-size: 0.72rem; color: var(--muted); margin: 0; }

/* Single post */
.post-hero { background: var(--g1); padding: 4rem 0; }
.post-hero h1 { color: #fff; max-width: 22ch; }
.post-hero__meta { color: rgba(255,255,255,0.4); font-size: 0.8rem; margin-top: 1rem; margin-bottom: 0; }
.post-content {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}
.post-content h2,
.post-content h3 { margin: 2rem 0 1rem; }
.post-content p { margin-bottom: 1.2rem; }
.post-content ul,
.post-content ol { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.post-content li { margin-bottom: 0.4rem; }
.post-content blockquote {
  border-left: 3px solid var(--g3);
  padding: 0.8rem 1.2rem;
  margin: 1.5rem 0;
  background: var(--g4-light);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--g2);
}

/* ═══════════════════════════════════════════════════
   PAGE HERO (interior pages)
═══════════════════════════════════════════════════ */
.page-hero {
  background: var(--g1);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
  top: -160px; right: -120px;
  pointer-events: none;
}
.page-hero__eyebrow {
  display: inline-block;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--g4);
  background: rgba(59,174,120,0.15);
  border: 1px solid rgba(59,174,120,0.22);
  padding: 0.28rem 0.8rem; border-radius: 100px;
  margin-bottom: 1rem;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.5); font-size: 1rem; max-width: 52ch; margin-top: 0.8rem; }

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-info__icon {
  width: 40px; height: 40px; min-width: 40px;
  border-radius: 10px;
  background: var(--g4-light);
  display: flex; align-items: center; justify-content: center;
}
.contact-info__icon svg { width: 18px; height: 18px; stroke: var(--g3); fill: none; stroke-width: 1.8; }
.contact-info__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 2px; }
.contact-info__value { font-size: 0.88rem; font-weight: 500; color: var(--text); }
.contact-info__value a { color: var(--g3); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.78rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.875rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--g4); box-shadow: 0 0 0 3px rgba(59,174,120,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* Social links */
.social-links { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-link {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600;
  color: var(--g2);
  background: var(--g4-light);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  transition: background var(--transition);
}
.social-link:hover { background: var(--border); }

/* ═══════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════ */
.cta-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--g1);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before,
.cta-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
}
.cta-section::before { width: 500px; height: 500px; top: -200px; left: -120px; }
.cta-section::after  { width: 360px; height: 360px; bottom: -140px; right: -80px; }
.cta-section h2 { color: #fff; position: relative; z-index: 1; margin: 0 auto 0.8rem; max-width: 22ch; }
.cta-section p  { color: rgba(255,255,255,0.45); position: relative; z-index: 1; margin: 0 auto 1.8rem; }
.cta-section .btn { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════════
   PRICING CARDS
═══════════════════════════════════════════════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.25rem; }
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pricing-card:hover { border-color: var(--g4); box-shadow: var(--shadow-md); }
.pricing-card.featured { border-color: var(--g4); border-width: 2px; }
.pricing-card__label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--g3); margin-bottom: 0.5rem; }
.pricing-card__price {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  font-style: normal;
  color: var(--g1);
  margin: 0.5rem 0;
}
.pricing-card__desc { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.5rem; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer {
  background: var(--g1);
  color: rgba(255,255,255,0.5);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .site-logo { color: rgba(255,255,255,0.7); margin-bottom: 0.8rem; }
.footer-brand p { font-size: 0.8rem; line-height: 1.7; max-width: 28ch; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col ul a { font-size: 0.8rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--g4); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
}
.footer-bottom a { color: rgba(255,255,255,0.3); }
.footer-bottom a:hover { color: var(--g4); }

/* ═══════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════ */
.eyebrow {
  display: inline-block;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--g3);
  margin-bottom: 0.6rem;
}
.section-intro { margin-bottom: 2.5rem; }
.section-intro h2 { margin-bottom: 0.5rem; }
.section-intro p { color: var(--muted); font-size: 0.92rem; }
.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

.tag-pill {
  display: inline-block;
  background: var(--gold-lt); color: var(--gold);
  font-size: 0.65rem; font-weight: 600;
  padding: 0.2rem 0.65rem; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.tag-pill--green { background: var(--g4-light); color: var(--g3); }

.box-quote {
  background: var(--white);
  border-left: 3px solid var(--g3);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.3rem;
  margin: 1.5rem 0;
}
.box-quote p { font-style: italic; color: var(--g2); font-size: 0.88rem; margin: 0 0 0.4rem; }
.box-quote small { font-size: 0.7rem; color: var(--muted); }

/* Breadcrumb */
.breadcrumb { font-size: 0.75rem; color: var(--muted); display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--g3); }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.page-hero .breadcrumb { color: rgba(255,255,255,0.35); margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.35); }
.page-hero .breadcrumb a:hover { color: rgba(255,255,255,0.7); }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
  backdrop-filter: blur(4px);
}
.modal-overlay.is-open { opacity: 1; pointer-events: all; }
.modal {
  background: #fff;
  border-radius: 18px;
  padding: 2rem 2.2rem;
  max-width: 420px; width: 90%;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}
.modal-overlay.is-open .modal { transform: translateY(0) scale(1); }
.modal__close { position: absolute; top: 1rem; right: 1.1rem; font-size: 1.1rem; color: #aaa; }
.modal__close:hover { color: var(--text); }
.modal__icon { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 1rem; }
.modal h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.modal p  { color: var(--muted); font-size: 0.84rem; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .slide { padding-inline: 2rem; }
  .slide__elements { width: 48%; }
}

@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .stats-strip { grid-template-columns: repeat(2,1fr); }
  .stats-strip__item:nth-child(2) { border-right: none; }
  .stats-strip__item:nth-child(3) { border-bottom: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .slide { padding-inline: 1.25rem; }
  .slide__text { width: 100%; }
  .slide__elements { display: none; }
  .slider-bubble-wrap { display: none; }
  .slider-nav { left: 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-slider { height: auto; min-height: 460px; }
}

@media (max-width: 480px) {
  .trainings-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   PRINT
═══════════════════════════════════════════════════ */
@media print {
  .site-header, .site-footer, .hero-slider, .cta-section, nav { display: none !important; }
  body { font-size: 11pt; color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* ═══════════════════════════════════════════════════
   ANIMATIONS / TRANSITIONS
═══════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .slide__el { animation: none; }
}

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }
