/* ==========================================================================
   Samara Cosmetic Clinic - Master Stylesheet
   Dr. Samara brand palette — approved beige #EBDDCA + light cream #F9F8F6 + dark grey #595A5A + dark ink #221F1F
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');

@font-face {
  font-family: 'Hauora';
  src: url('../fonts/Hauora-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-display: swap;
}
@font-face {
  font-family: 'Hauora';
  src: url('../fonts/Hauora-Light.otf') format('opentype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Hauora';
  src: url('../fonts/Hauora-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Hauora';
  src: url('../fonts/Hauora-Medium.otf') format('opentype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Hauora';
  src: url('../fonts/Hauora-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Hauora';
  src: url('../fonts/Hauora-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Hauora';
  src: url('../fonts/Hauora-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-display: swap;
}

@import url('next-globals.css');

:root {
  --cream: #f9f8f6;
  --beige: #ebddca;
  --sand: #f9f8f6;
  --dark-grey: #595a5a;
  --camel: #595a5a;
  --bronze: #595a5a;
  --bronze-dark: #3a3b3b;
  --gold: #595a5a;
  --ink: #221f1f;
  --ink-deep: #191616;
  --muted: #595a5a;
  --line: #dedad2;
  --font-heading: 'Hauora', 'Cairo', sans-serif;
  --font-body: 'Hauora', 'Cairo', sans-serif;
  --font-slider: 'Tajawal', 'Cairo', sans-serif;
}

/* Ensure images never blow up */
img {
  max-width: 100%;
  height: auto;
}

