/*
Theme Name: Task Shield
Theme URI: https://task-shield.com
Author: م. نجوي إبراهيم
Author URI: https://wa.me/201029095046
Description: قالب احترافي فاخر لشركات مكافحة الحشرات — ذهب غني + أبيض، RTL، كاستمايزر كامل، تحكم في كل شيء من التخصيص، ضغط تلقائي للصور، يدعم حتى 20 خدمة
Version: 3.0.0
Requires at least: 5.6
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: task-shield
Tags: rtl-language, dark, service, one-page, luxury, customizer, arabic
*/

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

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #D4A838;
  --primary-dark: #a07828;
  --primary-light: rgba(212,168,56,0.12);
  --primary-glow: rgba(212,168,56,0.35);
  --bg: #0a0a14;
  --bg-card: #0f0f1c;
  --bg-card2: #131322;
  --border: rgba(255,255,255,0.08);
  --border-gold: rgba(212,168,56,0.25);
  --wa-green: #25D366;
  --text-muted: rgba(255,255,255,0.55);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s ease;
}

/* ===== KEYFRAMES ===== */
@keyframes goldShimmer {
  0%   { background-position: -300% center; }
  100% { background-position: 300% center; }
}
@keyframes floatParticle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.35; }
  50%       { transform: translateY(-16px) scale(1.25); opacity: 0.85; }
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 20px rgba(212,168,56,0.3); }
  50%       { box-shadow: 0 0 40px rgba(212,168,56,0.65), 0 0 60px rgba(212,168,56,0.2); }
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}
@keyframes waFloat {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.65); }
}

/* ===== UTILITIES ===== */
.gold-shimmer {
  background: linear-gradient(90deg, #a07828 0%, #D4A838 22%, #F0D060 40%, #FFFACC 50%, #F0D060 60%, #D4A838 78%, #a07828 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 6s linear infinite;
}
.gold-divider {
  width: 70px; height: 3px;
  background: linear-gradient(90deg, transparent, #D4A838, #F0D060, #D4A838, transparent);
  border-radius: 999px;
  margin: 0 auto 1.25rem;
}
.ts-section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-light);
  border: 1px solid var(--border-gold); border-radius: 999px; padding: 5px 14px;
  margin-bottom: 12px;
}
.ts-bg { background: var(--bg); }
.ts-bg-card { background: var(--bg-card); }
.ts-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .ts-container { padding: 0 40px; } }

/* ===== REVEAL ANIMATION ===== */
.ts-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.ts-reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== SECTION HEADERS ===== */
.ts-section-header { text-align: center; margin-bottom: 56px; }
.ts-section-title {
  font-size: clamp(26px, 4vw, 42px); font-weight: 900; margin-bottom: 10px; line-height: 1.3;
  background: linear-gradient(90deg, #a07828 0%, #D4A838 22%, #F0D060 40%, #FFFACC 50%, #F0D060 60%, #D4A838 78%, #a07828 100%);
  background-size: 300% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: goldShimmer 7s linear infinite;
}
.ts-section-desc { color: var(--text-muted); font-size: 16px; max-width: 600px; margin: 0 auto; line-height: 1.8; }

/* ===== BUTTONS ===== */
.ts-btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary); color: #0a0a14; font-weight: 800; font-size: 16px;
  padding: 14px 30px; border-radius: 50px; border: none; cursor: pointer;
  transition: var(--transition); font-family: 'Tajawal', sans-serif;
  animation: pulseGold 2.5s ease-in-out infinite;
}
.ts-btn-primary:hover { transform: translateY(-2px); opacity: 0.9; animation: none; box-shadow: 0 0 40px var(--primary-glow); }
.ts-btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--wa-green); font-weight: 800; font-size: 16px;
  padding: 14px 30px; border-radius: 50px; border: 2px solid rgba(37,211,102,0.5);
  cursor: pointer; transition: var(--transition); font-family: 'Tajawal', sans-serif;
}
.ts-btn-wa:hover { background: var(--wa-green); color: #fff; transform: translateY(-2px); border-color: var(--wa-green); }
.ts-btn-wa-green {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa-green); color: #fff; font-weight: 800; font-size: 16px;
  padding: 14px 30px; border-radius: 50px; border: none; cursor: pointer;
  transition: var(--transition); font-family: 'Tajawal', sans-serif;
  box-shadow: 0 0 24px rgba(37,211,102,0.3);
}
.ts-btn-wa-green:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 0 36px rgba(37,211,102,0.5); }

