/* ============================================
   Atwaq Baghdad - Modern Landing Page Styles
   ============================================ */

:root {
  --primary: #c8102e;
  --primary-dark: #9a0c23;
  --secondary: #1a2332;
  --accent: #f4a300;
  --light: #f8f9fa;
  --gray: #6c757d;
  --dark: #1a1a1a;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

body[dir="rtl"] {
  font-family: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  letter-spacing: 0;
}

body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] .logo-text,
body[dir="rtl"] .hero-badge,
body[dir="rtl"] .eyebrow {
  font-family: 'Reem Kufi', 'Tajawal', 'Segoe UI', sans-serif;
  letter-spacing: 0;
}

body[dir="rtl"] .btn {
  letter-spacing: 0;
  font-weight: 700;
}

body[dir="rtl"] h1 { font-weight: 700; line-height: 1.3; }
body[dir="rtl"] h2 { font-weight: 700; }
body[dir="rtl"] p  { font-weight: 400; line-height: 1.9; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* ============= TOPBAR ============= */
.topbar {
  background: var(--secondary);
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar-contacts {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
}
.topbar-contacts a:hover { color: var(--accent); }
.topbar-socials { display: flex; gap: 12px; align-items: center; }
.topbar-socials a {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  font-size: 13px;
}
.topbar-socials a:hover { background: var(--primary); }

.lang-switch {
  background: var(--primary);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 12px;
  border: none;
  cursor: pointer;
  margin-inline-start: 12px;
}
.lang-switch:hover { background: var(--primary-dark); }

/* ============= NAVBAR ============= */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  color: var(--secondary);
}
.logo img { height: 55px; width: auto; }
.logo-text small {
  display: block;
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-menu a {
  padding: 10px 18px;
  font-weight: 600;
  color: var(--secondary);
  position: relative;
  border-radius: 8px;
}
.nav-menu a > i { display: none; }
.nav-menu-header { display: none; }
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  inset-inline-start: 18px;
  inset-inline-end: 18px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-menu a:hover { color: var(--primary); }
.nav-menu a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 18px;
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
  transition: var(--transition);
  flex-shrink: 0;
}
.nav-toggle:hover { transform: scale(1.05); }
.nav-toggle.active { background: var(--secondary); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* ============= HERO ============= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.85), rgba(200, 16, 46, 0.7)),
    url('../../resources/images/IMG-20241222-WA0034.jpg') center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(244, 163, 0, 0.15), transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  animation: fadeUp 1s ease;
}
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 32px;
  opacity: 0.95;
  max-width: 600px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============= SECTIONS ============= */
section { padding: 90px 0; }

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-head .eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 16px;
}
.section-head h2 span { color: var(--primary); }
.section-head p {
  color: var(--gray);
  font-size: 1.05rem;
}

/* ============= ABOUT ============= */
.about { background: var(--light); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-images img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  height: 100%;
  object-fit: cover;
}
.about-images img:nth-child(1) { grid-row: span 2; height: 420px; }
.about-images img:nth-child(2) { height: 200px; }
.about-images img:nth-child(3) { height: 200px; }

.about-content .eyebrow {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.about-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--secondary);
  margin: 12px 0 20px;
}
.about-content p {
  color: var(--gray);
  margin-bottom: 18px;
  font-size: 1.02rem;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e1e5eb;
}
.stat h3 {
  color: var(--primary);
  font-size: 2.2rem;
  font-weight: 800;
}
.stat p { font-size: 14px; color: var(--gray); margin: 0; }

/* ============= WHY US ============= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.why-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid #eef0f2;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
body[dir="rtl"] .why-card::before { transform-origin: right; }
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  color: var(--white);
  font-size: 32px;
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.25);
}
.why-card h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 12px;
  font-weight: 700;
}
.why-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ============= PRODUCTS ============= */
.products { background: var(--light); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid #eef0f2;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.product-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f0f2f5;
  position: relative;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-image img { transform: scale(1.08); }
.product-image::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 16, 46, 0.85);
  color: var(--white);
  font-size: 32px;
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover .product-image::after { opacity: 1; }
.product-info { padding: 22px; }
.product-info h3 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 8px;
  font-weight: 700;
}
.product-info p {
  color: var(--gray);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============= MODAL ============= */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(5px);
}
.modal.active { display: flex; animation: fadeIn 0.3s; }
.modal-content {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.4s;
}
.modal-close {
  position: absolute;
  top: 15px;
  inset-inline-end: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}
.modal-close:hover { background: var(--primary-dark); transform: rotate(90deg); }

.slider {
  position: relative;
  background: #000;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.slider-track { display: flex; height: 100%; transition: transform 0.5s ease; }
.slider-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  color: var(--secondary);
  transition: var(--transition);
}
.slider-btn:hover { background: var(--primary); color: var(--white); }
.slider-prev { inset-inline-start: 15px; }
.slider-next { inset-inline-end: 15px; }
body[dir="rtl"] .slider-prev i { transform: rotate(180deg); }
body[dir="rtl"] .slider-next i { transform: rotate(180deg); }

.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slider-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dots span.active { background: var(--white); width: 28px; border-radius: 5px; }

