/* ================================================
   ORIT AZULAY – Portfolio Site
   Clean modern RTL Hebrew design
   ================================================ */

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

:root {
  /* Logo-matched palette – primary = logo teal #78c8c8, accent = logo green #a0c828 */
  --primary:       #3a9999;
  --primary-dark:  #2d7a7a;
  --primary-light: #dff5f5;
  --accent:        #7aaa10;
  --accent-dark:   #5e8a0a;
  --accent-light:  #eef6d4;
  --purple:        #6C7BE8;
  --green:         #22C55E;
  --dark:          #1a2e2e;
  --text:          #2e4040;
  --text-muted:    #607070;
  --bg:            #f6fafa;
  --bg-alt:        #ecf5f5;
  --white:         #FFFFFF;
  --border:        #cce5e5;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 12px 40px rgba(0,0,0,.13);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    .22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', sans-serif;
  direction: rtl;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.section { padding: 80px 0; }

/* ── TYPOGRAPHY ─────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .section-subtitle { margin: 0 auto; }

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: 'Heebo', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(58,153,153,.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58,153,153,.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,211,102,.3);
  margin-top: 8px;
}
.btn-whatsapp:hover {
  background: #1FB858;
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ── HEADER / NAV ───────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(250,250,247,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
}
.logo-tagline {
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links li a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--primary); background: var(--primary-light); }

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 9px 22px !important;
  font-weight: 600 !important;
  box-shadow: 0 3px 10px rgba(58,153,153,.3);
}
.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(58,153,153,.4) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .3s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO ───────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding: 120px 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  max-width: 1160px;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.hero-pretitle {
  font-size: .9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 14px;
  background: var(--primary-light);
  display: block;
  text-align: center;
  padding: 5px 14px;
  border-radius: 20px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-image { position: relative; }

.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-alt);
  box-shadow: var(--shadow-lg);
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-img-wrap.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.hero-img-wrap.img-placeholder::after { content: '👩‍🏫'; }

.hero-badge {
  position: absolute;
  bottom: 28px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border);
}
.badge-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.badge-text {
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── STATS STRIP ────────────────────────────── */
.stats-strip {
  background: var(--dark);
  color: var(--white);
  padding: 28px 24px;
}
.stats-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat strong {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat span {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  font-weight: 400;
}

/* ── ABOUT ──────────────────────────────────── */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.about-img-wrap.img-placeholder { display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.about-img-wrap.img-placeholder::after { content: '👩'; }

.about-quote {
  background: var(--primary-light);
  border-right: 4px solid var(--primary);
  padding: 14px 18px;
  margin-top: 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.about-quote p {
  font-size: .95rem;
  color: var(--primary-dark);
  font-style: italic;
  font-weight: 500;
}

.about-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.about-text strong { color: var(--text); }

.credentials {
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.credentials li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--text);
}
.credentials li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--primary);
  stroke: var(--primary);
}

/* ── SERVICES ───────────────────────────────── */
.services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition);
  cursor: default;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.service-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.service-features span {
  font-size: .75rem;
  background: var(--bg);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
  border: 1px solid var(--border);
}

.service-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--transition);
}
.service-link:hover { color: var(--primary-dark); }

/* ── WORKSHOPS HIGHLIGHT ────────────────────── */
.workshops-highlight {
  background: var(--dark);
  padding: 80px 0;
  color: var(--white);
}

.workshops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.workshop-text .section-label {
  color: var(--white);
  background: rgba(255,255,255,.12);
}
.workshop-text .section-title { color: var(--white); }
.workshop-text p { color: rgba(255,255,255,.72); line-height: 1.8; margin-bottom: 28px; }

.workshop-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.workshop-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.wl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}
.workshop-list strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 2px;
}
.workshop-list span { font-size: .85rem; color: rgba(255,255,255,.6); }

