:root {
  --primary: #0b1329;
  --secondary: #1d4ed8;
  --accent: #0284c7;
  --cyan: #38bdf8;
  --bg-light: #f1f5f9;
  --white: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --whatsapp: #25d366;
  --call: #0284c7;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  background-color: var(--bg-light);
  color: var(--text-main);
  direction: rtl;
  text-align: right;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Urgency Bar */
.urgency-bar {
  background: linear-gradient(90deg, #0b1329, #1d4ed8);
  color: #fff;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.urgency-bar a {
  color: var(--cyan);
  font-weight: 700;
  text-decoration: underline;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07);
  z-index: 1000;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.nav-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
}
.nav-brand span {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.2rem;
  align-items: center;
}
.nav-menu li {
  position: relative;
}
.nav-menu a {
  font-weight: 600;
  color: var(--primary);
  padding: 0.5rem;
  transition: color 0.2s;
}
.nav-menu a:hover {
  color: var(--secondary);
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  min-width: 230px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 0.5rem 0;
  z-index: 1002;
}
.nav-menu li:hover .dropdown-menu {
  display: block;
}
.dropdown-menu li {
  width: 100%;
}
.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}
.dropdown-menu a:hover {
  background: var(--bg-light);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary);
}

/* Mobile Drawer */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1050;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 290px;
  height: 100%;
  background: #fff;
  z-index: 1060;
  box-shadow: -4px 0 10px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: right 0.3s ease;
  overflow-y: auto;
}
.mobile-drawer.active {
  right: 0;
}
.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.mobile-nav-list a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
  padding: 0.4rem 0;
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 5rem 1.25rem;
  text-align: center;
  color: #fff;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,19,41,0.85) 0%, rgba(11,19,41,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}
.hero h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #ffffff;
}
.hero p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: #e2e8f0;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, opacity 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--secondary);
  color: #fff;
}
.btn-call {
  background: var(--call);
  color: #fff;
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

/* Trust Badges */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.trust-item h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
}
.trust-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 4rem 0;
}
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-title h2 {
  font-size: 1.9rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Grid & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  cursor: pointer;
}
.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}
.card-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 220px;
  background: #e2e8f0;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* Price Table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.price-table th, .price-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  text-align: right;
}
.price-table th {
  background: var(--primary);
  color: #fff;
}
.price-disclaimer {
  background: #fffbeb;
  border-right: 4px solid #f59e0b;
  padding: 1rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #92400e;
  border-radius: 4px;
}

/* Lead Form */
.form-section {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}
.ajax-lead-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  font-size: 1rem;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--secondary);
}
.form-full {
  grid-column: 1 / -1;
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: transform 0.2s;
  animation: pulse-shake 4s infinite ease-in-out;
}
.float-whatsapp { background: var(--whatsapp); }
.float-call { background: var(--call); animation-delay: 2s; }
.scroll-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  border: none;
}

@keyframes pulse-shake {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
  60% { transform: scale(1.08) rotate(-4deg); }
  70% { transform: scale(1.08) rotate(4deg); }
  80% { transform: scale(1); }
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}
.lightbox-modal.active {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  text-align: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.lightbox-caption {
  color: #fff;
  margin-top: 0.8rem;
  font-size: 1.1rem;
}
.lightbox-close {
  position: absolute;
  top: -40px;
  left: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* Footer */
footer {
  background: var(--primary);
  color: #cbd5e1;
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Responsive */
@media (max5-width: 768px) {
  .nav-menu { display: none; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 1rem; }
  .grid-3 { grid-template-columns: 1fr; }
}
