/* ===========================
   YAKOV DEVELOPMENT — STYLES
   =========================== */

:root {
  --bg: #0a0a0b;
  --bg-2: #111114;
  --bg-3: #16161a;
  --surface: #1c1c21;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #f5f5f0;
  --text-muted: #a8a8a8;
  --text-dim: #6b6b70;
  --accent: #c9a961;
  --accent-2: #e8c878;
  --accent-glow: rgba(201, 169, 97, 0.25);
  --danger: #e85a4f;
  --success: #5dbb83;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.6);
  --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Heebo', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

html[lang="he"] body { font-family: 'Heebo', 'Inter', system-ui, sans-serif; }

img, svg, video { display: block; max-width: 100%; }

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

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

input, select, textarea { font-family: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(10, 10, 11, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--t);
}
.header.scrolled {
  background: rgba(10, 10, 11, 0.92);
  border-bottom-color: var(--line);
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.logo-mark { width: 44px; height: 44px; color: var(--accent); flex-shrink: 0; }

/* Logo as image (uses the original photo) */
img.logo-mark.logo-img {
  object-fit: cover;
  object-position: 50% 26%;
  filter: brightness(8) contrast(1.5) sepia(0.4) hue-rotate(-10deg) saturate(2);
}
.footer-brand img.logo-mark.logo-img {
  width: 60px;
  height: 60px;
}
.bg-logo-img {
  display: block;
  width: auto;
  max-width: 80%;
  max-height: 90%;
  height: auto;
  margin: 0 auto;
  filter: brightness(7) contrast(1.4) sepia(0.4) hue-rotate(-10deg) saturate(2);
  opacity: 0.95;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 14px; font-weight: 600; letter-spacing: 1.5px; }
.logo-tag { font-size: 9px; letter-spacing: 1.5px; color: var(--text-muted); text-transform: uppercase; }

.nav { display: flex; gap: 32px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color var(--t);
}
.nav a:hover { color: var(--text); }
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--t);
}
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang-switcher {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 4px;
}
.lang-btn {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  transition: all var(--t);
}
.lang-btn.active {
  background: var(--accent);
  color: var(--bg);
}

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--text); transition: var(--t); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--t);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--accent-glow);
}
.btn-outline {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-ghost {
  color: var(--text-muted);
  font-size: 13px;
  padding: 8px 16px;
}
.btn-ghost:hover { color: var(--accent); }
.btn-full { width: 100%; }
.btn-admin { border: 1px solid var(--line); border-radius: 30px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201, 169, 97, 0.12), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(201, 169, 97, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.3'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(201, 169, 97, 0.1);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 30px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent-2);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-title {
  font-family: 'Playfair Display', 'Heebo', serif;
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-title span { display: block; }
.hero-title .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}
.hero-subtitle {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 44px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 720px;
  margin: 0 auto;
  padding-top: 50px;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 2px solid var(--line-strong);
  border-radius: 12px;
}
.scroll-hint span {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 3px;
  animation: scrollHint 2s infinite;
}
@keyframes scrollHint {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ============ SECTIONS ============ */
.section { padding: 120px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}
.section-title {
  font-family: 'Playfair Display', 'Heebo', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

/* ============ ABOUT ============ */
.about { background: var(--bg-2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 16px; line-height: 1.8; }
.check-list { list-style: none; margin-top: 24px; }
.check-list li {
  position: relative;
  padding-inline-start: 32px;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 15px;
}
.check-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  width: 18px; height: 10px;
  border-inline-start: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
html[dir="rtl"] .check-list li::before { transform: rotate(45deg) scaleX(-1); }

.about-visual {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 460px;
}
.about-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-3), var(--surface));
  border: 1px solid var(--line);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--t), border-color var(--t);
}
.about-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-1 {
  grid-row: 1 / 3;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), var(--bg-3));
  align-items: center;
  justify-content: center;
}
.card-1 .bg-logo { width: 80%; max-width: 280px; color: var(--accent); opacity: 0.9; }
.card-num {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.card-label { font-size: 13px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  padding: 40px 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all var(--t);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.service-card.featured {
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.08), var(--bg-2));
  border-color: rgba(201, 169, 97, 0.3);
}
.service-badge {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  background: var(--accent);
  color: var(--bg);
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 20px;
}
.service-icon {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 97, 0.1);
  border-radius: 16px;
  color: var(--accent);
  margin-bottom: 24px;
}
.service-icon svg { width: 32px; height: 32px; }
.service-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.service-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.7;
}
.service-card ul { list-style: none; }
.service-card li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  position: relative;
  padding-inline-start: 20px;
}
.service-card li::before {
  content: '◆';
  position: absolute;
  inset-inline-start: 0;
  color: var(--accent);
  font-size: 8px;
  top: 12px;
}

/* ============ PROCESS ============ */
.process { background: var(--bg); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 28px 32px;
  text-align: center;
  transition: all var(--t);
}
.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.process-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  color: var(--accent);
  border: 1px solid var(--accent);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}