.workshop-image { position: relative; }
.workshop-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: brightness(.85);
}
.workshop-image.img-placeholder { min-height: 300px; background: rgba(255,255,255,.1); border-radius: var(--radius-lg); }
.workshop-image.img-placeholder::after { content: '💻'; font-size: 5rem; display: flex; align-items: center; justify-content: center; height: 100%; }

.workshop-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--white);
  color: var(--dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-md);
}
.workshop-badge svg { width: 16px; height: 16px; }

/* ── TESTIMONIALS ───────────────────────────── */
.testimonials { background: var(--bg-alt); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stars {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-weight: 700;
  color: var(--dark);
  font-size: .95rem;
}
.testimonial-author span { font-size: .8rem; color: var(--text-muted); }

/* ── CONTACT ────────────────────────────────── */
.contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-info > p { color: var(--text-muted); line-height: 1.8; margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
  background: var(--bg);
}
.contact-item:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateX(-4px);
}
a.contact-item:hover { color: var(--primary); }

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }

.contact-item strong { display: block; font-weight: 700; color: var(--dark); }
.contact-item span { font-size: .82rem; color: var(--text-muted); }

/* Form */
.contact-form-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.contact-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Heebo', sans-serif;
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  direction: rtl;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(58,153,153,.12); }

