/* 
─────────────────────────────────────────────────────────────────────────────
1. |RESET
─────────────────────────────────────────────────────────────────────────────
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Tajawal', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* 
─────────────────────────────────────────────────────────────────────────────
2. |VARIABLES
─────────────────────────────────────────────────────────────────────────────
*/

:root {
  /* Brand Colors */
  --c-brand: #823530;
  --c-brand-light: #b8524c;
  --c-brand-tint: rgba(130, 53, 48, 0.06);
  --c-brand-tint-lg: rgba(130, 53, 48, 0.2);

  /* Backgrounds & Text */
  --c-bg: #ffffff;
  --c-bg-alt: #f8f5f4;
  --c-text: #1a0c0b;
  --c-text-2: #6b4744;

  /* Form & Motion */
  --radius-pill: 50px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.18s;
  --t-base: 0.3s;
  --t-navbar: 0.45s;
}

/* 
─────────────────────────────────────────────────────────────────────────────
3. |NAVBAR
─────────────────────────────────────────────────────────────────────────────
*/

/* ===== NAVBAR BASE ===== */
.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 0 clamp(12px, 3vw, 20px);
  transition: padding var(--t-navbar) var(--ease);
}

.site-nav.scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(6px, 1.2vw, 12px) clamp(20px, 4vw, 40px);
  background: transparent;
  border-radius: 0;
  border: none;
  position: relative;
  transition:
    border-radius var(--t-navbar) var(--ease),
    padding var(--t-navbar) var(--ease),
    max-width var(--t-navbar) var(--ease),
    box-shadow var(--t-navbar) var(--ease),
    margin-top var(--t-navbar) var(--ease);
}

/* ===== SCROLLED BASE ===== */
.site-nav.scrolled .nav-inner {
  max-width: 1000px;
  margin-top: 10px;
  padding: clamp(6px, 2vw, 8px) clamp(18px, 3vw, 24px);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.07) !important;
  backdrop-filter: blur(18px) saturate(340%) brightness(1.18) contrast(1.08) !important;
  -webkit-backdrop-filter: blur(18px) saturate(340%) brightness(1.18) contrast(1.08) !important;
  border: none !important;
  box-shadow:
    0 1.5px 0 rgba(255, 255, 255, 1) inset,
    0 6px 12px rgba(255, 255, 255, 0.22) inset,
    0 -1px 0 rgba(255, 255, 255, 0.15) inset,
    0 0 0 0.75px rgba(255, 255, 255, 0.6),
    0 8px 40px rgba(0, 0, 0, 0.13),
    0 2px 10px rgba(0, 0, 0, 0.07) !important;
}

.site-nav.scrolled .nav-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2%;
  right: 2%;
  height: 44%;
  border-radius: 100px 100px 50% 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.28) 45%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

.site-nav.scrolled .nav-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  border-radius: 0 0 100px 100px;
  background: radial-gradient(ellipse 55% 60% at 50% 100%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

.site-nav.scrolled .nav-inner > * {
  position: relative;
  z-index: 3;
}

/* ===== LOGO ===== */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 0 auto;
  transition: opacity var(--t-base) var(--ease);
}

.nav-logo:hover {
  opacity: 0.85;
}

.nav-logo-img {
  width: clamp(40px, 6vw, 50px);
  height: clamp(40px, 6vw, 50px);
  display: block;
  transition:
    width var(--t-navbar) var(--ease),
    height var(--t-navbar) var(--ease);
}

.site-nav.scrolled .nav-logo-img {
  width: clamp(32px, 5vw, 35px);
  height: clamp(32px, 5vw, 35px);
}

.nav-logo-text {
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: clamp(1rem, 4vw, 1.4rem);
  color: var(--c-text);
  transition: font-size var(--t-navbar) var(--ease);
  white-space: nowrap;
}

.nav-logo-text span {
  color: var(--c-brand);
}

.site-nav.scrolled .nav-logo-text {
  font-size: clamp(1rem, 3vw, 1.1rem);
}

