/* ============ LUXURY OBSIDIAN ============ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #141210;
  --bg-soft: #1a1715;
  --bg-card: #1c1815;
  --text: #f5f0e8;
  --text-dim: #b8ad9d;
  --text-muted: #7a6f60;
  --gold: #e0a94a;
  --gold-bright: #f4c76b;
  --gold-dark: #b8862f;
  --copper: #c4813a;
  --bronze: #8b6914;
  --border: rgba(224, 169, 74, 0.12);
  --border-hover: rgba(224, 169, 74, 0.35);
  --card-bg: rgba(224, 169, 74, 0.025);
  --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-serif: 'Cormorant Garamond', 'Cairo', serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 14px;
  --radius-lg: 22px;
  --trans: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(224, 169, 74, 0.3) transparent;
}

body {
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
}

body:not(.loaded) { overflow: hidden; }
body.loaded { overflow: visible; }

a, button { cursor: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; color: inherit; }
svg { display: block; max-width: 100%; }

::selection {
  background: rgba(224, 169, 74, 0.35);
  color: #fff;
}

/* ============ CUSTOM CURSOR ============ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold), 0 0 24px rgba(224, 169, 74, 0.4);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(224, 169, 74, 0.4);
  border-radius: 50%;
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
}

body.cursor-hover .cursor-dot {
  width: 10px; height: 10px;
  background: var(--copper);
  box-shadow: 0 0 16px var(--copper);
}

body.cursor-hover .cursor-ring {
  width: 50px; height: 50px;
  border-color: rgba(224, 169, 74, 0.7);
  background: rgba(224, 169, 74, 0.06);
}

@media (max-width: 768px) {
  body, a, button { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============ LOADER ============ */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }

.loader-text {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  display: block;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
  animation: loaderPulse 2s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(224, 169, 74, 0.5);
}

.loader-bar {
  width: 220px; height: 1px;
  background: rgba(224, 169, 74, 0.15);
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loaderFill 1.8s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes loaderFill {
  0% { width: 0; margin-right: 100%; }
  50% { width: 100%; margin-right: 0; }
  100% { width: 0; margin-right: 0; margin-left: 100%; }
}

/* ============ BACKGROUND ============ */
.bg-aurora {
  position: fixed; inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  will-change: transform;
}

.aurora-1 {
  width: 650px; height: 650px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  top: -20%; right: -15%;
  animation: auroraFloat1 22s ease-in-out infinite;
}

.aurora-2 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, var(--copper) 0%, transparent 70%);
  bottom: -15%; left: -15%;
  animation: auroraFloat2 26s ease-in-out infinite;
}

.aurora-3 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, var(--bronze) 0%, transparent 70%);
  top: 45%; left: 55%;
  transform: translate(-50%, -50%);
  animation: auroraFloat3 30s ease-in-out infinite;
  opacity: 0.18;
}

@keyframes auroraFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-70px, 70px) scale(1.15); }
  66% { transform: translate(40px, -40px) scale(0.95); }
}

@keyframes auroraFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(90px, -90px) scale(1.2); }
}

@keyframes auroraFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-40%, -60%) scale(1.3); }
}

.bg-grid {
  position: fixed; inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(224, 169, 74, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 169, 74, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
  pointer-events: none;
}

#particles {
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}

.bg-noise {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bg-vignette {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(10, 8, 6, 0.7) 100%);
}

/* ============ AUDIO BUTTON ============ */
.audio-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all var(--trans);
}

.audio-btn:hover {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(224, 169, 74, 0.3);
  transform: scale(1.05);
}

