/* ============================================
   المصدر الاصلي — Premium Static Site
   Mobile-first, RTL, Luxury design
   Gold + Deep Navy aesthetic
   ============================================ */

:root {
  /* Luxury palette */
  --brand: #c9a24a;          /* champagne gold */
  --brand-2: #e6c878;        /* light gold */
  --brand-dark: #8c6e2a;     /* deep gold */
  --brand-glow: rgba(201, 162, 74, 0.28);
  --ink: #0b1020;            /* deep navy */
  --ink-2: #131a30;
  --ink-3: #1c2542;
  --bg: #ffffff;
  --bg-soft: #faf8f3;        /* warm cream */
  --bg-card: #ffffff;
  --text: #1a1a1f;
  --text-muted: #6b6b73;
  --border: #ece7da;
  --border-strong: #d9d2bf;

  --shadow-sm: 0 1px 2px rgba(20, 16, 6, 0.05);
  --shadow-md: 0 12px 30px rgba(20, 16, 6, 0.08);
  --shadow-lg: 0 28px 60px rgba(20, 16, 6, 0.14);
  --shadow-gold: 0 14px 36px rgba(201, 162, 74, 0.35);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --container: 1200px;
  --nav-h: 60px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);

  --gradient-gold: linear-gradient(135deg, #e6c878 0%, #c9a24a 50%, #8c6e2a 100%);
  --gradient-ink: linear-gradient(160deg, #0b1020 0%, #131a30 60%, #1c2542 100%);
}

@media (min-width: 768px) {
  :root { --nav-h: 72px; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--brand); color: #fff; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}
@media (min-width: 768px) {
  .container { padding: 0 28px; }
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(217, 210, 191, 0.5);
  z-index: 1000;
  transition: box-shadow var(--transition), background var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 6px 24px rgba(20, 16, 6, 0.06);
  background: rgba(255, 255, 255, 0.92);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  min-width: 0;
}
.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(201, 162, 74, 0.25);
  border: 1.5px solid var(--brand-2);
}
.nav-brand span {
  white-space: nowrap;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.78;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 2px;
  background: var(--gradient-gold);
  transition: width var(--transition);
  border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--brand-dark); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 12px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--transition);
}
.nav-toggle:active { background: var(--bg-soft); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-brand span { font-size: 15px; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    transform: translateY(-130%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 16px 22px;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a::after { display: none; }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links a.active {
    background: linear-gradient(90deg, rgba(201,162,74,0.08), transparent);
    border-right: 3px solid var(--brand);
  }
}

/* ===== Sections ===== */
main { padding-top: var(--nav-h); }
section { padding: 56px 0; }
@media (min-width: 768px) { section { padding: 110px 0; } }

.section-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--ink);
  line-height: 1.25;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 56px; height: 3px;
  margin-top: 10px;
  background: var(--gradient-gold);
  border-radius: 3px;
}
.section-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 640px;
  line-height: 1.75;
}
@media (min-width: 768px) {
  .section-title { font-size: 42px; margin-bottom: 14px; }
  .section-title::after { width: 72px; height: 4px; margin-top: 14px; }
  .section-sub { font-size: 18px; margin-bottom: 44px; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-ink);
  padding: 64px 18px 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(201,162,74,0.22), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(230,200,120,0.18), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(201,162,74,0.12), transparent 60%);
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  z-index: -1;
  opacity: 0.6;
}
.hero-inner { max-width: 820px; width: 100%; animation: fadeUp 1s ease both; }
.hero-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  border-radius: 24px;
  background: white;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.15),
    0 20px 50px rgba(0,0,0,0.5),
    0 0 60px rgba(201,162,74,0.4);
  object-fit: contain;
  animation: floaty 4s ease-in-out infinite;
}
.hero h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  background: linear-gradient(135deg, #ffffff 0%, #e6c878 60%, #c9a24a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 16px;
  padding: 0 4px;
  text-shadow: 0 2px 30px rgba(201,162,74,0.25);
}
.hero p {
  font-size: 15.5px;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin: 0 auto 30px;
  line-height: 1.8;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-gold);
  color: #1a1305;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  box-shadow: var(--shadow-gold);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}
.hero-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  transition: left 0.7s ease;
}
.hero-cta:hover { transform: translateY(-3px); color: #1a1305; filter: brightness(1.05); box-shadow: 0 18px 44px rgba(201,162,74,0.5); }
.hero-cta:hover::before { left: 100%; }
.hero-cta:active { transform: translateY(-1px); }

@media (min-width: 480px) {
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 16px; }
  .hero-logo { width: 110px; height: 110px; }
}
@media (min-width: 768px) {
  .hero { padding: 90px 24px; }
  .hero h1 { font-size: 60px; margin-bottom: 20px; }
  .hero p { font-size: 19px; }
  .hero-logo { width: 140px; height: 140px; margin-bottom: 30px; }
  .hero-cta { padding: 16px 36px; font-size: 16px; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 70px; }
}

/* ===== About ===== */
.about { background: var(--bg); position: relative; }
.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.4;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 28px;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; } }

.about-card {
  background: linear-gradient(180deg, #ffffff, var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, var(--brand-glow), transparent 70%);
  pointer-events: none;
}
@media (min-width: 768px) { .about-card { padding: 36px; } }
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-2);
}
.about-card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gradient-gold);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px var(--brand-glow);
}
.about-card h3 { font-size: 19px; margin-bottom: 10px; font-weight: 800; color: var(--ink); }
.about-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.8; }
@media (min-width: 768px) {
  .about-card h3 { font-size: 22px; }
  .about-card p { font-size: 15.5px; }
}

