/* ========================================
   AVENOR — Premium Design System
   Agency-Level Quality
   ======================================== */

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

:root {
  --gold: #C39E41;
  --gold-light: #D4B05A;
  --navy: #092844;
  --navy-light: #0D3A5C;
  --teal: #217F89;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6B7280;
  --gray-300: #D1D5DB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;
  
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --container: 1280px;
  --gap: 24px;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  
  --transition: 0.2s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
}

::selection {
  background: var(--navy);
  color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ═══════════════════════════════════════
   Layout
   ═══════════════════════════════════════ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.container--narrow {
  max-width: 800px;
}

/* ═══════════════════════════════════════
   Typography
   ═══════════════════════════════════════ */

.display {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--gray-900);
}

.h1 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

.h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

.h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--gray-900);
}

.h4 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--gray-900);
}

.body-lg {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--gray-500);
}

.body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-500);
}

.body-sm {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-500);
}

.overline {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ═══════════════════════════════════════
   Buttons
   ═══════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: var(--gray-100);
  color: var(--gray-900);
}

.btn--secondary:hover {
  background: var(--gray-300);
}

.btn--outline {
  background: transparent;
  color: var(--gray-900);
  border: 1.5px solid var(--gray-300);
}

.btn--outline:hover {
  border-color: var(--gray-900);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
}

