/* ========================================================================
   SkyNova ChequeSystem — Premium Marketing Site
   © 2026 SkyNova. All rights reserved.
   ======================================================================== */

/* ─── Variables ─── */
:root {
  /* Brand Colors */
  --primary: #667eea;
  --primary-dark: #5568d3;
  --secondary: #764ba2;
  --accent: #22c55e;
  --accent-dark: #16a34a;
  --info: #0ea5e9;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Backgrounds */
  --bg: #0b1220;
  --bg-2: #0f172a;
  --bg-3: #1e293b;
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  /* Text */
  --text: #e2e8f0;
  --text-strong: #f8fafc;
  --muted: #94a3b8;
  --muted-2: #64748b;

  /* Effects */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.35);
  --glow: 0 0 40px rgba(102, 126, 234, 0.4);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ─── Light Theme ─── */
html[data-theme="light"] {
  --bg: #f8fafc;
  --bg-2: #ffffff;
  --bg-3: #f1f5f9;
  --card: #ffffff;
  --card-hover: #f8fafc;
  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.12);
  --text: #1e293b;
  --text-strong: #0f172a;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
  --glow: 0 0 40px rgba(102, 126, 234, 0.15);
}

/* ─── Reset ─── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Cairo', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

/* ─── Container ─── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
}

/* ───────────────────────────────────────────────────────
   NAVBAR
   ─────────────────────────────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  margin: -24px -24px 0;
  padding: 16px 24px;
}
html[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.85);
}

.navbar .brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}
.navbar .brand img {
  height: 56px;
  width: auto;
  max-width: 140px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.navbar .brand span {
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--text-strong);
  letter-spacing: -0.3px;
}
.navbar .links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.navbar .links a {
  margin-inline-start: 12px;
  color: var(--text);
  opacity: 0.85;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}
.navbar .links a:hover { opacity: 1; }

.navbar .links a.button {
  background: linear-gradient(135deg, var(--accent), var(--info));
  padding: 10px 18px;
  border-radius: var(--radius);
  color: white !important;
  font-weight: 700;
  box-shadow: var(--shadow);
  opacity: 1;
}

.theme-toggle {
  margin-inline-start: 12px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}
.theme-toggle:hover {
  background: var(--card);
  transform: translateY(-1px);
}

/* ───────────────────────────────────────────────────────
   HERO
   ─────────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(102, 126, 234, 0.25), transparent 60%),
    radial-gradient(900px 500px at 90% 0, rgba(34, 197, 94, 0.18), transparent 60%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: 16px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(102, 126, 234, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 126, 234, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: 60px 40px;
  position: relative;
  z-index: 1;
  align-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.hero-badge {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(102, 126, 234, 0.15));
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
html[data-theme="light"] .hero-badge {
  color: var(--accent-dark);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(102, 126, 234, 0.1));
}

.hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin: 0 0 16px 0;
  line-height: 1.2;
  font-weight: 900;
  color: var(--text-strong);
  letter-spacing: -0.5px;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--info), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero p.hero-desc {
  color: var(--muted);
  margin: 0 0 28px 0;
  font-size: 1.05rem;
  line-height: 1.7;
}
.hero .ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-stat {
  text-align: center;
}
.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--info));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 6px;
}

.hero .media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero .media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,0.3));
  pointer-events: none;
}

/* ───────────────────────────────────────────────────────
   BUTTONS
   ─────────────────────────────────────────────────────── */
.btn {
  background: linear-gradient(135deg, var(--accent), var(--info));
  color: white;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: white;
}
.btn.secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn.secondary:hover {
  background: var(--card-hover);
}
.btn.large {
  padding: 16px 32px;
  font-size: 1rem;
}
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

/* ───────────────────────────────────────────────────────
   SECTIONS
   ─────────────────────────────────────────────────────── */
