:root {
  --bg: #F8FAFC;
  --surface: #ffffff;
  --ink: #0F172A;
  /* Slate 900 */
  --ink-light: #334155;
  /* Slate 700 */
  --muted: #64748B;
  /* Slate 500 */
  --primary: #2563EB;
  /* Blue 600 */
  --primary-dark: #1D4ED8;
  /* Blue 700 */
  --secondary: #0EA5E9;
  /* Sky 500 */
  --accent: #F59E0B;
  /* Amber 500 */
  --success: #22C55E;
  /* Green 500 */
  --soft: #EFF6FF;
  /* Blue 50 */
  --radius: 16px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.15);
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --surface-subtle: #F1F5F9;
  /* Slate 100 */
  --primary-glow: rgba(37, 99, 235, 0.3);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(var(--ink-light) 0.5px, transparent 0.5px), radial-gradient(var(--ink-light) 0.5px, var(--bg) 0.5px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  background-attachment: fixed;
}

/* Reduce background noise opacity */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--bg);
  opacity: 0.97;
  z-index: -1;
  pointer-events: none;
}

body.rtl {
  font-family: var(--font-arabic);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  line-height: 1.2;
  margin-top: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  background: var(--primary);
  color: #fff;
  border-radius: 10px
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  transition: padding 0.3s ease;
}

.site-header.scrolled .header-inner {
  padding: 0.5rem 0;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 0.5rem;
  border-radius: 10px;
  color: var(--ink);
  align-items: center;
  justify-content: center
}

.nav-toggle svg {
  display: block
}

/* main nav adjustments for mobile when opened */
.main-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap
}

.site-header.nav-open {
  position: relative;
  z-index: 60
}

.site-header.nav-open .main-nav {
  position: fixed;
  left: 0;
  right: 0;
  top: 66px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start
}

/* Make header feel lighter and tighter */
.site-header {
  padding: 0.5rem 0;
  transition: all 220ms ease
}

.site-header .header-inner {
  padding: 0.45rem 0
}

.brand .brand-name {
  font-size: 1.01rem
}

.site-header.scrolled .logo-img {
  width: 36px
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  color: var(--primary)
}

.logo-img {
  width: 44px;
  height: auto
}

.main-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap
}

.main-nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--ink-light);
  transition: all 0.2s ease;
}

.main-nav a:hover {
  color: var(--primary);
  background: var(--soft);
}

.main-nav a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap
}

/* compact CTA shown in header */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.header-cta:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  transition: 0.5s;
}

.cta:hover::after {
  left: 150%;
  transition: 0.7s ease-in-out;
}

.cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-muted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 999px;
  border: 2px solid var(--primary);
  background: transparent;
  font-weight: 700;
  color: var(--primary);
  transition: all 0.2s ease;
}

.btn-muted:hover {
  background: var(--soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}



.hero-call {
  background: var(--surface);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.hero-call:hover {
  background: var(--soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* header-phone ring effect */
.header-phone::after {
  content: '';
  position: absolute;
  inset: auto auto auto -6px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none
}

.header-phone:focus-visible::after,
.header-phone:hover::after {
  animation: ringPulse 1.6s ease-in-out infinite;
  opacity: 0.85
}

@keyframes ringPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.2)
  }

  50% {
    box-shadow: 0 0 0 12px rgba(29, 78, 216, 0.06)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.0)
  }
}

/* CTA glow for primary CTA */
/* The following .cta rules were removed as they are superseded by the new .cta definition */

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 4rem;
}

.hero-section .hero-h1 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
}

.hero-section .hero-cta-row .cta {
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, var(--soft), transparent 50%), radial-gradient(circle at 20% 80%, var(--mint), transparent 50%);
  z-index: -1;
  opacity: 0.6;
}

/* Removed overlay for cleaner look */

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  color: var(--ink);
  text-shadow: none;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1.4rem;
  max-width: 640px
}

.hero-cta-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  align-items: center
}

.primary-cta {
  padding: 0.82rem 1.2rem;
  font-size: 1.03rem;
  border-radius: 12px
}

.primary-cta:hover,
.primary-cta:focus {
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(29, 78, 216, 0.22)
}

/* make hero CTAs more prominent on small screens */
@media (max-width:760px) {
  .nav-toggle {
    display: inline-flex
  }

  .main-nav {
    display: none
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 6vw, 2.6rem)
  }

  .primary-cta {
    width: 100%;
    display: inline-flex;
    justify-content: center
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch
  }

  .app-card {
    grid-template-columns: 1fr
  }
}

/* improved hero lead contrast on small devices */
@media (max-width: 640px) {
  .hero-lead {
    color: #374151
  }
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--surface-subtle);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
  letter-spacing: 0.02em;
}

.card-soft {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: 24px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
}