/* ===== NAV LINKS ===== */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  margin: 0;
  transition: gap var(--t-navbar) var(--ease);
}

.nav-links a {
  display: block;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  color: var(--c-text-2);
  padding: clamp(6px, 1.5vw, 8px) clamp(10px, 2vw, 14px);
  border-radius: var(--radius-pill);
  transition:
    color var(--t-fast) var(--ease),
    font-size var(--t-navbar) var(--ease),
    padding var(--t-navbar) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--c-brand);
  background: rgba(130, 53, 48, 0.07);
}

.nav-links li {
  position: relative;
}

.nav-links a.active {
  color: var(--c-brand);
  font-weight: 800;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--c-brand);
  border-radius: 50%;
}

.site-nav.scrolled .nav-links a {
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
  padding: clamp(4px, 1vw, 6px) clamp(8px, 1.5vw, 11px);
}

.site-nav.scrolled .nav-links {
  gap: 2px;
}

/* ===== NAV ACTIONS ===== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.lang-switch {
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  color: var(--c-text-2);
  transition: color 0.2s;
}

.lang-switch:hover {
  color: var(--c-brand);
}

.site-nav.scrolled .lang-switch {
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
}

.nav-cta {
  flex-shrink: 0;
  font-size: clamp(0.8rem, 2vw, 0.9rem) !important;
  padding: clamp(8px, 1.5vw, 10px) clamp(18px, 3vw, 22px) !important;
  transition: all var(--t-navbar) var(--ease) !important;
  will-change: padding, font-size, transform;
}

.site-nav.scrolled .nav-cta {
  padding: clamp(5px, 1.2vw, 6px) clamp(14px, 2.5vw, 18px) !important;
  font-size: 0.85rem !important;
}

/* ===== HAMBURGER BUTTON ===== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border: none;
  background: transparent !important;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-hamburger:hover {
  transform: scale(1.05);
}

.nav-hamburger:focus,
.nav-hamburger:active {
  background: transparent !important;
  outline: none;
}

.nav-hamburger span {
  display: block;
  height: 2.5px;
  background: var(--c-text);
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    width 0.25s ease;
  transform-origin: center;
}

.nav-hamburger span:nth-child(1) {
  width: 24px;
}
.nav-hamburger span:nth-child(2) {
  width: 18px;
}
.nav-hamburger span:nth-child(3) {
  width: 24px;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 24px;
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 24px;
}

/* ===== MOBILE OVERLAY ===== */
.nav-mobile-overlay {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(48px) saturate(240%) brightness(1.1);
  -webkit-backdrop-filter: blur(48px) saturate(240%) brightness(1.1);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: clamp(16px, 5vw, 24px);
  background-image: radial-gradient(circle at 10% 20%, rgba(130, 53, 48, 0.04) 0%, transparent 50%), radial-gradient(circle at 90% 80%, rgba(130, 53, 48, 0.03) 0%, transparent 40%);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--t-base) var(--ease),
    visibility 0s linear var(--t-base);
}

.nav-mobile-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity var(--t-base) var(--ease),
    visibility 0s linear 0s;
}

/* ===== MOBILE NAV LINKS + STAGGER ANIMATION ===== */
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px, 1.5vw, 10px);
  list-style: none;
  margin-bottom: 12px;
}

.mobile-nav-links a {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  color: #000000;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  transition: color 0.2s ease;
  text-align: center;
  display: block;
}

.mobile-nav-links a:hover {
  color: var(--c-brand);
}

.mobile-nav-links a.active {
  color: var(--c-brand);
  font-weight: 900;
}

.nav-mobile-overlay .mobile-nav-links li {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.nav-mobile-overlay.open .mobile-nav-links li:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}
.nav-mobile-overlay.open .mobile-nav-links li:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}
.nav-mobile-overlay.open .mobile-nav-links li:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}
.nav-mobile-overlay.open .mobile-nav-links li:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.2s;
}
.nav-mobile-overlay.open .mobile-nav-links li:nth-child(5) {
  opacity: 1;
  transform: none;
  transition-delay: 0.25s;
}

