/* ORA Projects Egypt — mobile-first, luxury real estate */
:root {
  --navy: #0b1a2c;
  --navy-mid: #132a45;
  --navy-light: #1e3a5f;
  --gold: #c9a962;
  --gold-dark: #a88b3d;
  --gold-soft: rgba(201, 169, 98, 0.15);
  --white: #ffffff;
  --cream: #f7f5f0;
  --text: #1a1a1a;
  --text-muted: #5c6470;
  --border: rgba(11, 26, 44, 0.08);
  --shadow: 0 12px 40px rgba(11, 26, 44, 0.12);
  --radius: 12px;
  --font-sans: "Outfit", system-ui, -apple-system, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --header-h: 72px;
  --sticky-h: 56px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold-dark);
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  min-height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.logo span {
  color: var(--gold-dark);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--navy);
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

.nav-primary {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0 1rem;
}

.nav-primary.is-open {
  display: flex;
}

@media (min-width: 900px) {
  .nav-primary {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    padding: 0;
    gap: 0.5rem;
  }
}

.nav-primary a {
  padding: 0.65rem 1rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}

.nav-primary a:hover,
.nav-primary a[aria-current="page"] {
  background: var(--gold-soft);
  color: var(--navy);
}

.nav-cta {
  margin-left: 0;
  margin-top: 0.5rem;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .nav-cta {
    margin-left: 0.5rem;
    margin-top: 0;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow var(--transition), background var(--transition);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(201, 169, 98, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(201, 169, 98, 0.45);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: end;
  padding: 2rem 0 3rem;
  color: var(--white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 26, 44, 0.55) 0%,
    rgba(11, 26, 44, 0.75) 100%
  );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr min(400px, 42%);
    align-items: end;
    gap: 3rem;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  font-size: 1.05rem;
  opacity: 0.95;
  max-width: 36ch;
  margin: 0 0 1.5rem;
}

/* —— Lead card —— */
.lead-card {
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.lead-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.35rem;
}

.lead-card > p {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.lead-card__sub {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  margin: 0 0 0.75rem;
}

.lead-urgency {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-mid);
}

.lead-urgency li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.35rem;
}

.lead-urgency li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.15rem;
  padding: 0.65rem 0.75rem;
  background: var(--gold-soft);
  border-radius: 8px;
  border: 1px solid rgba(201, 169, 98, 0.35);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-mid);
  line-height: 1.35;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-strip span::before {
  content: "✓";
  color: var(--gold-dark);
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.cta-row .btn {
  min-width: min(200px, 100%);
}

.cta-band .cta-row {
  margin-top: 0.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-mid);
  margin-bottom: 0.35rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-sans);
  background: var(--white);
}

.form-group input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.form-note a {
  color: var(--navy-light);
}

/* —— Sections —— */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section--white {
  background: var(--white);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* —— Cards / Grid —— */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(11, 26, 44, 0.15);
}

.project-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-mid);
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.project-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.project-card__body p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* —— Why invest —— */
.why-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(11, 26, 44, 0.06);
}

.why-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.why-item h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.why-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* —— CTA band —— */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 520px;
  opacity: 0.92;
}

.cta-band .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold) !important;
  color: var(--white) !important;
}

/* —— Gallery —— */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-mid);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery a:hover img {
  transform: scale(1.04);
}

/* —— Page hero (inner pages) —— */
.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 2rem 0 3rem;
  color: var(--white);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 26, 44, 0.5) 0%,
    rgba(11, 26, 44, 0.85) 100%
  );
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  opacity: 0.95;
  max-width: 52ch;
}

/* —— Content prose —— */
.prose {
  max-width: 720px;
}

.prose h2 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-top: 2rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

/* —— Split / two col —— */
.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 880px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

/* —— Footer —— */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  color: var(--white);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.75;
}

/* —— Sticky CTA —— */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: var(--sticky-h);
  padding: 0.5rem 1rem;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 26, 44, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(201, 169, 98, 0.25);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
}

.sticky-cta .btn {
  flex: 1;
  max-width: 200px;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.sticky-cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.sticky-cta .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* —— WhatsApp float —— */
.wa-float {
  position: fixed;
  bottom: calc(var(--sticky-h) + 1rem + env(safe-area-inset-bottom, 0px));
  right: 1rem;
  z-index: 95;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.06);
  color: var(--white);
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

@media (min-width: 900px) {
  .wa-float {
    bottom: calc(var(--sticky-h) + 1.25rem + env(safe-area-inset-bottom, 0px));
    right: 1.5rem;
    width: 60px;
    height: 60px;
  }

  .wa-float svg {
    width: 32px;
    height: 32px;
  }
}

/* —— Thank you —— */
.thank-panel {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
}

.thank-panel h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--navy);
}

.thank-panel p {
  color: var(--text-muted);
  max-width: 480px;
  margin-inline: auto;
}

/* —— Contact —— */
.contact-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-list dt {
  font-weight: 600;
  color: var(--navy);
  margin-top: 1rem;
}

.contact-list dt:first-child {
  margin-top: 0;
}

.contact-list dd {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
}

/* —— Utilities —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}
