/* ===== GLOBAL VARIABLES ===== */
:root {
  --primary: #0A2540;
  --accent: #00B4D8;
  --accent2: #48CAE4;
  --gold: #F0A500;
  --light: #F4F8FB;
  --white: #FFFFFF;
  --gray: #6B7280;
  --dark: #0D1B2A;
  --gradient: linear-gradient(135deg, #0A2540 0%, #023E73 50%, #0077B6 100%);
  --shadow: 0 4px 32px rgba(10,37,64,0.13);
  --radius: 14px;
  --font-display: 'Playfair Display', 'David Libre', serif;
  --font-body: 'DM Sans', 'Heebo', sans-serif;
}

/* ===== RTL SUPPORT ===== */
[lang="he"] { direction: rtl; }
[lang="he"] .nav-links { flex-direction: row-reverse; }
[lang="he"] .hero-content { text-align: right; }
[lang="he"] .contact-grid { direction: rtl; }

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,37,64,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,180,216,0.18);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  transition: all 0.3s ease;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  color: var(--white);
}
.logo-icon {
  width: 44px; height: 44px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  border: 1.5px solid var(--accent);
}
.logo-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.logo-sub { font-size: 0.7rem; opacity: 0.65; display: block; letter-spacing: 0.06em; }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); }

.lang-switcher {
  display: flex; gap: 6px; align-items: center;
}
.lang-btn {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1.5px solid rgba(0,180,216,0.4);
  color: rgba(255,255,255,0.75);
  background: transparent;
  letter-spacing: 0.05em;
}
.lang-btn.active, .lang-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.cta-phone {
  background: var(--accent);
  color: var(--white);
  padding: 9px 20px;
  border-radius: 28px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex; align-items: center; gap: 7px;
  transition: all 0.2s;
  white-space: nowrap;
}
.cta-phone:hover { background: var(--accent2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,180,216,0.4); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--gradient);
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300B4D8' fill-opacity='0.05'%3E%3Cpath d='M40 40m-38 0a38 38 0 1 0 76 0 38 38 0 1 0-76 0'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-bg-accent {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,0.15) 0%, transparent 70%);
  right: -100px; top: -100px;
}
.hero-wave {
  position: absolute; bottom: 0; left: 0; right: 0;
}
.hero-container {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  position: relative; z-index: 2;
  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: 8px;
  background: rgba(0,180,216,0.18);
  border: 1px solid rgba(0,180,216,0.4);
  padding: 7px 18px; border-radius: 30px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--accent2);
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.15rem; opacity: 0.85; margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex; align-items: center; gap: 9px;
  transition: all 0.25s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,180,216,0.45); }
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.4);
  display: inline-flex; align-items: center; gap: 9px;
  transition: all 0.25s; cursor: pointer;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.hero-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 2.5rem;
}
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 4px; }
.hero-features { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 10px; }
.hero-feature {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.85); font-size: 0.9rem;
}
.hero-feature .check { color: var(--accent); font-size: 1rem; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section-alt { background: var(--light); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,180,216,0.1);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.section-header h2 { color: var(--primary); }
.section-header p { color: var(--gray); font-size: 1.05rem; max-width: 620px; margin: 1rem auto 0; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1.5px solid rgba(10,37,64,0.07);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(0,180,216,0.12), rgba(10,37,64,0.08));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
.service-card h3 { color: var(--primary); margin-bottom: 0.75rem; font-size: 1.1rem; }
.service-card p { color: var(--gray); font-size: 0.9rem; }

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.why-features { display: flex; flex-direction: column; gap: 1.5rem; }
.why-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.why-icon-wrap {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--gradient);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: white;
}
.why-item h4 { color: var(--primary); font-size: 1rem; margin-bottom: 4px; }
.why-item p { color: var(--gray); font-size: 0.88rem; }
.why-visual {
  background: var(--gradient);
  border-radius: 24px;
  padding: 3rem;
  color: white; text-align: center;
  position: relative; overflow: hidden;
}
.why-visual::after {
  content: '❄';
  position: absolute;
  font-size: 12rem;
  opacity: 0.06;
  bottom: -2rem; right: -2rem;
}
.why-big-num {
  font-family: var(--font-display);
  font-size: 5rem; font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.why-big-label { font-size: 1.1rem; opacity: 0.8; margin-top: 0.5rem; }
.why-visual-items { margin-top: 2rem; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.why-vi { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; opacity: 0.85; }

/* ===== CITIES ===== */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.75rem;
}
.city-card {
  background: var(--white);
  border: 1.5px solid rgba(10,37,64,0.08);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: 10px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: var(--dark);
}
.city-card:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(10,37,64,0.18);
}
.city-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.city-name { font-weight: 600; font-size: 0.88rem; }
.city-name-he { font-size: 0.78rem; opacity: 0.6; direction: rtl; }

