/* ============================================================
   SMART LEKÁREŇ — Main Stylesheet
   Colors: Teal #2ABFBF | Navy #1A4F7A | White #FFFFFF | Light #F4F8FB
   Fonts: Sora (headings) + Source Sans 3 (body)
   ============================================================ */

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

/* ---- CSS Variables ---- */
:root {
  --teal:       #2ABFBF;
  --teal-dark:  #1E9E9E;
  --teal-light: #E8F9F9;
  --navy:       #1A4F7A;
  --navy-dark:  #0F3352;
  --navy-light: #EBF2F8;
  --white:      #FFFFFF;
  --light:      #F4F8FB;
  --mid:        #E2ECF3;
  --text:       #1C2B3A;
  --muted:      #6B8499;
  --border:     #D6E4EE;
  --font-head:  'Sora', sans-serif;
  --font-body:  'Source Sans 3', sans-serif;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow-sm:  0 2px 8px rgba(26,79,122,0.08);
  --shadow-md:  0 8px 32px rgba(26,79,122,0.12);
  --shadow-lg:  0 20px 60px rgba(26,79,122,0.16);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }
ul { list-style: none; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.2rem; color: var(--muted); line-height: 1.8; }

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42,191,191,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
}

/* ---- Section Labels ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal);
}
.section-header { max-width: 640px; margin-bottom: 3.5rem; }
.section-header.center { margin: 0 auto 3.5rem; text-align: center; }
.section-header.center .section-label { justify-content: center; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
#site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  line-height: 1.1;
}
.nav-logo-sub {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-menu a {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--teal);
  background: var(--teal-light);
}
.nav-cta { margin-left: 1rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s ease;
  transform-origin: center;
}
/* Hamburger → X animation */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #F4F8FB 0%, #EBF2F8 40%, #E8F9F9 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(42,191,191,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,79,122,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(42,191,191,0.1);
  border: 1px solid rgba(42,191,191,0.3);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 span { color: var(--teal); }
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image-wrap img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
}
.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  animation: float 4s ease-in-out infinite;
}
.hero-float-card:nth-child(2) { top: 10%; left: -40px; animation-delay: 0s; }
.hero-float-card:nth-child(3) { bottom: 15%; right: -30px; animation-delay: 1.5s; }
.hero-float-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  background: var(--navy);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(42,191,191,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  position: relative;
}
.stat-item {
  text-align: center;
  padding: 2.5rem 2rem;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.12);
}
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
}
.stat-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}

/* ============================================================
   STORYTELLING
   ============================================================ */
