/*
Theme Name: up-digital
Theme URI: https://up-digital.co.il/
Author: up-digital Team
Author URI: https://up-digital.co.il/
Description: תבנית פרימיום יוקרתית וסמכותית לקידום אתרים למשרדי עורכי דין ופירמות משפטיות. עיצוב המשלב יוקרה משפטית, בינה מלאכותית, שיווק דיגיטלי מתקדם, עמידה בכללי האתיקה ונגישות WCAG.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: up-digital
Tags: lawyer-seo, legal-marketing, law-firm, seo, digital-agency, modern, responsive, accessibility, rtl
*/

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600;700;800&family=Heebo:wght@400;500;700;800;900&display=swap');

:root {
  --primary: #0284C7;         /* High-tech Cyan/Blue */
  --primary-dark: #0369A1;
  --secondary: #0A0E17;       /* Midnight Obsidian */
  --navy: #0F172A;            /* Deep Legal Navy */
  --gold: #D4AF37;            /* Prestige Legal Gold */
  --gold-hover: #B89628;
  --gold-light: #FEF3C7;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-light: #E2E8F0;
  --whatsapp: #25D366;
  --whatsapp-hover: #20BD5A;
  --shadow-sm: 0 2px 6px rgba(10, 14, 23, 0.04);
  --shadow-md: 0 10px 25px rgba(10, 14, 23, 0.08);
  --shadow-lg: 0 20px 45px rgba(10, 14, 23, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-heading: 'Heebo', sans-serif;
  --font-body: 'Assistant', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  direction: rtl;
  text-align: right;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TOP ANNOUNCEMENT BAR */
.top-bar {
  background: #060911;
  color: #94A3B8;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.top-bar-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #E2E8F0;
}
.top-bar-notice span.badge {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
}
.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-bar-wa-link {
  color: var(--whatsapp);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-bar-wa-link:hover {
  text-decoration: underline;
}

/* SITE HEADER */
.site-header {
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 990;
  border-bottom: 2px solid var(--border-light);
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--secondary) 0%, #1E293B 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(10, 14, 23, 0.25);
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.logo-text span {
  color: var(--gold);
}
.logo-tagline {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* NAVIGATION */
.main-nav {
  display: flex;
  align-items: center;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-menu li a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  padding: 6px 4px;
  position: relative;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item > a {
  color: var(--gold);
}
.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.nav-menu li a:hover::after,
.nav-menu li.current-menu-item > a::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-header-btn {
  background: var(--whatsapp);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.2s;
}
.wa-header-btn:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--secondary);
  cursor: pointer;
}

/* HERO SECTION - LUXURY LEGAL TECH */
.legal-hero {
  position: relative;
  background: linear-gradient(135deg, #0A0E17 0%, #111827 50%, #0F172A 100%);
  color: #FFFFFF;
  padding: 65px 0 85px;
  overflow: hidden;
  margin-bottom: 50px;
}
.legal-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 75% 25%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-text-content {
  display: flex;
  flex-direction: column;
}
.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #FDE68A;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  align-self: flex-start;
}
.hero-heading {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-heading span {
  background: linear-gradient(90deg, #FDE68A 0%, var(--gold) 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 18px;
  color: #E2E8F0;
  line-height: 1.65;
  margin-bottom: 26px;
}
.hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #F8FAFC;
}
.hero-bullet-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--gold);
  color: #0A0E17;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}

/* HERO AUDIT & CONTACT FORM (PROTECTED BACKEND SUBMISSION) */
.hero-form-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  color: var(--text-main);
  border: 1px solid rgba(212, 175, 55, 0.3);
}
.hero-form-box h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 6px;
}
.hero-form-box p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.audit-form-group {
  margin-bottom: 15px;
}
.audit-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.audit-input, .audit-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  background: #F8FAFC;
  transition: border-color 0.2s, background 0.2s;
}
.audit-input:focus, .audit-select:focus {
  border-color: var(--gold);
  background: #FFFFFF;
}

/* MANDATORY PRIVACY CHECKBOX */
.privacy-checkbox-wrap {
  margin: 18px 0 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.privacy-checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--gold);
}
.privacy-checkbox-wrap a {
  color: var(--navy);
  text-decoration: underline;
  font-weight: 700;
}

.audit-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
  color: #0A0E17;
  border: none;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}