/* ===== BRANDS ===== */
.brands-row {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  justify-content: center; align-items: center;
}
.brand-badge {
  background: var(--white);
  border: 1.5px solid rgba(10,37,64,0.1);
  border-radius: 10px;
  padding: 0.8rem 1.8rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  transition: all 0.2s;
  opacity: 0.75;
}
.brand-badge:hover { opacity: 1; border-color: var(--accent); transform: translateY(-2px); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1.5px solid rgba(10,37,64,0.07);
  box-shadow: var(--shadow);
}
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { color: var(--gray); font-size: 0.92rem; font-style: italic; margin-bottom: 1.2rem; }
.testimonial-author { font-weight: 700; color: var(--primary); font-size: 0.9rem; }
.testimonial-city { font-size: 0.78rem; color: var(--accent); }

/* ===== CONTACT ===== */
.contact-section { background: var(--gradient); color: white; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact-info h2 { color: white; margin-bottom: 1rem; }
.contact-info p { opacity: 0.8; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px; padding: 1rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.12);
}
.contact-item-icon { font-size: 1.4rem; }
.contact-item-label { font-size: 0.75rem; opacity: 0.65; }
.contact-item-value { font-weight: 700; font-size: 1rem; }
.contact-form {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 2.5rem;
}
.contact-form h3 { color: white; margin-bottom: 1.5rem; font-size: 1.3rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.82rem; opacity: 0.75; margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 12px 16px;
  color: white;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group select option { background: var(--primary); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ===== FOOTER ===== */
.footer { background: #060E1A; color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo-text { color: white; }
.footer-brand p { font-size: 0.88rem; margin-top: 1rem; opacity: 0.6; max-width: 280px; }
.footer-col h4 { color: white; font-size: 0.9rem; margin-bottom: 1.2rem; letter-spacing: 0.05em; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.82rem; }

/* ===== CITY PAGE SPECIFIC ===== */
.city-hero {
  background: var(--gradient);
  padding: 140px 0 80px;
  color: white;
  position: relative;
  overflow: hidden;
}
.city-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: 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'%3E%3Cg fill='%2300B4D8' fill-opacity='0.06'%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");
}
.city-breadcrumb {
  font-size: 0.82rem; opacity: 0.65; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 8px;
}
.city-breadcrumb a { color: var(--accent2); }
.city-hero h1 { color: white; margin-bottom: 1rem; }
.city-hero p { opacity: 0.82; font-size: 1.05rem; max-width: 680px; margin-bottom: 2rem; }
.city-meta { display: flex; gap: 2rem; flex-wrap: wrap; }
.city-meta-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; opacity: 0.75; }

.city-content { padding: 4rem 0; }
.city-content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; }
.city-sidebar {}
.sidebar-card {
  background: var(--white);
  border: 1.5px solid rgba(10,37,64,0.1);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.sidebar-card h4 { color: var(--primary); margin-bottom: 1rem; font-size: 1rem; }
.sidebar-cta {
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 1.8rem;
  color: white; text-align: center;
  margin-bottom: 1.5rem;
}
.sidebar-cta h4 { color: white; margin-bottom: 0.5rem; }
.sidebar-cta p { opacity: 0.75; font-size: 0.85rem; margin-bottom: 1.2rem; }
.city-phone {
  font-size: 1.5rem; font-weight: 800;
  color: var(--accent); display: block;
  margin: 0.5rem 0;
  letter-spacing: 0.03em;
}
.nearby-cities { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.5rem; }
.nearby-tag {
  background: var(--light);
  border: 1px solid rgba(10,37,64,0.1);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
}
.nearby-tag:hover { background: var(--primary); color: white; }

/* ===== EMERGENCY BANNER ===== */
.emergency-banner {
  background: linear-gradient(90deg, #C0392B, #E74C3C);
  color: white; text-align: center;
  padding: 10px;
  font-weight: 600; font-size: 0.88rem;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.emergency-banner a { color: white; text-decoration: underline; }

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 99;
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-end;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  cursor: pointer; transition: all 0.2s;
  border: none;
  text-decoration: none;
}
.float-btn:hover { transform: scale(1.1); }
.float-phone { background: #25D366; color: white; }
.float-call { background: var(--accent); color: white; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-card { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .city-content-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.animate-fade-up { animation: fadeUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.live-badge { animation: pulse 2s ease infinite; }

/* ===== WHATSAPP WIDGET ===== */
.wa-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  font-family: var(--font-body);
}
[dir="rtl"] .wa-widget { left: auto; right: 2rem; }

.wa-bubble {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}
.wa-bubble:hover { transform: scale(1.12); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.wa-bubble svg { width: 32px; height: 32px; fill: white; transition: transform 0.3s; }
.wa-bubble.open svg { transform: rotate(90deg) scale(0.85); }

/* Pulsing ring */
.wa-bubble::before {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 3px solid rgba(37,211,102,0.4);
  animation: wa-pulse 2.2s ease-out infinite;
}
.wa-bubble::after {
  content: '';
  position: absolute; inset: -16px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.2);
  animation: wa-pulse 2.2s ease-out infinite 0.4s;
}
@keyframes wa-pulse {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Notification dot */
.wa-notif {
  position: absolute;
  top: 2px; right: 2px;
  width: 14px; height: 14px;
  background: #FF3B30;
  border-radius: 50%;
  border: 2px solid white;
  animation: wa-bounce 1s ease infinite alternate;
}
@keyframes wa-bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-3px); }
}

/* Chat panel */
.wa-panel {
  position: absolute;
  bottom: 76px; left: 0;
  width: 320px;
  background: white;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  overflow: hidden;
  transform: scale(0.85) translateY(20px);
  transform-origin: bottom left;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
[dir="rtl"] .wa-panel { left: auto; right: 0; transform-origin: bottom right; }
.wa-panel.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }

.wa-panel-header {
  background: #075E54;
  padding: 1.2rem 1.4rem;
  display: flex; align-items: center; gap: 12px;
}
.wa-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.3);
}
.wa-header-info {}
.wa-header-name { color: white; font-weight: 700; font-size: 0.95rem; }
.wa-header-status {
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  display: flex; align-items: center; gap: 5px;
  margin-top: 2px;
}
.wa-status-dot {
  width: 7px; height: 7px;
  background: #25D366;
  border-radius: 50%;
  animation: wa-bounce 1.2s ease infinite alternate;
}

.wa-chat-area {
  background: #ECE5DD url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cpath fill='none' stroke='%23d4cec6' stroke-width='0.5' d='M10 0v100M20 0v100M30 0v100M40 0v100M50 0v100M60 0v100M70 0v100M80 0v100M90 0v100M0 10h100M0 20h100M0 30h100M0 40h100M0 50h100M0 60h100M0 70h100M0 80h100M0 90h100'/%3E%3C/svg%3E");
  padding: 1.2rem;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Incoming message bubble */
.wa-msg {
  background: white;
  border-radius: 0 10px 10px 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #303030;
  max-width: 85%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: relative;
  animation: wa-msg-in 0.4s ease forwards;
  opacity: 0;
}
[dir="rtl"] .wa-msg { border-radius: 10px 0 10px 10px; }
@keyframes wa-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.wa-msg-time {
  font-size: 0.65rem;
  color: #8696A0;
  text-align: left;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}
.wa-msg-name {
  font-size: 0.72rem;
  color: #075E54;
  font-weight: 700;
  margin-bottom: 4px;
}
.wa-typing {
  background: white;
  border-radius: 0 10px 10px 10px;
  padding: 12px 16px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  width: fit-content;
}
.wa-typing span {
  width: 7px; height: 7px;
  background: #8696A0;
  border-radius: 50%;
  animation: wa-typing-dot 1.2s ease infinite;
}
.wa-typing span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes wa-typing-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* Quick replies */
.wa-quick-replies {
  padding: 0.8rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: white;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.wa-quick-label {
  font-size: 0.72rem;
  color: #8696A0;
  font-weight: 600;
  margin-bottom: 2px;
}
.wa-quick-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 22px;
  border: 1.5px solid #25D366;
  color: #075E54;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  background: white;
}
.wa-quick-btn:hover { background: #25D366; color: white; }

.wa-footer {
  padding: 0.7rem 1rem;
  text-align: center;
  font-size: 0.68rem;
  color: #8696A0;
  background: #f0f2f5;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.wa-footer a { color: #25D366; text-decoration: none; font-weight: 600; }

/* Hide old float-phone button */
.float-phone { display: none !important; }