/* ===== NAVBAR ===== */
.ts-navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(10,10,20,0.92); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border); padding: 14px 0; transition: var(--transition);
}
.ts-navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ts-logo { font-size: 18px; font-weight: 900; color: var(--primary); white-space: nowrap; line-height: 1; }
.ts-logo img { height: 40px; width: auto; object-fit: contain; }
.ts-nav-links { display: flex; gap: 28px; }
.ts-nav-links a { color: var(--text-muted); font-weight: 500; font-size: 15px; transition: var(--transition); }
.ts-nav-links a:hover { color: #fff; }
.ts-nav-cta { animation: pulseGold 2.5s ease-in-out infinite; }
.ts-nav-cta:hover { opacity: 0.88; transform: translateY(-1px); animation: none; }
.ts-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.ts-hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); display: block; }
.ts-mobile-menu {
  display: none; position: fixed; top: 65px; right: 0; width: 100%;
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 24px; flex-direction: column; gap: 18px; z-index: 999;
}
.ts-mobile-menu.open { display: flex; }
.ts-mobile-menu a { color: #fff; font-size: 17px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--border); }
@media (max-width: 768px) {
  .ts-nav-links, .ts-nav-cta-desktop { display: none; }
  .ts-hamburger { display: flex; }
}

/* ===== HERO ===== */
.ts-hero { position: relative; min-height: 76vh; display: flex; align-items: center; padding: 80px 0 56px; overflow: hidden; }
.ts-hero-slide-bg { position: absolute; inset: 0; z-index: 0; }
.ts-hero-slide-bg img { width: 100%; height: 100%; object-fit: cover; }
.ts-hero-overlay-dark  { position: absolute; inset: 0; z-index: 1; background: rgba(10,10,20,0.78); }
.ts-hero-overlay-fade  { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10,10,20,0.92) 0%, transparent 60%); }
.ts-hero-overlay-glow  { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(212,168,56,0.07) 0%, transparent 70%); }
.ts-particle { position: absolute; border-radius: 50%; background: rgba(212,168,56,0.45); filter: blur(0.5px); animation: floatParticle var(--dur,5s) ease-in-out infinite; animation-delay: var(--del,0s); pointer-events: none; }
.ts-hero-content { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; text-align: center; }
.ts-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-light); border: 1px solid rgba(212,168,56,0.3); color: var(--primary); font-size: 13px; font-weight: 800; padding: 8px 18px; border-radius: 50px; margin-bottom: 20px; }
.ts-hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); animation: dotPulse 1.5s infinite; }
.ts-hero h1 { font-size: clamp(28px, 4.5vw, 52px); font-weight: 900; line-height: 1.2; margin-bottom: 18px; color: #fff; }
.ts-hero h1 .gold { background: linear-gradient(90deg, #a07828 0%, #D4A838 22%, #F0D060 40%, #FFFACC 50%, #F0D060 60%, #D4A838 78%, #a07828 100%); background-size: 300% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: goldShimmer 5s linear infinite; }
.ts-hero-highlight { min-height: 70px; margin-bottom: 10px; position: relative; overflow: hidden; }
.ts-hero-highlight-item { transition: opacity .45s ease, transform .45s ease; }
.ts-hero-highlight-text { font-size: clamp(17px, 2.5vw, 23px); font-weight: 800; color: var(--primary); line-height: 1.3; }
.ts-hero-highlight-sub { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.ts-hero-dots { display: flex; justify-content: center; gap: 6px; margin-bottom: 10px; }
.ts-hero-dot { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.22); cursor: pointer; transition: var(--transition); width: 5px; }
.ts-hero-dot.active { width: 22px; background: var(--primary); box-shadow: 0 0 8px rgba(212,168,56,0.6); }
.ts-hero-desc { color: rgba(255,255,255,0.5); font-size: 15px; margin-bottom: 28px; line-height: 1.8; }
.ts-hero-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.ts-hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ts-hero-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 50px; padding: 6px 14px; }

/* ===== STATS ===== */
.ts-stats { padding: 44px 0; position: relative; overflow: hidden; border-top: 1px solid rgba(212,168,56,0.15); border-bottom: 1px solid rgba(212,168,56,0.15); }
.ts-stats::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 120% at 50% 50%, rgba(212,168,56,0.07) 0%, transparent 70%); pointer-events: none; }
.ts-stats-line { position: absolute; height: 1px; width: 100%; }
.ts-stats-line-top { top: 0; background: linear-gradient(90deg, transparent, rgba(212,168,56,0.5), transparent); }
.ts-stats-line-bot { bottom: 0; background: linear-gradient(90deg, transparent, rgba(212,168,56,0.3), transparent); }
.ts-stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; text-align: center; position: relative; z-index: 1; }
@media (min-width: 768px) { .ts-stats-grid { grid-template-columns: repeat(4,1fr); } }
.ts-stat-icon { font-size: 22px; margin-bottom: 6px; }
.ts-stat-num { font-size: clamp(36px,5vw,52px); font-weight: 900; line-height: 1; margin-bottom: 6px; background: linear-gradient(90deg, #a07828 0%, #D4A838 22%, #F0D060 40%, #FFFACC 50%, #F0D060 60%, #D4A838 78%, #a07828 100%); background-size: 300% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: goldShimmer 6s linear infinite; }
.ts-stat-label { font-size: 13px; font-weight: 500; color: var(--text-muted); }

/* ===== SERVICES ===== */
.ts-services { padding: 96px 0; background: var(--bg-card); }
.ts-services-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .ts-services-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .ts-services-grid { grid-template-columns: repeat(3,1fr); } }
.ts-service-card { background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; position: relative; }
.ts-service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: transparent; transition: background .4s ease; z-index: 2; }
.ts-service-card:hover::before { background: linear-gradient(90deg, transparent, #D4A838, #F0D060, #D4A838, transparent); }
.ts-service-card:hover { transform: translateY(-5px); border-color: rgba(212,168,56,0.35); box-shadow: 0 10px 36px rgba(212,168,56,0.12), 0 2px 10px rgba(0,0,0,0.5); }
.ts-service-card-img { height: 200px; overflow: hidden; position: relative; }
.ts-service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ts-service-card:hover .ts-service-card-img img { transform: scale(1.07); }
.ts-service-card-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,20,0.8), transparent); }
.ts-service-card-body { padding: 20px 22px; }
.ts-service-card-body h3 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 7px; transition: color .3s; }
.ts-service-card:hover .ts-service-card-body h3 { color: var(--primary); }
.ts-service-card-body p { color: var(--text-muted); font-size: 14px; line-height: 1.65; }

