/* ============================================
   BEE HARMONY JERUSALEM - Design System
   Palette ORRTYL Violet - Design Clair & Moderne
   ============================================ */

/* ============================================
   1. CSS VARIABLES
   ============================================ */
:root {
  --bg-page: #F7F9FC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFBFF;
  --border-card: #E5E7EB;
  --border-light: #F3F4F6;
  --primary: #4F38E0;
  --primary-light: #6B5CE7;
  --primary-bg: #EDE9FE;
  --primary-dim: rgba(79,56,224,0.08);
  --text-dark: #09152B;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --green: #10B981;
  --green-bg: #ECFDF5;
  --green-border: #A7F3D0;
  --orange: #F59E0B;
  --orange-bg: #FFFBEB;
  --orange-border: #FDE68A;
  --blue: #3B82F6;
  --blue-bg: #EFF6FF;
  --blue-border: #BFDBFE;
  --red: #EF4444;
  --red-bg: #FEF2F2;
  --red-border: #FECACA;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hebrew: 'Heebo', 'Inter', sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   3. HEBREW TEXT
   ============================================ */
.he {
  direction: rtl;
  unicode-bidi: isolate;
  font-family: var(--font-hebrew);
}

/* ============================================
   4. SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-card);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ============================================
   5. LAYOUT
   ============================================ */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================================
   6. NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
  height: auto;
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav-logo {
  height: 32px;
}

.nav-brand-text {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-counter {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--primary-bg);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
}

.nav-counter i {
  color: var(--primary);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* --- Mobile nav --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border-card);
    padding: 1rem;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-hamburger {
    display: block;
  }

  .nav-counter {
    display: none;
  }
}

/* ============================================
   7. HERO
   ============================================ */
.hero {
  padding: 7rem 1.25rem 3rem;
  text-align: center;
  background: white;
  border-bottom: 1px solid var(--border-card);
}

.hero-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 1.25rem auto;
  border-radius: 2px;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 0.5rem;
}

.hero-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.hero-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ============================================
   8. CARDS
   ============================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius);
  font-size: 1rem;
  flex-shrink: 0;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Card icon color variants */
.card-icon-green {
  background: var(--green-bg);
  color: var(--green);
}

.card-icon-orange {
  background: var(--orange-bg);
  color: var(--orange);
}

.card-icon-red {
  background: var(--red-bg);
  color: var(--red);
}

.card-icon-blue {
  background: var(--blue-bg);
  color: var(--blue);
}

/* ============================================
   9. SPACING UTILITIES
   ============================================ */
.section-spacing {
  margin-bottom: 1.5rem;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }

.page-content {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* ============================================
   10. TABLES
   ============================================ */
.table-wrap {
  overflow-x: auto;
  margin-top: 0.75rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.info-table th {
  text-align: left;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.6rem 0.75rem;
  border-bottom: 2px solid var(--primary);
  background: var(--primary-dim);
}

.info-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  vertical-align: top;
}

.info-table tr:hover td {
  background: rgba(79, 56, 224, 0.03);
}

.info-table tr:last-child td {
  border-bottom: none;
}

/* ============================================
   11. CHECK LISTS
   ============================================ */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.bullet {
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-top: 0.1rem;
}

.bullet-green   { color: var(--green); }
.bullet-red     { color: var(--red); }
.bullet-orange  { color: var(--orange); }
.bullet-primary { color: var(--primary); }

/* ============================================
   12. NOTICES / ALERTS
   ============================================ */
.notice {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.notice-info {
  background: var(--blue-bg);
  border: 1px solid var(--blue-border);
  color: #1E40AF;
}

.notice-success {
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  color: #065F46;
}

.notice-warning {
  background: var(--orange-bg);
  border: 1px solid var(--orange-border);
  color: #92400E;
}

.notice-danger {
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  color: #991B1B;
}

/* ============================================
   13. BADGES
   ============================================ */
.badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  vertical-align: middle;
}

.badge-orrtyl   { background: #10B981; color: white; }
.badge-ensemble { background: #3B82F6; color: white; }
.badge-vous     { background: #F59E0B; color: white; }

/* ============================================
   14. PHASE GRID
   ============================================ */
.phase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.phase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.phase-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.phase-number {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.phase-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.phase-card .phase-mode {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   15. FLOWCHART
   ============================================ */
.flowchart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  overflow-x: auto;
}

.flow-box {
  background: var(--primary-bg);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  white-space: nowrap;
}

.flow-box.active {
  background: var(--primary);
  color: white;
}

.flow-arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.flow-parallel {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.25rem 0.5rem;
}

/* ============================================
   16. ACCORDION
   ============================================ */
.accordion {
  margin-bottom: 1rem;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.3s;
  user-select: none;
}

.accordion-header:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.accordion-header.open {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: var(--primary);
  background: var(--primary-dim);
}

.accordion-header .phase-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.accordion-header .phase-num {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.accordion-header .phase-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}

.accordion-header .phase-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.accordion-header .chevron {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.accordion-header.open .chevron {
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--primary);
  border-top: none;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

.accordion-body.open {
  display: block;
}

/* ============================================
   17. AXES CARDS
   ============================================ */
.axes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.axe-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 1.25rem;
  border-left: 3px solid var(--primary);
}

.axe-card.vision {
  border-left-color: var(--text-muted);
  opacity: 0.85;
}

.axe-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.axe-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================
   18. PRICE HIGHLIGHT
   ============================================ */
.price-highlight {
  text-align: center;
  padding: 2rem 0;
}

.price-amount {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  color: var(--primary);
}

.price-period {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
}

.price-detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ============================================
   19. CTA BUTTONS
   ============================================ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.btn-cta:hover {
  background: var(--primary-light);
  color: white;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-cta-outline:hover {
  background: var(--primary-bg);
  color: var(--primary);
}

/* ============================================
   20. VALIDATION WIDGETS
   ============================================ */
.validation-widget {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.valid-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  background: white;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
}

.valid-btn:hover {
  border-color: var(--green);
  color: var(--green);
}

.valid-btn.checked {
  background: var(--green-bg);
  border-color: var(--green);
  color: #065F46;
}

.check-box {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  background: white;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
}

.comment-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.comment-btn.has-comment {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-bg);
}

.comment-area {
  display: none;
  width: 100%;
  margin-top: 0.75rem;
}

.comment-area.open {
  display: block;
}

.comment-area textarea {
  width: 100%;
  min-height: 60px;
  padding: 0.6rem;
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.85rem;
  resize: vertical;
  outline: none;
  transition: border-color 0.3s;
}

.comment-area textarea:focus {
  border-color: var(--primary);
}

/* ============================================
   21. FOOTER
   ============================================ */
.footer {
  text-align: center;
  padding: 3rem 1.25rem;
  background: white;
  border-top: 1px solid var(--border-card);
  margin-top: 3rem;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-top: 0.5rem;
}

.footer-company {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.footer-info {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.8;
}

/* ============================================
   22. WHATSAPP FAB
   ============================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 50;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
  color: white;
}

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

.animate-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   24. LOGO PLACEHOLDER
   ============================================ */
.logo-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.logo-placeholder-sm {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* ============================================
   25. RESPONSIVE
   ============================================ */
/* ============================================
   MOBILE FIRST - 640px
   ============================================ */
@media (max-width: 640px) {
  .card {
    padding: 1rem;
    border-radius: 8px;
  }

  .phase-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .phase-card {
    padding: 0.85rem;
  }

  .phase-number {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .phase-card h4 {
    font-size: 0.8rem;
  }

  .axes-grid {
    grid-template-columns: 1fr;
  }

  /* Tables : stacked layout on mobile */
  .info-table,
  .info-table thead,
  .info-table tbody,
  .info-table tr,
  .info-table td,
  .info-table th {
    display: block;
    width: 100%;
  }

  .info-table thead {
    display: none;
  }

  .info-table tr {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--bg-page);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--primary);
  }

  .info-table td {
    padding: 0.3rem 0;
    border-bottom: none;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .info-table td:before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    font-size: 0.7rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.15rem;
  }

  .info-table td:first-child {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-dark);
    padding-bottom: 0.15rem;
  }

  .price-amount {
    font-size: 2.2rem;
  }

  .btn-cta,
  .btn-cta-outline {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 5rem 1rem 2rem;
  }

  /* Accordion mobile */
  .accordion-header {
    padding: 0.85rem 1rem;
  }

  .accordion-header .phase-num {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .accordion-header .phase-title {
    font-size: 0.9rem;
  }

  .accordion-body {
    padding: 0.85rem;
  }

  /* Flowchart mobile : wrap */
  .flowchart {
    padding: 1rem;
    gap: 0.35rem;
  }

  .flow-box {
    font-size: 0.7rem;
    padding: 0.35rem 0.6rem;
  }

  .flow-arrow {
    font-size: 0.9rem;
  }

  /* Badges mobile */
  .badge {
    font-size: 0.6rem;
    padding: 0.1rem 0.4rem;
  }

  /* Notices mobile */
  .notice {
    font-size: 0.8rem;
    padding: 0.7rem 0.8rem;
  }

  /* Validation widget mobile */
  .validation-widget {
    flex-wrap: wrap;
  }

  /* Footer mobile */
  .footer {
    padding: 2rem 1rem;
  }

  .footer-info {
    font-size: 0.7rem;
  }

  /* Container padding */
  .container,
  .container-wide {
    padding: 0 0.85rem;
  }

  .section-spacing {
    margin-bottom: 1rem;
  }
}

/* ============================================
   VERY SMALL - 380px
   ============================================ */
@media (max-width: 380px) {
  .phase-grid {
    grid-template-columns: 1fr;
  }

  .flowchart {
    flex-direction: column;
    align-items: stretch;
  }

  .flow-box {
    text-align: center;
  }

  .flow-arrow {
    text-align: center;
    transform: rotate(90deg);
  }
}
