/* =====================================================
   TAL SHKALIM LAW OFFICE — LIGHT THEME (White + Gold)
   RTL Hebrew — Premium Law Firm
   ===================================================== */

:root {
  --bg:          #ffffff;
  --bg-off:      #f9f7f4;
  --bg-card:     #ffffff;
  --bg-dark:     #0c1020;
  --navy:        #0f1a35;
  --navy-mid:    #1a2f5e;
  --gold:        #b8960c;
  --gold-rich:   #c9a84c;
  --gold-light:  #f0e6c8;
  --gold-pale:   #fdf8ed;
  --text:        #0f1a35;
  --text-mid:    #3d4a63;
  --text-muted:  #7a8299;
  --border:      #e8e4dc;
  --border-gold: rgba(184,150,12,0.3);
  --shadow-sm:   0 2px 12px rgba(15,26,53,0.06);
  --shadow-md:   0 8px 32px rgba(15,26,53,0.1);
  --shadow-gold: 0 8px 32px rgba(184,150,12,0.18);
  --nav-h:       80px;
  --r:           10px;
  --r-lg:        18px;
  --tr:          all 0.28s ease;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Heebo', sans-serif;
  direction: rtl; text-align: right;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: 'Heebo', sans-serif; direction: rtl; }

/* ---------- UTILS ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.gold { color: var(--gold-rich); }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.9rem;
}
.section-tag::before {
  content: ''; display: inline-block;
  width: 28px; height: 2px; background: var(--gold);
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900; line-height: 1.15; color: var(--navy);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1rem; color: var(--text-muted);
  max-width: 580px; margin: 0 auto 3rem; line-height: 1.8;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff;
  font-weight: 700; font-size: 0.92rem;
  padding: 13px 26px; border-radius: var(--r);
  border: 2px solid var(--navy); transition: var(--tr);
}
.btn-primary:hover {
  background: var(--navy-mid); border-color: var(--navy-mid);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-rich); color: #fff;
  font-weight: 700; font-size: 0.92rem;
  padding: 13px 26px; border-radius: var(--r);
  border: 2px solid var(--gold-rich); transition: var(--tr);
}
.btn-gold:hover {
  background: var(--gold); border-color: var(--gold);
  transform: translateY(-2px); box-shadow: var(--shadow-gold);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--navy);
  font-weight: 700; font-size: 0.92rem;
  padding: 12px 24px; border-radius: var(--r);
  border: 2px solid var(--border); transition: var(--tr);
}
.btn-outline:hover {
  border-color: var(--gold-rich); color: var(--gold);
  background: var(--gold-pale);
}
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 7px;
  background: #25d366; color: #fff; font-weight: 700;
  font-size: 0.9rem; padding: 12px 22px; border-radius: var(--r);
  transition: var(--tr);
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-1px); }
.btn-call {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--navy); color: #fff; font-weight: 700;
  font-size: 0.9rem; padding: 12px 22px; border-radius: var(--r);
  transition: var(--tr);
}
.btn-call:hover { background: var(--navy-mid); transform: translateY(-1px); }
.btn-full { width: 100%; justify-content: center; }

/* =====================================================
   NAVBAR
   ===================================================== */
#navbar {
  position: fixed; top: 0; right: 0; left: 0;
  height: var(--nav-h); z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--tr);
}
#navbar.scrolled {
  box-shadow: 0 2px 24px rgba(15,26,53,0.1);
}
.nav-container {
  max-width: 1300px; margin: 0 auto;
  padding: 0 28px; height: 100%;
  display: flex; align-items: center; gap: 1.5rem;
}
.nav-logo a { display: flex; align-items: center; }
.nav-logo img {
  height: 54px; width: auto;
  object-fit: contain;
}
/* Fallback if logo image missing */
.logo-text-fallback { display: flex; flex-direction: column; }
.logo-text-fallback .logo-name { font-size: 1.2rem; font-weight: 900; color: var(--navy); line-height: 1.1; }
.logo-text-fallback .logo-sub  { font-size: 0.58rem; letter-spacing: 0.16em; color: var(--gold); font-weight: 600; text-transform: uppercase; }