.audio-btn .icon { position: absolute; transition: all var(--trans); }
.audio-btn .icon-off { opacity: 1; transform: scale(1); }
.audio-btn .icon-on { opacity: 0; transform: scale(0.7); }
.audio-btn.playing .icon-off { opacity: 0; transform: scale(0.7); }
.audio-btn.playing .icon-on { opacity: 1; transform: scale(1); }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; right: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-bright));
  z-index: 1000;
  box-shadow: 0 0 12px rgba(224, 169, 74, 0.6);
  transition: width 0.1s linear;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 32px;
  background: rgba(20, 18, 16, 0.5);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-bottom: 1px solid var(--border);
  transition: all var(--trans);
}

.nav.scrolled {
  padding: 14px 32px;
  background: rgba(20, 18, 16, 0.8);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.logo-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.nav-links { display: flex; gap: 36px; }

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color var(--trans);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0; left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform var(--trans);
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(224, 169, 74, 0.05);
  border: 1px solid rgba(224, 169, 74, 0.25);
  border-radius: 100px;
  margin-bottom: 44px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold-bright);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.5); }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(80px, 17vw, 200px);
  font-weight: 500;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  position: relative;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 40%, var(--copper) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 100px rgba(224, 169, 74, 0.4);
}

.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; right: 0; left: 0;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  pointer-events: none;
}

.glitch::before { animation: glitch1 5s infinite; }
.glitch::after { animation: glitch2 5s infinite; }

@keyframes glitch1 {
  0%, 95%, 100% { opacity: 0; transform: translate(0, 0); }
  96% { opacity: 0.8; transform: translate(-2px, 1px); }
  97% { opacity: 0.8; transform: translate(1px, -1px); }
  98% { opacity: 0; }
}

@keyframes glitch2 {
  0%, 95%, 100% { opacity: 0; transform: translate(0, 0); }
  96% { opacity: 0.8; transform: translate(2px, -1px); }
  97% { opacity: 0.8; transform: translate(-1px, 1px); }
  98% { opacity: 0; }
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 24px;
  min-height: 32px;
  direction: ltr;
  letter-spacing: 0.05em;
}

.typing {
  color: var(--gold);
  text-shadow: 0 0 20px rgba(224, 169, 74, 0.5);
}

.typing-cursor {
  color: var(--gold);
  animation: blink 1s step-end infinite;
  font-weight: 300;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-desc {
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 400;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto 52px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 12px;
  transition: all var(--trans);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn svg { flex-shrink: 0; transition: transform var(--trans); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--copper));
  color: #1a1410;
  box-shadow: 0 8px 28px rgba(224, 169, 74, 0.25), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(224, 169, 74, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-primary:hover svg { transform: translateX(-4px); }

.btn-secondary {
  background: rgba(224, 169, 74, 0.04);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(224, 169, 74, 0.08);
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(224, 169, 74, 0.15);
}

.hero-scroll {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ SECTION ============ */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 32px;
  position: relative;
}

.section-head { text-align: center; margin-bottom: 80px; }

.section-tag {
  display: inline-block;
  padding: 7px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  background: rgba(224, 169, 74, 0.05);
  border: 1px solid rgba(224, 169, 74, 0.2);
  border-radius: 100px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.section-title {
  font-family: var(--font-ar);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub { font-size: 16px; color: var(--text-dim); }

/* ============ CARDS GRID ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  perspective: 1000px;
}

.card {
  position: relative;
  padding: 34px 26px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--trans), background var(--trans), transform 0.1s ease-out;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  will-change: transform;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--trans);
}

.card:hover {
  border-color: var(--border-hover);
  background: rgba(224, 169, 74, 0.04);
}

.card:hover::before { opacity: 1; }

.card-glow {
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 169, 74, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity var(--trans);
  pointer-events: none;
  transform: translate(-50%, -50%);
  filter: blur(30px);
}

.card:hover .card-glow { opacity: 1; }

.card-icon {
  width: 58px; height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(224, 169, 74, 0.12), rgba(196, 129, 58, 0.06));
  color: var(--gold);
  border: 1px solid rgba(224, 169, 74, 0.2);
  transition: all var(--trans);
  transform: translateZ(30px);
}

.card-icon svg { width: 24px !important; height: 24px !important; }

.card:hover .card-icon {
  background: linear-gradient(135deg, rgba(224, 169, 74, 0.22), rgba(196, 129, 58, 0.12));
  box-shadow: 0 0 30px rgba(224, 169, 74, 0.35);
  transform: translateZ(40px) scale(1.05);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  transform: translateZ(20px);
  letter-spacing: 0.02em;
}

.card-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateZ(20px);
}

/* ============ SERVICES ============ */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.service {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 48px;
  padding: 52px 24px;
  border-bottom: 1px solid var(--border);
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}

.service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(224, 169, 74, 0.04), transparent);
  transform: translateX(100%);
  transition: transform 0.7s ease;
}

.service:hover::before { transform: translateX(-100%); }
.service:hover { padding-right: 44px; }

.service-num {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 500;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px rgba(224, 169, 74, 0.3);
  letter-spacing: -0.03em;
  line-height: 1;
  transition: all var(--trans);
  align-self: center;
}

.service:hover .service-num {
  -webkit-text-stroke: 1px var(--gold);
  text-shadow: 0 0 40px rgba(224, 169, 74, 0.4);
}

.service-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
  transition: color var(--trans);
}

.service:hover .service-title { color: var(--gold); }

.service-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 600px;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--trans);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 2px; height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--copper));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--trans);
}

