:root {
  --bg-main: #0a0e27;
  --bg-card: rgba(20, 25, 47, 0.95);
  --accent: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-soft: rgba(99, 102, 241, 0.15);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --shadow-soft: 0 20px 50px rgba(10, 14, 39, 0.7);
  --radius-xl: 1.5rem;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img,
video,
canvas {
  max-width: 100%;
  height: auto;
}

body {
  /* Background already set in critical CSS above - enhance with gradients */
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.15) 0, transparent 55%),
    radial-gradient(circle at bottom right, rgba(139, 92, 246, 0.12) 0, transparent 50%),
    radial-gradient(circle at center, rgba(59, 130, 246, 0.08) 0, transparent 60%),
    var(--bg-main);
  min-height: 100vh;
  line-height: 1.7;
  width: 100%;
  overflow-x: hidden;
}

.page {
  max-width: 1200px;
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 1.2rem 1.2rem 3rem;
  /* Optimize rendering for faster LCP */
  contain: layout style;
}

/* الهيدر - Enhanced styles (basic styles in critical CSS above) */
header {
  backdrop-filter: blur(22px);
  background: linear-gradient(
    to bottom,
    rgba(20, 25, 47, 0.95),
    rgba(20, 25, 47, 0.8),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav {
  gap: 1rem;
}

.logo {
  min-width: 0;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #022c22;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.45);
  font-size: 1.1rem;
}

.logo-text-main {
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--text-muted);
  transition: color var(--transition);
  padding-bottom: 0.1rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -0.1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to left, #22c55e, #a3e635);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-links a:hover {
  color: #e5e7eb;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(10, 14, 39, 0.85);
  color: #f8fafc;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 9px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.nav-toggle-line {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-active .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle-line:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-line:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 20, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 15;
}

.nav-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2.2rem;
  margin-top: 2.5rem;
  align-items: center;
  /* Optimize for LCP - ensure hero renders quickly */
  contain: layout style paint;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.5);
  font-size: 0.78rem;
  color: #c7d2fe;
  margin-bottom: 0.9rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3);
}

.hero-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 0.8rem;
  /* Optimize LCP - ensure text renders immediately */
  font-weight: 700;
  line-height: 1.2;
}