.form-note {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-success h3 { color: var(--dark); margin-bottom: 10px; font-size: 1.4rem; }
.form-success p { color: var(--text-muted); }

/* ── FOOTER ─────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 52px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.footer-tagline { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.footer-location { font-size: .82rem; color: rgba(255,255,255,.4); }

.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a, .footer-contact a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }

.footer-bottom {
  padding: 18px 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }

  /* Nav */
  .nav-container { position: relative; justify-content: flex-start; }
  .hamburger { display: flex; position: absolute; left: 24px; top: 50%; transform: translateY(-50%); }
  .logo { align-items: flex-start; }
  .nav-links {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all .3s ease;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; padding: 11px 16px; }
  .nav-cta { margin-top: 8px; display: inline-flex !important; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 100px 24px 56px;
    text-align: center;
  }
  .hero-logo-img { margin: 0 auto; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .hero-image { order: -1; max-width: 340px; margin: 0 auto; }
  .hero-badge { right: 0; }
  .hero-img-wrap { aspect-ratio: 1; }

  /* Stats */
  .stats-inner { flex-wrap: nowrap; gap: 6px; justify-content: space-between; padding: 0 4px; }
  .stat { flex: 1; min-width: 0; }
  .stat strong { font-size: 1.1rem; }
  .stat span { font-size: .6rem; line-height: 1.25; text-align: center; }

  /* Section header – align right on mobile like other section labels */
  .section-header { text-align: right; }
  .section-header .section-subtitle { margin: 0; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-image { max-width: 320px; margin: 0 auto; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Workshops */
  .workshops-grid { grid-template-columns: 1fr; gap: 40px; }
  .workshop-image { order: -1; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form-wrap { padding: 28px 20px; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .btn { padding: 11px 22px; font-size: .9rem; }
}

/* ── SCROLL ANIMATIONS ──────────────────────── */
/* Only animate when JS has confirmed IntersectionObserver is supported */
.js-loaded .fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.js-loaded .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── PAGE HERO (articles / inner pages) ─────── */
.page-hero {
  padding: 100px 0 56px;
  margin-top: 68px;
}
.page-hero .container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── ARTICLES LISTING GRID ──────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  color: var(--text);
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.ac-image {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-alt);
  overflow: hidden;
}
.ac-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.article-card:hover .ac-image img { transform: scale(1.04); }
.ac-image.ac-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
}
.ac-image.ac-img-placeholder::after { content: attr(data-letter); }

.ac-color-bar {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 4px;
}

.ac-body {
  padding: 22px 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ac-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.ac-body p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 14px;
}
.ac-link {
  font-size: .85rem;
  font-weight: 600;
  transition: opacity var(--transition);
}
.article-card:hover .ac-link { opacity: .75; }

/* ── ARTICLE MINI STRIP (home) ──────────────── */
.articles-strip { background: var(--white); }

.art-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.art-mini {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  transition: all var(--transition);
  color: var(--text);
}
.art-mini:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.art-mini-bar {
  width: 5px;
  flex-shrink: 0;
}
.art-mini-body {
  padding: 18px 16px;
  flex: 1;
}
.art-mini-body h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.4;
}
.art-mini-body p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.art-mini-link {
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
}

/* ── INDIVIDUAL ARTICLE LAYOUT ──────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 72px;
  align-items: start;
}

.article-content { min-width: 0; }

.ac-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  aspect-ratio: 16/7;
  background: var(--bg-alt);
}
.ac-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--text);
}
.article-body p {
  margin-bottom: 20px;
}
.article-body h2, .article-body h3 {
  font-weight: 700;
  color: var(--dark);
  margin: 32px 0 12px;
  line-height: 1.35;
}
.article-body h2 { font-size: 1.4rem; }
.article-body h3 { font-size: 1.15rem; }
.article-body strong { color: var(--dark); font-weight: 700; }
.article-body ul, .article-body ol {
  margin: 0 24px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-body li { line-height: 1.7; }
.article-body blockquote {
  border-right: 4px solid var(--primary);
  padding: 12px 18px;
  background: var(--primary-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--primary-dark);
  font-weight: 500;
}

.article-cta {
  background: linear-gradient(135deg, var(--primary-light), #fff);
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 40px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.article-cta p {
  font-weight: 500;
  color: var(--primary-dark);
  flex: 1;
}

.art-nav-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.art-nav-btn {
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary);
  padding: 9px 18px;
  border: 1.5px solid var(--primary);
  border-radius: 50px;
  transition: all var(--transition);
}
.art-nav-btn:hover { background: var(--primary); color: var(--white); }

/* ── ARTICLE SIDEBAR ────────────────────────── */
.article-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
}
.sidebar-card h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.sidebar-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.sidebar-card ul li a {
  font-size: .88rem;
  color: var(--text-muted);
  transition: color var(--transition);
  line-height: 1.5;
  display: block;
}
.sidebar-card ul li a:hover { color: var(--primary); }
.sidebar-contact p {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

/* ── RESPONSIVE – articles ──────────────────── */
@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .art-mini-grid  { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .sidebar-card { flex: 1 1 240px; }
}

@media (max-width: 768px) {
  .articles-grid { grid-template-columns: 1fr; }
  .art-mini-grid  { grid-template-columns: 1fr; }
  .page-hero { padding: 90px 0 40px; }
  .article-cta { flex-direction: column; }
  .art-nav-row { justify-content: center; }
}

/* ── LECTURES & WORKSHOPS ───────────────────── */
.lec-how-strip {
  background: var(--dark);
  padding: 28px 24px;
}
.lec-how-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}
.lec-how-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--white);
  text-align: center;
}
.lec-how-icon { font-size: 1.6rem; margin-bottom: 4px; }
.lec-how-item strong { font-size: .95rem; font-weight: 700; }
.lec-how-item span   { font-size: .78rem; color: rgba(255,255,255,.6); }

/* Lecture/Workshop grid */
.lec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.lec-grid-3 { grid-template-columns: repeat(3, 1fr); }

.lec-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--text);
  transition: all var(--transition);
}
.lec-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.lec-card-img {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-alt);
  overflow: hidden;
}
.lec-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.lec-card:hover .lec-card-img img { transform: scale(1.04); }
.lec-card-img.lec-img-placeholder {
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
}
.lec-card-bar {
  position: absolute; bottom: 0; right: 0; left: 0; height: 4px;
}
.lec-badge {
  position: absolute;
  top: 12px; right: 12px;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.lec-card-body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.lec-duration {
  margin-bottom: 8px;
}
.lec-duration span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.lec-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.35;
}
.lec-subtitle-text {
  font-size: .85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}