.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  margin-right: auto;
}
.nav-link {
  font-size: 0.9rem; font-weight: 600; color: var(--text-muted);
  padding: 8px 14px; border-radius: 7px; transition: var(--tr);
  position: relative;
}
.nav-link:hover { color: var(--navy); }
.nav-link.active { color: var(--navy); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 4px;
  right: 14px; left: 14px; height: 2px;
  background: var(--gold-rich); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--tr); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  background: #ffffff;
  position: relative; overflow: hidden;
}
/* subtle diagonal gold line decoration */
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 42%;
  background: linear-gradient(160deg, var(--gold-pale) 0%, #f5f0e8 60%, #ffffff 100%);
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
  z-index: 0;
}
.hero-container {
  max-width: 1200px; margin: 0 auto; padding: 60px 28px;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 2rem;
  position: relative; z-index: 1;
}
.hero-image {
  display: flex; justify-content: center;
  position: relative;
}
.hero-image-inner {
  position: relative;
  max-width: 430px; width: 100%;
}
.hero-image-inner::before {
  content: '';
  position: absolute;
  bottom: 0; right: 20px; left: 20px;
  height: 60%;
  background: var(--gold-light);
  border-radius: var(--r-lg);
  z-index: 0;
}
.hero-image-inner img {
  position: relative; z-index: 1;
  width: 100%; border-radius: var(--r-lg);
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(15,26,53,0.12));
}
/* Gold accent frame corner */
.hero-frame-corner {
  position: absolute;
  bottom: 16px; left: -16px;
  width: 80px; height: 80px;
  border-bottom: 3px solid var(--gold-rich);
  border-left: 3px solid var(--gold-rich);
  border-radius: 0 0 0 10px;
  z-index: 2;
}
.hero-frame-corner-tr {
  position: absolute;
  top: 16px; right: -16px;
  width: 80px; height: 80px;
  border-top: 3px solid var(--gold-rich);
  border-right: 3px solid var(--gold-rich);
  border-radius: 0 10px 0 0;
  z-index: 2;
}

.hero-content { padding-right: 2rem; }
.hero-badge {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  padding: 5px 16px; border-radius: 50px; margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900; line-height: 1;
  color: var(--navy); margin-bottom: 0.5rem;
}
.hero-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold-rich), var(--gold-light));
  margin: 1.2rem 0; border-radius: 2px;
}
.hero-tagline {
  font-size: 1.1rem; color: var(--text-mid);
  margin-bottom: 0.75rem; line-height: 1.8; font-weight: 400;
}
.hero-sub {
  font-size: 0.88rem; color: var(--text-muted); margin-bottom: 2.5rem;
  display: flex; align-items: center; gap: 6px;
}
.hero-sub i { color: var(--gold); }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* =====================================================
   STATS BAR
   ===================================================== */
.stats-bar {
  background: var(--navy);
  padding: 0;
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  padding: 36px 24px;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.07);
  position: relative;
}
.stat-item:last-child { border-left: none; }
.stat-num {
  font-size: 2.8rem; font-weight: 900;
  color: var(--gold-rich); line-height: 1;
  display: flex; align-items: baseline; justify-content: center; gap: 2px;
}
.stat-num span.plus { font-size: 1.8rem; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-top: 6px; font-weight: 500; }

/* =====================================================
   ABOUT
   ===================================================== */
.about-section {
  padding: 100px 0;
  background: var(--bg-off);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-desc {
  color: var(--text-mid); margin-bottom: 1.25rem;
  font-size: 1rem; line-height: 1.9;
}
.about-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.75rem; margin: 2rem 0 2.5rem;
}
.about-feature {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.88rem; color: var(--text); font-weight: 600;
}
.about-feature i { color: var(--gold-rich); font-size: 0.9rem; }
.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px 22px;
  transition: var(--tr); position: relative; overflow: hidden;
}
.about-card::after {
  content: ''; position: absolute;
  bottom: 0; right: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-rich), var(--gold-light));
  transform: scaleX(0); transition: transform 0.3s ease;
  transform-origin: right;
}
.about-card:hover::after { transform: scaleX(1); }
.about-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.about-card-icon {
  width: 46px; height: 46px; background: var(--gold-pale);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--gold); margin-bottom: 1rem;
}
.about-card h3 { font-size: 0.95rem; font-weight: 800; color: var(--navy); margin-bottom: 0.4rem; }
.about-card p  { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }

/* =====================================================
   SERVICES
   ===================================================== */
