/* style.css - MediaShield AI Manuscripts - Premium Academic Heritage Design */

/* ── Google Fonts ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Noto+Naskh+Arabic:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Cinzel:wght@400;600&display=swap');

/* ── CSS Variables ───────────────────────────────────────────── */
:root {
  --ink: #1a1209;
  --parchment: #f5f0e6;
  --parchment-dark: #ede6d0;
  --gold: #b8912a;
  --gold-light: #d4aa44;
  --gold-pale: #f9f0d8;
  --crimson: #8b1a1a;
  --crimson-light: #a52020;
  --teal: #1a5f5f;
  --teal-light: #237070;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --white: #ffffff;
  --gray-100: #f7f4ef;
  --gray-200: #ede8df;
  --gray-300: #d5ccc0;
  --gray-400: #a89880;
  --gray-600: #6b5d4f;
  --gray-800: #3d3028;
  --shadow-sm: 0 2px 8px rgba(26,18,9,0.08);
  --shadow-md: 0 6px 24px rgba(26,18,9,0.12);
  --shadow-lg: 0 16px 48px rgba(26,18,9,0.18);
  --shadow-gold: 0 4px 20px rgba(184,145,42,0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --font-arabic: 'Noto Naskh Arabic', 'Amiri', serif;
  --font-latin: 'Cormorant Garamond', 'Cinzel', serif;
  --font-heading: 'Amiri', 'Cormorant Garamond', serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--parchment);
  color: var(--ink);
  font-family: var(--font-arabic);
  line-height: 1.8;
  overflow-x: hidden;
}

body.ltr { font-family: var(--font-latin); }

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* ── Typography ──────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.3;
}

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--parchment-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* ── Ornamental Background ───────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(184,145,42,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(26,95,95,0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ── NAVIGATION ──────────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(245,240,230,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(184,145,42,0.2);
  transition: var(--transition);
  padding: 0 2rem;
}

#main-nav.scrolled {
  background: rgba(245,240,230,0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--crimson);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-icon { font-size: 1.5rem; }
.logo-sub { font-size: 0.65rem; color: var(--gold); letter-spacing: 0.15em; text-transform: uppercase; }

#nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--gray-800);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-link:hover { color: var(--gold); background: var(--gold-pale); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-switcher {
  display: flex;
  background: var(--parchment-dark);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  padding: 0.25rem 0.6rem;
  border-radius: 15px;
  border: none;
  background: transparent;
  color: var(--gray-600);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.nav-wa {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--whatsapp);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-wa:hover { background: var(--whatsapp-dark); transform: translateY(-1px); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

#mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid var(--gray-200);
  background: var(--parchment);
}

#mobile-menu.open { display: flex; }
#mobile-menu .nav-link { font-size: 1rem; padding: 0.6rem 1rem; border-radius: 8px; }
#mobile-menu .nav-link:hover { background: var(--gold-pale); }

/* ── MAIN CONTENT ─────────────────────────────────────────────── */
main { padding-top: 70px; }

.section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-alt {
  background: rgba(255,255,255,0.5);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.section-alt .section { max-width: 100%; padding: 5rem 2rem; }
.section-alt .section > * { max-width: 1400px; margin-left: auto; margin-right: auto; }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--crimson);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

.section-subtitle {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 1rem auto 0;
}

/* ── HERO ─────────────────────────────────────────────────────── */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #1a1209 0%, #2d1f0e 40%, #1a3d3d 100%);
  padding-top: 70px;
}

#home::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(184,145,42,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(26,95,95,0.2) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b8912a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

#hero-content { color: var(--white); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(184,145,42,0.2);
  border: 1px solid rgba(184,145,42,0.4);
  color: var(--gold-light);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--parchment);
  margin-bottom: 1.5rem;
}

.hero-highlight {
  color: var(--gold-light);
  display: block;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(245,240,230,0.75);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(184,145,42,0.2);
}

.stat-item { text-align: center; }

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(245,240,230,0.6);
  display: block;
}