/* ===== Products Grid ===== */
.products {
  background: var(--bg-soft);
  position: relative;
}
.products::before, .products::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.products::before { top: 0; }
.products::after { bottom: 0; }

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 560px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (min-width: 992px) { .products-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; } }

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1.5px;
  background: var(--gradient-gold);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card:hover::after { opacity: 1; }
.product-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--bg-soft);
  transition: transform 0.7s ease;
}
.product-card:hover .product-img { transform: scale(1.06); }
.product-info {
  padding: 18px 20px;
  background: linear-gradient(180deg, #ffffff, #fffdf7);
}
.product-info h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.4;
  color: var(--ink);
}
.product-info p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}
@media (min-width: 768px) {
  .product-info { padding: 22px; }
  .product-info h3 { font-size: 18px; }
  .product-info p { font-size: 14.5px; }
}

/* ===== Company Info Cards ===== */
.info { background: var(--bg); }
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (min-width: 600px) { .info-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 992px) { .info-grid { grid-template-columns: repeat(4, 1fr); } }

.info-card {
  background: linear-gradient(160deg, #ffffff, var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}
@media (min-width: 768px) { .info-card { padding: 28px 20px; } }
.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-2);
}
.info-card:hover::before { transform: scaleX(1); transform-origin: left; }
.info-card .label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.info-card .value {
  font-size: 16px;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.01em;
  word-break: break-all;
  overflow-wrap: anywhere;
  line-height: 1.3;
  direction: ltr;
}
@media (min-width: 768px) {
  .info-card .label { font-size: 13px; margin-bottom: 10px; }
  .info-card .value { font-size: 22px; }
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; } }

.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex; gap: 14px;
  background: linear-gradient(180deg, #ffffff, var(--bg-soft));
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: var(--radius-md);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  align-items: flex-start;
}
@media (min-width: 768px) { .contact-item { padding: 22px; gap: 16px; } }
.contact-item:hover {
  transform: translateX(-4px);
  border-color: var(--brand-2);
  box-shadow: var(--shadow-md);
}
.contact-item > div:last-child { min-width: 0; flex: 1; }
.contact-item .ic {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 13px;
  background: var(--gradient-gold);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 6px 16px var(--brand-glow);
}
.contact-item h4 { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; font-weight: 600; }
.contact-item p {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
  line-height: 1.5;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-gold);
}
@media (min-width: 768px) { .contact-form { padding: 32px; } }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px; /* prevents iOS zoom on focus */
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  direction: rtl;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-glow);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-submit {
  width: 100%;
  background: var(--gradient-gold);
  color: #1a1305;
  padding: 15px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15.5px;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  -webkit-tap-highlight-color: transparent;
  box-shadow: var(--shadow-gold);
}
.form-submit:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 18px 40px rgba(201,162,74,0.45); }
.form-submit:active { transform: translateY(0); }
.form-success {
  display: none;
  background: #e8f5e9;
  color: #1b5e20;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border: 1px solid #c8e6c9;
}
.form-success.show { display: block; animation: fadeUp 0.4s ease; }

/* ===== Page Header (sub-pages) ===== */
.page-header {
  position: relative;
  background: var(--gradient-ink);
  padding: calc(var(--nav-h) + 50px) 18px 60px;
  text-align: center;
  color: white;
  overflow: hidden;
  isolation: isolate;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(201,162,74,0.22), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(230,200,120,0.15), transparent 60%);
  z-index: -1;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  z-index: -1;
  opacity: 0.5;
}
.page-header h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.25;
  background: linear-gradient(135deg, #ffffff 0%, #e6c878 60%, #c9a24a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.page-header p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}
@media (min-width: 768px) {
  .page-header { padding: calc(var(--nav-h) + 80px) 24px 90px; }
  .page-header h1 { font-size: 56px; margin-bottom: 14px; }
  .page-header p { font-size: 18px; }
}

/* ===== Footer ===== */
.footer {
  background: var(--gradient-ink);
  color: #f5f5f7;
  padding: 50px 0 22px;
  position: relative;
  border-top: 1px solid rgba(201,162,74,0.2);
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0.7;
}
@media (min-width: 768px) { .footer { padding: 64px 0 28px; } }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 28px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; } }

.footer h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}
.footer p, .footer li, .footer a {
  font-size: 14px;
  color: rgba(245,245,247,0.65);
  line-height: 1.95;
  word-break: break-word;
}
.footer ul { list-style: none; }
.footer a { transition: color var(--transition), padding var(--transition); }
.footer a:hover { color: var(--brand-2); padding-right: 4px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img {
  width: 42px; height: 42px;
  border-radius: 10px;
  object-fit: cover;
  background: white;
  padding: 3px;
  border: 1.5px solid var(--brand);
}
.footer-brand span {
  font-size: 18px;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(245,245,247,0.45);
  line-height: 1.6;
}
@media (min-width: 768px) {
  .footer-bottom { font-size: 13px; padding-top: 22px; }
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-logo { animation: none; }
}

/* ===== Mobile safe-area + tap polish ===== */
@supports (padding: max(0px)) {
  .container {
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }
  .footer { padding-bottom: max(22px, env(safe-area-inset-bottom)); }
}
a, button { -webkit-tap-highlight-color: transparent; }