.lec-excerpt {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}
.lec-link {
  font-size: .85rem;
  font-weight: 700;
  transition: opacity var(--transition);
}
.lec-card:hover .lec-link { opacity: .75; }

/* Format box inside individual page */
.lec-format-box {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 24px 0 32px;
}
.lec-format-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
}
.lf-icon { font-size: 1.1rem; }

/* Contact CTA block in individual pages */
.lec-cta-block {
  background: linear-gradient(135deg, var(--primary-light), #fff);
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 40px 0 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.lec-cta-block p {
  font-weight: 500;
  color: var(--primary-dark);
  flex: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .lec-grid   { grid-template-columns: 1fr 1fr; }
  .lec-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .lec-grid   { grid-template-columns: 1fr; }
  .lec-grid-3 { grid-template-columns: 1fr; }
  .lec-cta-block { flex-direction: column; align-items: flex-start; }
}

/* ── LOGO IMAGE ─────────────────────────────── */
.logo-img-wrap { align-items: center; }
.logo-img {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
.logo-fallback {
  display: none;
  flex-direction: column;
  line-height: 1.2;
}
.logo-fallback .logo-name {
  font-size: 1.15rem; font-weight: 800; color: var(--dark);
}
.logo-fallback .logo-tagline {
  font-size: .72rem; color: var(--text-muted); font-weight: 400;
}

/* ── HERO TITLE SUB-LINE ────────────────────── */
.hero-title-main {
  display: block;
  background: linear-gradient(135deg, var(--primary), #a0c828);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-sub {
  display: block;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 500;
  color: var(--primary);
  margin-top: 4px;
}

/* ── HERO LOGO (in main section) ────────────── */
.hero-logo-brand {
  margin-bottom: 22px;
  display: flex;
  justify-content: center;
}
.hero-logo-img {
  height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.12));
}

/* ── COACHING SECTION ───────────────────────── */
.coaching { background: var(--bg); }
.coaching .about-grid { grid-template-columns: 1.2fr 1fr; }

/* ── PARENTING SECTION ──────────────────────── */
.parenting { background: var(--white); }

/* coaching/parenting process list */
.process-list {
  list-style: none;
  margin: 22px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.process-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--text);
  line-height: 1.6;
}
.process-num {
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* tools tag row */
.tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 28px;
}
.tool-tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: .82rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--primary);
}
.tool-tag-btn {
  font-family: 'Heebo', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
}
.tool-tag-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(58,153,153,.3);
}

/* ── TOOL MODALS ────────────────────────────── */
.tool-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.tool-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.tool-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 44px 40px 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(.97);
  transition: transform .25s ease;
  max-height: 90vh;
  overflow-y: auto;
  direction: rtl;
}
.tool-modal-overlay.open .tool-modal {
  transform: translateY(0) scale(1);
}
.tool-modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .9rem;
  color: var(--text-muted);
  transition: all var(--transition);
  line-height: 1;
}
.tool-modal-close:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}
.tool-modal-img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
  margin: 0 auto 20px;
}
.tool-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 4px;
}
.tool-modal-subtitle {
  font-size: .9rem;
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: .04em;
}
.tool-modal-quote {
  background: var(--primary-light);
  border-right: 4px solid var(--primary);
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--primary-dark);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 20px;
}
.tool-modal-text {
  color: var(--text-muted);
  font-size: .97rem;
  line-height: 1.85;
}
.tool-modal-text p { margin-bottom: 12px; }
.tool-modal-text p:last-child { margin-bottom: 0; }
.tool-modal-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}
@media (max-width: 480px) {
  .tool-modal { padding: 36px 22px 28px; }
  .tool-modal-title { font-size: 1.25rem; }
}

/* coaching image uses same wrap as about */
.coaching .about-img-wrap { aspect-ratio: 4/5; }

@media (max-width: 768px) {
  .coaching .about-grid { grid-template-columns: 1fr; }
  .coaching .about-image { order: 1; }
  .coaching .about-text  { order: 2; }
}