.contact-card:hover {
  border-color: var(--border-hover);
  background: rgba(224, 169, 74, 0.04);
  transform: translateX(-6px);
}

.contact-card:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.contact-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(224, 169, 74, 0.1), rgba(196, 129, 58, 0.05));
  color: var(--gold);
  border: 1px solid rgba(224, 169, 74, 0.2);
  transition: all var(--trans);
}

.contact-card:hover .contact-icon {
  background: linear-gradient(135deg, rgba(224, 169, 74, 0.2), rgba(196, 129, 58, 0.1));
  box-shadow: 0 0 24px rgba(224, 169, 74, 0.3);
}

.contact-icon svg { width: 20px !important; height: 20px !important; }

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-value {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  direction: ltr;
  text-align: right;
}

.copy-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(224, 169, 74, 0.03);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--trans);
  flex-shrink: 0;
}

.copy-btn:hover {
  background: rgba(224, 169, 74, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

.copy-btn.copied {
  background: rgba(224, 169, 74, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.contact-arrow { color: var(--text-muted); transition: all var(--trans); flex-shrink: 0; }

.contact-card:hover .contact-arrow {
  color: var(--gold);
  transform: translateX(-6px);
}

/* ============ FOOTER ============ */
.footer {
  padding: 52px 32px;
  border-top: 1px solid var(--border);
  margin-top: 80px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, var(--gold), var(--copper));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-copy { font-size: 13px; color: var(--text-muted); }

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  bottom: 32px; left: 32px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.85);
  border: 1px solid var(--border);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--trans);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 24px rgba(224, 169, 74, 0.3);
  transform: translateY(-3px);
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 13px; }
  .hero { padding: 110px 20px 80px; }
  .section { padding: 100px 20px; }
  .section-head { margin-bottom: 60px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card { padding: 24px 18px; }
  .card-icon { width: 44px; height: 44px; margin-bottom: 14px; }
  .card-icon svg { width: 20px !important; height: 20px !important; }
  .service { grid-template-columns: 70px 1fr; gap: 24px; padding: 36px 12px; }
  .service-num { font-size: 44px; }
  .service-title { font-size: 20px; }
  .service-desc { font-size: 14px; }
  .contact-card { padding: 18px 20px; gap: 14px; }
  .contact-icon { width: 40px; height: 40px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .back-to-top { bottom: 20px; left: 20px; width: 44px; height: 44px; }
  .hero-scroll { display: none; }
}

@media (max-width: 400px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 64px; }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--copper));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { opacity: 1; }