.section {
  margin-top: 80px;
  scroll-margin-top: 100px;
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header .label {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 14px 0;
  color: var(--text-strong);
  font-weight: 900;
  letter-spacing: -0.5px;
}
.section-header h2 .gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--info));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-header p.lead {
  color: var(--muted);
  margin: 0 auto;
  max-width: 600px;
  font-size: 1rem;
  line-height: 1.7;
}

/* ───────────────────────────────────────────────────────
   FEATURES GRID
   ─────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--info));
  transition: width 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  background: var(--card-hover);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.feature-card:hover::before { width: 100%; }

.feature-card .icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(14, 165, 233, 0.15));
  border: 1px solid rgba(34, 197, 94, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-strong);
  margin: 0 0 10px 0;
}
.feature-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}
.feature-card .badge-new {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: white;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

/* ───────────────────────────────────────────────────────
   LEGAL FEATURE (SPECIAL HIGHLIGHT)
   ─────────────────────────────────────────────────────── */
.legal-highlight {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.legal-highlight .content h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--text-strong);
}
.legal-highlight .content h3 .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.legal-highlight .content p {
  color: var(--muted);
  margin-bottom: 16px;
}
.legal-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.legal-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.legal-feature-item .check {
  color: var(--accent);
  font-weight: 900;
}

/* ───────────────────────────────────────────────────────
   GALLERY
   ─────────────────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.gallery a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transform: translateZ(0);
  transition: all 0.3s;
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--card);
}
.gallery a:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.gallery a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery a .label {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  color: white;
  padding: 16px 14px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
}
.gallery a:hover .label {
  opacity: 1;
  transform: translateY(0);
}

/* ───────────────────────────────────────────────────────
   SECURITY / PROTECTION SECTION
   ─────────────────────────────────────────────────────── */
.security-layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}
.security-layer {
  background: linear-gradient(135deg, var(--card), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s;
}
.security-layer:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.security-layer .num-badge {
  position: absolute;
  top: -14px;
  inset-inline-start: 24px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: white;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}
.security-layer .icon-large {
  font-size: 40px;
  margin-bottom: 14px;
}
.security-layer h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-strong);
  margin: 0 0 8px 0;
}
.security-layer p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.7;
}

/* ───────────────────────────────────────────────────────
   STATS BAR
   ─────────────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 20px;
  padding: 36px;
  background: linear-gradient(135deg, var(--card), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.1), transparent 60%);
  pointer-events: none;
}
.stat-item {
  text-align: center;
  position: relative;
  z-index: 1;
}
.stat-item .stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--info));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-item .stat-label {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ───────────────────────────────────────────────────────
   ACCORDION & DETAILS
   ─────────────────────────────────────────────────────── */
.accordion {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.accordion details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: all 0.2s;
}
.accordion details:hover {
  border-color: var(--border-strong);
}
.accordion details[open] {
  background: var(--card-hover);
  border-color: var(--accent);
}
.accordion summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-strong);
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before {
  content: '+';
  font-size: 1.4rem;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--accent), var(--info));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.accordion details[open] summary::before {
  content: '−';
  transform: rotate(180deg);
}
.accordion details > *:not(summary) {
  margin-top: 16px;
  padding-inline-start: 38px;
  color: var(--muted);
}
.accordion details ul, .accordion details ol {
  padding-inline-start: 56px;
}
.accordion details li {
  margin-bottom: 6px;
}