.stat-row {
  display: flex;
  gap: 1.2rem;
  justify-content: space-between;
  flex-wrap: wrap
}

.stat-pill {
  transition: transform 200ms ease, box-shadow 200ms ease
}

.stat-pill:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 46px rgba(15, 23, 42, 0.08)
}

.stat-title {
  margin: 0 0 0.25rem;
  font-size: 1.4rem;
  color: var(--primary)
}

.stat-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 0.7rem
}

.stat-pill {
  padding: 0.85rem;
  background: #f4f8ff;
  border-radius: 14px;
  text-align: center;
  border: 1px solid rgba(37, 99, 235, 0.08)
}

.stat-number {
  display: block;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink)
}

.mini-list {
  display: grid;
  gap: 0.35rem;
  padding: 0.6rem 0;
  color: var(--muted);
  font-weight: 600
}

.mini-list div {
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed rgba(37, 99, 235, 0.2)
}

.app-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #0ea5e90d, #1d4ed810);
  border: 1px solid rgba(14, 165, 233, 0.25)
}

.app-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center
}

.app-badges img {
  height: 42px;
  border-radius: 10px
}

.mini-support {
  margin-top: 0.35rem;
  color: var(--muted);
  font-weight: 600
}

.hero-blob {
  position: absolute;
  filter: blur(75px);
  opacity: 0.65;
  z-index: 0
}

.hero-blob-1 {
  width: 220px;
  height: 220px;
  background: #d9fbe9;
  top: 8%;
  left: 6%
}

.hero-blob-2 {
  width: 260px;
  height: 260px;
  background: #dce9ff;
  bottom: -6%;
  right: 4%
}

/* Hero background pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(14, 165, 233, 0.02) 50%, transparent 100%), radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.08), transparent 40%), url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 1l4 4-4 4-4-4 4-4zm0 50l4 4-4 4-4-4 4-4zM1 30l4-4 4 4-4 4-4-4zm50 0l4-4 4 4-4 4-4-4z' fill='%232563eb' fill-opacity='0.04'/%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none
}

.hero>* {
  position: relative;
  z-index: 2
}

.section {
  padding: 4.5rem 0;
  position: relative
}

.section:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 48px;
  top: -28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(245, 248, 255, 0.6));
  transform: skewY(-3deg);
  pointer-events: none
}

.section-header {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: var(--soft);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--ink);
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

.soft-bg {
  background: linear-gradient(180deg, #f7f9ff, #eef7ff)
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem
}

.spot-card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.spot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.spot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.spot-card:hover::before {
  transform: scaleX(1);
}

.spot-card .icon {
  font-size: 1.8rem
}

.spot-card h3 {
  margin: 0.3rem 0 0.35rem;
  color: var(--ink)
}

.spot-card p {
  margin: 0 0 0.6rem;
  color: var(--muted)
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  color: #425070;
  font-weight: 600
}

.checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800
}

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
  margin-top: 1rem
}

.space-card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.space-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.space-icon {
  font-size: 2rem
}

.space-card h3 {
  margin: 0.25rem 0 0.4rem;
  color: var(--ink)
}

.space-card p {
  margin: 0 0 0.7rem;
  color: var(--muted)
}

.space-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem
}

.space-card li {
  position: relative;
  padding-left: 1.3rem;
  color: #47536b;
  font-weight: 600
}

.space-card li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1rem;
  line-height: 1
}

.artisan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
  margin-top: 1rem
}

.artisan-card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.artisan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.artisan-icon {
  font-size: 2.4rem
}

.artisan-card h3 {
  margin: 0.35rem 0 0.45rem;
  color: var(--ink)
}

.artisan-card p {
  margin: 0 0 0.7rem;
  color: var(--muted)
}

.artisan-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem
}

.artisan-card li {
  position: relative;
  padding-left: 1.3rem;
  color: #405070;
  font-weight: 600
}

.artisan-card li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1rem;
  line-height: 1
}

.promise-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem
}

.promise-bar div {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #f8fefb;
  border: 1px solid rgba(34, 197, 94, 0.25);
  font-weight: 700;
  color: #0f5132
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem
}

.service-card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

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

.service-card::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.06), rgba(29, 78, 216, 0.02));
  opacity: 0.7
}

.service-icon {
  font-size: 2.2rem
}

.service-card h3 {
  margin: 0.2rem 0 0.4rem;
  color: var(--ink)
}

.service-card p {
  margin: 0 0 0.5rem;
  color: var(--muted)
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem
}

.service-card li {
  position: relative;
  padding-left: 1.2rem;
  color: #43526f
}

.service-card li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.2rem;
  line-height: 1
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem
}

.why-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.why-card h4 {
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-weight: 700;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.process-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  align-items: center;
}

.process-bar div {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.process-bar div:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.process-step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

.contact-section {
  background: var(--bg);
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  align-items: start
}

.contact-card p {
  margin: 0 0 0.8rem
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.5rem
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem
}

.contact-list li strong {
  min-width: 88px;
  display: inline-block;
  font-weight: 800;
  color: var(--ink)
}

.contact-list a {
  color: var(--primary);
  font-weight: 700
}

/* Header landline / phone CTA */
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.12);
  text-decoration: none;
  white-space: nowrap
}