/* ===== WHY US ===== */
.ts-why { padding: 96px 0; background: var(--bg); position: relative; overflow: hidden; }
.ts-why::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(212,168,56,0.05) 0%, transparent 70%); pointer-events: none; }
.ts-why-grid { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
@media (min-width: 768px) { .ts-why-grid { grid-template-columns: repeat(2,1fr); } }
.ts-why-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: var(--transition); position: relative; overflow: hidden; }
.ts-why-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at top right, rgba(212,168,56,0.06) 0%, transparent 65%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.ts-why-card:hover::after { opacity: 1; }
.ts-why-card:hover { border-color: rgba(212,168,56,0.4); transform: translateY(-3px); box-shadow: 0 6px 28px rgba(212,168,56,0.1); }
.ts-why-card-inner { display: flex; align-items: flex-start; gap: 18px; }
.ts-why-icon { width: 54px; height: 54px; background: var(--primary-light); border: 1px solid rgba(212,168,56,0.25); border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary); }
.ts-why-text h3 { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.ts-why-text p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ===== TESTIMONIALS ===== */
.ts-testimonials { padding: 80px 0; background: var(--bg-card); border-top: 1px solid rgba(212,168,56,0.1); border-bottom: 1px solid rgba(212,168,56,0.1); position: relative; overflow: hidden; }
.ts-testimonials::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(212,168,56,0.05) 0%, transparent 70%); pointer-events: none; }
.ts-testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
@media (min-width: 768px) { .ts-testimonials-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .ts-testimonials-grid { grid-template-columns: repeat(3,1fr); } }
.ts-testimonial-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: relative; transition: var(--transition); }
.ts-testimonial-card:hover { border-color: rgba(212,168,56,0.2); transform: translateY(-2px); }
.ts-testimonial-card::before { content: '"'; position: absolute; top: 12px; left: 20px; font-size: 56px; color: var(--primary); opacity: 0.15; line-height: 1; font-family: serif; }
.ts-stars { display: flex; gap: 4px; margin-bottom: 14px; }
.ts-star { color: var(--primary); font-size: 16px; }
.ts-testimonial-text { color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.85; margin-bottom: 18px; }
.ts-testimonial-author { display: flex; align-items: center; gap: 12px; }
.ts-testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); border: 2px solid rgba(212,168,56,0.4); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--primary); font-size: 17px; flex-shrink: 0; }
.ts-testimonial-name { font-weight: 700; font-size: 14px; }
.ts-testimonial-role { color: var(--text-muted); font-size: 12px; }