.story-section { background: var(--white); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.story-image {
  position: relative;
}
.story-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.story-image-accent {
  position: absolute;
  bottom: -24px; left: -24px;
  width: 120px; height: 120px;
  background: var(--teal);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.2;
}
.story-image-dots {
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  background-image: radial-gradient(var(--teal) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.4;
}
.story-content .section-label { margin-bottom: 0.75rem; }
.story-content h2 { margin-bottom: 1.25rem; }
.story-features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.story-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.story-feature-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.story-feature-text h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.story-feature-text p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ============================================================
   TIMELINE — moved to assets/css/timeline.css
   ============================================================ */

/* ============================================================
   ARTICLES / BLOG
   ============================================================ */
.articles-section { background: var(--white); }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(42,191,191,0.3);
}
.article-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--mid);
}
.article-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.article-card:hover .article-thumb img { transform: scale(1.05); }
.article-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.article-cat {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.article-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  flex: 1;
}
.article-card h3 a { color: var(--navy); }
.article-card h3 a:hover { color: var(--teal); }
.article-excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: auto;
}
.article-meta-author {
  display: flex; align-items: center; gap: 0.4rem;
}
.article-meta-author img {
  width: 24px; height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.articles-cta { text-align: center; margin-top: 3rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--navy-light); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--teal);
  font-family: Georgia, serif;
  opacity: 0.4;
  position: absolute;
  top: 1.25rem; right: 1.5rem;
}
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--teal-dark);
  flex-shrink: 0;
}
.testimonial-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}
.testimonial-role { font-size: 0.82rem; color: var(--muted); }
.testimonial-stars {
  color: #F5A623;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

/* ============================================================
   PARTNERS
   ============================================================ */
.partners-section { background: var(--white); padding: 70px 0; }
.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem 4rem;
  margin-top: 2.5rem;
}
.partner-logo {
  opacity: 0.45;
  filter: grayscale(1);
  transition: all var(--transition);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.partner-logo:hover { opacity: 1; filter: grayscale(0); color: var(--teal); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 50%, #0A2A45 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(42,191,191,0.2) 0%, transparent 60%),
              radial-gradient(circle at 70% 50%, rgba(42,191,191,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 2.5rem; font-size: 1.1rem; position: relative; }
.cta-banner .btn { position: relative; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 50px; margin-bottom: 1rem; opacity: 0.9; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: var(--teal); }

/* ============================================================
   INNER PAGES
   ============================================================ */
/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--light) 0%, var(--navy-light) 100%);
  padding: 140px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead { max-width: 580px; }

/* About Page */
/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.contact-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.contact-card--teal {
  background: linear-gradient(135deg, #0A1628 0%, #0F3352 100%);
  border-color: rgba(42,191,191,0.25);
}
.contact-card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}
.contact-card--teal .contact-card-icon {
  background: rgba(42,191,191,0.12);
  color: #2ABFBF;
}
.contact-card-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
}
.contact-card--teal .contact-card-label { color: rgba(42,191,191,0.75); }
.contact-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}
.contact-card--teal .contact-card-title { color: #ffffff; }
.contact-card-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.contact-card--teal .contact-card-desc { color: rgba(255,255,255,0.55); }
.contact-card-email {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 1px;
  transition: color var(--transition);
  margin-top: 0.25rem;
}
.contact-card-email:hover { color: var(--teal); }
.contact-card--teal .contact-card-email { color: #2ABFBF; border-color: rgba(42,191,191,0.4); }
.contact-card--teal .contact-card-email:hover { color: #ffffff; }
.contact-card-btn { margin-top: 0.5rem; }

.contact-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.75rem 2rem;
  background: var(--light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.contact-meta-item svg { color: var(--teal); flex-shrink: 0; }
.contact-meta-sep {
  width: 1px; height: 28px;
  background: var(--border);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.value-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.value-card:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.value-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--white);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  gap: 1rem;
}
.faq-question:hover { color: var(--teal); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform var(--transition);
  font-style: normal;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--teal); color: white; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* Blog Archive */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.blog-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card-thumb { height: 100%; min-height: 160px; overflow: hidden; background: var(--mid); }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.5rem 1.5rem 1.5rem 0; }

/* Single Post */
.single-post {
  max-width: 100%;
  padding: 0 0 80px;
}
.single-post-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}
.single-post-hero-img {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  margin-bottom: 3rem;
}
.single-post-hero-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.single-post h1 { margin-bottom: 1rem; }
.single-post .post-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.single-post .post-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.5rem; }
.single-post .post-content h3 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: 1.25rem; }
.single-post .post-content p { margin-bottom: 1.25rem; line-height: 1.8; }
.single-post .post-content img { border-radius: var(--radius); margin: 2rem 0; box-shadow: var(--shadow-md); }
.single-post .post-content ul, .single-post .post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.single-post .post-content li { margin-bottom: 0.5rem; line-height: 1.7; }
.single-post .post-content blockquote {
  border-left: 4px solid var(--teal);
  padding: 1rem 1.5rem;
  background: var(--teal-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
  font-style: italic;
  color: var(--navy);
}

/* ============================================================
   SINGLE POST  (.sp-*)
   ============================================================ */
.sp-hero { padding-bottom: 48px; }
.sp-title {
  max-width: 800px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.18;
}
.sp-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.sp-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(42,191,191,0.3);
}
.sp-meta-text { display: flex; flex-direction: column; gap: 0.15rem; }
.sp-author { font-weight: 700; font-size: 0.95rem; color: #fff; }
.sp-meta-row { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.sp-dot { margin: 0 0.35rem; }

/* Cover image — full-width, fixed height */
.sp-cover { margin-bottom: 0; background: var(--light); }
.sp-cover .container { padding: 0; max-width: 100%; }
.sp-cover-img {
  width: 100%;
  height: 480px;
  overflow: hidden;
}
.sp-cover-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Body layout */
.sp-body { padding: 64px 0 80px; }
.sp-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}

/* Content column */
.sp-content { min-width: 0; }
.sp-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.5rem; }
.sp-content h3 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: 1.25rem; }
.sp-content p  { margin-bottom: 1.25rem; line-height: 1.85; font-size: 1.05rem; }
.sp-content img { border-radius: var(--radius); margin: 2rem 0; box-shadow: var(--shadow-md); max-width: 100%; }
.sp-content ul, .sp-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.sp-content li  { margin-bottom: 0.5rem; line-height: 1.75; }
.sp-content blockquote {
  border-left: 4px solid var(--teal);
  padding: 1rem 1.5rem;
  background: var(--teal-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
  font-style: italic;
  color: var(--navy);
}
.sp-tags {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.sp-tags-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  margin-right: 0.25rem;
}

/* Sidebar */
.sp-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.sp-sidebar-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.sp-sidebar-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.25rem;
}
.sp-sidebar-author-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}
.sp-sidebar-bio {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.sp-sidebar-info { gap: 0.75rem; }
.sp-sidebar-info-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
}
.sp-sidebar-info-row svg { color: var(--teal); flex-shrink: 0; }
.sp-back-link {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--transition);
}
.sp-back-link:hover { color: var(--navy); }