header img, .site-logo {
  max-height: 80px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

[dir="ltr"] {
  font-family: 'Hauora', 'Cairo', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  max-width: 100%;
  display: block;
}

/* Utilities & Layout */
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-60 { z-index: 60; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mr-auto { margin-right: auto; }
.ml-auto { margin-left: auto; }
.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }

.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-\[1440px\] { max-width: 1440px; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.justify-start { justify-content: flex-start; }
.shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }
.self-start { align-self: flex-start; }
.self-center { align-self: center; }
.self-end { align-self: flex-end; }

/* Grid columns */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:inline { display: inline; }
  .sm\:inline-block { display: inline-block; }
  .sm\:block { display: block; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:inline-block { display: inline-block; }
  .md\:text-right { text-align: right; }
  [dir="ltr"] .md\:text-right { text-align: left; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-\[1fr_1\.4fr\] { grid-template-columns: 1fr 1.4fr; }
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Gaps */
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-3\.5 { gap: 0.875rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-14 { gap: 3.5rem; }
.gap-x-2 { column-gap: 0.5rem; }
.gap-x-3 { column-gap: 0.75rem; }
.gap-y-1 { row-gap: 0.25rem; }

/* Spacing Padding & Margin */
.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.p-9 { padding: 2.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-9 { padding-left: 2.25rem; padding-right: 2.25rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.pt-24 { padding-top: 6rem; }
.pt-32 { padding-top: 8rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-28 { padding-bottom: 7rem; }
.pr-5 { padding-right: 1.25rem; }
.pr-6 { padding-right: 1.5rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-2\.5 { margin-bottom: 0.625rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-7 { margin-bottom: 1.75rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-11 { margin-bottom: 2.75rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3\.5 { margin-top: 0.875rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-11 { margin-top: 2.75rem; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

/* Colors */
.bg-cream { background-color: var(--cream); }
.bg-beige { background-color: var(--beige); }
.bg-sand { background-color: var(--sand); }
.bg-sand\/40 { background-color: rgba(249, 248, 246, 0.4); }
.bg-white { background-color: #ffffff; }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.bg-ink { background-color: var(--ink); }
.bg-black { background-color: #000000; }
.bg-\[\#595A5A\] { background-color: #595A5A; }
.bg-\[\#3a3b3b\] { background-color: #3a3b3b; }
.bg-green-100 { background-color: #dcfce7; }
.bg-red-100 { background-color: #fee2e2; }

.text-ink { color: var(--ink); }
.text-muted { color: var(--muted); }
.text-sand { color: #ebddca; }
.text-white { color: #ffffff; }
.text-\[\#595A5A\] { color: #595A5A; }
.text-\[\#C7C7C7\] { color: #C7C7C7; }
.text-\[\#d4af37\] { color: #d4af37; }
.text-\[\#d1d1d1\] { color: #d1d1d1; }
.text-green-800 { color: #166534; }
.text-red-800 { color: #991b1b; }

.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-4 { border-width: 4px; border-style: solid; }
.border-\[6px\] { border-width: 6px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-style: solid; }
.border-t-2 { border-top-width: 2px; border-top-style: solid; }
.border-r-4 { border-right-width: 4px; border-right-style: solid; }
.border-r-\[3px\] { border-right-width: 3px; border-right-style: solid; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.border-l-\[3px\] { border-left-width: 3px; border-left-style: solid; }
.border-0 { border-width: 0 !important; }

.border-line { border-color: var(--line); }
.border-line\/40 { border-color: rgba(222, 218, 210, 0.4); }
.border-line\/50 { border-color: rgba(222, 218, 210, 0.5); }
.border-line\/60 { border-color: rgba(222, 218, 210, 0.6); }
.border-white { border-color: #ffffff; }
.border-white\/60 { border-color: rgba(255, 255, 255, 0.6); }
.border-camel { border-color: var(--camel); }
.border-gold { border-color: var(--gold); }
.border-\[\#595A5A\]\/30 { border-color: rgba(89, 90, 90, 0.3); }
.border-\[\#595A5A\]\/40 { border-color: rgba(89, 90, 90, 0.4); }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-\[11px\] { font-size: 11px; }
.text-\[13px\] { font-size: 13px; }
.text-\[14px\] { font-size: 14px; }
.text-\[15px\] { font-size: 15px; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }

.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.leading-6 { line-height: 1.5rem; }
.leading-7 { line-height: 1.75rem; }
.leading-8 { line-height: 2rem; }
.leading-9 { line-height: 2.25rem; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre-line { white-space: pre-line; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.underline { text-decoration: underline; }

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Rounded */
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-b-xl { border-bottom-left-radius: 0.75rem; border-bottom-right-radius: 0.75rem; }

/* Shadows */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.drop-shadow-sm { filter: drop-shadow(0 1px 1px rgba(0,0,0,0.05)); }
.drop-shadow-md { filter: drop-shadow(0 4px 3px rgba(0,0,0,0.07)); }

/* Transitions & Transforms */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-top { object-position: top; }
.aspect-video { aspect-ratio: 16 / 9; }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* ---------- Scroll Reveal Animations ---------- */
.anim {
  opacity: 0;
}
.anim.in-view {
  opacity: 1;
  animation-duration: 1s;
  animation-fill-mode: both;
}
.anim.in-view.a-fadeInUp { animation-name: fadeInUp; }
.anim.in-view.a-fadeInDown { animation-name: fadeInDown; }
.anim.in-view.a-fadeInLeft { animation-name: fadeInLeft; }
.anim.in-view.a-fadeInRight { animation-name: fadeInRight; }
.anim.in-view.a-fadeIn { animation-name: fadeIn; }
.anim.in-view.a-zoomInDown { animation-name: zoomInDown; }
.anim.in-view.a-zoomInUp { animation-name: zoomInUp; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 50px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translate3d(0, -50px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translate3d(-60px, 0, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translate3d(60px, 0, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes zoomInDown {
  from {
    opacity: 0;
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -600px, 0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  60% {
    opacity: 1;
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
  to { opacity: 1; transform: none; }
}
@keyframes zoomInUp {
  from {
    opacity: 0;
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 600px, 0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  60% {
    opacity: 1;
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
  to { opacity: 1; transform: none; }
}

/* ---------- Hero Ken Burns Slideshow ---------- */
@keyframes kenburns-in {
  from { transform: scale(1); }
  to { transform: scale(1.15); }
}
.hero-slider-container {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: var(--ink);
}
@media (min-width: 768px) {
  .hero-slider-container { min-height: 640px; }
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide.active img {
  animation: kenburns-in 6s ease-out both;
}

/* ---------- Marquee ---------- */
@keyframes marquee-rtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-ltr {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}
.marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: marquee-rtl 60s linear infinite;
}
[dir="ltr"] .marquee-track {
  animation: marquee-rtl 60s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* ---------- 3D Flip Box ---------- */
.flip-box {
  position: relative;
  perspective: 1200px;
}
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
  transform-style: preserve-3d;
}
.flip-box:hover .flip-inner,
.flip-box:focus-within .flip-inner,
.flip-box.flipped .flip-inner {
  transform: rotateX(180deg);
}
.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 22px;
  overflow: hidden;
}
.flip-back {
  transform: rotateX(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.25s ease;
  cursor: pointer;
  text-align: center;
  border: none;
  font-family: inherit;
}
.btn-bronze {
  background: var(--dark-grey);
  color: #ffffff !important;
}
.btn-bronze:hover {
  background: #3a3b3b;
  color: #ffffff !important;
}
.btn-outline {
  border: 1.5px solid var(--dark-grey);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover {
  background: var(--dark-grey);
  color: #ffffff !important;
}
.btn-dark {
  background: var(--ink);
  color: var(--sand) !important;
}
.btn-dark:hover {
  background: var(--ink-deep);
  color: #ffffff !important;
}
@keyframes pop {
  50% { transform: scale(1.08); }
}
.hover-pop:hover {
  animation: pop 0.3s linear 1;
}

/* ---------- Cards & Interactions ---------- */
.card-hover {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(34, 31, 31, 0.14);
}
.img-zoom img {
  transition: transform 0.6s ease;
}
.img-zoom:hover img {
  transform: scale(1.07);
}
@keyframes bounceIn {
  0% { transform: scale(1); }
  30% { transform: scale(1.04); }
  60% { transform: scale(0.98); }
  100% { transform: scale(1.02); }
}
.bounce-hover:hover img {
  animation: bounceIn 0.6s ease both;
}

/* ---------- Nav Dropdown ---------- */
.nav-item .dropdown {
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.25s ease;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Accordion ---------- */
.faq-item .faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}
.faq-item.open .faq-body {
  grid-template-rows: 1fr;
}
.faq-body > div {
  overflow: hidden;
}

/* ---------- Shape Dividers ---------- */
.shape-divider {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
  line-height: 0;
  direction: ltr;
}
.shape-divider svg {
  display: block;
  width: calc(130% + 1.3px);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.shape-divider.top {
  top: -1px;
}
.shape-divider.bottom {
  bottom: -1px;
  transform: rotate(180deg);
}

/* ---------- Floating Controls ---------- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  cursor: pointer;
  border: none;
}
.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover {
  background: var(--dark-grey);
  transform: translateY(-4px);
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 12px 20px;
  border-radius: 9999px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  font-weight: 800;
  font-size: 14px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  color: #fff;
}
[dir="ltr"] .whatsapp-float {
  right: auto;
  left: 30px;
}
[dir="ltr"] .scroll-top {
  left: auto;
  right: 30px;
}

/* ---------- Admin Elements ---------- */
.admin-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  outline-color: var(--ink);
  transition: border-color 0.2s;
}
.admin-input:focus {
  border-color: var(--dark-grey);
}
.admin-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
}
[dir="ltr"] .admin-table {
  text-align: left;
}
.admin-table th, .admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.admin-table th {
  background: var(--cream);
  font-weight: 800;
  font-size: 13px;
  color: var(--ink);
}
.admin-table tr:hover td {
  background: rgba(235, 221, 202, 0.15);
}