.header-phone .phone-text {
  letter-spacing: 0.2px
}

.header-phone .phone-icon {
  display: none;
  font-size: 1.05rem
}

/* phone-link styles inside contact list */
.contact-list a.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.55rem;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.06);
  font-weight: 800;
  color: var(--primary);
  text-decoration: none
}

.contact-list a.phone-link.landline {
  background: linear-gradient(180deg, #f5fbff, #fff);
  border-left: 3px solid var(--primary);
  color: var(--primary)
}

.contact-list a.phone-link.mobile {
  background: linear-gradient(180deg, #fffef8, #fff);
  border-left: 3px solid var(--accent);
  color: var(--ink)
}

/* mobile compact header phone */
@media (max-width: 900px) {

  /* show compact header phone: keep icon but reveal short text to improve clarity */
  .header-phone {
    padding: 0.28rem 0.6rem;
    border-radius: 10px
  }

  .header-phone .phone-text {
    display: inline-block;
    font-size: 0.86rem;
    margin-left: 0.3rem
  }

  .header-phone .phone-icon {
    display: inline-block
  }
}

/* Floating call button for mobile - fixed tap target */
/* group both mobile FABs so they sit together and are accessible */
.fab-group {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 60
}

.call-fab {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.16);
  text-decoration: none;
  font-weight: 900
}

.call-fab .fab-label {
  display: inline-block;
  font-weight: 800;
  font-size: 0.9rem
}

.call-fab .fab-icon {
  font-size: 1.1rem
}

.call-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.18)
}

/* WhatsApp FAB */
.wa-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #05c46b, #04a85e);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(4, 168, 94, 0.12)
}

.wa-fab .fab-icon {
  font-size: 1.05rem
}

.wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(4, 168, 94, 0.16)
}

.call-fab:focus-visible {
  outline: 4px solid rgba(37, 99, 235, 0.12);
  border-radius: 999px
}

@media (min-width: 900px) {
  .fab-group {
    display: none
  }
}

.company-box {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px dashed var(--primary);
  margin-top: 1.5rem;
}

.contact-highlight {
  margin-top: 0.9rem;
  font-weight: 700;
  color: var(--primary)
}

.form-card form label {
  font-weight: 700;
  color: var(--ink)
}

.form-card .form-control {
  border-radius: 10px;
  border-color: rgba(15, 23, 42, 0.12)
}

.form-card button {
  width: 100%;
  margin-top: 0.25rem
}

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--surface);
  color: var(--ink-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  align-items: center
}

.footer-heading {
  margin: 0 0 0.5rem;
  font-weight: 800;
  color: var(--primary)
}

.footer-center {
  text-align: center
}

.footer-right {
  text-align: right
}

.footer-right a {
  display: inline-block;
  color: var(--primary);
  font-weight: 700
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem
}

/* footer columns */
.footer-col {
  padding: 0.2rem 0
}

.footer-nav .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem
}

.footer-links li a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  padding: 0.2rem 0;
  border-radius: 8px;
  display: inline-block
}

.footer-links li a:hover,
.footer-links li a:focus {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.04)
}

/* social / follow */
.social-row {
  display: flex;
  gap: 0.6rem;
  align-items: center
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--primary);
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.social-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: var(--primary);
  color: #fff;
}

.social-link:focus-visible {
  outline: 3px solid var(--primary);
  border-radius: 12px;
}

.footer-hours {
  color: var(--muted);
  margin-top: 0.6rem
}

/* compact footer bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.1rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.04);
  margin-top: 1.2rem;
  gap: 1rem
}

.footer-bottom .divider {
  padding: 0 0.6rem;
  color: rgba(15, 23, 42, 0.35)
}

.footer-bottom a {
  color: var(--muted);
  font-weight: 700
}

/* small-screen tweaks */
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem
  }

  .footer-right,
  .footer-center,
  .footer-col {
    align-items: flex-start;
    text-align: left
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start
  }

  .footer-bottom-right {
    margin-top: 0.6rem
  }
}

/* tiny helper for screen reader only content */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

/* RTL support for contact list and footer */
body[dir="rtl"] .contact-list li {
  flex-direction: row-reverse
}

body[dir="rtl"] .contact-list li strong {
  min-width: 88px;
  text-align: right
}

body[dir="rtl"] .footer-right {
  align-items: flex-start
}

.footer-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.6rem;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.08);
  margin-bottom: 0.4rem
}