.specs {
  display: grid;
  gap: 8px;
}
.specs .row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.specs .row > div:first-child {
  font-weight: 800;
  color: var(--text-strong);
  font-size: 0.9rem;
}
.specs .row > div:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ───────────────────────────────────────────────────────
   CTA BOX (Contact Banner)
   ─────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(34, 197, 94, 0.12));
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-top: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(102, 126, 234, 0.15), transparent 60%);
  pointer-events: none;
}
.cta-banner h3 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-strong);
  margin: 0 0 12px 0;
  position: relative;
  z-index: 1;
}
.cta-banner p {
  color: var(--muted);
  margin: 0 0 24px 0;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 28px;
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.cta-banner .cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ───────────────────────────────────────────────────────
   CONTACT FORM
   ─────────────────────────────────────────────────────── */
.contact-form-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-top: 24px;
  align-items: start;
}
.contact-info {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--text-strong);
}
.contact-info > p {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-method:last-child { border-bottom: none; }
.contact-method .icn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(14, 165, 233, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-method .info .lbl {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.contact-method .info .val {
  font-size: 1rem;
  color: var(--text-strong);
  font-weight: 700;
  margin-top: 2px;
}
.contact-method .info .val a {
  color: var(--text-strong);
  text-decoration: none;
  unicode-bidi: embed;
  direction: ltr;
  display: inline-block;
}
.contact-method .info .val a:hover {
  color: var(--accent);
}

/* Phone numbers always LTR */
.phone-number,
a[href^="tel:"],
a[href^="https://wa.me/"] {
  unicode-bidi: embed;
  direction: ltr;
}

.form {
  display: grid;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--text-strong);
}
.form input,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-2);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
.form textarea {
  min-height: 130px;
  resize: vertical;
}
.form .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form .actions .btn { flex: 1; min-width: 140px; justify-content: center; }
.alert {
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
}
.alert.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}
.alert.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}
.small-muted {
  font-size: 0.82rem;
  color: var(--muted-2);
  margin-top: 8px;
}

/* ───────────────────────────────────────────────────────
   FLOATING WHATSAPP
   ─────────────────────────────────────────────────────── */
.fab-whatsapp {
  position: fixed;
  inset-inline-end: 24px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  font-size: 30px;
  line-height: 1;
  z-index: 999;
  transition: all 0.3s;
}
.fab-whatsapp:hover {
  transform: translateY(-3px) scale(1.05);
  color: white;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.5);
}
.fab-whatsapp::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  z-index: -1;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 0; }
}

/* ───────────────────────────────────────────────────────
   FOOTER
   ─────────────────────────────────────────────────────── */
footer {
  margin-top: 80px;
  padding: 40px 0 24px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
footer h4 {
  font-size: 0.95rem;
  color: var(--text-strong);
  font-weight: 800;
  margin-bottom: 14px;
}
footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}
footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}
footer a:hover { color: var(--text); }
footer a[href^="tel:"],
footer a[href^="https://wa.me/"] {
  unicode-bidi: embed;
  direction: ltr;
  display: inline-block;
}
footer .small {
  font-size: 0.85rem;
  color: var(--muted-2);
}
footer .copyright {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted-2);
}

/* ───────────────────────────────────────────────────────
   ANIMATIONS (on scroll)
   ─────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ───────────────────────────────────────────────────────
   RESPONSIVE
   ─────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .navbar { flex-wrap: wrap; gap: 12px; }
  .navbar .brand img { height: 48px; }
  .navbar .links a { margin-inline-start: 8px; font-size: 0.85rem; }
  .navbar .links a:not(.button):nth-of-type(n+4) { display: none; }

  .hero-inner { grid-template-columns: 1fr; padding: 40px 24px; gap: 28px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }

  .features-grid { grid-template-columns: 1fr; }
  .legal-highlight { grid-template-columns: 1fr; padding: 28px; }
  .legal-features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .security-layers { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; padding: 24px; }
  .stat-item .stat-num { font-size: 2rem; }
  .contact-form-wrapper { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 28px 20px; }
  .cta-banner h3 { font-size: 1.4rem; }
  .specs .row { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 600px) {
  .container { padding: 16px; }
  .navbar { padding: 12px 16px; margin: -16px -16px 0; }
  .gallery { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .hero-stat .num { font-size: 1.4rem; }
}

/* ───────────────────────────────────────────────────────
   PRINT
   ─────────────────────────────────────────────────────── */
@media print {
  .navbar, .fab-whatsapp, .theme-toggle, footer { display: none; }
  body { background: white; color: black; }
}