/* Prev/next nav */
.sp-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.sp-nav-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.sp-nav-item:hover {
  border-color: var(--teal);
  background: var(--teal-light);
}
.sp-nav-next { text-align: right; }
.sp-nav-dir {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
}
.sp-nav-title {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

@media (max-width: 900px) {
  .sp-layout { grid-template-columns: 1fr; }
  .sp-sidebar { position: static; }
  .sp-cover-img { height: 320px; }
}
@media (max-width: 600px) {
  .sp-nav { grid-template-columns: 1fr; }
  .sp-nav-next { text-align: left; }
  .sp-cover-img { height: 220px; }
}

/* ============================================================
   END SINGLE POST
   ============================================================ */

/* Sidebar */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.sidebar-widget {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}
.sidebar-widget h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 1.25rem;
}
.sidebar-tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  margin: 0.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--navy);
  transition: all var(--transition);
}
.sidebar-tag:hover { background: var(--teal); color: white; border-color: var(--teal); }

/* Partners Page */
.partners-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.partner-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.partner-card:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.partner-card-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.partner-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.partner-type {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.2rem 0.75rem;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   RESEARCH / ARTICLES PAGE  (.rp-*)
   ============================================================ */

/* Hero tweak */
.rp-hero { padding-bottom: 40px; }
.rp-section { padding-top: 60px; }

/* ---- Featured article ---- */
/* ---- Featured article — cinematic card ---- */
.rp-featured {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3.5rem;
  text-decoration: none;
  color: inherit;
  background: var(--navy-dark);
  aspect-ratio: 21 / 8;
  min-height: 320px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.rp-featured:hover {
  box-shadow: 0 28px 72px rgba(26,79,122,0.22);
  transform: translateY(-3px);
}
.rp-featured-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.rp-featured-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.rp-featured:hover .rp-featured-img img { transform: scale(1.04); }
.rp-featured-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0A1628 0%, #1A4F7A 60%, #0F3352 100%);
}
.rp-featured-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,14,26,0.95) 0%,
    rgba(5,14,26,0.6) 45%,
    rgba(5,14,26,0.15) 100%
  );
  pointer-events: none;
}
.rp-featured-badge {
  position: absolute;
  top: 1.5rem; left: 1.75rem;
  background: #2ABFBF;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.85rem;
  border-radius: 100px;
}
.rp-featured-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.rp-featured-title {
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
  max-width: 720px;
}
.rp-featured-excerpt {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin: 0;
  max-width: 600px;
}
.rp-featured .rp-meta {
  color: rgba(255,255,255,0.55);
}
.rp-featured .rp-meta-author { color: rgba(255,255,255,0.85); }
.rp-featured .rp-cat-badge {
  background: rgba(42,191,191,0.18);
  color: #2ABFBF;
  border: 1px solid rgba(42,191,191,0.3);
}