.footer-phone-link[aria-hidden="true"] {
  opacity: .9
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.18rem 0.4rem
}

/* inline icon spacing */
.inline-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem
}

/* reusable icon class for SVG <use> */
.icon {
  display: inline-block;
  vertical-align: middle;
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
  margin-right: 0.5rem
}

.icon.icon-phone {
  width: 1.05rem;
  height: 1.05rem
}

.icon.icon-mobile {
  width: 1.0rem;
  height: 1.0rem
}

.icon.icon-wa {
  width: 1.05rem;
  height: 1.05rem
}

.icon.icon-email {
  width: 0.98rem;
  height: 0.98rem
}

/* FAB subtle float animation */
.call-fab,
.wa-fab {
  animation: floatY 6s ease-in-out infinite
}

.call-fab:focus-visible,
.wa-fab:focus-visible {
  animation: none
}

@keyframes floatY {
  0% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }

  100% {
    transform: translateY(0)
  }
}

/* short pulse to draw attention (on hover + small auto pulse on load) */
.fab-pulse {
  animation: pulse 2.6s infinite ease-in-out
}

@keyframes pulse {
  0% {
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.08)
  }

  50% {
    box-shadow: 0 22px 44px rgba(37, 99, 235, 0.14)
  }

  100% {
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.08)
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important
  }
}

/* brief visual feedback when tracked clicked */
.qf-clicked {
  transform: scale(0.98);
  opacity: 0.95
}

/* Hover / focus improvements */
.header-phone:hover,
.header-phone:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.18);
  outline: none
}

.header-phone:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.12);
  border-radius: 16px
}

.contact-list a.phone-link:hover,
.contact-list a.phone-link:focus {
  background: rgba(37, 99, 235, 0.12);
  transform: translateY(-2px)
}

.contact-list a.phone-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.08);
  border-radius: 10px
}

.footer-phone-link:hover,
.footer-phone-link:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.18)
}

.footer-phone-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.08);
  border-radius: 14px
}

.small {
  font-size: 0.92rem;
  color: var(--muted)
}

/* RTL adjustments */
body[dir="rtl"] .header-inner {
  flex-direction: row-reverse
}

body[dir="rtl"] .main-nav {
  justify-content: flex-end
}

body[dir="rtl"] .main-nav a {
  text-align: right
}

body[dir="rtl"] .hero-copy,
body[dir="rtl"] .section-header,
body[dir="rtl"] .contact-card,
body[dir="rtl"] .form-card,
body[dir="rtl"] .footer-right,
body[dir="rtl"] .footer-center {
  text-align: right
}

body[dir="rtl"] .hero-tags,
body[dir="rtl"] .process-bar {
  justify-content: flex-end
}

body[dir="rtl"] .stat-row,
body[dir="rtl"] .hero-grid,
body[dir="rtl"] .spotlight-grid,
body[dir="rtl"] .services-grid,
body[dir="rtl"] .why-grid,
body[dir="rtl"] .contact-grid {
  direction: rtl
}

body[dir="rtl"] .checklist li,
body[dir="rtl"] .service-card li {
  padding-left: 0;
  padding-right: 1.3rem
}

body[dir="rtl"] .checklist li::before {
  left: auto;
  right: 0
}

body[dir="rtl"] .service-card li::before {
  left: auto;
  right: 0
}

body[dir="rtl"] .spaces-grid {
  direction: rtl
}

body[dir="rtl"] .space-card li {
  padding-left: 0;
  padding-right: 1.3rem
}

body[dir="rtl"] .space-card li::before {
  left: auto;
  right: 0
}

body[dir="rtl"] .process-bar div {
  flex-direction: row-reverse
}

body[dir="rtl"] .artisan-grid {
  direction: rtl
}

body[dir="rtl"] .artisan-card li {
  padding-left: 0;
  padding-right: 1.3rem
}

body[dir="rtl"] .artisan-card li::before {
  left: auto;
  right: 0
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr
  }

  .app-card {
    grid-template-columns: 1fr
  }

  .header-inner {
    flex-wrap: wrap
  }

  .main-nav {
    width: 100%
  }

  .footer-right,
  .footer-center {
    text-align: left
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 3.5rem 0 3rem
  }

  .stat-badges {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr))
  }

  .app-badges img {
    height: 38px
  }

  .process-bar div {
    flex-direction: row
  }
}

/* Enhanced accessibility: focus indicators */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.cta:focus-visible {
  outline-color: var(--accent);
  outline-width: 4px;
}

button:focus-visible {
  outline-color: var(--secondary);
}

/* Ensure interactive elements are keyboard accessible */
.service-card,
.pricing-card,
.spot-card {
  cursor: pointer;
}

.service-card:focus-visible,
.pricing-card:focus-visible,
.spot-card:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}