:root {
  --bg-900: #0b0b0b;
  --bg-800: #121212;
  --yellow-500: #f5c518;
  --yellow-400: #ffd84d;
  --yellow-600: #d4a80f;
  --yellow-rgb: 245, 197, 24;
  --white: #ffffff;
  --ink: #f5f5f5;
  --ink-soft: rgba(255, 255, 255, 0.72);
  --surface: rgba(255, 255, 255, 0.06);
  --border: rgba(245, 197, 24, 0.22);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  --font: "Tajawal", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-900);
  -webkit-font-smoothing: antialiased;
}

.kw-page {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  background:
    linear-gradient(180deg, #141414 0%, var(--bg-900) 45%, #080808 100%);
}

.kw-page-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(var(--yellow-rgb), 0.18), transparent 62%),
    radial-gradient(ellipse 45% 35% at 100% 85%, rgba(var(--yellow-rgb), 0.08), transparent 55%),
    radial-gradient(ellipse 40% 30% at 0% 70%, rgba(255, 255, 255, 0.04), transparent 50%);
}

.kw-page-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 24rem;
  text-align: center;
}

.kw-hero {
  margin: 0 0 1.25rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(245, 197, 24, 0.28);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  background: #1a1a1a;
}

.kw-hero-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: middle;
}

.kw-title {
  margin: 0;
  font-size: clamp(1.55rem, 6vw, 1.95rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--white);
}

.kw-location {
  margin: 0.5rem 0 0;
  display: inline-block;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  font-size: clamp(0.92rem, 3.6vw, 1.05rem);
  font-weight: 700;
  color: #1a1400;
  background: linear-gradient(135deg, var(--yellow-400) 0%, var(--yellow-500) 100%);
  box-shadow: 0 6px 18px rgba(var(--yellow-rgb), 0.28);
}

.kw-phone {
  margin: 0.85rem 0 0;
  font-size: clamp(1.4rem, 5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--yellow-500);
}

.kw-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.kw-service {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.kw-service svg {
  flex-shrink: 0;
  color: var(--yellow-500);
}

.kw-cta {
  margin: 1.5rem 0 0;
  font-size: clamp(1.05rem, 4.2vw, 1.2rem);
  font-weight: 700;
  color: var(--white);
}

.kw-actions {
  display: flex;
  flex-direction: row;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.kw-btn {
  display: flex;
  flex: 1;
  min-height: 3.5rem;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 1rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.kw-btn:active {
  transform: scale(0.98);
}

.kw-btn-call {
  padding: 0.85rem 1.25rem;
  color: #1a1400;
  background: linear-gradient(135deg, var(--yellow-400) 0%, var(--yellow-600) 100%);
  box-shadow: 0 8px 28px rgba(var(--yellow-rgb), 0.35);
}

.kw-btn-call:hover {
  box-shadow: 0 10px 32px rgba(var(--yellow-rgb), 0.48);
}

.kw-btn-wa {
  padding: 0.85rem 1.25rem;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
}

.kw-btn-wa:hover {
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.45);
}

.wa-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.kw-services .reveal:nth-child(1) { transition-delay: 0.05s; }
.kw-services .reveal:nth-child(2) { transition-delay: 0.1s; }
.kw-services .reveal:nth-child(3) { transition-delay: 0.15s; }
.kw-services .reveal:nth-child(4) { transition-delay: 0.2s; }
.kw-services .reveal:nth-child(5) { transition-delay: 0.25s; }
.kw-services .reveal:nth-child(6) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .kw-btn {
    transition: none;
  }
}
