:root {
  --bg: #eff4ff;
  --bg-soft: #f7faff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #09122a;
  --muted: #455272;
  --brand: #1a62eb;
  --brand-light: #46d0ff;
  --brand-dark: #08348d;
  --line: #d5e1fa;
  --ok: #1ca96b;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-soft: 0 20px 45px rgba(13, 39, 95, 0.12);
  --shadow-strong: 0 24px 64px rgba(13, 39, 95, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: linear-gradient(165deg, #f8fbff 0%, #edf4ff 58%, #eaf1ff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.background-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.68;
}

.orb-a {
  width: 44rem;
  height: 44rem;
  background: radial-gradient(circle at 30% 30%, rgba(70, 208, 255, 0.55), rgba(26, 98, 235, 0));
  top: -18rem;
  right: -14rem;
}

.orb-b {
  width: 35rem;
  height: 35rem;
  background: radial-gradient(circle at 70% 40%, rgba(26, 98, 235, 0.45), rgba(70, 208, 255, 0));
  left: -10rem;
  bottom: -10rem;
}

.grid-fade {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(to right, rgba(9, 18, 42, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9, 18, 42, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 72%);
}

.site-header {
  position: sticky;
  top: 0.8rem;
  z-index: 30;
  width: min(1120px, 94vw);
  margin: 0.8rem auto 0;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: fit-content;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  transform: rotate(45deg);
  background:
    linear-gradient(145deg, rgba(70, 208, 255, 0.95), rgba(26, 98, 235, 0.95)),
    linear-gradient(315deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset -8px -8px 14px rgba(8, 52, 141, 0.24), 0 8px 20px rgba(8, 52, 141, 0.22);
}

.brand-text {
  line-height: 1;
  display: grid;
  gap: 0.22rem;
}

.brand-text strong {
  font-family: "Space Grotesk", "Cairo", sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 700;
  color: var(--muted);
}

.nav-links a {
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 220ms ease, border-color 220ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand);
  border-color: var(--brand);
}

.btn {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, color 200ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  padding: 0.88rem 1.3rem;
  box-shadow: 0 12px 26px rgba(26, 98, 235, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-dark);
  border: 1px solid var(--line);
  padding: 0.86rem 1.2rem;
}

.btn-ghost {
  padding: 0.62rem 1rem;
  color: var(--brand-dark);
  border: 1px solid rgba(26, 98, 235, 0.28);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.section {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 4rem 0;
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 2.2rem;
  padding-top: 2.4rem;
}

.kicker {
  margin: 0 0 0.9rem;
  color: var(--brand-dark);
  letter-spacing: 0.14em;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  line-height: 1.2;
  font-family: "Changa", "Cairo", sans-serif;
  letter-spacing: 0.01em;
}

.lead {
  margin: 1.1rem 0 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-points {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.72rem;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 700;
}

.hero-points li::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--brand), var(--brand-light));
  box-shadow: 0 0 0 4px rgba(26, 98, 235, 0.16);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  width: min(380px, 86vw);
  border-radius: var(--radius-xl);
  padding: 2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(235, 245, 255, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-strong);
  text-align: center;
}

.brand-cube {
  width: 210px;
  height: 210px;
  margin: 0.4rem auto 1rem;
  position: relative;
  transform-style: preserve-3d;
  animation: cube-float 8.2s ease-in-out infinite;
}

.brand-cube span {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 16px solid rgba(26, 98, 235, 0.92);
  background: linear-gradient(155deg, rgba(74, 214, 255, 0.16), rgba(7, 32, 94, 0.08));
  box-shadow: inset -10px -10px 16px rgba(7, 52, 147, 0.25);
}

.brand-cube span:nth-child(2) {
  transform: translate3d(-24px, -24px, 0);
  border-color: rgba(70, 208, 255, 0.85);
}

.brand-cube span:nth-child(3) {
  transform: translate3d(-48px, -48px, 0);
  border-color: rgba(8, 52, 141, 0.95);
}

.visual-card p {
  margin: 0;
  font-family: "Space Grotesk", "Cairo", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.visual-card small {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-heading {
  margin-bottom: 1.3rem;
}

.eyebrow {
  margin: 0;
  color: var(--brand-dark);
  letter-spacing: 0.09em;
  font-weight: 900;
  font-size: 0.82rem;
}

.section-heading h2 {
  margin: 0.45rem 0 0;
  font-family: "Changa", "Cairo", sans-serif;
  font-size: clamp(1.55rem, 3.2vw, 2.5rem);
  line-height: 1.25;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(130deg, var(--brand), var(--brand-light));
}

.service-card h3 {
  margin: 0;
  font-size: 1.18rem;
}

.service-card p {
  margin: 0.66rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.timeline {
  margin: 1.45rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: process;
}

.timeline li {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.timeline li::before {
  counter-increment: process;
  content: counter(process);
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.93rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
}

.timeline h3 {
  margin: 0;
  font-size: 1rem;
  padding-left: 2.35rem;
}

.timeline p {
  margin: 0.66rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.gallery-grid {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  position: relative;
  background: var(--surface-strong);
}

.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  transition: transform 300ms ease, filter 300ms ease;
}

.gallery-item:nth-child(3n + 1) img {
  aspect-ratio: 4 / 5;
}

.gallery-item:nth-child(4n) img {
  aspect-ratio: 5 / 4;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item img.placeholder {
  filter: saturate(0.8) contrast(1.05);
}

.gallery-item figcaption {
  position: absolute;
  right: 0.55rem;
  left: 0.55rem;
  bottom: 0.55rem;
  padding: 0.45rem 0.62rem;
  border-radius: 10px;
  background: rgba(9, 18, 42, 0.6);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  backdrop-filter: blur(5px);
}

.order-card {
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  background:
    linear-gradient(140deg, rgba(9, 24, 61, 0.96), rgba(14, 50, 123, 0.96)),
    linear-gradient(140deg, rgba(70, 208, 255, 0.3), rgba(70, 208, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-strong);
  color: #eef5ff;
}

.order-head h2 {
  margin: 0.45rem 0 0;
  font-family: "Changa", "Cairo", sans-serif;
  font-size: clamp(1.35rem, 3.5vw, 2.2rem);
}

.order-head p {
  margin: 0.65rem 0 0;
  color: rgba(238, 245, 255, 0.85);
}

.order-form {
  margin-top: 1.05rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.order-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.94rem;
  font-weight: 700;
}

.order-form input,
.order-form textarea,
.order-form select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
  padding: 0.64rem 0.72rem;
}

.order-form textarea {
  resize: vertical;
}

.order-form input::placeholder,
.order-form textarea::placeholder {
  color: rgba(232, 245, 255, 0.72);
}

.order-form select option {
  color: #111827;
}

.order-form .full {
  grid-column: 1 / -1;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.checkbox input {
  width: 1.05rem;
  height: 1.05rem;
  padding: 0;
}

.contact-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.contact-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease;
}

.contact-card:hover {
  transform: translateY(-3px);
}

.contact-card h3 {
  margin: 0;
  font-size: 0.95rem;
}

.contact-card p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-weight: 700;
}

.privacy-note {
  margin-top: 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  padding: 1rem;
}

.privacy-note h3 {
  margin: 0;
  font-size: 1rem;
}

.privacy-note p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.site-footer {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 0.9rem 0 2rem;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.floating-whatsapp {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 40;
  background: linear-gradient(125deg, #2fcf77, #12975f);
  color: #fff;
  border-radius: 999px;
  padding: 0.78rem 1.08rem;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(18, 151, 95, 0.35);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes cube-float {
  0%,
  100% {
    transform: rotate(-8deg) translateY(0);
  }
  50% {
    transform: rotate(8deg) translateY(-12px);
  }
}

@media (max-width: 1030px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.5rem;
  }

  .hero-copy {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    border-radius: 20px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.8rem;
    top: 0.5rem;
  }

  .header-cta {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .cards-grid,
  .timeline,
  .gallery-grid,
  .contact-grid,
  .order-form {
    grid-template-columns: 1fr;
  }

  .brand-cube {
    width: 170px;
    height: 170px;
  }

  .floating-whatsapp {
    left: 0.75rem;
    right: 0.75rem;
    text-align: center;
  }
}