/* Hero Illustration Panel */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.manuscript-mockup {
  background: rgba(245,240,230,0.08);
  border: 1px solid rgba(184,145,42,0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 400px;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(184,145,42,0.2);
}

.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #ff5f56; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }
.mockup-title { color: rgba(245,240,230,0.5); font-size: 0.75rem; margin-right: auto; }

.mockup-lines {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.line {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(184,145,42,0.5), rgba(184,145,42,0.1));
  animation: shimmer 2s infinite;
}

.line:nth-child(2) { width: 85%; animation-delay: 0.2s; }
.line:nth-child(3) { width: 70%; animation-delay: 0.4s; }
.line:nth-child(4) { width: 90%; animation-delay: 0.6s; }
.line:nth-child(5) { width: 60%; animation-delay: 0.8s; }

@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.mockup-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(37,211,102,0.15);
  border: 1px solid rgba(37,211,102,0.3);
  color: #25d366;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  margin-top: 1.5rem;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--ink);
  padding: 0.8rem 1.8rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  font-family: inherit;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(184,145,42,0.4); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--whatsapp);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--gold);
  padding: 0.8rem 1.8rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-secondary:hover { background: var(--gold-pale); }
.full-width { width: 100%; justify-content: center; }

/* ── SERVICES ─────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--crimson));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.service-title { font-size: 1.25rem; font-family: var(--font-heading); color: var(--crimson); margin-bottom: 0.75rem; }
.service-desc { color: var(--gray-600); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.feature-check { color: var(--gold); font-weight: 700; }

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--whatsapp);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--whatsapp);
  border-radius: 20px;
  transition: var(--transition);
}

.service-cta:hover { background: var(--whatsapp); color: white; }

/* ── PROCESS ──────────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}

.process-step:hover { box-shadow: var(--shadow-md); border-color: var(--gold); }

.step-num {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-title { font-size: 1rem; font-family: var(--font-heading); color: var(--crimson); margin-bottom: 0.5rem; }
.step-desc { font-size: 0.85rem; color: var(--gray-600); line-height: 1.6; }

/* ── TRUST ────────────────────────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-item { padding: 2rem 1rem; }
.trust-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.trust-title { font-size: 1.1rem; font-family: var(--font-heading); color: var(--crimson); margin-bottom: 0.5rem; }
.trust-desc { font-size: 0.9rem; color: var(--gray-600); }

/* ── PRICING ──────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  transition: var(--transition);
}

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

.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: scale(1.03);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 12px;
  white-space: nowrap;
}

.plan-name { font-family: var(--font-heading); font-size: 1.4rem; color: var(--crimson); margin-bottom: 0.5rem; }
.plan-desc { color: var(--gray-400); font-size: 0.85rem; margin-bottom: 1rem; }
.plan-price { font-family: 'Cinzel', serif; font-size: 1.4rem; color: var(--gold); font-weight: 600; margin-bottom: 1.5rem; }

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-800);
}

.plan-features li span { color: var(--gold); font-weight: 700; }

.plan-cta {
  display: block;
  text-align: center;
  padding: 0.85rem;
  border-radius: 25px;
  font-weight: 700;
  border: 2px solid var(--gold);
  color: var(--gold);
  transition: var(--transition);
}

.plan-cta:hover { background: var(--gold); color: white; }
.featured-cta { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--ink); }
.featured-cta:hover { box-shadow: var(--shadow-gold); }

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { font-size: 0.95rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--crimson), var(--teal));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  flex-shrink: 0;
}

.author-name { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.author-role { font-size: 0.8rem; color: var(--gray-400); }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.faq-item:hover { border-color: var(--gold); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  gap: 1rem;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.8;
}

.faq-a.open {
  max-height: 200px;
  padding: 0 1.5rem 1.25rem;
}

/* ── BLOG ─────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.blog-category { font-size: 0.75rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.blog-title { font-family: var(--font-heading); font-size: 1.05rem; color: var(--crimson); line-height: 1.4; }
.blog-excerpt { font-size: 0.85rem; color: var(--gray-600); line-height: 1.7; flex: 1; }
.blog-meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--gray-400); }
.blog-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tag { background: var(--gold-pale); color: var(--gold); font-size: 0.7rem; padding: 0.15rem 0.5rem; border-radius: 8px; }
.blog-more { color: var(--crimson); font-size: 0.85rem; font-weight: 600; align-self: flex-start; }
.blog-all-link { text-align: center; margin-top: 2.5rem; }

/* ── CONTACT ──────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: var(--transition);
}

.contact-method:hover { transform: translateX(-4px); box-shadow: var(--shadow-md); }

.rtl .contact-method:hover { transform: translateX(4px); }

.whatsapp-method { border-color: rgba(37,211,102,0.3); }
.whatsapp-method:hover { border-color: var(--whatsapp); }
.whatsapp-method .method-icon { color: var(--whatsapp); font-size: 1.5rem; }

.email-method:hover { border-color: var(--gold); }
.method-label { font-size: 0.8rem; color: var(--gray-400); }
.method-value { font-size: 0.95rem; font-weight: 600; color: var(--ink); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--gray-100);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184,145,42,0.1);
}

/* ── FOOTER ───────────────────────────────────────────────────── */
footer {
  background: linear-gradient(135deg, #1a1209, #2d1f0e);
  color: var(--parchment);
  padding: 4rem 2rem 0;
  margin-top: 4rem;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(184,145,42,0.2);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.footer-desc { font-size: 0.9rem; color: rgba(245,240,230,0.6); line-height: 1.7; margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: 0.75rem; }

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(245,240,230,0.1);
  color: var(--parchment);
  transition: var(--transition);
  font-size: 0.9rem;
}

.social-btn:hover { background: var(--gold); color: var(--ink); }
.whatsapp-btn:hover { background: var(--whatsapp); }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(184,145,42,0.2);
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(245,240,230,0.6);
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(245,240,230,0.4);
}