.modal-body { padding: 32px; }
.modal-body h2 {
  color: var(--secondary);
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.modal-body p { color: var(--gray); margin-bottom: 14px; line-height: 1.8; }

/* ============= CONTACT ============= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}
.contact-info {
  background: linear-gradient(135deg, var(--secondary), #2a3850);
  color: var(--white);
  padding: 45px;
  border-radius: var(--radius);
}
.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  font-weight: 700;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-item i {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 50%;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.85rem; color: var(--accent); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; }
.contact-item p { font-size: 1rem; color: rgba(255,255,255,0.92); }
.contact-item a { color: rgba(255,255,255,0.92); }
.contact-item a:hover { color: var(--accent); }

/* Always render phone numbers / emails LTR even in RTL layout */
a[href^="tel:"],
a[href^="mailto:"],
.ltr-num {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}
body[dir="rtl"] a[href^="tel:"],
body[dir="rtl"] a[href^="mailto:"] {
  text-align: right;
}

.contact-form {
  background: var(--white);
  padding: 45px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--secondary);
  font-size: 14px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e7ec;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--light);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.captcha-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.captcha-box {
  background: linear-gradient(135deg, #f4f5f7, #e8ebf0);
  padding: 14px 22px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 4px;
  user-select: none;
  border: 2px dashed var(--primary);
  flex-shrink: 0;
}
.captcha-refresh {
  background: var(--light);
  border: 2px solid #e5e7ec;
  width: 44px; height: 44px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--primary);
  transition: var(--transition);
}
.captcha-refresh:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.captcha-row input { flex: 1; }

.form-message {
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  display: none;
}
.form-message.success { display: block; background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-message.error { display: block; background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ============= LOCATION ============= */
.location { padding: 0; }
.location-wrap {
  display: grid;
  grid-template-columns: 400px 1fr;
  min-height: 450px;
}
.location-info {
  background: var(--primary);
  color: var(--white);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.location-info h2 { font-size: 2rem; margin-bottom: 16px; }
.location-info p { margin-bottom: 24px; opacity: 0.95; }
.location-map { width: 100%; height: 100%; min-height: 450px; }
.location-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============= FOOTER ============= */
footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
}
.footer-col p { font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; transition: var(--transition); display: inline-block; }
.footer-col ul a:hover { color: var(--accent); transform: translateX(5px); }
body[dir="rtl"] .footer-col ul a:hover { transform: translateX(-5px); }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-logo img { height: 50px; }
.footer-logo span {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 12px;
}
.footer-contact-item i { color: var(--primary); margin-top: 4px; }

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-socials a {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  font-size: 14px;
  transition: var(--transition);
}
.footer-socials a:hover {
  background: var(--primary);
  transform: translateY(-3px);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom a { color: var(--accent); font-weight: 700; }
.footer-bottom .credit a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}
.footer-bottom .credit a:hover { filter: brightness(1.2); }
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-bottom-right .lang-switch { margin: 0; }
@media (max-width: 600px) {
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom-right { justify-content: center; }
}

/* ============= ANIMATIONS ============= */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============= RESPONSIVE ============= */
@media (max-width: 992px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .location-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 70px 0; }
}

@media (max-width: 768px) {
  /* TOPBAR — compact mobile bar */
  .topbar { padding: 6px 0; font-size: 12.5px; }
  .topbar-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: start;
    gap: 8px;
  }
  .topbar-contacts {
    justify-content: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
  }
  .topbar-contacts a:not(:first-child) { display: none; }
  .topbar-contacts a {
    font-size: 12.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topbar-contacts a span { display: none; }
  .topbar-socials { gap: 6px; flex-shrink: 0; }
  .topbar-socials a:not(.lang-switch) { display: none; }
  .lang-switch { margin: 0; padding: 5px 12px; font-size: 11px; }

  /* NAVBAR — compact, no overflow */
  .nav-toggle { display: inline-flex; }
  .container { padding: 0 16px; }
  .nav-inner { padding: 12px 4px; gap: 12px; }
  .logo { gap: 10px; font-size: 16px; flex: 1; min-width: 0; padding-inline-start: 4px; }
  .logo img { height: 44px; }
  .logo-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .logo-text small { font-size: 9px; letter-spacing: 1.5px; }

  /* SLIDE-OUT MENU — elegant drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    inset-inline-end: -100%;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: inset-inline-end 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0;
    z-index: 999;
    overflow-y: auto;
  }
  .nav-menu.active { inset-inline-end: 0; }
  .nav-menu::before {
    content: '';
    display: block;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
  }
  .nav-menu a > i { display: inline-flex; }
  .nav-menu-header {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 26px 28px 22px;
    background: linear-gradient(135deg, var(--secondary), #2a3850);
    color: var(--white);
    border-bottom: 3px solid var(--primary);
    margin-bottom: 14px;
  }
  .nav-menu-header img { height: 52px; width: auto; }
  .nav-menu-header strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--white);
  }
  .nav-menu-header small {
    display: block;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 3px;
    font-weight: 600;
    margin-top: 2px;
  }
  .nav-menu li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .nav-menu a {
    padding: 18px 28px;
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    transition: var(--transition);
  }
  .nav-menu a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
  }
  .nav-menu a::after { display: none; }
  .nav-menu a:hover,
  .nav-menu a:active {
    background: var(--primary);
    color: var(--white);
    padding-inline-start: 36px;
  }
  .nav-menu a:hover::before,
  .nav-menu a:active::before {
    opacity: 1;
    background: var(--white);
  }

  .about-stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .stat h3 { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 75vh; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .contact-info, .contact-form { padding: 28px 22px; }
  .location-info { padding: 40px 24px; }
  .captcha-row { flex-wrap: wrap; }
  .captcha-row input { flex: 1 1 100%; order: 3; }
}

@media (max-width: 380px) {
  .logo-text { font-size: 14px; }
  .logo-text small { font-size: 8px; }
  .logo img { height: 38px; }
  .topbar-contacts a { font-size: 11.5px; }
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  inset-inline-end: 25px;
  width: 60px; height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); }
@keyframes pulse {
  0% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.8); }
  100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5); }
}