/* ---- Category filter ---- */
.rp-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.rp-filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
}
.rp-filter-btn:hover, .rp-filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ---- Articles grid ---- */
.rp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

/* ---- Article card ---- */
.rp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.rp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(42,191,191,0.3);
}
.rp-card-thumb {
  display: block;
  height: 200px;
  overflow: hidden;
  background: var(--light);
}
.rp-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.rp-card:hover .rp-card-thumb img { transform: scale(1.05); }
.rp-card-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  background: linear-gradient(135deg, var(--light) 0%, var(--navy-light) 100%);
}
.rp-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.rp-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.rp-cat-badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rp-cat-badge--sm { font-size: 0.65rem; padding: 0.15rem 0.6rem; }
.rp-read-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.rp-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
.rp-card-title a { color: var(--navy); text-decoration: none; }
.rp-card-title a:hover { color: var(--teal); }
.rp-card-excerpt {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* ---- Meta row ---- */
.rp-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.25rem;
}
.rp-meta--sm { font-size: 0.8rem; padding-top: 0.75rem; border-top: 1px solid var(--border); margin-top: auto; }
.rp-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.rp-meta-author { font-weight: 600; color: var(--navy); }
.rp-meta-sep { color: var(--border); }

/* ---- Pagination ---- */
.rp-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.rp-page-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: all var(--transition);
}
.rp-page-btn:hover, .rp-page-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ---- Empty state ---- */
.rp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 5rem 2rem;
  text-align: center;
  color: var(--muted);
}
.rp-empty svg { color: var(--border); }
.rp-empty p { font-size: 1rem; margin: 0; }

