:root {
  color-scheme: light;
  --text: #1f242b;
  --muted: #5a6673;
  --border: #e0e6ee;
  --bg: #ffffff;
  --accent: #0e5b4e;
  --accent-strong: #0b473d;
  --highlight: #f6f8fb;
  --shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", system-ui, -apple-system, sans-serif;
  background: #f3f5f8;
  color: var(--text);
  line-height: 1.65;
}

.launch-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-image: url("./New_Capital.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.launch-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.launch-hero__content {
  position: relative;
  z-index: 1;
  padding: 36px 20px 48px;
}

.launch-hero__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}

.launch-hero__logo img {
  max-height: 70px;
  background: rgba(255, 255, 255, 0.92);
  padding: 8px 16px;
  border-radius: 14px;
}

.launch-hero__grid {
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: 1.2fr 0.8fr;
}

.launch-hero__text {
  display: grid;
  gap: 12px;
  text-align: right;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
}

.launch-badge--hot {
  background: #d7263d;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(215, 38, 61, 0.35);
  animation: pulseBadge 1.6s ease-in-out infinite;
  font-weight: 800;
  text-align: center;
  line-height: 1.5;
  font-size: 1rem;
}

@keyframes pulseBadge {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

.launch-title {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0;
}

.launch-subtitle {
  color: #f2f5f7;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin: 0;
}

.launch-highlights {
  display: grid;
  gap: 8px;
  font-size: 1rem;
  text-align: right;
}

.launch-extra {
  font-size: 0.95rem;
  color: #e5edf0;
  margin: 0;
  text-align: right;
}

.launch-form__card {
  background: #ffffff;
  color: var(--text);
  border-radius: 20px;
  padding: 20px;
  max-width: 420px;
  box-shadow: 0 24px 44px rgba(16, 24, 40, 0.2);
  margin-left: 0;
  margin-right: auto;
  width: 100%;
  text-align: right;
}

.launch-form__card h3 {
  margin-bottom: 12px;
}

.launch-submit {
  width: 100%;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  padding: 32px 0 56px;
  background-image: linear-gradient(
      120deg,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.25)
    ),
    url("./1.png");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}

.hero__logo img {
  max-height: 80px;
  background: rgba(255, 255, 255, 0.88);
  padding: 10px 18px;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.hero__content {
  text-align: center;
  display: grid;
  gap: 16px;
  justify-items: center;
  background: rgba(0, 0, 0, 0.25);
  padding: 18px 20px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 10px;
  color: var(--text);
}

h1 {
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 700;
}

.hero-title {
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  padding: 18px 28px;
  border-radius: 16px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.25);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  font-weight: 600;
  color: var(--text);
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-strong);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.4px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(14, 91, 78, 0.08);
  margin-bottom: 8px;
}

.section {
  padding: 28px 0;
  background: transparent;
}

.section--alt {
  background: transparent;
}

.section--featured {
  background: transparent;
}

.section__header {
  position: relative;
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  padding-right: 12px;
}

.section__header::before {
  content: "";
  position: absolute;
  right: 0;
  top: 6px;
  width: 4px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent);
}

.section__image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 10px 0 14px;
  filter: contrast(1.05) saturate(1.05);
}

.palm-new-cairo .lead {
  margin-bottom: 12px;
}

.highlights-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 14px;
  font-size: 1rem;
}

.highlights-grid div {
  background: #f6f8fb;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid var(--border);
}

.trust-section {
  margin-top: 18px;
  background: #f7f7f7;
  padding: 26px 0;
}

.trust-section__content {
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: 1.2fr 0.8fr;
}

.trust-text h3 {
  margin-bottom: 10px;
}

.trust-text p {
  margin: 0 0 10px;
  color: var(--muted);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.trust-badges span {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.trust-image {
  display: flex;
  justify-content: center;
}

.trust-image img {
  width: 440px;
  height: 440px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
  max-width: 100%;
}

.hero-media {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 12px 0 18px;
}

.hero-media img {
  width: 100%;
  height: min(52vw, 360px);
  object-fit: cover;
  filter: contrast(1.1) saturate(1.05);
}

.section .container {
  background: #ffffff;
  padding: 20px;
  border-radius: 22px;
  box-shadow: 0 20px 36px rgba(16, 24, 40, 0.08);
}

.section--alt .container {
  background: #f9fafb;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.muted {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 6px;
  font-size: 1rem;
}

.list--compact {
  gap: 6px;
}

.list li {
  position: relative;
  padding-right: 22px;
  color: var(--text);
}

.list li::before {
  content: "•";
  position: absolute;
  right: 0;
  color: var(--accent);
  font-weight: 700;
}

.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 12px 0 14px;
}

.gallery img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.btn {
  font-family: inherit;
  font-size: 1.02rem;
  padding: 12px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-weight: 700;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(135deg, #0f6a59, #0b4c40);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 93, 79, 0.35);
}

.btn--secondary {
  background: #ffffff;
  border-color: var(--accent);
  color: var(--accent);
}

.btn:hover {
  transform: translateY(-1px);
}

.registration {
  margin-top: 12px;
}

.registration__card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px;
  box-shadow: var(--shadow);
}

.registration--compact .registration__card {
  padding: 16px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

label {
  font-weight: 600;
}

input,
select {
  font-family: inherit;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  background: #f8fafc;
}

input:focus,
select:focus {
  outline: 2px solid rgba(15, 93, 79, 0.2);
  border-color: var(--accent);
}

.btn--floating {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 20;
  background: linear-gradient(135deg, #0f6a59, #0b4c40);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(15, 93, 79, 0.3);
  display: none;
}

.contact-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 25;
}

.contact-fab__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-fab__btn:hover {
  transform: translateY(-1px);
}

.contact-fab__btn--whatsapp {
  background: #25d366;
}

.contact-fab__btn--call {
  background: #0f6a59;
}

.toast {
  position: fixed;
  bottom: 90px;
  left: 20px;
  background: var(--text);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 30;
}

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

.section__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
  margin-bottom: 12px;
}

.info-block {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px;
  box-shadow: var(--shadow);
}

.unit-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: 12px;
}

.unit-grid--wide {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.unit-card {
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 10px;
  background: #fdfdfd;
}

.small-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 768px) {
  .section {
    padding: 24px 0;
  }

  .registration__card {
    padding: 16px;
  }

  .btn--floating {
    display: inline-flex;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .section .container {
    padding: 18px;
    border-radius: 16px;
  }

  .launch-hero {
    min-height: auto;
    padding: 24px 0 36px;
  }

  .launch-hero__content {
    padding: 24px 20px 32px;
  }

  .launch-hero__grid {
    grid-template-columns: 1fr;
  }

  .launch-form__card {
    margin: 0 auto;
  }

  .trust-section__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .trust-badges {
    justify-content: center;
  }
}

@media (min-width: 900px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