.btn--white:hover {
  background: var(--gray-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ═══════════════════════════════════════
   Navigation
   ═══════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.nav__logo img {
  height: 64px;
  width: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav__link {
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-500);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav__link:hover {
  color: var(--gray-900);
  background: var(--gray-50);
}

.nav__link--active {
  color: var(--gray-900);
}

.nav__cta {
  margin-left: 16px;
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.lang-btn {
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-500);
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.lang-btn:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.lang-btn--active {
  background: var(--navy);
  color: var(--white);
}

.lang-btn--active:hover {
  background: var(--navy-light);
  color: var(--white);
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-900);
  border-radius: 1px;
  transition: all 0.3s;
}

/* Mobile Menu */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav__menu {
  list-style: none;
  text-align: center;
}

.mobile-nav__link {
  display: block;
  padding: 16px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
}

.mobile-nav__link:hover {
  color: var(--gold);
}

.mobile-nav__lang {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 32px !important;
  font-size: 1rem !important;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  color: var(--navy) !important;
}

.mobile-nav__lang:hover {
  background: var(--navy);
  color: var(--white) !important;
}

/* ═══════════════════════════════════════
   Hero Section
   ═══════════════════════════════════════ */

.hero {
  padding: 160px 0 120px;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero__content {
  max-width: 560px;
}

.hero__overline {
  margin-bottom: 16px;
}

.hero__title {
  margin-bottom: 24px;
}

.hero__desc {
  margin-bottom: 40px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 12px;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image {
  width: 100%;
  max-width: 480px;
  padding: 64px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero__image img {
  width: 100%;
  height: auto;
}

/* ═══════════════════════════════════════
   Section
   ═══════════════════════════════════════ */

.section {
  padding: 120px 0;
}

.section--gray {
  background: var(--gray-50);
}

.section--navy {
  background: var(--navy);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section__header .overline {
  margin-bottom: 16px;
}

.section__header .h2 {
  margin-bottom: 16px;
}

.section__header--left {
  text-align: left;
  margin: 0 0 48px;
}

/* ═══════════════════════════════════════
   Services Grid
   ═══════════════════════════════════════ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card__number {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 24px;
}

.service-card__title {
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-500);
}

/* ═══════════════════════════════════════
   Values Section
   ═══════════════════════════════════════ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.value-item {
  text-align: center;
}

.value-item__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.value-item__icon svg {
  width: 28px;
  height: 28px;
  color: var(--navy);
}

.value-item__title {
  margin-bottom: 8px;
}

.value-item__desc {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

/* ═══════════════════════════════════════
   About Section
   ═══════════════════════════════════════ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__image {
  padding: 48px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
}

.about__image img {
  max-width: 320px;
  margin: 0 auto;
}

.about__content .overline {
  margin-bottom: 16px;
}

.about__content .h2 {
  margin-bottom: 24px;
}

.about__content p {
  margin-bottom: 16px;
}

.about__content p:last-of-type {
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════
   CTA Section
   ═══════════════════════════════════════ */

.cta {
  padding: 80px 0;
  background: var(--navy);
  text-align: center;
}

.cta__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
}

.cta__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════
   Page Hero
   ═══════════════════════════════════════ */

.page-hero {
  padding: 160px 0 80px;
  background: var(--gray-50);
}

.page-hero .overline {
  margin-bottom: 16px;
}

.page-hero .h1 {
  margin-bottom: 16px;
  max-width: 640px;
}

.page-hero__desc {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 560px;
}

/* ═══════════════════════════════════════
   Contact Section
   ═══════════════════════════════════════ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info__title {
  margin-bottom: 32px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
  color: var(--navy);
}

.contact-info__label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-900);
}

a.contact-info__value:hover {
  color: var(--gold);
}

/* Contact Form */
.contact-form {
  padding: 48px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
}

.contact-form__title {
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--gray-900);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(9, 40, 68, 0.1);
}

.form-input::placeholder {
  color: var(--gray-500);
}

textarea.form-input {
  resize: vertical;
  min-height: 140px;
}

.contact-form .btn {
  width: 100%;
}

/* ═══════════════════════════════════════
   Footer
   ═══════════════════════════════════════ */

.footer {
  background: var(--gray-900);
  padding: 80px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand img {
  height: 48px;
  margin-bottom: 20px;
}

.footer__desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
}

.footer__link {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 6px 0;
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
}

.footer__copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__social {
  display: flex;
  gap: 8px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition);
}

.footer__social-link:hover {
  background: var(--gold);
  color: var(--white);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

/* ═══════════════════════════════════════
   Floating Buttons
   ═══════════════════════════════════════ */

.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
}

.whatsapp-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
}

.back-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  background: var(--gray-900);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.back-top.show {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  background: var(--navy);
}

.back-top svg {
  width: 20px;
  height: 20px;
}

/* ═══════════════════════════════════════
   Responsive
   ═══════════════════════════════════════ */

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 64px;
    text-align: center;
  }
  
  .hero__content {
    max-width: 100%;
  }
  
  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero__actions {
    justify-content: center;
  }
  
  .hero__visual {
    order: -1;
  }
  
  .hero__image {
    max-width: 360px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --gap: 16px;
  }
  
  .nav__menu,
  .nav__cta {
    display: none;
  }
  
  .nav__burger {
    display: flex;
  }
  
  .nav__inner {
    height: 64px;
  }
  
  .nav__logo img {
    height: 40px;
  }
  
  .lang-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
    margin-right: 8px;
  }
  
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero__image {
    max-width: 200px;
    padding: 32px;
  }
  
  .display {
    font-size: 2rem;
    line-height: 1.15;
  }
  
  .h1 {
    font-size: 1.75rem;
  }
  
  .h2 {
    font-size: 1.5rem;
  }
  
  .body-lg {
    font-size: 1rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section__header {
    margin-bottom: 40px;
  }
  
  .page-hero {
    padding: 100px 0 50px;
  }
  
  .page-hero__desc {
    font-size: 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer {
    padding: 50px 0 24px;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }
  
  .footer__brand {
    text-align: center;
  }
  
  .footer__brand img {
    margin: 0 auto 16px;
  }
  
  .footer__desc {
    max-width: 100%;
    text-align: center;
  }
  
  .footer__title {
    text-align: center;
  }
  
  .footer__link {
    text-align: center;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .cta {
    padding: 50px 0;
  }
  
  .cta__title {
    font-size: 1.25rem;
  }
  
  .cta__desc {
    font-size: 0.9375rem;
  }
  
  /* Mobile Nav Improvements */
  .mobile-nav {
    padding: 80px 24px 40px;
  }
  
  .mobile-nav__link {
    font-size: 1.25rem;
    padding: 14px;
  }
  
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-btn svg {
    width: 24px;
    height: 24px;
  }
  
  .back-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    left: 20px;
  }
  
  .back-top svg {
    width: 18px;
    height: 18px;
  }
  
  .values-grid {
    gap: 24px;
  }
  
  .value-item__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }
  
  .value-item__icon svg {
    width: 24px;
    height: 24px;
  }
  
  .value-item__title {
    font-size: 1rem;
  }
  
  .about-grid {
    gap: 32px;
  }
  
  .about__image {
    padding: 32px;
  }
  
  .about__image img {
    max-width: 200px;
  }
  
  .contact-grid {
    gap: 32px;
  }
  
  .contact-info__title {
    font-size: 1.125rem;
    margin-bottom: 24px;
  }
  
  .contact-info__item {
    margin-bottom: 20px;
  }
  
  .contact-info__icon {
    width: 44px;
    height: 44px;
  }
  
  .contact-form {
    padding: 28px 20px;
  }
  
  .contact-form__title {
    font-size: 1.125rem;
    margin-bottom: 24px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-input {
    padding: 12px 14px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 90px 0 50px;
  }
  
  .hero__inner {
    gap: 40px;
  }
  
  .hero__image {
    max-width: 160px;
    padding: 24px;
  }
  
  .display {
    font-size: 1.75rem;
  }
  
  .hero__desc {
    font-size: 0.9375rem;
    margin-bottom: 28px;
  }
  
  .hero__actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 0.875rem;
  }
  
  .service-card {
    padding: 24px 20px;
  }
  
  .service-card__number {
    margin-bottom: 16px;
  }
  
  .service-card__title {
    font-size: 1.0625rem;
    margin-bottom: 8px;
  }
  
  .service-card__desc {
    font-size: 0.875rem;
  }
  
  .section__header .h2 {
    margin-bottom: 12px;
  }
  
  .overline {
    font-size: 0.875rem;
    margin-bottom: 12px;
  }
  
  .page-hero .h1 {
    margin-bottom: 12px;
  }
  
  .contact-form {
    padding: 24px 16px;
  }
}

/* ═══════════════════════════════════════
   RTL Support (Arabic)
   ═══════════════════════════════════════ */

html[dir="rtl"] {
  --font: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html[dir="rtl"] body {
  font-family: var(--font);
}

html[dir="rtl"] .nav__cta {
  margin-left: 0;
  margin-right: 16px;
}

html[dir="rtl"] .nav__lang {
  margin-left: 0;
  margin-right: 12px;
}

html[dir="rtl"] .hero__inner {
  direction: rtl;
}

html[dir="rtl"] .hero__content {
  text-align: right;
}

html[dir="rtl"] .hero__actions {
  justify-content: flex-start;
}

html[dir="rtl"] .section__header {
  text-align: center;
}

html[dir="rtl"] .section__header--left {
  text-align: right;
}

html[dir="rtl"] .service-card {
  text-align: right;
}

html[dir="rtl"] .value-item {
  text-align: center;
}

html[dir="rtl"] .about__content {
  text-align: right;
}

html[dir="rtl"] .page-hero {
  text-align: right;
}

html[dir="rtl"] .contact-info__item {
  flex-direction: row-reverse;
  text-align: right;
}

html[dir="rtl"] .contact-form {
  text-align: right;
}

html[dir="rtl"] .form-label {
  text-align: right;
}

html[dir="rtl"] .form-input {
  text-align: right;
}

html[dir="rtl"] .footer__grid {
  direction: rtl;
}

html[dir="rtl"] .footer__brand {
  text-align: right;
}

html[dir="rtl"] .footer__link {
  text-align: right;
}

html[dir="rtl"] .footer__bottom {
  flex-direction: row-reverse;
}

html[dir="rtl"] .whatsapp-btn {
  right: auto;
  left: 24px;
}

html[dir="rtl"] .back-top {
  left: auto;
  right: 24px;
}

html[dir="rtl"] .mobile-nav__menu {
  text-align: center;
}

html[dir="rtl"] .cta {
  text-align: center;
}

@media (max-width: 1024px) {
  html[dir="rtl"] .hero__content {
    text-align: center;
  }
  
  html[dir="rtl"] .hero__actions {
    justify-content: center;
  }
  
  html[dir="rtl"] .page-hero {
    text-align: center;
  }
  
  html[dir="rtl"] .about__content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  html[dir="rtl"] .lang-btn {
    margin-right: 0;
    margin-left: 8px;
  }
  
  html[dir="rtl"] .footer__brand {
    text-align: center;
  }
  
  html[dir="rtl"] .footer__desc {
    text-align: center;
  }
  
  html[dir="rtl"] .footer__title {
    text-align: center;
  }
  
  html[dir="rtl"] .footer__link {
    text-align: center;
  }
  
  html[dir="rtl"] .contact-info__item {
    flex-direction: row;
    text-align: right;
  }
  
  html[dir="rtl"] .whatsapp-btn {
    right: 20px;
    left: auto;
  }
  
  html[dir="rtl"] .back-top {
    left: 20px;
    right: auto;
  }
}