@media (max-width: 1024px) {
  .rp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .rp-featured { aspect-ratio: 16 / 9; min-height: 260px; }
  .rp-featured-body { padding: 1.5rem 1.5rem 1.5rem; }
  .rp-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   END RESEARCH PAGE
   ============================================================ */

/* ============================================================
   RESULTS PAGE  (.rs-*)
   ============================================================ */

/* 1. KPI hero strip */
.rs-dark-section {
  background: #050E1A;
  padding: 80px 0;
}
.rs-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(42,191,191,0.08);
  border: 1px solid rgba(42,191,191,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.rs-kpi {
  background: #050E1A;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: background var(--transition);
}
.rs-kpi:hover { background: rgba(42,191,191,0.06); }
.rs-kpi-number {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #2ABFBF;
  line-height: 1;
  margin-bottom: 0.6rem;
  text-shadow: 0 0 30px rgba(42,191,191,0.4);
}
.rs-kpi-label {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}
.rs-kpi-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* 2. Performance bars */
.rs-perf-grid {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.rs-perf-row { display: flex; flex-direction: column; gap: 0.4rem; }
.rs-perf-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}
.rs-perf-bar-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.rs-perf-bar {
  flex: 1;
  height: 10px;
  background: var(--mid);
  border-radius: 100px;
  overflow: hidden;
}
.rs-perf-fill {
  height: 100%;
  width: 0%;
  border-radius: 100px;
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
}
.rs-perf-pct {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  min-width: 3rem;
  text-align: right;
}
.rs-note {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.5rem;
}

/* 3. Pilot results */
.rs-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.rs-result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.rs-result-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(42,191,191,0.3);
}
.rs-result-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.rs-result-stat {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.rs-result-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--navy);
}
.rs-result-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* 4. Milestones timeline */
.rs-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2rem;
}
.rs-timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, #2ABFBF, rgba(42,191,191,0.15));
}
.rs-milestone {
  position: relative;
  padding: 0 0 2.5rem 2.5rem;
  display: flex;
  gap: 0;
}
.rs-milestone:last-child { padding-bottom: 0; }
.rs-milestone-dot {
  position: absolute;
  left: -7px;
  top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid #2ABFBF;
  background: #fff;
  flex-shrink: 0;
  transition: background var(--transition);
}
.rs-milestone--done .rs-milestone-dot {
  background: #2ABFBF;
}
.rs-milestone--current .rs-milestone-dot {
  background: #2ABFBF;
  box-shadow: 0 0 0 4px rgba(42,191,191,0.2);
  animation: rs-pulse 2s ease-in-out infinite;
}
.rs-milestone--upcoming .rs-milestone-dot {
  border-color: var(--border);
  background: var(--light);
}
@keyframes rs-pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(42,191,191,0.2); }
  50%      { box-shadow: 0 0 0 8px rgba(42,191,191,0.08); }
}
.rs-milestone-content { flex: 1; }
.rs-milestone-year {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2ABFBF;
  margin-bottom: 0.3rem;
}
.rs-milestone--upcoming .rs-milestone-year { color: var(--muted); }
.rs-milestone-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.4rem;
  line-height: 1.3;
}
.rs-milestone--upcoming .rs-milestone-title { color: var(--muted); }
.rs-milestone-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* 5. Methodology */
.rs-method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.rs-method-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}
.rs-method-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(42,191,191,0.3);
}
.rs-method-step {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(42,191,191,0.12);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.04em;
}
.rs-method-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.rs-method-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 1rem;
}
.rs-method-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.rs-method-tags span {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 1024px) {
  .rs-kpi-grid    { grid-template-columns: repeat(2, 1fr); }
  .rs-results-grid{ grid-template-columns: repeat(2, 1fr); }
  .rs-method-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .rs-kpi-grid    { grid-template-columns: 1fr 1fr; gap: 1px; }
  .rs-kpi         { padding: 1.75rem 1rem; }
  .rs-results-grid{ grid-template-columns: 1fr 1fr; }
  .rs-method-grid { grid-template-columns: 1fr; }
  .rs-timeline    { padding-left: 1.5rem; }
}
@media (max-width: 480px) {
  .rs-results-grid{ grid-template-columns: 1fr; }
}

/* JS hook — animate perf bars on scroll */
.rs-perf-animate .rs-perf-fill { /* width set by JS */ }