/* ===== MOBILE CTA + SOCIAL + LANG ===== */
.mobile-cta {
  margin-top: 24px;
  margin-bottom: 20px;
}

.lang-switch-mobile {
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: clamp(0.9rem, 3vw, 1rem);
  color: var(--c-text-2);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  margin-bottom: 16px;
}

.lang-switch-mobile:hover {
  color: var(--c-brand);
}

.mobile-social-links {
  display: flex;
  gap: clamp(16px, 3vw, 24px);
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 8vw, 50px);
  height: clamp(40px, 8vw, 50px);
  border-radius: 50%;
  color: var(--c-text-2);
  background: var(--c-brand-tint);
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
  font-size: 1.25rem;
}

.social-link i {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.social-link:hover {
  color: var(--c-brand);
  background: var(--c-brand-tint-lg);
  transform: translateY(-3px) scale(1.08);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-inner {
    margin-left: clamp(12px, 3vw, 20px);
    margin-right: clamp(12px, 3vw, 20px);
    max-width: calc(100% - clamp(24px, 6vw, 40px));
  }

  .site-nav {
    padding: 0 !important;
  }

  .site-nav.scrolled .nav-inner {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    border-radius: 0 !important;
    padding: clamp(12px, 3vw, 16px) clamp(16px, 4vw, 20px) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(44px) saturate(300%) brightness(1.14) !important;
    -webkit-backdrop-filter: blur(44px) saturate(300%) brightness(1.14) !important;
    box-shadow:
      0 1.5px 0 rgba(255, 255, 255, 0.95) inset,
      0 1px 0 rgba(0, 0, 0, 0.05),
      0 4px 20px rgba(0, 0, 0, 0.07) !important;
  }

  .site-nav.scrolled .nav-inner::before {
    border-radius: 0;
    left: 0;
    right: 0;
  }

  .site-nav.scrolled .nav-inner::after {
    border-radius: 0;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 576px) {
  .nav-logo-text {
    font-size: clamp(1rem, 4vw, 1.2rem);
  }
}

@media (max-width: 480px) {
  .nav-logo-img {
    width: 40px;
    height: 40px;
  }

  .site-nav.scrolled .nav-logo-img {
    width: 35px;
    height: 35px;
  }

  .nav-hamburger {
    width: 36px;
    height: 36px;
  }
}

/* ===== SCROLL MARGIN ===== */
section[id] {
  scroll-margin-top: 90px;
}

/* 
─────────────────────────────────────────────────────────────────────────────
4. |FOOTER
─────────────────────────────────────────────────────────────────────────────
*/

.site-footer {
  background: var(--c-text);
  position: relative;
  overflow: hidden;
}

/* ===== Top accent line ===== */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--c-brand) 40%, var(--c-brand-light) 60%, transparent 100%);
}

/* ===== Inner wrapper ===== */
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 60px) clamp(20px, 5vw, 60px) clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ===== Top Row ===== */
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

/* ===== Brand Section ===== */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* ===== Logo ===== */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity var(--t-base) var(--ease);
  width: fit-content;
}

.footer-logo:hover {
  opacity: 0.8;
}

.footer-logo-img {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 9px;
  filter: brightness(1.1);
}

.footer-logo-text {
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: #ffffff;
  white-space: nowrap;
}

.footer-logo-text span {
  color: var(--c-brand-light);
}

/* ===== Tagline ===== */
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 320px;
}

/* ===== Contact Info ===== */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.footer-contact__title,
.footer-social__title {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 4px;
}

.footer-contact__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact__list li i {
  color: var(--c-brand-light);
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.footer-contact__list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact__list a:hover {
  color: var(--c-brand-light);
}

/* ===== Social Wrap ===== */
.footer-social-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

/* ===== Social icons ===== */
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  font-size: 0.9rem;
  transition:
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}

.footer-social-link:hover {
  color: #fff;
  background: var(--c-brand);
  border-color: var(--c-brand);
  transform: translateY(-3px);
}

/* ===== Divider ===== */
.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