.process-icon {
  margin: 28px auto 16px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(201, 169, 97, 0.08);
  color: var(--accent);
}
.process-icon svg { width: 28px; height: 28px; }
.process-step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.process-step p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ============ PROJECTS MAP ============ */
.projects { background: var(--bg-2); }
.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 640px;
  margin: 16px auto 0;
  line-height: 1.7;
}
.map-wrapper {
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.projects-map {
  height: 540px;
  width: 100%;
  background: #1a1a1f;
}

/* Leaflet overrides for dark theme */
.leaflet-container { font-family: inherit; background: #1a1a1f; }
.leaflet-popup-content-wrapper {
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-lg);
}
.leaflet-popup-content { margin: 0; width: 260px !important; }
.leaflet-popup-tip { background: var(--bg-2); border: 1px solid var(--line-strong); }
.leaflet-container a.leaflet-popup-close-button {
  color: var(--text-muted);
  font-size: 22px;
  padding: 8px 10px 0 0;
}
.leaflet-container a.leaflet-popup-close-button:hover { color: var(--accent); }
.leaflet-control-attribution {
  background: rgba(10, 10, 11, 0.75) !important;
  color: var(--text-dim) !important;
  font-size: 10px !important;
}
.leaflet-control-attribution a { color: var(--text-muted) !important; }
.leaflet-control-zoom a {
  background: var(--bg-2) !important;
  color: var(--text) !important;
  border-color: var(--line) !important;
}
.leaflet-control-zoom a:hover { background: var(--surface) !important; color: var(--accent) !important; }

/* Project popup */
.project-popup-img { width: 100%; height: 150px; object-fit: cover; display: block; background: var(--bg-3); }
.project-popup-body { padding: 16px 18px 18px; }
.project-popup-title { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--text); letter-spacing: -0.01em; }
.project-popup-city {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 600;
}
.project-popup-meta { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* Custom animated marker */
.yd-marker {
  position: relative;
  width: 22px;
  height: 22px;
}
.yd-marker-dot {
  position: absolute;
  inset: 4px;
  background: var(--accent);
  border: 2px solid #fff;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.yd-marker-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  animation: yd-pulse 2s infinite;
  z-index: 1;
}
@keyframes yd-pulse {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ============ WHATSAPP FLOATING BUTTON ============ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform var(--t), box-shadow var(--t);
  animation: wa-pulse 2.5s infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.55);
  animation: none;
}
.whatsapp-tooltip {
  position: absolute;
  inset-inline-end: 72px;
  background: var(--bg);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--line-strong);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity var(--t), transform var(--t);
}
html[dir="rtl"] .whatsapp-tooltip { transform: translateX(-10px); }
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ============ GALLERY ============ */
.gallery { background: var(--bg-2); }
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: 40px;
  width: fit-content;
  margin-inline: auto;
}
.tab-btn {
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px;
  color: var(--text-muted);
  transition: all var(--t);
}
.tab-btn.active {
  background: var(--accent);
  color: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-3);
  border: 1px solid var(--line);
  transition: transform var(--t);
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img, .gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7));
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--t);
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  pointer-events: none;
}

.gallery-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.gallery-empty svg {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  color: var(--text-dim);
}
.gallery-empty p { font-size: 16px; max-width: 480px; margin: 0 auto; }

/* ============ CONTACT ============ */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-info p {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 1.8;
}
.contact-items { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--t);
}
.contact-item:hover { border-color: var(--accent); }
.contact-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(201, 169, 97, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-value { font-size: 16px; font-weight: 500; line-height: 1.5; }
.contact-value a { color: var(--text); transition: color var(--t); }
.contact-value a:hover { color: var(--accent); }

.order-form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.order-form h3 {
  font-family: 'Playfair Display', 'Heebo', serif;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text);
  transition: border-color var(--t);
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.form-field select { cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) calc(50%), calc(100% - 14px) calc(50%); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-inline-end: 40px; }
html[dir="rtl"] .form-field select { background-position: 20px calc(50%), 14px calc(50%); padding-inline-end: 16px; padding-inline-start: 40px; }

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin-top: 16px;
  background: rgba(93, 187, 131, 0.1);
  border: 1px solid rgba(93, 187, 131, 0.3);
  border-radius: 10px;
  color: var(--success);
  font-size: 14px;
}
.form-success.show { display: flex; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ============ FOOTER ============ */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .logo-mark { width: 60px; height: 60px; color: var(--accent); }
.footer-brand-text strong { display: block; font-size: 16px; letter-spacing: 1.5px; margin-bottom: 4px; }
.footer-brand-text span { font-size: 11px; letter-spacing: 1.5px; color: var(--text-muted); text-transform: uppercase; }

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col a, .footer-col span, .footer-col button {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color var(--t);
  text-align: start;
}
.footer-col a:hover, .footer-col button:hover { color: var(--accent); }

.footer-bottom { border-top: 1px solid var(--line); padding: 24px 0; font-size: 13px; color: var(--text-dim); text-align: center; }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.show { display: flex; }
.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}
.lightbox-content img,
.lightbox-content video,
.lightbox-content iframe {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius);
  display: block;
}
.lightbox-content iframe { width: 80vw; height: 45vw; max-width: 1280px; max-height: 720px; }
.lightbox-close {
  position: absolute;
  top: 20px;
  inset-inline-end: 30px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
}
.lightbox-close:hover { background: var(--accent); color: var(--bg); }

/* ============ ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s, transform 0.8s; }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 560px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav {
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 30px;
    gap: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-200%);
    transition: transform var(--t);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; font-size: 16px; }
  .menu-toggle { display: flex; }
  .btn-admin { display: none; }
  .logo-text { display: none; }
  .section { padding: 80px 0; }
  .hero { padding: 100px 0 60px; }
  .hero-stats { grid-template-columns: 1fr; gap: 24px; padding-top: 30px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 36px; }
  .projects-map { height: 400px; }
  .whatsapp-float { bottom: 18px; inset-inline-end: 18px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .whatsapp-tooltip { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .order-form { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-visual { height: auto; grid-template-columns: 1fr; grid-template-rows: auto; }
  .card-1 { grid-row: auto; min-height: 280px; }
}