.services-section {
  padding: 100px 0;
  background: #fff;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 34px 28px;
  transition: var(--tr); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; right: 0; left: 0; height: 0;
  background: var(--gold-pale);
  transition: height 0.35s ease; z-index: 0;
}
.service-card:hover::before { height: 100%; }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover {
  border-color: var(--gold-rich);
  box-shadow: var(--shadow-gold);
  transform: translateY(-6px);
}
.service-icon {
  width: 58px; height: 58px; background: var(--gold-pale);
  border: 2px solid var(--border-gold); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--gold); margin-bottom: 1.25rem;
  transition: var(--tr);
}
.service-card:hover .service-icon {
  background: var(--gold-rich); color: #fff; border-color: var(--gold-rich);
}
.service-card h3 {
  font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-bottom: 0.7rem;
}
.service-card p {
  font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.25rem;
}
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold); font-size: 0.85rem; font-weight: 700;
  transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }
.services-cta { text-align: center; margin-top: 3rem; }

/* =====================================================
   WHY US (testimonial strip)
   ===================================================== */
.why-section {
  background: var(--navy); padding: 80px 0;
}
.why-section .section-header .section-tag { color: rgba(255,255,255,0.45); }
.why-section .section-header .section-tag::before { background: rgba(255,255,255,0.3); }
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.why-card {
  text-align: center; padding: 28px 16px;
}
.why-icon {
  font-size: 2rem; color: var(--gold-rich); margin-bottom: 1rem; display: block;
}
.why-card h4 { font-size: 0.95rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.why-card p  { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* =====================================================
   ARTICLES
   ===================================================== */
.articles-section { padding: 100px 0; background: var(--bg-off); }
.articles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.article-card {
  background: #fff; border-radius: var(--r-lg);
  overflow: hidden; transition: var(--tr);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(15,26,53,0.12);
}
.article-img {
  height: 210px; overflow: hidden; position: relative;
}
.article-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.article-card:hover .article-img img { transform: scale(1.06); }
.article-cat {
  position: absolute; top: 14px; right: 14px;
  background: var(--gold-rich); color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 4px 12px;
  border-radius: 50px; letter-spacing: 0.05em;
}
.article-body {
  padding: 26px; flex: 1; display: flex; flex-direction: column;
  border-top: 3px solid var(--gold-pale);
}
.article-date {
  font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.article-body h3 {
  font-size: 1.05rem; font-weight: 800; color: var(--navy);
  margin-bottom: 0.65rem; line-height: 1.5; flex: 1;
}
.article-body p {
  font-size: 0.87rem; color: var(--text-muted);
  line-height: 1.75; margin-bottom: 1.25rem;
}
.article-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold); font-size: 0.85rem; font-weight: 700;
  border-top: 1px solid var(--border); padding-top: 14px;
  transition: gap 0.2s;
}
.article-link:hover { gap: 10px; }
.articles-cta { text-align: center; margin-top: 3rem; }

/* =====================================================
   CONTACT
   ===================================================== */
.contact-section { padding: 100px 0; background: #fff; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start;
}
.contact-side-card {
  background: var(--navy); border-radius: var(--r-lg);
  padding: 36px; color: #fff; margin-bottom: 1.5rem;
}
.contact-side-card h3 {
  font-size: 1.15rem; font-weight: 800; margin-bottom: 1.5rem;
  padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}
.c-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.c-item:last-child { border-bottom: none; }
.c-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,0.07); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-rich); font-size: 1rem;
}
.c-label { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-bottom: 3px; }
.c-val { font-size: 0.92rem; color: #fff; font-weight: 600; }
a.c-val:hover { color: var(--gold-rich); }
.waze-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--gold-rich); font-size: 0.8rem; margin-top: 3px;
}
.wa-card {
  background: linear-gradient(135deg, #075e54, #128c7e);
  border-radius: var(--r-lg); padding: 24px;
}
.wa-card strong { display: block; color: #fff; margin-bottom: 6px; }
.wa-card p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 1rem; }
.wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,0.15); color: #fff; font-weight: 700;
  padding: 12px; border-radius: 8px; border: 2px solid rgba(255,255,255,0.3);
  font-size: 1rem; transition: var(--tr);
}
.wa-btn:hover { background: rgba(255,255,255,0.25); }