/* ===== Copyright ===== */
.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.footer-copyright strong {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* ===== RTL ===== */
[dir='rtl'] .footer-top {
  direction: rtl;
}

[dir='rtl'] .footer-brand {
  align-items: flex-start;
}

[dir='rtl'] .footer-logo {
  flex-direction: row-reverse;
}

[dir='rtl'] .footer-tagline {
  text-align: right;
}

[dir='rtl'] .footer-contact {
  align-items: flex-start;
}

[dir='rtl'] .footer-contact__title,
[dir='rtl'] .footer-social__title {
  text-align: right;
}

[dir='rtl'] .footer-contact__list {
  align-items: flex-start;
}

[dir='rtl'] .footer-contact__list li {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

[dir='rtl'] .footer-contact__list li i {
  order: 1;
  text-align: center;
}

[dir='rtl'] .footer-contact__list a[dir='ltr'] {
  direction: ltr;
  unicode-bidi: embed;
}

[dir='rtl'] .footer-social-wrap {
  align-items: flex-start;
}

[dir='rtl'] .footer-social {
  justify-content: flex-start;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }

  .footer-tagline {
    max-width: 400px;
    text-align: center;
  }

  .footer-contact,
  .footer-social-wrap {
    align-items: center;
    text-align: center;
  }

  .footer-contact__title,
  .footer-social__title {
    text-align: center;
  }

  .footer-contact__list {
    align-items: center;
  }

  .footer-contact__list li {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  /* RTL overrides for tablet - center everything */
  [dir='rtl'] .footer-brand,
  [dir='rtl'] .footer-contact,
  [dir='rtl'] .footer-social-wrap {
    align-items: center;
  }

  [dir='rtl'] .footer-contact__title,
  [dir='rtl'] .footer-social__title,
  [dir='rtl'] .footer-tagline {
    text-align: center;
  }

  [dir='rtl'] .footer-contact__list {
    align-items: center;
  }

  [dir='rtl'] .footer-contact__list li {
    flex-direction: row-reverse;
    justify-content: center;
  }

  [dir='rtl'] .footer-contact__list li i {
    order: 1;
  }

  [dir='rtl'] .footer-social {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .footer-tagline {
    max-width: 280px;
  }
}

/* 
─────────────────────────────────────────────────────────────────────────────
5. |Whatsapp
─────────────────────────────────────────────────────────────────────────────
*/

.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-light) 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(130, 53, 48, 0.35);

  transition:
    transform 0.2s var(--ease, cubic-bezier(0.4, 0, 0.2, 1)),
    box-shadow 0.2s var(--ease, cubic-bezier(0.4, 0, 0.2, 1));

  animation: waPulse 0.8s ease-in-out 3;
}

[dir='rtl'] .whatsapp-btn {
  right: auto;
  left: 24px;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(130, 53, 48, 0.5);
}

.whatsapp-btn i {
  font-size: 28px;
  line-height: 1;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(130, 53, 48, 0.35);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 6px 32px rgba(130, 53, 48, 0.55);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(130, 53, 48, 0.35);
  }
}

/* 
─────────────────────────────────────────────────────────────────────────────
6. |LOADER
─────────────────────────────────────────────────────────────────────────────
*/

#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--c-bg, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.55s;
}

#page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo-wrap {
  position: relative;
  width: 64px;
  height: 64px;
}

.loader-logo-wrap img {
  width: 64px;
  height: 64px;
  display: block;
  border-radius: 14px;
}

.loader-logo-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2.5px solid rgba(130, 53, 48, 0.15);
  border-top-color: var(--c-brand, #823530);
  animation: loaderSpin 0.9s linear infinite;
  margin: -10px;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

/* 
─────────────────────────────────────────────────────────────────────────────
7. |SCROLLBAR
───────────────────────────────────────────────────────────────────────────────
*/

/* Chromium + Safari */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--c-brand-light) 0%, var(--c-brand) 50%, #5a2320 100%);
  border-radius: var(--radius-pill);
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #d4706a 0%, var(--c-brand-light) 50%, var(--c-brand) 100%);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--c-brand) transparent;
}