.hero-title span {
  background: linear-gradient(to left, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 1.1rem;
}

.hero-list {
  list-style: none;
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-bottom: 1.5rem;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.hero-list-icon {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.btn-primary,
.btn-ghost {
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  /* Prevent layout shift */
  min-height: 2.2rem;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(to left, #6366f1, #8b5cf6);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 14px 35px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(99, 102, 241, 0.5);
}

.btn-ghost {
  background: rgba(20, 25, 47, 0.85);
  border-color: rgba(148, 163, 184, 0.45);
  color: var(--text-muted);
}

.btn-ghost:hover {
  border-color: rgba(99, 102, 241, 0.6);
  color: #e5e7eb;
  background: rgba(20, 25, 47, 0.98);
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* البطاقة الجانبية */
.hero-card {
  background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.15), transparent 55%),
              radial-gradient(circle at bottom right, rgba(139, 92, 246, 0.12), transparent 60%),
              var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.5rem 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.2), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-card-inner {
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  background: rgba(20, 25, 47, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.7rem;
  color: #e5e7eb;
  margin-bottom: 0.7rem;
}

.hero-card h2 {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.hero-card p {
  font-size: 0.86rem;
  color: #e5e7eb;
  margin-bottom: 0.55rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
  font-size: 0.72rem;
}

.tag {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(20, 25, 47, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #cbd5f5;
}

/* الأقسام */
section {
  margin-top: 3.2rem;
  /* Use content-visibility for below-fold sections to improve LCP */
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

/* Hero section should not use content-visibility as it's above fold */
.hero {
  content-visibility: visible;
  contain-intrinsic-size: none;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.section-title {
  font-size: 1.35rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 26rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

.card {
  background: rgba(20, 25, 47, 0.95);
  border-radius: 1.2rem;
  padding: 1.3rem 1.25rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 12px 35px rgba(10, 14, 39, 0.7);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.7);
  background: rgba(20, 25, 47, 0.98);
  box-shadow: 0 18px 55px rgba(10, 14, 39, 0.9);
}

.card:hover::before {
  opacity: 1;
}

.card-label {
  font-size: 0.72rem;
  color: #bbf7d0;
  margin-bottom: 0.25rem;
}

.card-title {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.86rem;
  color: #e5e7eb;
  margin-bottom: 0.55rem;
}

.card ul {
  list-style: none;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card ul li {
  margin-bottom: 0.3rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.bullet {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.9);
}

/* تميز الشقق والمحلات */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-size: 0.72rem;
}

.pill-row span {
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: rgba(20, 25, 47, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
}

/* قسم التواصل */
.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 1.7rem;
}

.contact-panel {
  background: linear-gradient(135deg, rgba(20, 25, 47, 0.98), rgba(20, 25, 47, 0.92));
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
}

.contact-panel h3 {
  margin-bottom: 0.5rem;
}

.contact-panel p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.contact-info {
  font-size: 0.86rem;
  margin-top: 0.5rem;
}

.contact-info div {
  margin-bottom: 0.35rem;
}

.contact-info span {
  color: #c7d2fe;
  font-weight: 500;
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.contact-badges span {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  background: var(--accent-soft);
  color: #c7d2fe;
  border: 1px solid rgba(99, 102, 241, 0.5);
}

.social-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.08);
  color: #e5e7eb;
  font-size: 0.82rem;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  color: #c7d2fe;
  border-color: rgba(99, 102, 241, 0.7);
  transform: translateY(-1px);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.btn-line {
  font-size: 0.82rem;
  padding-inline: 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(20, 25, 47, 0.95);
  color: #e5e7eb;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  transition: var(--transition);
}

.btn-line:hover {
  border-color: rgba(99, 102, 241, 0.7);
  color: #c7d2fe;
  transform: translateY(-1px);
}

.form-card {
  background: rgba(20, 25, 47, 0.96);
  border-radius: 1.2rem;
  padding: 1.2rem 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 14px 40px rgba(10, 14, 39, 0.85);
}

.form-row {
  margin-bottom: 0.7rem;
}

label {
  display: block;
  font-size: 0.8rem;
  color: #e5e7eb;
  margin-bottom: 0.2rem;
}

input,
textarea {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(75, 85, 99, 0.8);
  background: rgba(20, 25, 47, 0.96);
  color: #f9fafb;
  font-size: 0.82rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  resize: vertical;
  min-height: 0;
}

input::placeholder,
textarea::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

input:focus,
textarea:focus {
  border-color: rgba(99, 102, 241, 0.8);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.5);
  background: rgba(20, 25, 47, 1);
}

.form-caption {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

/* قسم العقارات المتاحة */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.property-card {
  background: rgba(20, 25, 47, 0.95);
  border-radius: 1.2rem;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 12px 35px rgba(10, 14, 39, 0.7);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.property-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.property-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 18px 55px rgba(10, 14, 39, 0.9);
}

.property-card:hover::before {
  opacity: 1;
}

.property-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.property-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
  line-height: 1.4;
}

.property-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #6366f1;
  white-space: nowrap;
}

.property-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.property-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.property-spec {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.property-spec-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.property-spec-value {
  font-size: 0.85rem;
  color: #c7d2fe;
  font-weight: 500;
}

.property-carousel {
  position: relative;
  margin-top: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(20, 25, 47, 0.9);
}

.carousel-track {
  position: relative;
  min-height: 220px;
}

.carousel-slide {
  display: none;
}

.carousel-slide.is-active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}

.carousel-caption {
  position: absolute;
  bottom: 0.85rem;
  right: 0.9rem;
  left: 0.9rem;
  background: rgba(10, 14, 39, 0.72);
  color: #f8fafc;
  padding: 0.45rem 0.8rem;
  border-radius: 0.8rem;
  font-size: 0.85rem;
  line-height: 1.4;
  z-index: 2;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 14, 39, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.5);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #f8fafc;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(99, 102, 241, 0.75);
  border-color: rgba(99, 102, 241, 0.9);
}

.carousel-btn.prev {
  left: 0.7rem;
  right: auto;
}

.carousel-btn.next {
  right: 0.7rem;
  left: auto;
}

.carousel-counter {
  position: absolute;
  bottom: 0.6rem;
  left: 0.8rem;
  background: rgba(10, 14, 39, 0.7);
  color: #f8fafc;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  z-index: 2;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem 1rem;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

.carousel-indicators button.is-active {
  background: #6366f1;
  border-color: #6366f1;
  transform: scale(1.1);
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 0.7rem;
  font-size: 0.8rem;
  color: #c7d2fe;
  margin-top: 0.5rem;
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.property-features span {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.08);
  color: #cbd5f5;
  font-size: 0.8rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(31, 41, 55, 0.8);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  /* Reserve space for dynamic content to prevent layout shift */
  min-height: 1.5em;
}

/* موبايل */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: 2rem;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    position: relative;
    gap: 0.6rem;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    gap: 0.6rem;
    background: rgba(15, 19, 40, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 1.2rem;
    padding: 1.2rem 1rem;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transition: opacity var(--transition), transform var(--transition);
    z-index: 25;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    padding: 0.4rem 0;
  }

  .nav-cta {
    display: none;
  }

  .page {
    width: 100%;
    padding: 0.6rem 0.75rem 2.2rem;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-card {
    margin-top: 0.5rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-panel,
  .form-card {
    padding-inline: 1rem;
  }

  .property-carousel {
    margin-top: 0.8rem;
  }

  .carousel-track {
    min-height: 180px;
  }

  .carousel-caption {
    font-size: 0.78rem;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
  }
}

/* About page */
.about-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.12), transparent 55%),
    radial-gradient(circle at bottom left, rgba(15, 118, 110, 0.15), transparent 60%),
    var(--bg-main);
}

.about-page {
  max-width: 900px;
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.about-hero {
  background: rgba(20, 25, 47, 0.92);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-soft);
  margin-top: 2.4rem;
}

.about-kicker {
  display: inline-flex;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.4);
  font-size: 0.78rem;
  color: #c7d2fe;
  margin-bottom: 1rem;
}

.about-hero h1 {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  color: var(--text-main);
}

.about-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.9;
}

.about-highlight {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: #cbd5f5;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}

.about-card {
  background: rgba(20, 25, 47, 0.95);
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.6rem;
  box-shadow: 0 16px 40px rgba(10, 14, 39, 0.6);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.7);
  box-shadow: 0 20px 55px rgba(10, 14, 39, 0.8);
}

.about-card h3 {
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.about-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  line-height: 1.8;
}

.about-list {
  list-style: none;
  font-size: 0.85rem;
  color: #e5e7eb;
  line-height: 1.7;
}

.about-list li {
  position: relative;
  padding-right: 1.1rem;
  margin-bottom: 0.35rem;
}

.about-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.about-contact {
  margin-top: 3rem;
}

.about-contact-card {
  background: linear-gradient(135deg, rgba(20, 25, 47, 0.98), rgba(20, 25, 47, 0.92));
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

.about-contact-card h2 {
  margin-bottom: 0.6rem;
}

.about-contact-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.about-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.about-contact-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.about-contact-btn {
  display: inline-flex;
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .about-hero,
  .about-contact-card {
    padding: 1.6rem;
  }

  .about-page {
    width: 100%;
    padding: 1.6rem 1rem 3rem;
  }
}