/* ============================================================
   END RESULTS PAGE
   ============================================================ */

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .partners-grid-full { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none !important; }
  .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .articles-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item:not(:last-child)::after { display: none; }
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 0.5rem;
  }
  .nav-menu.open .nav-cta { display: block; margin: 0.5rem 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  /* timeline responsive handled in timeline.css */
  .blog-layout { grid-template-columns: 1fr; }
  .blog-card { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-meta-sep { display: none; }
  .partners-grid-full { grid-template-columns: 1fr; }
  .hero-float-card { display: none; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  h1 { font-size: 2rem; }
}

/* ============================================================
   LIGHT THEME OVERRIDES — Clean healthcare/pharmacy aesthetic
   Replaces dark AI navy sections with clean whites + teal
   ============================================================ */

/* ---- Updated CSS root overrides ---- */
:root {
  --teal:       #2ABFBF;
  --teal-dark:  #1E9E9E;
  --teal-light: #E8F9F9;
  --navy:       #1A4F7A;
  --navy-dark:  #0F3352;
  --white:      #FFFFFF;
  --light:      #F7FAFB;
  --mid:        #E8EFF5;
  --text:       #1C2B3A;
  --muted:      #6B8499;
  --border:     #D6E4EE;
}

/* ---- Light Hero ---- */
.hero--light {
  background: linear-gradient(135deg, #F7FAFB 0%, #EBF4F8 50%, #E3F5F5 100%) !important;
  min-height: 100vh;
  padding-top: 72px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero--light::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(42,191,191,0.14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero--light::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,79,122,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero--light h1 {
  color: var(--navy) !important;
  margin-bottom: 1.5rem;
}
.hero--light .lead {
  color: var(--muted) !important;
}

/* ---- Hero title typewriter highlight ---- */
.hero-typewriter {
  color: var(--teal);
}
.hero-title-sub {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.72em;
}

/* ---- Hero badge (light) ---- */
.hero-badge-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(42,191,191,0.1);
  border: 1px solid rgba(42,191,191,0.3);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

/* ---- Tech stack (light) ---- */
.tech-stack-light {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}
.tech-badge-light {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* ---- Hero visual (light) ---- */
.hero-visual-light {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hero-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hero-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.hero-info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.hero-info-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.hero-info-title {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.hero-info-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.hero-image-placeholder {
  background: var(--teal-light);
  border: 2px dashed rgba(42,191,191,0.3);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  color: var(--teal-dark);
}
.hero-image-placeholder span { font-size: 3rem; display: block; margin-bottom: 0.5rem; }
.hero-image-placeholder p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---- AI Cards (light version) ---- */
.ai-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}
.ai-card--light {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.ai-card--light:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(42,191,191,0.3);
}
.ai-card--light .ai-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.ai-card--light h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.ai-card--light p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ---- How it works steps ---- */
.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.how-step {
  flex: 1;
  min-width: 200px;
  max-width: 220px;
  text-align: center;
  padding: 2rem 1rem;
}
.how-step-num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.how-step-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.how-step h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.how-step p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.how-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--teal);
  opacity: 0.4;
  padding-top: 3.5rem;
  flex-shrink: 0;
}

/* ---- Override dark AI hero from ai-theme.css ---- */
.hero:not(.hero--light) {
  /* keep dark AI hero for any non-homepage use */
}
/* Force light styles on homepage hero */
.hero.hero--light {
  background: linear-gradient(135deg, #F7FAFB 0%, #EBF4F8 50%, #E3F5F5 100%) !important;
}
.hero.hero--light h1 { color: var(--navy) !important; text-shadow: none !important; }
.hero.hero--light .lead { color: var(--muted) !important; }
.hero.hero--light .btn-outline {
  border-color: var(--teal) !important;
  color: var(--teal) !important;
}
.hero.hero--light .btn-outline:hover {
  background: var(--teal) !important;
  color: var(--white) !important;
}

/* ---- Responsive: hide hero arrows on mobile ---- */
@media (max-width: 768px) {
  .hero-cards-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .hero-visual-light { display: none !important; }
  .how-steps { flex-direction: column; align-items: center; }
  .how-step-arrow { display: none; }
  .ai-cards-grid { grid-template-columns: 1fr; }
  .how-step { max-width: 100%; }
}
@media (max-width: 480px) {
  .hero-cards-grid { grid-template-columns: 1fr; }
}

/* ─── Plán obnovy section ─────────────────────────────────── */
.poo-section {
  background: #f4f7fb;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 100px 0;
  color: var(--dark);
}
.poo-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.poo-text { flex: 1; min-width: 260px; }
.poo-text h2 { color: var(--dark); margin-bottom: 1rem; }
.poo-text p { color: var(--gray); line-height: 1.7; }
.poo-logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}
.poo-logo { height: 45px; width: auto; object-fit: contain; }
.poo-logo--eu { height: 45px; }

/* ─── Footer POO logos ────────────────────────────────────── */
.footer-poo-col { display: flex; align-items: flex-start; }
.footer-poo-logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}
.footer-poo-logo { height: 50px; width: auto; object-fit: contain; opacity: 0.85; }
.footer-poo-logo--eu { height: 50px; }

@media (max-width: 768px) {
  .poo-inner { flex-direction: column; text-align: center; }
  .poo-section { padding: 70px 0; }
  .poo-logos { flex-direction: row; justify-content: center; }
  .footer-poo-logos { justify-content: center; }
}
