:root {
  --bg-900: #070b16;
  --bg-800: #0d1426;
  --accent-500: #e0b45a;
  --accent-400: #f0cb7a;
  --accent-600: #c4922e;
  --accent-rgb: 224, 180, 90;
  --white: #ffffff;
  --ink: #f7f3ea;
  --ink-soft: rgba(247, 243, 234, 0.72);
  --surface: rgba(255, 255, 255, 0.06);
  --border: rgba(224, 180, 90, 0.28);
  --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: 1rem 1.1rem calc(1.2rem + env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  background:
    linear-gradient(180deg, #14110c 0%, var(--bg-900) 42%, #05070f 100%);
}

.kw-page-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(var(--accent-rgb), 0.22), transparent 62%),
    radial-gradient(ellipse 45% 35% at 100% 85%, rgba(224, 180, 90, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 30% at 0% 70%, rgba(224, 180, 90, 0.06), transparent 50%);
}

.kw-page-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 22.5rem;
  text-align: center;
}

.kw-hero {
  margin: 0;
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid rgba(224, 180, 90, 0.35);
  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: #fff;
}

.kw-hero-img {
  display: block;
  width: 75%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  vertical-align: middle;
  background: #fff;
}

.kw-title {
  margin: 0;
  font-size: clamp(1.85rem, 7vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--white);
}

.kw-location {
  margin: 0.4rem 0 0;
  font-size: clamp(1rem, 4vw, 1.125rem);
  font-weight: 500;
  color: var(--ink-soft);
}

.kw-phone {
  display: inline-block;
  margin: 0.55rem 0 0;
  font-size: clamp(1.35rem, 4.8vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-500);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.kw-phone:hover {
  color: var(--accent-400);
}

.kw-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 1.05rem 0 0;
  padding: 0;
  list-style: none;
}

.kw-service {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.48rem 0.55rem;
  border-radius: 0.7rem;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.35;
  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(--accent-500);
}

.kw-cta {
  margin: 1.15rem 0 0;
  font-size: clamp(0.98rem, 3.8vw, 1.08rem);
  font-weight: 700;
  color: var(--white);
}

.kw-actions {
  display: flex;
  flex-direction: row;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.kw-btn {
  display: flex;
  flex: 1;
  min-height: 3.05rem;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  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 1rem;
  color: #1a1408;
  background: linear-gradient(135deg, var(--accent-400) 0%, var(--accent-600) 100%);
  box-shadow: 0 8px 28px rgba(var(--accent-rgb), 0.35);
}

.kw-btn-call:hover {
  box-shadow: 0 10px 32px rgba(var(--accent-rgb), 0.48);
}

.kw-btn-wa {
  padding: 0.85rem 1rem;
  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.3rem;
  height: 1.3rem;
  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.04s; }
.kw-services .reveal:nth-child(2) { transition-delay: 0.08s; }
.kw-services .reveal:nth-child(3) { transition-delay: 0.12s; }
.kw-services .reveal:nth-child(4) { transition-delay: 0.16s; }
.kw-services .reveal:nth-child(5) { transition-delay: 0.2s; }
.kw-services .reveal:nth-child(6) { transition-delay: 0.24s; }
.kw-services .reveal:nth-child(7) { transition-delay: 0.28s; }
.kw-services .reveal:nth-child(8) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce), (scripting: none) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .kw-btn {
    transition: none;
  }
}