.audit-submit-btn:hover {
  background: linear-gradient(135deg, #E5C358 0%, var(--gold) 100%);
  transform: translateY(-2px);
}

/* SECTION HEADER STYLES */
.section-intro-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}
.section-badge-gold {
  display: inline-block;
  background: var(--gold-light);
  color: #92400E;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}
.section-h2-title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 12px;
}
.section-subtitle-p {
  font-size: 17px;
  color: var(--text-muted);
}

/* 4 STRATEGIC PILLARS FOR LAWYER SEO */
.legal-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.legal-pillar-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
}
.legal-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.pillar-number {
  position: absolute;
  top: 18px;
  left: 20px;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  color: #E2E8F0;
}
.pillar-icon-symbol {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}
.pillar-heading {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 10px;
}
.pillar-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* SHOWCASE SPLIT SECTIONS WITH WEBP IMAGES */
.content-showcase-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 60px;
}
.showcase-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.showcase-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  aspect-ratio: 16/10;
}
.showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-text-col h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 16px;
  line-height: 1.3;
}
.showcase-text-col p {
  font-size: 16px;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* LEGAL NICHES GRID */
.niches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}
.niche-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.niche-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.niche-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #F1F5F9;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.niche-item:hover .niche-icon {
  background: var(--gold);
  color: #0A0E17;
}
.niche-info h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
}
.niche-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* PROCESS WORKFLOW (4 STEPS) */
.workflow-section {
  background: #0A0E17;
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  margin-bottom: 60px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
}
.step-badge {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.step-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.55;
}

/* FAQ SECTION */
.legal-faq-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 60px;
}
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-row {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-row.active {
  border-color: var(--gold);
}
.faq-q-btn {
  background: #F8FAFC;
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 17px;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background 0.2s;
}
.faq-q-btn:hover {
  background: #F1F5F9;
}
.faq-icon-sign {
  font-size: 20px;
  color: var(--gold);
  font-weight: 700;
  transition: transform 0.25s ease;
}
.faq-row.active .faq-icon-sign {
  transform: rotate(45deg);
}
.faq-ans-body {
  display: none;
  padding: 20px 22px;
  font-size: 16px;
  color: #334155;
  line-height: 1.7;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
}
.faq-row.active .faq-ans-body {
  display: block;
  animation: faqOpen 0.25s ease-out;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RECENT ARTICLES (NO DATES!) */
.recent-articles-wrap {
  margin-bottom: 60px;
}
.articles-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 26px;
}
.article-preview-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.article-preview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.article-preview-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0A0E17;
}
.article-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.article-preview-card:hover .article-preview-thumb img {
  transform: scale(1.05);
}
.article-preview-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-preview-cat {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}
.article-preview-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.35;
  margin-bottom: 10px;
}
.article-preview-title a:hover {
  color: var(--gold);
}
.article-preview-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.article-preview-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--gold-hover);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.article-preview-link:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* SINGLE POST 2-COLUMN LAYOUT & SIDEBAR (NO DATES!) */
.single-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
  margin: 30px auto 50px;
}
.single-main-column {
  min-width: 0;
}
.single-post-wrapper {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.single-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.recent-posts-widget {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.recent-posts-widget .widget-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-light);
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.recent-posts-widget .widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 45px;
  height: 2px;
  background: var(--gold);
}
.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.recent-post-item {
  display: flex;
  gap: 14px;
  align-items: center;
  transition: transform 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.recent-post-item:hover {
  transform: translateX(-4px);
}
.recent-post-thumb {
  width: 75px;
  height: 65px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #0A0E17;
}
.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.recent-post-item:hover .recent-post-thumb img {
  transform: scale(1.08);
}
.recent-post-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.recent-post-cat {
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
}
.recent-post-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recent-post-item:hover .recent-post-title {
  color: var(--gold);
}

.single-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 20px;
}
.single-category-badge {
  display: inline-block;
  background: var(--gold-light);
  color: #92400E;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.single-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 16px;
}
.single-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
}
.single-featured-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
}

/* MANDATORY RULE: ALL LINKS IN POST BODY MUST BE BLUE AND UNDERLINED */
.entry-content {
  font-size: 18px;
  line-height: 1.8;
  color: #1E293B;
}
.entry-content p {
  margin-bottom: 20px;
}
.entry-content h2, .entry-content h3 {
  font-family: var(--font-heading);
  color: var(--secondary);
  margin: 30px 0 14px;
  font-weight: 800;
}
.entry-content ul, .entry-content ol {
  margin: 0 24px 20px 0;
}
.entry-content li {
  margin-bottom: 8px;
}

