:root {
  --bg-900: #070b16;
  --bg-800: #0d1426;
  --accent-500: #3ec8ff;
  --accent-400: #6ad8ff;
  --accent-600: #1aa8e6;
  --accent-rgb: 62, 200, 255;
  --warm: #ffb347;
  --white: #ffffff;
  --ink: #f3f7ff;
  --ink-soft: rgba(243, 247, 255, 0.72);
  --surface: rgba(255, 255, 255, 0.06);
  --border: rgba(62, 200, 255, 0.2);
  --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, #101a32 0%, var(--bg-900) 48%, #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.2), transparent 62%),
    radial-gradient(ellipse 45% 35% at 100% 85%, rgba(255, 179, 71, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 30% at 0% 70%, rgba(62, 200, 255, 0.08), 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(62, 200, 255, 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: #121a2e;
}

.kw-hero-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: middle;
}

.kw-title {
  margin: 0;
  font-size: clamp(1.65rem, 6.2vw, 2.05rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--white);
}

.kw-location {
  margin: 0.5rem 0 0;
  font-size: clamp(1rem, 4vw, 1.125rem);
  font-weight: 500;
  color: var(--ink-soft);
}

.kw-phone {
  margin: 0.75rem 0 0;
  font-size: clamp(1.4rem, 5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-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(--accent-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: #041018;
  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 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;
  }
}
