.logo-text { pointer-events: none; }

.hero-pattern {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(142, 198, 63, 0.08) 0, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.07) 0, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
}

.kaya-pattern {
  background-image:
    radial-gradient(circle at 15% 85%, rgba(239, 227, 200, 0.10) 0, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(0, 0, 0, 0.18) 0, transparent 45%);
}

.nav-link {
  position: relative;
  padding: 0.5rem 0.125rem;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2.5px;
  width: 0;
  border-radius: 9999px;
  background: linear-gradient(to right, #8ec63f, #7bb828);
  transition: width 0.25s ease;
}
.nav-link:hover,
.nav-link.active { color: #0f52ba; }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.mobile-link {
  padding: 0.75rem 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.mobile-link:hover { background: #f1f5f9; color: #0f52ba; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #8ec63f, #7bb828);
  color: #ffffff;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  box-shadow: 0 10px 24px -8px rgba(142, 198, 63, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(142, 198, 63, 0.7); filter: brightness(1.05); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #8ec63f; transform: translateY(-2px); }

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0f52ba;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.7rem 1.25rem;
  border-radius: 9999px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-call:hover { background: #1d6fa5; transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(15, 82, 186, 0.6); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.7rem 1.25rem;
  border-radius: 9999px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-whatsapp:hover { background: #1ebd57; transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(37, 211, 102, 0.6); }

.btn-cream {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #efe3c8;
  color: #7a1c1c;
  font-weight: 700;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.btn-cream:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 18px 34px -12px rgba(0, 0, 0, 0.5); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7bb828;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.15;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 16px -8px rgba(15, 82, 186, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px -18px rgba(15, 82, 186, 0.22);
  border-color: #8ec63f;
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  border: 1px solid #dbeafe;
}

.check-badge {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: #8ec63f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.contact-card:hover { border-color: #8ec63f; transform: translateX(4px); }

.contact-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #0f52ba, #1d6fa5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
  outline: none;
  border-color: #0f52ba;
  box-shadow: 0 0 0 4px rgba(15, 82, 186, 0.12);
}
.form-input.invalid { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1); }

.field-error {
  display: none;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #dc2626;
  font-weight: 500;
}
.field-error.visible { display: block; }

.footer-link {
  transition: color 0.2s ease;
}
.footer-link:hover { color: #8ec63f; }

.social-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dbeafe;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-btn:hover { background: #8ec63f; color: #ffffff; transform: translateY(-3px); }

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.7);
  transition: transform 0.2s ease;
  animation: wa-pulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.08); animation: none; }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.7), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.7), 0 0 0 14px rgba(37, 211, 102, 0); }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 60;
  max-width: min(92vw, 480px);
  background: #0f172a;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.9rem 1.4rem;
  border-radius: 1rem;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s ease;
  text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: #166534; border: 1px solid #8ec63f; }
.toast.error { background: #7a1c1c; border: 1px solid #ef4444; }

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float { animation: none; }
  html { scroll-behavior: auto; }
}

.lang-switcher {
  position: relative;
  z-index: 9999;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0d47a1;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  line-height: 1;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lang-toggle:hover,
.lang-switcher:focus-within .lang-toggle {
  border-color: #8ec63f;
  background: #0e4db3;
}

.lang-current {
  white-space: nowrap;
  font-weight: 700;
  text-align: center;
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  max-width: calc(100vw - 24px);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 18px 40px -12px rgba(15, 82, 186, 0.35);
  padding: 6px;
  list-style: none;
  margin: 0;
  overflow: hidden;
}
.lang-switcher:hover .lang-menu,
.lang-switcher:focus-within .lang-menu {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 9px 12px;
  border-radius: 7px;
  border: 0;
  background: transparent;
  color: #334155;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  appearance: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-option:hover {
  background: #f1f5f9;
  color: #0d47a1;
}
.lang-option.active {
  background: #eef8e3;
  color: #7bb828;
  font-weight: 700;
}

[dir="rtl"] body,
[dir="rtl"] .section-title,
[dir="rtl"] .font-display {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}

[dir="rtl"] .eyebrow { letter-spacing: 0; }
[dir="rtl"] .section-title { letter-spacing: 0; }
[dir="rtl"] .nav-link::after { left: auto; right: 0; }
[dir="rtl"] .lang-option { text-align: right; }

@media (min-width: 640px) {
  [dir="rtl"] .sm\:text-left { text-align: right; }
}

[dir="rtl"] .contact-card:hover { transform: translateX(-4px); }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .wa-float { right: auto; left: 1.25rem; }