/* Contact Form */
.contact-form-wrap {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 700;
  color: var(--text-mid); margin-bottom: 7px;
}
.form-group input,
.form-group textarea {
  width: 100%; background: var(--bg-off);
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 12px 14px; font-size: 0.9rem; color: var(--text);
  outline: none; transition: var(--tr); resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--gold-rich); background: #fff;
  box-shadow: 0 0 0 3px rgba(184,150,12,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-message {
  margin-top: 1rem; padding: 12px 16px;
  border-radius: 8px; font-size: 0.9rem; display: none;
}
.form-message.success { display:block; background:#f0fdf4; border:1px solid #86efac; color:#166534; }
.form-message.error   { display:block; background:#fef2f2; border:1px solid #fca5a5; color:#991b1b; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: var(--bg-dark); padding: 70px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem; padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo img { height: 50px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-logo-text { font-size: 1.15rem; font-weight: 900; color: #fff; margin-bottom: 4px; }
.footer-logo-sub { font-size: 0.6rem; letter-spacing: 0.16em; color: var(--gold-rich); text-transform: uppercase; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.4); line-height: 1.8; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); transition: var(--tr);
}
.footer-social a:hover { background: var(--gold-rich); color: #fff; border-color: var(--gold-rich); }
.footer-col h4 {
  font-size: 0.78rem; font-weight: 800; color: #fff; margin-bottom: 1.25rem;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold-rich); }
.footer-col p { font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-bottom: 0.6rem; display:flex; gap:8px; align-items:center; }
.footer-col p i { color: var(--gold-rich); }
.footer-col p a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-col p a:hover { color: var(--gold-rich); }
.footer-bottom {
  padding: 24px 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.25); }

/* =====================================================
   BACK TO TOP
   ===================================================== */
#backToTop {
  position: fixed; bottom: 28px; left: 28px;
  width: 44px; height: 44px; background: var(--gold-rich); color: #fff;
  border-radius: 50%; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(184,150,12,0.35);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: var(--tr); z-index: 999;
}
#backToTop.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--gold); transform: translateY(-3px); }

/* =====================================================
   ARTICLES PAGE
   ===================================================== */
.page-hero {
  background: var(--navy); padding: 140px 0 60px; text-align: center;
}
.page-hero .section-tag { color: var(--gold-rich); }
.page-hero .section-tag::before { background: var(--gold-rich); }
.page-hero .section-title { color: #fff; }
.page-hero .section-subtitle { color: rgba(255,255,255,0.5); }

.filter-bar { display:flex; gap:0.75rem; flex-wrap:wrap; margin-bottom:3rem; justify-content:center; }
.filter-btn {
  padding: 8px 20px; border-radius: 50px;
  border: 1.5px solid var(--border);
  background: #fff; color: var(--text-muted);
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  font-family: 'Heebo', sans-serif; transition: var(--tr);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold-rich); color: var(--gold);
  background: var(--gold-pale);
}

/* MODAL */
.article-modal { display:none; position:fixed; inset:0; z-index:2000; background:rgba(15,26,53,0.8); backdrop-filter:blur(8px); overflow-y:auto; }
.article-modal.open { display:block; }
.modal-inner { max-width:800px; margin:50px auto 50px; background:#fff; border-radius:var(--r-lg); overflow:hidden; }
.modal-img { width:100%; height:320px; object-fit:cover; }
.modal-body { padding:40px; }
.modal-body h1 { font-size:1.9rem; font-weight:900; color:var(--navy); margin-bottom:0.75rem; line-height:1.3; }
.modal-meta { display:flex; gap:1.5rem; font-size:0.82rem; color:var(--text-muted); margin-bottom:2rem; padding-bottom:1.5rem; border-bottom:1px solid var(--border); }
.modal-content p { color:var(--text-mid); line-height:1.9; margin-bottom:1.25rem; }
.modal-content h2 { font-size:1.3rem; font-weight:800; color:var(--navy); margin:2rem 0 1rem; }
.modal-close {
  position:sticky; top:16px; float:left;
  margin:16px 16px 0 0; width:38px; height:38px;
  background:rgba(15,26,53,0.08); border-radius:50%;
  border:1px solid var(--border); color:var(--text);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:var(--tr); z-index:10;
}
.modal-close:hover { background:var(--navy); color:#fff; }

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

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-container { grid-template-columns: 1fr; padding: 60px 28px 40px; }
  .hero-image { order: 0; max-width: 320px; margin: 0 auto; }
  .hero-content { order: 1; text-align: center; padding-right: 0; }
  .hero-divider { margin: 1.2rem auto; }
  .hero-sub { justify-content: center; }
  .hero-btns { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: var(--nav-h); right: 0; left: 0;
    background: #fff; flex-direction: column;
    padding: 20px; gap: 0.3rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%); opacity: 0;
    pointer-events: none; transition: var(--tr); z-index: 999;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-link { display:block; padding:12px 16px; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .about-visual { grid-template-columns: 1fr 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: 1fr; }
  .stat-item { border-left: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns a { width: 100%; justify-content: center; }
  .about-visual { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .modal-inner { margin: 0; border-radius: 0; }
}