.entry-content a,
.single-post-body a {
  color: #0066cc !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
  transition: color 0.15s ease;
}
.entry-content a:hover {
  color: #004499 !important;
}

/* LEGAL ETHICS & SEO CALLOUT */
.legal-callout-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-right: 4px solid var(--gold);
  padding: 22px;
  border-radius: var(--radius-md);
  margin: 26px 0;
}
.legal-callout-box h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #92400E;
  margin-bottom: 8px;
}
.legal-callout-box p {
  margin: 0;
  font-size: 15px;
  color: #78350F;
  line-height: 1.6;
}

/* FOOTER (3 COLUMNS + BOTTOM LINE WITH 6 MANDATORY LINKS) */
.site-footer {
  background: #0A0E17;
  color: #94A3B8;
  margin-top: 60px;
  border-top: 4px solid var(--gold);
  font-size: 14px;
}
.footer-top {
  padding: 60px 0 40px;
}
.footer-grid-3col {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 2px;
  background: var(--gold);
}
.footer-about p {
  line-height: 1.7;
  margin-bottom: 16px;
  color: #CBD5E1;
}
.footer-links-list {
  list-style: none;
}
.footer-links-list li {
  margin-bottom: 10px;
}
.footer-links-list li a {
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links-list li a:hover {
  color: #FFFFFF;
  transform: translateX(-4px);
}

/* FOOTER BOTTOM BAR (UPDATED 6 MANDATORY LINKS) */
.footer-bottom {
  background: #060911;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-mandatory-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.footer-mandatory-links a {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-mandatory-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}
.footer-copy {
  color: #64748B;
}

/* FLOATING WHATSAPP BUTTON (NO NUMBER SHOWN) */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99998;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: var(--whatsapp);
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}
.floating-whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* ACCESSIBILITY TOOLBAR (WCAG) */
.acc-floating-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99999;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--secondary);
  color: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.acc-floating-btn:hover {
  transform: scale(1.1);
  background: #1E293B;
}
.acc-drawer {
  position: fixed;
  bottom: 86px;
  left: 24px;
  z-index: 99999;
  width: 320px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  border: 1px solid var(--border-light);
  padding: 20px;
  display: none;
  direction: rtl;
  text-align: right;
}
.acc-drawer.active {
  display: block;
  animation: accFadeIn 0.2s ease-out;
}
@keyframes accFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.acc-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 17px;
  color: var(--secondary);
}
.acc-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-muted);
}
.acc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.acc-btn {
  background: #F1F5F9;
  border: 1px solid var(--border-light);
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}
.acc-btn:hover, .acc-btn.active {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--gold);
}
.acc-btn-reset {
  grid-column: span 2;
  background: #E2E8F0;
  color: var(--secondary);
  margin-top: 6px;
}

/* ACCESSIBILITY CLASSES APPLIED TO BODY */
body.acc-font-lg { font-size: 20px !important; }
body.acc-font-xl { font-size: 23px !important; }
body.acc-high-contrast {
  background: #000000 !important;
  color: #FFFFFF !important;
}
body.acc-high-contrast .site-header,
body.acc-high-contrast .legal-pillar-card,
body.acc-high-contrast .content-showcase-box,
body.acc-high-contrast .legal-faq-box,
body.acc-high-contrast .article-preview-card,
body.acc-high-contrast .single-post-wrapper {
  background: #111111 !important;
  color: #FFFFFF !important;
  border-color: #555555 !important;
}
body.acc-high-contrast a { color: #FFFF00 !important; }
body.acc-grayscale { filter: grayscale(100%) !important; }
body.acc-invert { filter: invert(100%) !important; }
body.acc-readable-font { font-family: Arial, sans-serif !important; }
body.acc-highlight-links a {
  background: #FEF08A !important;
  color: #854D0E !important;
  text-decoration: underline !important;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
  }
  .showcase-2col {
    grid-template-columns: 1fr;
  }
  .single-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .single-sidebar {
    position: static;
  }
  .footer-grid-3col {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    padding: 20px;
    box-shadow: var(--shadow-md);
    border-bottom: 2px solid var(--border-light);
  }
  .main-nav.active {
    display: block;
  }
  .nav-menu {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero-heading {
    font-size: 30px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .content-showcase-box, .legal-faq-box, .workflow-section {
    padding: 26px 18px;
  }
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
  .footer-mandatory-links {
    justify-content: center;
  }
}