/* ===== PRICING ===== */
.ts-pricing { padding: 96px 0; background: var(--bg); }
.ts-pricing-grid { display: grid; grid-template-columns: 1fr; gap: 22px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 768px) { .ts-pricing-grid { grid-template-columns: repeat(3,1fr); } }
.ts-pricing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 26px; text-align: center; transition: var(--transition); position: relative; overflow: hidden; }
.ts-pricing-card.featured { border-color: var(--primary); background: var(--bg-card2); }
.ts-pricing-card.featured::before { content: 'الأكثر طلباً'; position: absolute; top: 16px; right: -30px; background: var(--primary); color: #0a0a14; font-size: 11px; font-weight: 800; padding: 4px 50px; transform: rotate(45deg); transform-origin: center; }
.ts-pricing-name { font-size: 16px; font-weight: 700; color: var(--text-muted); margin-bottom: 12px; }
.ts-pricing-price { font-size: 46px; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.ts-pricing-price span { font-size: 16px; font-weight: 600; }
.ts-pricing-desc { color: var(--text-muted); font-size: 13px; margin-bottom: 24px; }
.ts-pricing-features { text-align: center; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.ts-pricing-feature { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.ts-pricing-feature-check { color: var(--primary); font-size: 12px; }

/* ===== ABOUT ===== */
.ts-about { padding: 96px 0; background: var(--bg-card); position: relative; overflow: hidden; }
.ts-about::before { content: ''; position: absolute; top: 0; right: 0; width: 380px; height: 380px; background: radial-gradient(circle, rgba(212,168,56,0.06) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.ts-about-inner { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; position: relative; z-index: 1; }
.ts-about-text { flex: 1 1 400px; }
.ts-about-img { flex: 1 1 400px; position: relative; }
.ts-about-img-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(212,168,56,0.2); position: relative; box-shadow: 0 0 40px rgba(212,168,56,0.12); }
.ts-about-img-wrap img { width: 100%; }
.ts-about-img-overlay { position: absolute; inset: 0; background: rgba(212,168,56,0.04); mix-blend-mode: overlay; }
.ts-about-badge { position: absolute; bottom: -14px; left: -14px; background: var(--primary); color: #0a0a14; font-size: 13px; font-weight: 900; padding: 12px 20px; border-radius: 14px; box-shadow: 0 6px 24px rgba(212,168,56,0.4); }
.ts-checklist { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.ts-checklist-item { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 10px 16px; }
.ts-check-icon { color: var(--primary); flex-shrink: 0; font-size: 14px; }

/* ===== BLOG ===== */
.ts-blog-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 640px) { .ts-blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .ts-blog-grid { grid-template-columns: repeat(3,1fr); } }
.ts-blog-header { position: relative; height: 480px; display: flex; align-items: flex-end; padding-bottom: 60px; overflow: hidden; }
.ts-blog-header-bg { position: absolute; inset: 0; }
.ts-blog-header-bg img { width: 100%; height: 100%; object-fit: cover; }
.ts-blog-header-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,20,0.97) 0%, rgba(10,10,20,0.6) 60%, rgba(10,10,20,0.2) 100%); }
.ts-blog-header-content { position: relative; z-index: 1; }
.ts-blog-header h1 { font-size: clamp(26px,5vw,50px); font-weight: 900; color: #fff; margin-bottom: 10px; }
.ts-blog-header p { color: rgba(255,255,255,0.7); font-size: 16px; }
.ts-post-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); position: relative; }
.ts-post-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: transparent; transition: background .4s; z-index: 2; }
.ts-post-card:hover::before { background: linear-gradient(90deg, transparent, #D4A838, #F0D060, #D4A838, transparent); }
.ts-post-card:hover { border-color: rgba(212,168,56,0.3); transform: translateY(-4px); box-shadow: 0 8px 28px rgba(212,168,56,0.1); }
.ts-post-card-img { height: 200px; overflow: hidden; }
.ts-post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ts-post-card:hover .ts-post-card-img img { transform: scale(1.06); }
.ts-post-card-body { padding: 22px; }
.ts-post-meta { display: flex; gap: 12px; color: var(--text-muted); font-size: 12px; margin-bottom: 12px; flex-wrap: wrap; align-items: center; }
.ts-post-card-body h2 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 10px; line-height: 1.5; transition: color .3s; }
.ts-post-card:hover .ts-post-card-body h2 a, .ts-post-card-body h2 a:hover { color: var(--primary); }
.ts-post-card-body p { color: var(--text-muted); font-size: 13px; line-height: 1.7; margin-bottom: 14px; }
.ts-read-more { color: var(--primary); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 5px; transition: var(--transition); }
.ts-read-more:hover { gap: 9px; }

/* ===== ARTICLE ===== */
.ts-article-hero { position: relative; height: 500px; display: flex; align-items: flex-end; overflow: hidden; }
.ts-article-hero-bg { position: absolute; inset: 0; }
.ts-article-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.ts-article-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,20,1) 0%, rgba(10,10,20,0.7) 50%, rgba(10,10,20,0.1) 100%); }
.ts-article-header { position: relative; z-index: 1; padding-bottom: 48px; max-width: 800px; }
.ts-article-cats { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.ts-article-cat { background: var(--primary-light); color: var(--primary); border: 1px solid rgba(212,168,56,0.3); border-radius: 50px; padding: 4px 14px; font-size: 12px; font-weight: 700; }
.ts-article-header h1 { font-size: clamp(22px,4vw,42px); font-weight: 900; color: #fff; line-height: 1.3; margin-bottom: 20px; }
.ts-article-meta { display: flex; gap: 24px; color: rgba(255,255,255,0.6); font-size: 13px; flex-wrap: wrap; align-items: center; }
.ts-article-meta span { display: flex; align-items: center; gap: 6px; }
.ts-article-body { max-width: 800px; margin: 0 auto; padding: 56px 24px; }
.ts-article-body p { color: rgba(255,255,255,0.8); font-size: 16px; line-height: 2; margin-bottom: 20px; }
.ts-article-body h2 { font-size: 24px; font-weight: 800; color: var(--primary); margin: 36px 0 14px; }
.ts-article-body h3 { font-size: 20px; font-weight: 700; color: #fff; margin: 28px 0 10px; }
.ts-article-body ul, .ts-article-body ol { margin: 0 24px 20px 0; color: rgba(255,255,255,0.8); font-size: 15px; line-height: 2; }
.ts-article-body li { margin-bottom: 7px; position: relative; padding-right: 16px; }
.ts-article-body li::before { content: '✦'; position: absolute; right: 0; color: var(--primary); font-size: 10px; top: 6px; }
.ts-article-body blockquote { border-right: 4px solid var(--primary); padding: 14px 22px; background: var(--bg-card); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 26px 0; color: rgba(255,255,255,0.9); font-style: italic; line-height: 1.8; }
.ts-article-body img { border-radius: var(--radius); margin: 26px 0; width: 100%; }
.ts-article-cta { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; text-align: center; margin: 44px 0; }
.ts-article-cta h3 { font-size: 22px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.ts-article-cta p { color: var(--text-muted); margin-bottom: 22px; }

/* ===== CONTACT CTA ===== */
.ts-contact { padding: 96px 0; background: var(--bg); position: relative; overflow: hidden; text-align: center; }
.ts-contact::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--primary), transparent); }
.ts-contact::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(212,168,56,0.08) 0%, transparent 70%); pointer-events: none; }
.ts-contact-corner { position: absolute; width: 70px; height: 70px; border: 2px solid rgba(212,168,56,0.2); }
.ts-contact-corner-tr { top: 24px; right: 24px; border-bottom: none; border-left: none; border-radius: 0 12px 0 0; }
.ts-contact-corner-tl { top: 24px; left: 24px; border-bottom: none; border-right: none; border-radius: 12px 0 0 0; }
.ts-contact-corner-br { bottom: 24px; right: 24px; border-top: none; border-left: none; border-radius: 0 0 12px 0; }
.ts-contact-corner-bl { bottom: 24px; left: 24px; border-top: none; border-right: none; border-radius: 0 0 0 12px; }
.ts-contact > .ts-container { position: relative; z-index: 1; }
.ts-contact h2 { font-size: clamp(26px,4vw,46px); font-weight: 900; color: #fff; margin-bottom: 14px; }
.ts-contact p { color: var(--text-muted); font-size: 17px; max-width: 560px; margin: 0 auto 36px; line-height: 1.8; }
.ts-contact-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }

/* ===== FOOTER ===== */
.ts-footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 72px 0 30px; }
.ts-footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; margin-bottom: 52px; }
@media (min-width: 768px) { .ts-footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.ts-footer-logo { font-size: 20px; font-weight: 900; color: var(--primary); display: block; margin-bottom: 14px; }
.ts-footer-desc { color: var(--text-muted); font-size: 15px; line-height: 1.8; max-width: 320px; }
.ts-footer-col h4 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 18px; }
.ts-footer-links { display: flex; flex-direction: column; gap: 10px; }
.ts-footer-links a { color: var(--text-muted); font-size: 14px; transition: var(--transition); }
.ts-footer-links a:hover { color: var(--primary); }
.ts-footer-wa { display: inline-flex; align-items: center; gap: 8px; color: var(--wa-green); font-weight: 600; font-size: 14px; margin-top: 14px; transition: var(--transition); }
.ts-footer-wa:hover { opacity: 0.8; }
.ts-footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; }
.ts-footer-bottom p { color: var(--text-muted); font-size: 13px; margin-bottom: 6px; }
.ts-footer-bottom a { color: var(--primary); font-weight: 600; }

/* ===== FLOATING BUTTONS ===== */
.ts-float-btns { position: fixed; bottom: 22px; left: 22px; z-index: 9999; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ts-float-call { width: 54px; height: 54px; border-radius: 50%; background: var(--primary); color: #0a0a14; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(212,168,56,0.45); transition: var(--transition); }
.ts-float-call:hover { transform: scale(1.1); }
.ts-float-wa { width: 54px; height: 54px; border-radius: 50%; background: var(--wa-green); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.35); animation: waFloat 2s infinite; transition: var(--transition); }
.ts-float-wa:hover { transform: scale(1.1); animation: none; }

/* ===== WP PAGINATION ===== */
.page-numbers { display: inline-flex; gap: 8px; flex-wrap: wrap; list-style: none; }
.page-numbers li a, .page-numbers li span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--border); color: rgba(255,255,255,0.7); font-weight: 600; font-size: 14px; transition: var(--transition); }
.page-numbers li .current, .page-numbers li a:hover { background: var(--primary); color: #0a0a14; border-color: var(--primary); }

/* ===== MOBILE ===== */
@media (max-width: 767px) {
  .ts-hero-btns { flex-direction: column; align-items: center; }
  .ts-btn-primary, .ts-btn-wa, .ts-btn-wa-green { width: 100%; max-width: 320px; justify-content: center; }
  .ts-about-inner { flex-direction: column-reverse; }
  .ts-float-btns { bottom: 14px; left: 14px; }
  .ts-contact-corner { display: none; }
}