/* ── FLOATING WHATSAPP ───────────────────────────────────────── */
#floating-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--whatsapp);
  color: white;
  padding: 0.9rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 25px rgba(37,211,102,0.4);
  animation: float 3s ease-in-out infinite;
  transition: var(--transition);
}

.rtl #floating-wa { right: auto; left: 2rem; }

#floating-wa:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(37,211,102,0.5);
  animation: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ── MODAL ────────────────────────────────────────────────────── */
#article-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(26,18,9,0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#article-modal.open { opacity: 1; pointer-events: all; }

#modal-content {
  background: var(--parchment);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--gray-200);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rtl .modal-close { right: auto; left: 1rem; }
.modal-close:hover { background: var(--crimson); color: white; }
.modal-category { font-size: 0.75rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.modal-title { font-family: var(--font-heading); font-size: 1.5rem; color: var(--crimson); margin-bottom: 0.75rem; }
.modal-meta { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 1.5rem; }
.modal-body { font-size: 0.95rem; color: var(--gray-600); line-height: 1.9; }
.modal-body p { margin-bottom: 1rem; }

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

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

/* ── PORTFOLIO ────────────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.portfolio-item:hover { box-shadow: var(--shadow-md); border-color: var(--gold); }
.portfolio-type { font-size: 0.75rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.portfolio-title { font-family: var(--font-heading); font-size: 1rem; color: var(--crimson); margin-bottom: 0.5rem; }
.portfolio-meta { font-size: 0.8rem; color: var(--gray-400); }

/* ── DIVIDERS ─────────────────────────────────────────────────── */
.ornament {
  text-align: center;
  font-size: 1.5rem;
  color: var(--gold);
  opacity: 0.5;
  margin: 1rem 0;
  letter-spacing: 0.5em;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { justify-content: center; }
  .hero-subtitle { margin: 0 auto 2rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  #nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 3rem 1rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  #floating-wa span { display: none; }
  #floating-wa { padding: 0.9rem; border-radius: 50%; width: 56px; height: 56px; }
  #modal-content { padding: 1.5rem; }
}

@media (max-width: 400px) {
  .hero-cta { flex-direction: column; }
  .hero-cta a { width: 100%; justify-content: center; }
}
