:root {
  --font-arabic: "Noto Kufi Arabic", Tahoma, "Segoe UI", Arial, sans-serif;
  --navy-950: #041b35;
  --navy-900: #06294e;
  --navy-800: #0a3967;
  --navy-700: #125184;
  --blue-600: #1674b8;
  --teal-600: #0f8f9b;
  --gold-600: #b98734;
  --gold-500: #d0a252;
  --gold-300: #ead19e;
  --cream-50: #fdfbf7;
  --cream-100: #f8f3e9;
  --slate-900: #18283a;
  --slate-700: #4f6172;
  --slate-500: #7a8a98;
  --line: #e3e9ed;
  --white: #ffffff;
  --shadow-sm: 0 12px 36px rgba(6, 41, 78, 0.08);
  --shadow-lg: 0 28px 80px rgba(6, 41, 78, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  background: var(--cream-50);
}

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--navy-950);
  font-family: var(--font-arabic);
  font-optical-sizing: auto;
  font-style: normal;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(22, 116, 184, 0.38);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

.icon-image {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.icon-whatsapp {
  border-radius: 0;
  overflow: visible;
}

.button .icon-whatsapp {
  width: 24px;
  height: 24px;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section-shell {
  position: relative;
  padding-block: 108px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(8, 44, 85, 0.08);
  background: rgba(253, 251, 247, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

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

.brand-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 17px;
  letter-spacing: -0.04em;
}

.brand-copy small {
  color: var(--slate-700);
  font-size: 12px;
}

.brand-light .brand-mark {
  filter: drop-shadow(0 1px 5px rgba(255, 255, 255, 0.2));
}

.brand-light .brand-copy strong {
  color: #fff;
}

.brand-light .brand-copy small {
  color: rgba(255, 255, 255, 0.63);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  padding-block: 11px;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--gold-500);
  content: "";
  transition: width 200ms ease;
}

.desktop-nav a:hover {
  color: var(--navy-900);
}

.desktop-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-map {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 700;
}

.header-map svg {
  color: var(--gold-600);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 15px;
  padding: 13px 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  box-shadow: 0 14px 30px rgba(6, 41, 78, 0.18);
}

.button-primary:hover {
  box-shadow: 0 18px 36px rgba(6, 41, 78, 0.25);
}

.button-ghost {
  color: var(--navy-900);
  border-color: rgba(6, 41, 78, 0.16);
  background: rgba(255, 255, 255, 0.82);
}

.button-ghost:hover {
  border-color: var(--gold-500);
  background: #fff;
}

.button-light {
  color: var(--navy-950);
  background: #fff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
}

.button-sm {
  min-height: 44px;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 13px;
}

.hero {
  min-height: 730px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 76px;
  padding-bottom: 132px;
  background:
    radial-gradient(circle at 18% 16%, rgba(208, 162, 82, 0.14), transparent 30%),
    radial-gradient(circle at 84% 72%, rgba(22, 116, 184, 0.11), transparent 34%),
    linear-gradient(180deg, #fffefd 0%, #f7f4ed 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(rgba(6, 41, 78, 0.3) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  content: "";
  mask-image: linear-gradient(to left, #000, transparent 70%);
}

.hero-orb {
  position: absolute;
  border: 1px solid rgba(185, 135, 52, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-one {
  top: 90px;
  left: -130px;
  width: 380px;
  height: 380px;
}

.hero-orb-two {
  right: 43%;
  bottom: -170px;
  width: 330px;
  height: 330px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 58px;
}

.hero-copy {
  animation: hero-enter 750ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow,
.section-kicker,
.promo-label,
.modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-600);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.eyebrow > span {
  width: 26px;
  height: 1px;
  background: var(--gold-500);
}

.hero h1 {
  max-width: 680px;
  margin: 22px 0 24px;
  color: var(--navy-950);
  font-size: clamp(3.6rem, 6.3vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 1.08;
}

.hero h1 em {
  position: relative;
  display: inline-block;
  color: var(--gold-600);
  font-style: normal;
}

.hero h1 em::after {
  position: absolute;
  right: 2%;
  bottom: -5px;
  width: 84%;
  height: 8px;
  border-radius: 50%;
  background: rgba(208, 162, 82, 0.2);
  content: "";
  filter: blur(2px);
}

.hero-copy > p {
  max-width: 610px;
  margin: 0;
  color: var(--slate-700);
  font-size: 18px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.hero-actions .button {
  min-width: 178px;
}

.hero-quick-links {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 26px;
  color: var(--slate-700);
  font-size: 12px;
  font-weight: 700;
}

.hero-quick-links a,
.hero-quick-links > span:not(.divider) {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-quick-links svg {
  color: var(--gold-600);
}

.hero-quick-links .divider {
  width: 1px;
  height: 18px;
  background: var(--line);
}

.hero-visual {
  position: relative;
  min-height: 590px;
  animation: hero-visual-enter 900ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.hero-visual::before {
  top: 30px;
  right: 48px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(185, 135, 52, 0.26);
}

.hero-visual::after {
  right: 5px;
  bottom: 20px;
  width: 210px;
  height: 210px;
  background: rgba(22, 116, 184, 0.08);
  filter: blur(10px);
}

.hero-photo-wrap {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 36px;
  width: min(430px, 85%);
  height: 568px;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.82);
  border-radius: 220px 220px 46px 46px;
  background: #e9eef1;
  box-shadow: var(--shadow-lg);
}

.hero-photo-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(4, 27, 53, 0.28));
  content: "";
  pointer-events: none;
}

.hero-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 70% 19%;
  transform: scale(1.02);
}

.hero-shine {
  position: absolute;
  z-index: 3;
  top: 16%;
  left: -44%;
  width: 28%;
  height: 90%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: rotate(18deg);
  animation: shine-sweep 5.6s 1.4s ease-in-out infinite;
}

.hero-badge {
  position: absolute;
  z-index: 4;
  min-width: 155px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(4, 27, 53, 0.16);
  backdrop-filter: blur(12px);
  animation: gentle-float 4.2s ease-in-out infinite;
}

.hero-badge-top {
  top: 102px;
  left: -4px;
}

.hero-badge-bottom {
  right: -12px;
  bottom: 36px;
  animation-delay: -1.7s;
}

.badge-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: var(--blue-600);
  background: #eaf4fb;
}

.badge-icon.gold {
  color: var(--gold-600);
  background: #fbf3e2;
}

.hero-badge > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.hero-badge small {
  color: var(--slate-500);
  font-size: 10px;
}

.hero-badge strong {
  color: var(--navy-900);
  font-size: 15px;
}

.orbit-dot {
  position: absolute;
  z-index: 5;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 7px rgba(208, 162, 82, 0.15);
}

.orbit-dot-one {
  top: 30px;
  left: 94px;
}

.orbit-dot-two {
  right: 0;
  bottom: 180px;
  width: 8px;
  height: 8px;
  background: var(--blue-600);
  box-shadow: 0 0 0 7px rgba(22, 116, 184, 0.12);
}

.trust-bar {
  position: relative;
  z-index: 8;
  margin-top: -57px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(6, 41, 78, 0.07);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.trust-item {
  min-height: 118px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 23px;
  border-inline-start: 1px solid var(--line);
}

.trust-item:first-child {
  border-inline-start: 0;
}

.trust-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 15px;
  color: var(--gold-600);
  background: var(--cream-100);
}

.trust-item > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.trust-item strong {
  color: var(--navy-900);
  font-size: 14px;
}

.trust-item small {
  color: var(--slate-500);
  font-size: 10px;
  line-height: 1.7;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 45px;
}

.section-kicker {
  margin-bottom: 13px;
}

.section-kicker::before {
  width: 25px;
  height: 1px;
  background: currentColor;
  content: "";
}

.section-kicker.light {
  color: var(--gold-300);
}

.section-heading h2,
.doctor-copy h2,
.why-copy h2,
.contact-copy h2,
.social-copy h2,
.faq-heading h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2.45rem, 4.3vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.25;
}

.section-heading > p,
.contact-copy > p,
.faq-heading > p {
  margin: 0;
  color: var(--slate-700);
  font-size: 15px;
  line-height: 2;
}

.services {
  padding-top: 130px;
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.theme-navy { --accent: #0a3967; --accent-soft: #eaf1f7; }
.theme-gold { --accent: #b98734; --accent-soft: #fbf3e2; }
.theme-teal { --accent: #0f8f9b; --accent-soft: #e6f5f5; }
.theme-sky { --accent: #168ac0; --accent-soft: #e9f7fc; }
.theme-blue { --accent: #315f9b; --accent-soft: #ebf1f9; }

.service-card {
  position: relative;
  min-height: 272px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  padding: 22px;
  color: var(--navy-950);
  background: #fff;
  text-align: right;
  cursor: pointer;
  transition: transform 230ms ease, border-color 230ms ease, box-shadow 230ms ease;
}

.service-card::before {
  position: absolute;
  top: -65px;
  left: -65px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--accent-soft);
  content: "";
  transition: transform 320ms ease;
}

.service-card:hover {
  z-index: 2;
  border-color: color-mix(in srgb, var(--accent) 34%, white);
  box-shadow: 0 22px 56px rgba(6, 41, 78, 0.13);
  transform: translateY(-8px);
}

.service-card:hover::before {
  transform: scale(1.35);
}

.service-topline,
.service-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--accent);
  background: var(--accent-soft);
}

.service-number {
  color: #c4ced6;
  font-size: 12px;
  font-weight: 800;
}

.service-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-copy strong {
  color: var(--navy-900);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.service-copy small {
  color: var(--slate-500);
  font-size: 12px;
  line-height: 1.7;
}

.service-footer {
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.service-footer b {
  color: var(--accent);
  font-size: 13px;
}

.service-arrow {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  transition: transform 220ms ease;
}

.service-card:hover .service-arrow {
  transform: translateX(-4px);
}

.promo-band {
  padding-top: 30px;
  padding-bottom: 110px;
  background: #fff;
}

.promo-card {
  position: relative;
  min-height: 390px;
  display: grid;
  grid-template-columns: 1fr 270px;
  align-items: center;
  gap: 45px;
  overflow: hidden;
  border-radius: 30px;
  padding: 58px 72px;
  color: #fff;
  background:
    radial-gradient(circle at 8% 120%, rgba(208, 162, 82, 0.35), transparent 35%),
    linear-gradient(135deg, var(--navy-700), var(--navy-950) 66%);
  box-shadow: 0 30px 72px rgba(4, 27, 53, 0.19);
}

.promo-decoration {
  position: absolute;
  top: -130px;
  left: -90px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.promo-decoration::before,
.promo-decoration::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.promo-decoration::before { inset: 34px; }
.promo-decoration::after { inset: 68px; }

.promo-copy {
  position: relative;
  z-index: 2;
}

.promo-label {
  color: var(--gold-300);
}

.promo-copy h2 {
  max-width: 620px;
  margin: 18px 0 13px;
  font-size: clamp(2.35rem, 4.5vw, 4.2rem);
  letter-spacing: -0.06em;
  line-height: 1.25;
}

.promo-copy p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 2;
}

.promo-copy p strong {
  color: #fff;
}

.promo-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}

.payment-note {
  color: rgba(255, 255, 255, 0.67);
  font-size: 11px;
}

.payment-note b {
  display: inline-block;
  border-radius: 8px;
  margin-inline: 3px;
  padding: 5px 8px;
  color: var(--navy-950);
  background: #fff;
  font-size: 11px;
}

.payment-note b:first-of-type {
  background: #62e6cb;
}

.payment-note b:last-of-type {
  background: #f3ada4;
}

.promo-price {
  position: relative;
  z-index: 2;
  width: 230px;
  height: 230px;
  display: grid;
  grid-template-columns: 1fr auto;
  place-content: center;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 14px rgba(255, 255, 255, 0.035), 0 22px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  animation: gentle-float 5s ease-in-out infinite;
}

.promo-price small {
  grid-column: 1 / -1;
  margin-bottom: -14px;
  color: var(--gold-300);
  font-size: 13px;
  text-align: center;
}

.promo-price strong {
  color: var(--gold-300);
  font-family: var(--font-arabic);
  font-size: 104px;
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 1;
}

.promo-price span {
  margin-bottom: 15px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.doctor-section {
  background: var(--cream-100);
}

.doctor-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 86px;
}

.doctor-image-card {
  position: relative;
  height: 630px;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 30px 30px 150px 30px;
  background: #174f88;
  box-shadow: var(--shadow-lg);
}

.doctor-image-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 6%;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.doctor-image-card:hover img {
  transform: scale(1.035);
}

.image-corner {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-left: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}

.doctor-copy h2 {
  margin-bottom: 24px;
}

.doctor-name {
  margin: 0 0 4px;
  color: var(--navy-800);
  font-size: 24px;
  font-weight: 900;
}

.doctor-role {
  margin: 0 0 24px;
  color: var(--gold-600);
  font-size: 14px;
  font-weight: 800;
}

.doctor-description {
  max-width: 600px;
  margin: 0;
  color: var(--slate-700);
  font-size: 15px;
  line-height: 2.1;
}

.doctor-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 29px 0;
}

.doctor-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(6, 41, 78, 0.1);
  border-radius: 12px;
  padding: 10px 13px;
  color: var(--slate-700);
  background: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
}

.doctor-facts svg,
.doctor-facts b {
  color: var(--gold-600);
}

.offers {
  overflow: hidden;
  background: #fff;
}

.offers-heading {
  margin-bottom: 32px;
}

.offers-scroller {
  display: grid;
  grid-auto-columns: 310px;
  grid-auto-flow: column;
  gap: 17px;
  overflow-x: auto;
  padding: 14px 2px 28px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--gold-500) #eef1f3;
  scrollbar-width: thin;
}

.offers-scroller::-webkit-scrollbar {
  height: 7px;
}

.offers-scroller::-webkit-scrollbar-track {
  border-radius: 99px;
  background: #eef1f3;
}

.offers-scroller::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: var(--gold-500);
}

.offer-card {
  position: relative;
  height: 520px;
  overflow: hidden;
  margin: 0;
  border: 5px solid #fff;
  border-radius: 25px;
  background: #edf2f4;
  box-shadow: 0 16px 38px rgba(6, 41, 78, 0.13);
  scroll-snap-align: start;
  transition: transform 230ms ease, box-shadow 230ms ease;
}

.offer-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 25px 55px rgba(6, 41, 78, 0.18);
}

.offer-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.offers-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 26px;
}

.offers-cta small {
  color: var(--slate-500);
  font-size: 10px;
}

.why-section {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(22, 116, 184, 0.28), transparent 32%),
    linear-gradient(135deg, var(--navy-800), var(--navy-950) 67%);
}

.why-section::before {
  position: absolute;
  top: -200px;
  right: -110px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.why-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 80px;
}

.why-copy h2,
.social-copy h2 {
  color: #fff;
}

.why-copy > p,
.social-copy > p {
  max-width: 480px;
  margin: 23px 0 28px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  line-height: 2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-300);
  font-size: 13px;
  font-weight: 800;
}

.why-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-card {
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: start;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  transition: background 200ms ease, transform 200ms ease;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-7px);
}

.why-card > span {
  color: var(--gold-300);
  font-family: var(--font-arabic);
  font-size: 28px;
}

.why-card h3 {
  margin: 0 0 7px;
  font-size: 17px;
}

.why-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.9;
}

.contact-section {
  background: var(--cream-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 80px;
}

.contact-copy > p {
  max-width: 560px;
  margin: 20px 0 28px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-links > a {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 13px 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(6, 41, 78, 0.04);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.contact-links > a:hover {
  border-color: rgba(185, 135, 52, 0.42);
  box-shadow: var(--shadow-sm);
  transform: translateX(-5px);
}

.contact-link-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
}

.contact-link-icon.whatsapp { color: #128c61; background: #e8f8f0; }
.contact-link-icon.phone { color: var(--blue-600); background: #eaf4fb; }
.contact-link-icon.map { color: var(--gold-600); background: #fbf3e2; }

.contact-links a > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-links small {
  color: var(--slate-500);
  font-size: 10px;
}

.contact-links strong {
  color: var(--navy-900);
  font-size: 15px;
}

.contact-links > a > svg {
  color: #aab6bf;
}

.hours-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 31px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.hours-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hours-header > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: var(--gold-600);
  background: var(--cream-100);
}

.hours-header small {
  color: var(--slate-500);
  font-size: 10px;
}

.hours-header h3 {
  margin: 4px 0 0;
  color: var(--navy-900);
  font-size: 20px;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.hours-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--slate-700);
  font-size: 12px;
}

.hours-list b {
  color: var(--navy-900);
  font-size: 13px;
}

.hours-list .closed b {
  color: #b75b4b;
}

.map-preview {
  display: grid;
  grid-template-columns: 55px 1fr auto;
  align-items: center;
  gap: 13px;
  margin-top: 25px;
  border-radius: 18px;
  padding: 15px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 0%, rgba(208, 162, 82, 0.28), transparent 37%),
    var(--navy-900);
  transition: transform 200ms ease;
}

.map-preview:hover {
  transform: translateY(-4px);
}

.map-pin {
  width: 51px;
  height: 51px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--gold-300);
  background: rgba(255, 255, 255, 0.1);
}

.map-preview > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.map-preview small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
}

.map-preview strong {
  font-size: 12px;
}

.social-section {
  padding-top: 20px;
  background: var(--cream-50);
}

.social-box {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 65px;
  overflow: hidden;
  border-radius: 32px;
  padding: 62px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(15, 143, 155, 0.28), transparent 28%),
    linear-gradient(135deg, #123f68, var(--navy-950));
  box-shadow: var(--shadow-lg);
}

.social-copy > p {
  margin-block: 18px 26px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.social-card {
  position: relative;
  min-height: 144px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
  transition: transform 200ms ease, background 200ms ease;
}

.social-card::before {
  position: absolute;
  top: -32px;
  left: -25px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  content: "";
}

.social-card:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-5px);
}

.social-logo-wrap {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.social-logo {
  width: 60px;
  height: 60px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 9px 18px rgba(0, 0, 0, 0.16));
}

.social-card strong {
  font-size: 14px;
}

.social-card small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
}

.faq-section {
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  align-items: start;
  gap: 90px;
}

.faq-heading h2 {
  margin-bottom: 17px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  color: var(--navy-900);
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--gold-600);
  background: var(--cream-100);
  font-size: 18px;
  transition: transform 220ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: -5px 0 0;
  padding: 0 4px 24px;
  color: var(--slate-700);
  font-size: 12px;
  line-height: 2;
}

.footer {
  padding-top: 56px;
  color: #fff;
  background: var(--navy-950);
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 45px;
  padding-bottom: 40px;
}

.footer-top > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-actions a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
}

.footer-actions svg {
  color: var(--gold-300);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 22px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
}

.footer-bottom a {
  color: var(--gold-300);
}

.floating-contact {
  position: fixed;
  z-index: 55;
  left: 20px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-button {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 12px 28px rgba(4, 27, 53, 0.22);
  transition: width 220ms ease, border-radius 220ms ease, transform 180ms ease;
}

.floating-button span {
  width: 0;
  overflow: hidden;
  font-size: 11px;
  font-weight: 800;
  opacity: 0;
  transition: width 220ms ease, opacity 180ms ease;
}

.floating-button:hover {
  width: 105px;
  gap: 7px;
  border-radius: 28px;
  transform: translateY(-2px);
}

.floating-button:hover span {
  width: 40px;
  opacity: 1;
}

.floating-whatsapp { overflow: visible; background: transparent; box-shadow: none; }
.floating-whatsapp .icon-whatsapp { width: 52px; height: 52px; }
.floating-whatsapp span { color: #128c61; }
.floating-phone { background: var(--blue-600); }
.floating-map { background: var(--gold-600); }

.contact-link-icon.whatsapp .icon-whatsapp {
  width: 30px;
  height: 30px;
}

.footer-actions .icon-whatsapp {
  width: 22px;
  height: 22px;
}

.mobile-contact-bar {
  display: none;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background: rgba(3, 20, 39, 0.72);
  backdrop-filter: blur(9px);
  animation: fade-in 180ms ease both;
}

.service-modal {
  position: relative;
  width: min(560px, 100%);
  border-radius: 28px;
  padding: 36px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  animation: modal-enter 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modal-close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--slate-700);
  background: #f1f4f6;
  cursor: pointer;
}

.modal-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 21px;
  color: var(--accent);
  background: var(--accent-soft);
}

.modal-kicker {
  color: var(--gold-600);
}

.service-modal h2 {
  margin: 9px 0 12px;
  color: var(--navy-950);
  font-size: 34px;
  letter-spacing: -0.04em;
}

.service-modal > p {
  margin: 0;
  color: var(--slate-700);
  font-size: 13px;
  line-height: 2;
}

.modal-price {
  display: block;
  margin-top: 17px;
  color: var(--gold-600);
  font-size: 20px;
}

.service-modal ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.service-modal li {
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  padding: 10px;
  color: var(--navy-800);
  background: var(--cream-100);
  font-size: 9px;
  font-weight: 700;
}

.service-modal li svg {
  color: var(--teal-600);
  flex: 0 0 auto;
}

.modal-note {
  display: block;
  color: var(--slate-500);
  font-size: 9px;
  line-height: 1.8;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms var(--delay, 0ms) cubic-bezier(0.22, 1, 0.36, 1), transform 650ms var(--delay, 0ms) cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-visual-enter {
  from { opacity: 0; transform: translateX(-35px) scale(0.97); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes gentle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes shine-sweep {
  0%, 62% { left: -44%; opacity: 0; }
  70% { opacity: 0.7; }
  88%, 100% { left: 130%; opacity: 0; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-enter {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 20px;
  }

  .header-map {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 6vw, 5rem);
  }

  .hero-photo-wrap {
    right: 18px;
    width: 390px;
  }

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

  .service-card {
    min-height: 245px;
  }

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

  .trust-item:nth-child(3) {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  .trust-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .doctor-grid,
  .contact-grid {
    gap: 50px;
  }

  .social-box {
    padding: 48px;
    gap: 42px;
  }
}

@media (max-width: 820px) {
  .section-shell {
    padding-block: 78px;
  }

  .header-inner {
    min-height: 72px;
  }

  .desktop-nav {
    display: none;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy small {
    font-size: 10px;
  }

  .header-actions .button {
    min-height: 42px;
    padding: 9px 13px;
    font-size: 11px;
  }

  .hero {
    padding-top: 58px;
    padding-bottom: 110px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow,
  .hero-actions,
  .hero-quick-links {
    justify-content: center;
  }

  .hero h1,
  .hero-copy > p {
    margin-inline: auto;
  }

  .hero-visual {
    width: min(550px, 100%);
    min-height: 560px;
    margin-inline: auto;
  }

  .hero-photo-wrap {
    right: 50%;
    width: min(420px, 82%);
    height: 540px;
    transform: translateX(50%);
  }

  .hero-badge-top {
    left: 2%;
  }

  .hero-badge-bottom {
    right: 1%;
  }

  .trust-bar {
    margin-top: -45px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading > p {
    max-width: 620px;
  }

  .promo-card {
    grid-template-columns: 1fr 190px;
    gap: 25px;
    padding: 45px;
  }

  .promo-price {
    width: 180px;
    height: 180px;
  }

  .promo-price strong {
    font-size: 78px;
  }

  .doctor-grid,
  .contact-grid,
  .why-grid,
  .social-box,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .doctor-grid {
    gap: 48px;
  }

  .doctor-image-card {
    width: min(520px, 100%);
    height: 700px;
    margin-inline: auto;
  }

  .doctor-copy {
    text-align: center;
  }

  .doctor-description {
    margin-inline: auto;
  }

  .doctor-facts {
    justify-content: center;
  }

  .why-grid,
  .faq-grid {
    gap: 45px;
  }

  .social-box {
    gap: 42px;
  }

  .social-copy {
    text-align: center;
  }

  .social-copy > p {
    margin-inline: auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
    text-align: center;
  }

  .footer-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  body {
    padding-bottom: 68px;
  }

  .section-shell {
    padding-block: 64px;
  }

  .header-actions .button svg {
    display: none;
  }

  .header-actions .button {
    padding-inline: 11px;
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 96px;
  }

  .hero h1 {
    margin-top: 17px;
    font-size: clamp(3rem, 14vw, 4rem);
    line-height: 1.12;
  }

  .hero-copy > p {
    font-size: 14px;
    line-height: 1.9;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-quick-links {
    gap: 10px;
    font-size: 10px;
  }

  .hero-visual {
    min-height: 475px;
  }

  .hero-photo-wrap {
    width: 82%;
    height: 465px;
    border-width: 5px;
    border-radius: 170px 170px 32px 32px;
  }

  .hero-visual::before {
    top: 25px;
    right: 5%;
    width: 90%;
    height: 360px;
  }

  .hero-badge {
    min-width: 133px;
    padding: 9px 10px;
  }

  .hero-badge-top {
    top: 70px;
    left: -1%;
  }

  .hero-badge-bottom {
    right: -1%;
    bottom: 15px;
  }

  .badge-icon {
    width: 34px;
    height: 34px;
  }

  .hero-badge strong {
    font-size: 12px;
  }

  .hero-badge small {
    font-size: 8px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .trust-item,
  .trust-item:nth-child(2) {
    min-height: 92px;
    border-top: 1px solid var(--line);
    border-inline-start: 0;
    padding: 17px;
  }

  .trust-item:first-child {
    border-top: 0;
  }

  .trust-icon {
    width: 43px;
    height: 43px;
  }

  .section-heading h2,
  .doctor-copy h2,
  .why-copy h2,
  .contact-copy h2,
  .social-copy h2,
  .faq-heading h2 {
    font-size: 2.5rem;
  }

  .services {
    padding-top: 95px;
  }

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

  .service-card {
    min-height: 235px;
  }

  .promo-band {
    padding-top: 10px;
  }

  .promo-card {
    grid-template-columns: 1fr;
    padding: 35px 25px;
    text-align: center;
  }

  .promo-copy h2 {
    font-size: 2.5rem;
  }

  .promo-label,
  .promo-actions {
    justify-content: center;
  }

  .promo-price {
    width: 175px;
    height: 175px;
    margin-inline: auto;
    grid-row: 1;
  }

  .doctor-image-card {
    height: 560px;
    border-radius: 24px 24px 100px 24px;
  }

  .doctor-facts {
    gap: 7px;
  }

  .doctor-facts span {
    padding: 8px 10px;
    font-size: 9px;
  }

  .doctor-copy > .button {
    width: 100%;
  }

  .offers-scroller {
    grid-auto-columns: 82%;
  }

  .offer-card {
    height: auto;
    aspect-ratio: 9 / 16;
  }

  .why-card {
    grid-template-columns: 45px 1fr;
    gap: 13px;
    padding: 20px;
  }

  .contact-links > a {
    grid-template-columns: 46px 1fr auto;
    gap: 10px;
    padding: 11px;
  }

  .contact-link-icon {
    width: 43px;
    height: 43px;
  }

  .hours-card {
    padding: 22px;
  }

  .hours-list > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .social-section {
    padding-top: 0;
  }

  .social-box {
    width: calc(100% - 20px);
    border-radius: 25px;
    padding: 34px 20px;
  }

  .social-grid {
    gap: 8px;
  }

  .social-card {
    min-height: 128px;
    padding: 14px;
  }

  .social-logo-wrap {
    top: 12px;
    left: 12px;
    width: 56px;
    height: 56px;
  }

  .social-logo {
    width: 54px;
    height: 54px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .floating-contact {
    display: none;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 70;
    right: 0;
    bottom: 0;
    left: 0;
    height: 68px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 7px 8px max(7px, env(safe-area-inset-bottom));
    color: #fff;
    background: rgba(4, 27, 53, 0.96);
    box-shadow: 0 -14px 35px rgba(4, 27, 53, 0.22);
    backdrop-filter: blur(13px);
  }

  .mobile-contact-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.82);
    font-size: 9px;
    font-weight: 700;
  }

  .mobile-contact-bar a:first-child {
    border-inline-start: 0;
    color: #72e4aa;
  }

  .mobile-contact-bar a:first-child .icon-whatsapp {
    width: 30px;
    height: 30px;
  }

  .modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .service-modal {
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    border-radius: 28px 28px 0 0;
    padding: 28px 21px 22px;
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }

  .modal-icon {
    width: 58px;
    height: 58px;
  }

  .service-modal h2 {
    font-size: 28px;
  }

  .service-modal ul {
    grid-template-columns: 1fr;
  }

  .modal-actions {
    position: sticky;
    bottom: -1px;
    padding-top: 12px;
    background: linear-gradient(transparent, #fff 22%);
  }

  .modal-actions .button {
    min-height: 50px;
    padding-inline: 10px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

.footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

/* لوحة التحكم */
.admin-shell {
  min-height: 100vh;
  color: var(--navy-950);
  background: #f2f5f7;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #dde5ea;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(6, 41, 78, 0.05);
  backdrop-filter: blur(15px);
}

.admin-topbar-brand,
.admin-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-topbar-brand img {
  width: 47px;
  height: 47px;
  object-fit: contain;
}

.admin-topbar-brand div,
.admin-user div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.admin-topbar-brand strong {
  font-size: 15px;
}

.admin-topbar-brand small,
.admin-user small {
  color: var(--slate-500);
  font-size: 9px;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 11px;
}

.admin-topbar-actions > a,
.admin-save-button,
.admin-panel-heading > button,
.admin-editor-card header > button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9e2e8;
  border-radius: 12px;
  padding: 9px 17px;
  color: var(--navy-800);
  background: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.admin-topbar-actions > a:hover,
.admin-panel-heading > button:hover,
.admin-editor-card header > button:hover {
  border-color: rgba(22, 116, 184, 0.45);
  box-shadow: 0 10px 24px rgba(6, 41, 78, 0.08);
  transform: translateY(-1px);
}

.admin-save-button {
  min-width: 128px;
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-950));
  box-shadow: 0 10px 24px rgba(6, 41, 78, 0.18);
}

.admin-save-button:disabled {
  color: #8495a3;
  background: #edf1f4;
  box-shadow: none;
  cursor: default;
}

.admin-layout {
  width: min(1540px, 100%);
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  margin-inline: auto;
}

.admin-sidebar {
  position: sticky;
  top: 78px;
  height: calc(100vh - 78px);
  display: flex;
  flex-direction: column;
  border-inline-end: 1px solid #dfe6ea;
  padding: 27px 20px 22px;
  background: #fff;
}

.admin-user {
  border-bottom: 1px solid #edf1f3;
  padding: 0 8px 22px;
}

.admin-user > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  color: #fff;
  background: var(--navy-800);
  font-size: 14px;
  font-weight: 900;
}

.admin-user b {
  max-width: 185px;
  overflow: hidden;
  color: var(--navy-900);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 21px;
}

.admin-sidebar nav button {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid transparent;
  border-radius: 13px;
  padding: 13px 14px;
  color: var(--slate-700);
  background: transparent;
  text-align: right;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.admin-sidebar nav button:hover {
  background: #f5f8fa;
}

.admin-sidebar nav button.active {
  border-color: #d9e7f1;
  color: var(--navy-900);
  background: #edf5fa;
}

.admin-sidebar nav strong {
  font-size: 12px;
}

.admin-sidebar nav small {
  color: var(--slate-500);
  font-size: 8px;
}

.admin-signout {
  margin-top: auto;
  border-top: 1px solid #edf1f3;
  padding: 20px 11px 4px;
  color: #a54b4b;
  font-size: 10px;
  font-weight: 800;
}

.admin-workspace {
  width: min(1040px, calc(100% - 48px));
  margin-inline: auto;
  padding: 32px 0 90px;
}

.admin-status {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #dfe7eb;
  border-radius: 13px;
  margin-bottom: 28px;
  padding: 9px 14px;
  color: var(--slate-700);
  background: #fff;
  font-size: 10px;
  box-shadow: 0 8px 20px rgba(6, 41, 78, 0.04);
}

.admin-status > span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-600);
}

.admin-status.saved > span { background: #1d976b; }
.admin-status.error > span { background: #c34d4d; }

.admin-panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.admin-panel-heading span {
  color: var(--gold-600);
  font-size: 9px;
  font-weight: 900;
}

.admin-panel-heading h1 {
  margin: 6px 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.055em;
}

.admin-panel-heading p {
  margin: 0;
  color: var(--slate-700);
  font-size: 11px;
  line-height: 1.8;
}

.admin-panel-heading > button,
.admin-editor-card header > button:not(.admin-danger-link) {
  border-color: rgba(185, 135, 52, 0.28);
  color: var(--gold-600);
  background: #fffaf0;
}

.admin-editor-card {
  overflow: hidden;
  border: 1px solid #dfe6ea;
  border-radius: 19px;
  margin-bottom: 17px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(6, 41, 78, 0.05);
}

.admin-editor-card > header {
  min-height: 59px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #e9eef1;
  padding: 12px 20px;
  background: #fafcfd;
}

.admin-editor-card h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: 14px;
}

.admin-editor-body,
.admin-editor-card > .admin-field-grid {
  padding: 21px;
}

.admin-editor-body {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.admin-field-grid {
  display: grid;
  gap: 16px;
}

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

.admin-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-field > span,
.admin-image-field strong {
  color: var(--slate-700);
  font-size: 9px;
  font-weight: 850;
}

.admin-field input,
.admin-field textarea,
.admin-field select,
.admin-image-url {
  width: 100%;
  min-height: 45px;
  border: 1px solid #d9e2e7;
  border-radius: 11px;
  padding: 10px 12px;
  color: var(--navy-950);
  background: #fff;
  font-size: 11px;
  line-height: 1.8;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.admin-field textarea {
  min-height: 100px;
  resize: vertical;
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
  border-color: var(--blue-600);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(22, 116, 184, 0.11);
}

.admin-repeat-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) minmax(0, 1.6fr) 150px;
  align-items: end;
  gap: 12px;
  border-bottom: 1px solid #eef2f4;
  padding-bottom: 17px;
}

.admin-repeat-row.simple {
  grid-template-columns: 32px minmax(0, 0.8fr) minmax(0, 1.5fr);
}

.admin-repeat-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-item-number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  margin-bottom: 7px;
  color: var(--blue-600);
  background: #edf5fa;
  font-size: 10px;
  font-weight: 900;
}

.admin-image-field {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.admin-image-field.compact {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.admin-image-preview {
  min-height: 150px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dce5ea;
  border-radius: 14px;
  color: var(--slate-500);
  background: linear-gradient(135deg, #f3f6f8, #e8eef1);
  font-size: 9px;
}

.admin-image-field.compact .admin-image-preview {
  height: 320px;
}

.admin-image-preview img {
  width: 100%;
  height: 100%;
  max-height: 300px;
  display: block;
  object-fit: contain;
  background: #f4f6f7;
}

.admin-image-field.compact .admin-image-preview img {
  max-height: none;
  object-fit: cover;
}

.admin-image-field > div:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.admin-image-field small {
  color: var(--slate-500);
  font-size: 8px;
}

.admin-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-top: 2px;
  padding: 9px 14px;
  color: #fff;
  background: var(--navy-800);
  cursor: pointer;
  font-size: 9px;
  font-weight: 850;
}

.admin-upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.admin-image-url {
  min-height: 37px;
  color: var(--slate-500);
  background: #f5f7f8;
  font-size: 8px;
}

.admin-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.admin-media-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  border: 1px solid #dfe6ea;
  border-radius: 18px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(6, 41, 78, 0.05);
}

.admin-danger-button,
.admin-danger-link,
.admin-inline-title button {
  border: 0;
  color: #ad4a4a;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}

.admin-danger-button {
  min-height: 38px;
  border: 1px solid #f1dede;
  border-radius: 10px;
  background: #fff7f7;
}

.admin-editor-card header > .admin-danger-link {
  min-height: auto;
  border: 0;
  padding: 5px;
  color: #ad4a4a;
  background: transparent;
  box-shadow: none;
}

.admin-faq-editor {
  display: flex;
  flex-direction: column;
  gap: 13px;
  border: 1px solid #e3e9ed;
  border-radius: 14px;
  padding: 15px;
  background: #fbfcfd;
}

.admin-inline-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-inline-title strong {
  color: var(--navy-900);
  font-size: 10px;
}

.admin-mobile-save {
  display: none;
}

.admin-auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 15% 15%, rgba(208, 162, 82, 0.2), transparent 27%),
    linear-gradient(145deg, var(--navy-800), var(--navy-950));
}

.admin-auth-card {
  width: min(470px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 27px;
  padding: 42px 38px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.admin-auth-card img {
  width: 88px;
  height: 88px;
  margin-bottom: 22px;
  object-fit: contain;
}

.admin-auth-card > span {
  color: var(--gold-600);
  font-size: 10px;
  font-weight: 900;
}

.admin-auth-card h1 {
  margin: 10px 0 14px;
  font-size: 29px;
  letter-spacing: -0.055em;
}

.admin-auth-card p {
  margin: 0 0 25px;
  color: var(--slate-700);
  font-size: 11px;
  line-height: 1.9;
}

.admin-primary-button {
  width: 100%;
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-950));
  box-shadow: 0 15px 35px rgba(6, 41, 78, 0.22);
  font-size: 11px;
  font-weight: 850;
}

.admin-back-link {
  margin-top: 17px;
  color: var(--slate-500);
  font-size: 9px;
  font-weight: 750;
}

@media (max-width: 1080px) {
  .admin-layout { grid-template-columns: 225px minmax(0, 1fr); }
  .admin-sidebar { padding-inline: 13px; }
  .admin-workspace { width: min(920px, calc(100% - 32px)); }
  .admin-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-repeat-row { grid-template-columns: 32px minmax(0, 1fr) minmax(0, 1.2fr); }
  .admin-repeat-row > .admin-field:last-child { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
  .footer-bottom-links { gap: 12px; }
  .admin-topbar { min-height: 68px; padding: 10px 14px; }
  .admin-topbar-brand img { width: 40px; height: 40px; }
  .admin-topbar-brand small,
  .admin-topbar-actions > a { display: none; }
  .admin-topbar-brand strong { font-size: 12px; }
  .admin-save-button { min-width: 104px; min-height: 41px; padding-inline: 12px; }
  .admin-layout { display: block; }
  .admin-sidebar {
    position: sticky;
    z-index: 80;
    top: 68px;
    width: 100%;
    height: auto;
    display: block;
    overflow-x: auto;
    border-inline-end: 0;
    border-bottom: 1px solid #dfe6ea;
    padding: 9px 12px;
    white-space: nowrap;
  }
  .admin-user,
  .admin-signout { display: none; }
  .admin-sidebar nav { display: flex; flex-direction: row; gap: 7px; margin: 0; }
  .admin-sidebar nav button { min-width: max-content; padding: 9px 12px; }
  .admin-sidebar nav small { display: none; }
  .admin-workspace { width: calc(100% - 26px); padding: 20px 0 100px; }
  .admin-status { margin-bottom: 20px; }
  .admin-panel-heading { align-items: flex-start; }
  .admin-panel-heading h1 { font-size: 27px; }
  .admin-panel-heading p { max-width: 260px; }
  .admin-panel-heading > button { min-height: 38px; padding: 8px 11px; font-size: 9px; }
  .admin-field-grid.two,
  .admin-media-grid,
  .admin-repeat-row,
  .admin-repeat-row.simple,
  .admin-image-field { grid-template-columns: 1fr; }
  .admin-repeat-row > .admin-field:last-child { grid-column: auto; }
  .admin-item-number { display: none; }
  .admin-editor-card > header { padding-inline: 15px; }
  .admin-editor-body,
  .admin-editor-card > .admin-field-grid { padding: 16px; }
  .admin-image-preview { min-height: 180px; }
  .admin-image-field.compact .admin-image-preview { height: 390px; }
  .admin-mobile-save {
    position: fixed;
    z-index: 120;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    border-top: 1px solid #dbe4e9;
    padding: 10px 13px max(10px, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
  }
  .admin-mobile-save button {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, var(--navy-700), var(--navy-950));
    font-size: 11px;
    font-weight: 900;
  }
  .admin-mobile-save button:disabled { color: #81919e; background: #e8edef; }
  .admin-auth-card { padding: 36px 24px; }
}

/* PHP/MySQL CMS additions */
.admin-object-list {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-nested-card {
  overflow: hidden;
  border: 1px solid #dfe6ea;
  border-radius: 17px;
  background: #fbfdfe;
}

.admin-nested-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e8edf0;
  padding: 14px 18px;
  background: #f5f8fa;
}

.admin-nested-card > header strong {
  color: var(--navy-900);
  font-size: 13px;
}

.admin-nested-card > .admin-field-grid {
  padding: 20px;
}

.admin-add-item {
  align-self: flex-start;
  min-height: 44px;
  border: 1px solid rgba(185, 135, 52, 0.32);
  border-radius: 12px;
  padding: 9px 17px;
  color: var(--gold-600);
  background: #fffaf0;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.table-action,
.detail-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6e0e7;
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--navy-800);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.admin-status b { font-weight: 650; }

.claim-form,
.claim-form label,
.claim-form input,
.claim-form button {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 760px) {
  .admin-nested-card > .admin-field-grid,
  .admin-field-grid.two { grid-template-columns: minmax(0, 1fr); }
  .admin-nested-card > .admin-field-grid { padding: 15px; }
}

/* Share and earn */
.nav-share-link {
  color: var(--gold-600) !important;
  font-weight: 900 !important;
}

.home-referral-section {
  padding: 0 0 92px;
  background: var(--cream-50);
}

.home-referral-card {
  position: relative;
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  overflow: hidden;
  border-radius: 36px;
  padding: 48px 58px;
  color: #fff;
  background:
    radial-gradient(circle at 7% 10%, rgba(208, 162, 82, 0.24), transparent 34%),
    linear-gradient(135deg, var(--navy-700), var(--navy-950));
  box-shadow: 0 28px 75px rgba(6, 41, 78, 0.22);
}

.home-referral-card::after {
  content: "";
  position: absolute;
  left: -75px;
  bottom: -95px;
  width: 290px;
  height: 290px;
  border: 42px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.home-referral-copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.home-referral-copy > span {
  color: var(--gold-300);
  font-size: 11px;
  font-weight: 900;
}

.home-referral-copy h2 {
  max-width: 650px;
  margin: 13px 0 14px;
  color: #fff;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.55;
  letter-spacing: -0.055em;
}

.home-referral-copy p {
  max-width: 650px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  line-height: 2;
}

.home-referral-copy a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 14px;
  padding: 11px 20px;
  color: var(--navy-950);
  background: linear-gradient(135deg, #f2d69c, var(--gold-500));
  box-shadow: 0 15px 35px rgba(208, 162, 82, 0.2);
  font-size: 11px;
  font-weight: 900;
}

.home-referral-reward {
  position: relative;
  z-index: 1;
  width: 205px;
  height: 205px;
  flex: 0 0 205px;
  display: grid;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 45px rgba(255, 255, 255, 0.05);
  text-align: center;
}

.home-referral-reward small { color: rgba(255, 255, 255, 0.75); font-size: 9px; }
.home-referral-reward strong { display: flex; align-items: baseline; justify-content: center; gap: 7px; color: var(--gold-300); font-size: 58px; line-height: 1.2; }
.home-referral-reward strong span { color: #fff; font-size: 11px; }

.referral-page,
.referral-services-page,
.referral-service-detail-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 14% 18%, rgba(23, 127, 157, 0.55), transparent 30%),
    radial-gradient(circle at 82% 70%, rgba(208, 162, 82, 0.16), transparent 27%),
    linear-gradient(145deg, #0b5278 0%, var(--navy-900) 50%, var(--navy-950) 100%);
}

.referral-glow {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.5;
  animation: referralFloat 8s ease-in-out infinite;
}

.referral-glow-one { top: -160px; right: -120px; width: 460px; height: 460px; background: rgba(28, 154, 177, 0.32); }
.referral-glow-two { left: -130px; bottom: -180px; width: 430px; height: 430px; background: rgba(208, 162, 82, 0.2); animation-delay: -4s; }

.referral-header,
.referral-services-header {
  position: relative;
  z-index: 5;
  width: min(1180px, calc(100% - 40px));
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
}

.referral-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.referral-brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.referral-brand span { display: flex; flex-direction: column; gap: 2px; }
.referral-brand strong { color: #fff; font-size: 14px; }
.referral-brand small { color: rgba(255, 255, 255, 0.64); font-size: 8px; }

.referral-home-link,
.back-to-services {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 8px 15px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
  font-size: 9px;
  font-weight: 800;
}

.share-hero {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 100px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 75px;
  margin-inline: auto;
  padding: 55px 0 95px;
}

.share-hero-copy { max-width: 720px; }
.referral-kicker { display: inline-block; color: var(--gold-300); font-size: 11px; font-weight: 900; }
.share-hero h1,
.share-success-card h1,
.referral-services-hero h1,
.service-detail-copy h1 {
  margin: 15px 0 18px;
  color: #fff;
  font-size: clamp(35px, 5vw, 66px);
  line-height: 1.42;
  letter-spacing: -0.06em;
}

.share-hero-copy > p,
.share-success-card > p,
.referral-services-hero > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  line-height: 2.1;
}

.share-steps {
  display: grid;
  gap: 12px;
  margin: 30px 0 28px;
  padding: 0;
  list-style: none;
}

.share-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.055);
}

.share-steps li > span {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--navy-950);
  background: var(--gold-300);
  font-size: 11px;
  font-weight: 950;
}

.share-steps p { margin: 0; color: #fff; font-size: 10px; line-height: 1.8; }

.referral-main-button {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 17px;
  color: var(--navy-950);
  background: linear-gradient(135deg, #f5dfaf, var(--gold-500));
  box-shadow: 0 22px 50px rgba(208, 162, 82, 0.25);
  cursor: pointer;
  font-size: 12px;
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.referral-main-button:hover { transform: translateY(-3px); box-shadow: 0 26px 60px rgba(208, 162, 82, 0.34); }
.referral-main-button:disabled { opacity: 0.65; cursor: wait; }
.referral-terms { display: block; margin-top: 14px; color: rgba(255, 255, 255, 0.51); font-size: 8px; line-height: 1.9; text-align: center; }
.referral-notice { border-radius: 12px; margin: 15px 0 0 !important; padding: 11px 14px; color: #fff !important; background: rgba(255, 255, 255, 0.1); font-size: 9px !important; text-align: center; }

.share-hero-art {
  position: relative;
  min-height: 535px;
  display: grid;
  place-items: center;
}

.share-hero-art::before,
.share-hero-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.share-hero-art::before { width: 430px; height: 430px; border: 1px solid rgba(255, 255, 255, 0.15); }
.share-hero-art::after { width: 340px; height: 340px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 70px rgba(255, 255, 255, 0.07); }
.share-tooth { position: relative; z-index: 2; font-size: 185px; filter: drop-shadow(0 32px 45px rgba(0, 0, 0, 0.2)); animation: referralFloat 5s ease-in-out infinite; }
.share-coin { position: absolute; z-index: 3; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: var(--navy-950); background: linear-gradient(145deg, #f5dfaf, var(--gold-500)); box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18); font-size: 18px; font-weight: 900; animation: coinPulse 3s ease-in-out infinite; }
.coin-one { top: 90px; left: 55px; }
.coin-two { right: 35px; top: 210px; animation-delay: -1s; }
.coin-three { left: 115px; bottom: 92px; animation-delay: -2s; }
.share-art-card { position: absolute; z-index: 4; right: 20px; bottom: 40px; min-width: 190px; display: flex; flex-direction: column; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 22px; padding: 18px 20px; background: rgba(4, 27, 53, 0.76); box-shadow: 0 23px 55px rgba(0, 0, 0, 0.23); backdrop-filter: blur(16px); }
.share-art-card small { color: rgba(255, 255, 255, 0.65); font-size: 8px; }
.share-art-card strong { color: var(--gold-300); font-size: 38px; }
.share-art-card strong span { margin-inline-start: 6px; color: #fff; font-size: 9px; }

.share-created-shell {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: 25px;
  margin-inline: auto;
  padding: 55px 0 100px;
}

.share-success-card,
.owner-dashboard-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(20px);
}
.success-confetti { display: block; margin-bottom: 8px; font-size: 42px; }
.share-success-card h1 { font-size: clamp(34px, 4vw, 50px); }
.share-code { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 16px; margin: 25px 0 15px; padding: 14px 17px; color: var(--navy-950); background: var(--gold-300); }
.share-code small { font-size: 8px; font-weight: 800; }
.share-code strong { font-size: 22px; letter-spacing: 0.12em; }
.share-link-field { display: flex; flex-direction: column; gap: 7px; }
.share-link-field span { color: rgba(255, 255, 255, 0.64); font-size: 8px; }
.share-link-field input { width: 100%; min-height: 49px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 13px; padding: 10px 13px; color: #fff; background: rgba(4, 27, 53, 0.55); font-size: 9px; }
.share-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 17px 0; }
.share-action { min-height: 55px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 13px; color: #fff; cursor: pointer; font-size: 9px; font-weight: 900; }
.share-action.whatsapp { background: #25a75b; }
.share-action.copy { background: #2874b8; }
.share-action.native { background: #7249a7; }
.share-reward-line { border-radius: 13px; margin: 0 0 12px !important; padding: 12px 14px; color: var(--gold-300) !important; background: rgba(4, 27, 53, 0.48); font-size: 9px !important; font-weight: 850; text-align: center; }
.account-link-button { width: 100%; min-height: 45px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 12px; color: #fff; background: transparent; cursor: pointer; font-size: 8px; font-weight: 800; }

.owner-dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 24px; }
.owner-dashboard-heading span { color: var(--gold-300); font-size: 8px; font-weight: 900; }
.owner-dashboard-heading h2 { margin: 5px 0 0; color: #fff; font-size: 24px; }
.owner-dashboard-heading button { min-height: 37px; border: 1px solid rgba(255, 255, 255, 0.17); border-radius: 10px; padding: 7px 12px; color: #fff; background: rgba(255, 255, 255, 0.08); cursor: pointer; font-size: 8px; }
.owner-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.owner-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 14px; padding: 16px 7px; background: rgba(255, 255, 255, 0.07); text-align: center; }
.owner-stat strong { color: #fff; font-size: 24px; }
.owner-stat small { color: rgba(255, 255, 255, 0.55); font-size: 7px; }
.owner-reward-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 9px; }
.owner-reward-summary > span { display: flex; flex-direction: column; gap: 6px; border-radius: 14px; padding: 15px 10px; background: rgba(4, 27, 53, 0.5); }
.owner-reward-summary small { color: rgba(255, 255, 255, 0.55); font-size: 7px; }
.owner-reward-summary strong { color: #fff; font-size: 13px; }
.owner-reward-summary .remaining { background: rgba(208, 162, 82, 0.18); }
.owner-reward-summary .remaining strong { color: var(--gold-300); }
.claim-form {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border-radius: 18px;
  margin-top: 18px;
  padding: 18px;
  color: var(--navy-950);
  background: #fff;
  overflow: hidden;
}
.claim-form > div { grid-column: 1 / -1; }
.claim-form > div > span { float: right; margin-inline-end: 9px; font-size: 27px; }
.claim-form h3 { margin: 0 0 5px; font-size: 15px; }
.claim-form p { margin: 0; color: var(--slate-500); font-size: 8px; }
.claim-form > *,
.claim-form label { min-width: 0; max-width: 100%; }
.claim-form label { width: 100%; display: flex; flex-direction: column; gap: 7px; }
.claim-form label span { color: var(--slate-700); font-size: 8px; font-weight: 800; }
.claim-form input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 43px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 9px 11px;
  color: var(--navy-950);
  background: #fff;
  outline: none;
}
.claim-form input:not([dir="ltr"]) { direction: rtl; text-align: right; }
.claim-form input[dir="ltr"] { text-align: left; }
.claim-form input:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(22, 116, 184, 0.12); }
.claim-form button { width: 100%; min-width: 0; grid-column: 1 / -1; min-height: 46px; border: 0; border-radius: 12px; color: #fff; background: var(--navy-800); cursor: pointer; font-size: 9px; font-weight: 900; }
.claim-submitted { border-radius: 13px; margin: 18px 0 0; padding: 13px; color: #d8f8e5; background: rgba(37, 167, 91, 0.17); font-size: 9px; text-align: center; }

.referral-code-chip { border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50px; padding: 9px 15px; color: rgba(255, 255, 255, 0.68); background: rgba(255, 255, 255, 0.06); font-size: 8px; }
.referral-code-chip b { margin-inline-start: 5px; color: var(--gold-300); font-size: 11px; letter-spacing: 0.08em; }
.referral-services-hero { position: relative; z-index: 2; width: min(880px, calc(100% - 40px)); margin: 65px auto 45px; text-align: center; }
.referral-services-hero h1 { margin-block: 13px; }
.service-trust-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.service-trust-pills span { border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 50px; padding: 8px 12px; color: rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.05); font-size: 8px; }
.referral-service-grid { position: relative; z-index: 2; width: min(1050px, calc(100% - 40px)); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 auto 60px; }
.referral-service-card { min-height: 126px; display: grid; grid-template-columns: 56px minmax(0, 1fr) 20px; align-items: center; gap: 13px; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 20px; padding: 19px; background: rgba(255, 255, 255, 0.075); backdrop-filter: blur(14px); transition: transform 180ms ease, background 180ms ease; }
.referral-service-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.12); }
.referral-service-emoji { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 17px; background: rgba(255, 255, 255, 0.11); font-size: 28px; }
.referral-service-card > span:nth-child(2) { display: flex; flex-direction: column; gap: 7px; }
.referral-service-card strong { color: #fff; font-size: 11px; line-height: 1.8; }
.referral-service-card small { color: rgba(255, 255, 255, 0.55); font-size: 7px; line-height: 1.8; }
.referral-service-card i { color: var(--gold-300); font-size: 20px; font-style: normal; }
.referral-services-contact { position: relative; z-index: 2; width: min(1050px, calc(100% - 40px)); display: flex; align-items: center; justify-content: space-between; gap: 25px; border-radius: 25px; margin: 0 auto 40px; padding: 28px 32px; color: var(--navy-950); background: #fff; }
.referral-services-contact span { color: var(--gold-600); font-size: 8px; font-weight: 900; }
.referral-services-contact h2 { margin: 7px 0 0; font-size: 19px; }
.referral-services-contact a { min-height: 48px; display: inline-flex; align-items: center; border-radius: 13px; padding: 10px 18px; color: #fff; background: #25a75b; font-size: 9px; font-weight: 900; white-space: nowrap; }
.referral-mini-footer { position: relative; z-index: 2; width: min(1050px, calc(100% - 40px)); display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-inline: auto; padding: 25px 0 35px; color: rgba(255, 255, 255, 0.48); font-size: 8px; }
.referral-mini-footer a { color: #fff; font-weight: 800; }

.service-detail-shell { position: relative; z-index: 2; width: min(1120px, calc(100% - 40px)); min-height: calc(100vh - 100px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.95fr); align-items: center; gap: 70px; margin-inline: auto; padding: 50px 0 95px; }
.service-detail-copy h1 { font-size: clamp(38px, 5vw, 62px); }
.service-detail-short { margin: 0 0 15px; color: var(--gold-300); font-size: 13px; font-weight: 800; }
.service-detail-description { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 11px; line-height: 2.1; }
.service-detail-copy ul { display: grid; gap: 9px; margin: 24px 0; padding: 0; list-style: none; }
.service-detail-copy li { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 9px; }
.service-detail-copy li span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--navy-950); background: var(--gold-300); font-weight: 950; }
.service-detail-trust { display: flex; flex-wrap: wrap; gap: 7px; }
.service-detail-trust span { border-radius: 50px; padding: 7px 11px; color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.07); font-size: 7px; }
.service-detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 27px; }
.service-detail-actions button { min-height: 55px; border: 0; border-radius: 14px; color: var(--navy-950); background: linear-gradient(135deg, #f3d99f, var(--gold-500)); cursor: pointer; font-size: 10px; font-weight: 950; }
.service-detail-actions .secondary { color: #fff; background: #25a75b; }
.service-detail-actions button:disabled { opacity: 0.65; cursor: wait; }
.service-detail-error { border-radius: 10px; margin: 12px 0 0; padding: 10px; color: #ffd4d4; background: rgba(175, 54, 54, 0.25); font-size: 8px; }
.service-detail-note { display: block; margin-top: 12px; color: rgba(255, 255, 255, 0.48); font-size: 7px; line-height: 1.8; }
.service-detail-art { position: relative; min-height: 480px; display: grid; place-items: center; }
.service-detail-art > span { position: relative; z-index: 2; font-size: 190px; filter: drop-shadow(0 34px 48px rgba(0, 0, 0, 0.22)); animation: referralFloat 5s ease-in-out infinite; }
.service-detail-art > div { position: absolute; z-index: 3; right: 10px; bottom: 65px; min-width: 185px; display: flex; flex-direction: column; border: 1px solid rgba(255, 255, 255, 0.23); border-radius: 18px; padding: 14px 17px; background: rgba(4, 27, 53, 0.68); backdrop-filter: blur(13px); }
.service-detail-art > div small { color: rgba(255, 255, 255, 0.58); font-size: 7px; }
.service-detail-art > div strong { color: var(--gold-300); font-size: 22px; letter-spacing: 0.1em; }
.detail-orbit { position: absolute; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 50%; }
.orbit-a { width: 390px; height: 390px; }
.orbit-b { width: 300px; height: 300px; }

.referral-invalid { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 35px; color: #fff; background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); text-align: center; }
.referral-invalid img { width: 90px; height: 90px; object-fit: contain; }
.referral-invalid > span { margin-top: 25px; color: var(--gold-300); font-size: 9px; font-weight: 900; }
.referral-invalid h1 { margin: 10px 0; font-size: 32px; }
.referral-invalid p { max-width: 560px; color: rgba(255, 255, 255, 0.65); font-size: 10px; line-height: 2; }
.referral-invalid a { min-height: 48px; display: inline-flex; align-items: center; border-radius: 13px; margin-top: 15px; padding: 10px 18px; color: var(--navy-950); background: var(--gold-300); font-size: 9px; font-weight: 900; }

@keyframes referralFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes coinPulse { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.08) rotate(7deg); } }

/* Referral operations dashboard */
.admin-referral-console-link { display: flex; flex-direction: column; gap: 3px; border: 1px solid rgba(208, 162, 82, 0.22); border-radius: 12px; margin: 14px 0; padding: 12px; color: var(--gold-300); background: rgba(208, 162, 82, 0.08); }
.admin-referral-console-link strong { font-size: 9px; }
.admin-referral-console-link small { color: rgba(255, 255, 255, 0.5); font-size: 7px; }
.admin-heading-link { min-height: 42px; display: inline-flex; align-items: center; border-radius: 11px; padding: 9px 14px; color: #fff; background: var(--navy-800); font-size: 9px; font-weight: 850; }
.admin-field-note { border-radius: 11px; margin: 0; padding: 11px 13px; color: var(--slate-700); background: #f4f7f8; font-size: 8px; line-height: 1.8; }

.referral-admin-shell { min-height: 100vh; color: var(--navy-950); background: #f4f7f8; }
.referral-admin-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid #dfe6ea; padding: 10px max(24px, calc((100% - 1240px) / 2)); background: #fff; }
.referral-admin-brand { display: flex; align-items: center; gap: 11px; }
.referral-admin-brand img { width: 52px; height: 52px; object-fit: contain; }
.referral-admin-brand span { display: flex; flex-direction: column; gap: 3px; }
.referral-admin-brand strong { font-size: 12px; }
.referral-admin-brand small { color: var(--slate-500); font-size: 7px; }
.referral-admin-header > div { display: flex; align-items: center; gap: 14px; }
.referral-admin-header > div a { border-radius: 10px; padding: 9px 13px; color: #fff; background: var(--navy-800); font-size: 8px; font-weight: 850; }
.referral-admin-header > div span { color: var(--slate-500); font-size: 8px; }
.referral-admin-container { width: min(1240px, calc(100% - 40px)); margin-inline: auto; padding: 45px 0 80px; }
.referral-admin-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
.referral-admin-heading span { color: var(--gold-600); font-size: 8px; font-weight: 900; }
.referral-admin-heading h1 { margin: 6px 0; font-size: 34px; letter-spacing: -0.04em; }
.referral-admin-heading p { margin: 0; color: var(--slate-500); font-size: 9px; }
.referral-admin-heading > a { border: 1px solid #d8e1e6; border-radius: 10px; padding: 9px 13px; color: var(--navy-800); background: #fff; font-size: 8px; font-weight: 800; }
.referral-metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.referral-metrics-grid article { min-height: 115px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #e0e6ea; border-radius: 17px; padding: 17px; background: #fff; box-shadow: 0 9px 28px rgba(6, 41, 78, 0.045); }
.referral-metrics-grid article span { color: var(--slate-500); font-size: 8px; }
.referral-metrics-grid article strong { color: var(--navy-900); font-size: 24px; }
.referral-metrics-grid article.accent { border-color: transparent; background: linear-gradient(135deg, var(--gold-500), #ead19e); }
.referral-metrics-grid article.accent span,
.referral-metrics-grid article.accent strong { color: var(--navy-950); }
.referral-admin-note { display: flex; align-items: flex-start; gap: 12px; border: 1px solid #d8e6ec; border-radius: 14px; margin: 16px 0; padding: 14px 16px; background: #edf5f8; }
.referral-admin-note span { border-radius: 6px; padding: 4px 7px; color: #fff; background: var(--blue-600); font-size: 7px; font-weight: 900; }
.referral-admin-note p { margin: 0; color: #456273; font-size: 8px; line-height: 1.9; }
.referral-admin-card,
.referral-detail-card { border: 1px solid #e0e6ea; border-radius: 19px; margin-top: 16px; overflow: hidden; background: #fff; box-shadow: 0 15px 40px rgba(6, 41, 78, 0.055); }
.referral-admin-card > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e8ecef; padding: 20px; }
.referral-admin-card h2 { margin: 0 0 5px; font-size: 17px; }
.referral-admin-card header p { margin: 0; color: var(--slate-500); font-size: 8px; }
.referral-admin-card form { display: flex; gap: 7px; }
.referral-admin-card form input { width: 220px; min-height: 40px; border: 1px solid #dce4e8; border-radius: 10px; padding: 8px 11px; }
.referral-admin-card form button { border: 0; border-radius: 10px; padding: 8px 14px; color: #fff; background: var(--navy-800); cursor: pointer; font-size: 8px; font-weight: 850; }
.referral-admin-message { border-radius: 9px; margin: 12px 20px 0; padding: 10px 12px; color: #35586d; background: #edf5f8; font-size: 8px; }
.referral-table-wrap { overflow-x: auto; }
.referral-table-wrap table { width: 100%; border-collapse: collapse; font-size: 8px; }
.referral-table-wrap th { padding: 12px 15px; color: var(--slate-500); background: #fafbfc; font-size: 7px; text-align: right; white-space: nowrap; }
.referral-table-wrap td { border-top: 1px solid #eef1f3; padding: 13px 15px; color: var(--slate-700); }
.referral-table-wrap td b { display: block; color: var(--navy-900); font-size: 10px; letter-spacing: 0.07em; }
.referral-table-wrap td small { display: block; margin-top: 4px; color: var(--slate-500); font-size: 7px; }
.referral-table-wrap td button { border: 1px solid #dbe3e8; border-radius: 8px; padding: 6px 9px; color: var(--navy-800); background: #fff; cursor: pointer; font-size: 8px; font-weight: 800; }
.empty-row { padding: 30px !important; color: var(--slate-500) !important; text-align: center; }
.referral-detail-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e6ebee; padding: 22px; }
.referral-detail-card header span { color: var(--gold-600); font-size: 7px; font-weight: 900; }
.referral-detail-card header h2 { margin: 4px 0; font-size: 25px; letter-spacing: 0.1em; }
.referral-detail-card header p { margin: 0; color: var(--slate-500); font-size: 8px; }
.referral-detail-card header > button { border: 1px solid #dfe6ea; border-radius: 9px; padding: 7px 11px; color: var(--slate-700); background: #fff; cursor: pointer; font-size: 8px; }
.referral-detail-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 18px 22px 0; }
.referral-detail-stats > span { display: flex; flex-direction: column; gap: 7px; border-radius: 13px; padding: 13px; background: #f4f7f8; }
.referral-detail-stats small { color: var(--slate-500); font-size: 7px; }
.referral-detail-stats strong { font-size: 16px; }
.referral-leads-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 18px 22px 22px; }
.referral-lead-editor { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; border: 1px solid #e1e7ea; border-radius: 15px; padding: 15px; background: #fbfcfd; }
.lead-editor-title { grid-column: 1 / -1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e8ecef; padding-bottom: 10px; }
.lead-editor-title > div { display: flex; flex-direction: column; gap: 4px; }
.lead-editor-title span { color: var(--navy-900); font-size: 10px; font-weight: 850; }
.lead-editor-title strong { color: var(--gold-600); font-size: 9px; letter-spacing: 0.08em; }
.lead-editor-title small { color: var(--slate-500); font-size: 7px; }
.referral-lead-editor label { display: flex; flex-direction: column; gap: 6px; }
.referral-lead-editor label span { color: var(--slate-700); font-size: 7px; font-weight: 800; }
.referral-lead-editor input,
.referral-lead-editor select { width: 100%; min-height: 39px; border: 1px solid #dce4e8; border-radius: 9px; padding: 7px 9px; color: var(--navy-950); background: #fff; font-size: 8px; }
.referral-lead-editor > button { grid-column: 1 / -1; min-height: 41px; border: 0; border-radius: 10px; color: #fff; background: var(--navy-800); cursor: pointer; font-size: 8px; font-weight: 900; }
.referral-lead-editor > button:disabled { opacity: 0.6; cursor: wait; }
.empty-detail { grid-column: 1 / -1; margin: 0; padding: 30px; color: var(--slate-500); text-align: center; }

@media (max-width: 980px) {
  .share-hero { grid-template-columns: 1fr; gap: 25px; }
  .share-hero-art { min-height: 420px; }
  .share-created-shell { grid-template-columns: 1fr; }
  .referral-service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-shell { grid-template-columns: 1fr; gap: 20px; }
  .service-detail-art { min-height: 400px; }
  .referral-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .referral-leads-list { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .home-referral-section { padding-bottom: 65px; }
  .home-referral-card { flex-direction: column; align-items: flex-start; border-radius: 25px; padding: 31px 25px; }
  .home-referral-copy h2 { font-size: 25px; }
  .home-referral-reward { width: 155px; height: 155px; flex-basis: 155px; align-self: center; }
  .home-referral-reward strong { font-size: 44px; }
  .referral-header,
  .referral-services-header { width: calc(100% - 26px); min-height: 78px; }
  .referral-brand img { width: 48px; height: 48px; }
  .referral-brand strong { font-size: 10px; }
  .referral-brand small { font-size: 6px; }
  .referral-home-link,
  .back-to-services { min-height: 36px; padding: 7px 10px; font-size: 7px; }
  .share-hero { width: calc(100% - 26px); min-height: auto; padding: 48px 0 70px; }
  .share-hero h1,
  .share-success-card h1,
  .referral-services-hero h1,
  .service-detail-copy h1 { font-size: 34px; }
  .share-hero-copy > p,
  .share-success-card > p,
  .referral-services-hero > p { font-size: 10px; }
  .share-steps li { padding: 10px; }
  .share-steps p { font-size: 8px; }
  .share-hero-art { min-height: 340px; }
  .share-hero-art::before { width: 300px; height: 300px; }
  .share-hero-art::after { width: 230px; height: 230px; }
  .share-tooth { font-size: 125px; }
  .share-art-card { right: 5px; bottom: 15px; min-width: 155px; }
  .coin-one { top: 42px; left: 12px; }
  .coin-two { right: 7px; top: 145px; }
  .coin-three { left: 55px; bottom: 38px; }
  .share-created-shell { width: calc(100% - 26px); padding: 35px 0 70px; }
  .share-success-card,
  .owner-dashboard-card { border-radius: 21px; padding: 21px; }
  .share-actions { grid-template-columns: 1fr; }
  .owner-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .owner-reward-summary { grid-template-columns: 1fr; }
  .claim-form { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .claim-form label,
  .claim-form button { grid-column: 1; }
  .referral-services-hero { width: calc(100% - 26px); margin: 45px auto 32px; }
  .referral-service-grid { width: calc(100% - 26px); grid-template-columns: 1fr; }
  .referral-services-contact { width: calc(100% - 26px); flex-direction: column; align-items: stretch; padding: 22px; }
  .referral-services-contact a { justify-content: center; }
  .referral-mini-footer { width: calc(100% - 26px); flex-direction: column; align-items: center; }
  .service-detail-shell { width: calc(100% - 26px); padding: 40px 0 70px; }
  .service-detail-actions { grid-template-columns: 1fr; }
  .service-detail-art { min-height: 320px; }
  .service-detail-art > span { font-size: 130px; }
  .orbit-a { width: 280px; height: 280px; }
  .orbit-b { width: 210px; height: 210px; }
  .referral-admin-header { min-height: 65px; padding: 8px 13px; }
  .referral-admin-brand img { width: 42px; height: 42px; }
  .referral-admin-brand small,
  .referral-admin-header > div span { display: none; }
  .referral-admin-brand strong { font-size: 9px; }
  .referral-admin-header > div a { padding: 8px 9px; font-size: 7px; }
  .referral-admin-container { width: calc(100% - 26px); padding: 30px 0 60px; }
  .referral-admin-heading { align-items: flex-start; }
  .referral-admin-heading h1 { font-size: 27px; }
  .referral-admin-heading p { max-width: 250px; line-height: 1.8; }
  .referral-admin-heading > a { display: none; }
  .referral-metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .referral-metrics-grid article { min-height: 95px; padding: 13px; }
  .referral-metrics-grid article strong { font-size: 19px; }
  .referral-admin-card > header { align-items: stretch; flex-direction: column; padding: 16px; }
  .referral-admin-card form input { width: 100%; }
  .referral-detail-stats { grid-template-columns: repeat(2, 1fr); padding: 15px 15px 0; }
  .referral-leads-list { padding: 15px; }
  .referral-lead-editor { grid-template-columns: 1fr; }
  .referral-lead-editor label,
  .referral-lead-editor > button { grid-column: 1; }
  .admin-referral-console-link { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .referral-glow,
  .share-tooth,
  .share-coin,
  .service-detail-art > span { animation: none; }
}

/* Larger, clearer administration experience */
.admin-auth-card {
  width: min(580px, 100%);
  border: 0;
  border-radius: 32px;
  padding: 48px 52px 42px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.28);
}

.admin-auth-card img {
  width: 106px;
  height: 106px;
  margin-bottom: 24px;
}

.admin-auth-card > span { font-size: 13px; }
.admin-auth-card h1 { margin: 12px 0 13px; font-size: 36px; line-height: 1.55; }
.admin-auth-card > p { max-width: 450px; margin-bottom: 28px; font-size: 14px; line-height: 2; }
.admin-back-link { margin-top: 21px; font-size: 12px; }

.admin-login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 17px;
  text-align: right;
}

.admin-login-form > label {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.admin-login-form label > span:first-child {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 850;
}

.admin-login-form input {
  width: 100%;
  min-height: 56px;
  border: 1px solid #ced9e0;
  border-radius: 14px;
  padding: 12px 16px;
  color: var(--navy-950);
  background: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.admin-login-form input:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(22, 116, 184, 0.12);
}

.admin-password-field {
  position: relative;
  display: block;
}

.admin-password-field input { padding-left: 72px; }
.admin-password-field button {
  position: absolute;
  top: 50%;
  left: 10px;
  border: 0;
  border-radius: 9px;
  padding: 7px 10px;
  color: var(--navy-700);
  background: #eef4f8;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  transform: translateY(-50%);
}

.admin-login-submit {
  width: 100%;
  min-height: 59px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #215b94, var(--navy-950));
  box-shadow: 0 17px 36px rgba(6, 41, 78, 0.22);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
}

.admin-login-submit:disabled { opacity: 0.65; cursor: wait; }
.admin-login-form > small { color: var(--slate-500); font-size: 10px; text-align: center; }
.admin-login-error { border: 1px solid #f1caca; border-radius: 11px; margin: 0 !important; padding: 11px 13px; color: #9d3535 !important; background: #fff4f4; font-size: 12px !important; text-align: center; }

.admin-topbar { min-height: 88px; padding-inline: 30px; }
.admin-topbar-brand img { width: 58px; height: 58px; }
.admin-topbar-brand strong { font-size: 18px; }
.admin-topbar-brand small,
.admin-user small { font-size: 11px; }
.admin-topbar-actions > a,
.admin-save-button,
.admin-panel-heading > button,
.admin-editor-card header > button { min-height: 48px; padding: 10px 19px; font-size: 13px; }

.admin-layout {
  width: min(1720px, 100%);
  min-height: calc(100vh - 88px);
  grid-template-columns: 315px minmax(0, 1fr);
}

.admin-sidebar {
  top: 88px;
  height: calc(100vh - 88px);
  padding: 30px 23px 24px;
}

.admin-user { display: flex; align-items: center; gap: 12px; }
.admin-user > span { width: 47px; height: 47px; font-size: 17px; }
.admin-user b { max-width: 215px; font-size: 11px; }
.admin-sidebar nav { gap: 7px; }
.admin-sidebar nav button { gap: 6px; border-radius: 14px; padding: 15px 16px; }
.admin-sidebar nav strong { font-size: 14px; }
.admin-sidebar nav small { font-size: 10px; line-height: 1.7; }
.admin-referral-console-link { padding: 15px; }
.admin-referral-console-link strong { font-size: 12px; }
.admin-referral-console-link small { font-size: 9px; line-height: 1.7; }
.admin-signout { font-size: 12px; }

.admin-workspace {
  width: min(1220px, calc(100% - 56px));
  padding: 42px 0 105px;
}

.admin-status { min-height: 50px; padding: 11px 16px; font-size: 12px; }
.admin-status > span { width: 27px; height: 27px; }
.admin-panel-heading { margin-bottom: 30px; }
.admin-panel-heading span { font-size: 11px; }
.admin-panel-heading h1 { font-size: clamp(34px, 4vw, 46px); }
.admin-panel-heading p { max-width: 850px; font-size: 14px; line-height: 1.9; }

.admin-editor-card { border-radius: 21px; margin-bottom: 22px; }
.admin-editor-card > header { min-height: 70px; padding: 15px 24px; }
.admin-editor-card h2 { font-size: 17px; }
.admin-editor-body,
.admin-editor-card > .admin-field-grid { padding: 26px; }
.admin-editor-body { gap: 21px; }
.admin-field-grid { gap: 19px; }
.admin-field { gap: 10px; }
.admin-field > span,
.admin-image-field strong { font-size: 12px; }
.admin-field input,
.admin-field textarea,
.admin-field select,
.admin-image-url { min-height: 51px; border-radius: 12px; padding: 11px 14px; font-size: 14px; }
.admin-field textarea { min-height: 122px; }
.admin-image-field small { font-size: 10px; }
.admin-upload-button { padding: 11px 17px; font-size: 12px; }
.admin-image-url { font-size: 10px; }
.admin-item-number { width: 34px; height: 34px; font-size: 12px; }
.admin-danger-button,
.admin-danger-link,
.admin-inline-title button { font-size: 11px; }
.admin-inline-title strong { font-size: 13px; }
.admin-field-note { font-size: 11px; }

.referral-admin-header { min-height: 88px; padding-block: 13px; }
.referral-admin-brand img { width: 62px; height: 62px; }
.referral-admin-brand strong { font-size: 17px; }
.referral-admin-brand small { font-size: 10px; }
.referral-admin-header > div { gap: 10px; }
.referral-admin-header > div a { padding: 11px 15px; font-size: 11px; }
.referral-admin-header > div .referral-admin-logout { color: #9d4242; background: #fff1f1; }
.referral-admin-header > div span { font-size: 11px; }

.referral-admin-container {
  width: min(1440px, calc(100% - 54px));
  padding: 54px 0 95px;
}

.referral-admin-heading { margin-bottom: 31px; }
.referral-admin-heading span { font-size: 11px; }
.referral-admin-heading h1 { margin: 8px 0; font-size: 45px; }
.referral-admin-heading p { font-size: 14px; }
.referral-admin-heading > a { padding: 12px 16px; font-size: 11px; }

.referral-metrics-grid { gap: 16px; }
.referral-metrics-grid article { min-height: 145px; border-radius: 20px; padding: 22px; }
.referral-metrics-grid article span { font-size: 12px; font-weight: 750; }
.referral-metrics-grid article strong { font-size: 34px; }
.referral-admin-note { gap: 14px; margin: 20px 0; padding: 17px 19px; }
.referral-admin-note span { padding: 6px 9px; font-size: 10px; }
.referral-admin-note p { font-size: 12px; line-height: 2; }

.referral-admin-card,
.referral-detail-card { border-radius: 22px; margin-top: 20px; }
.referral-admin-card > header { padding: 25px; }
.referral-admin-card h2 { margin-bottom: 7px; font-size: 23px; }
.referral-admin-card header p { font-size: 11px; }
.referral-admin-card form { gap: 9px; }
.referral-admin-card form input { width: 285px; min-height: 48px; border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.referral-admin-card form button { padding: 10px 18px; font-size: 12px; }
.referral-admin-message { margin: 15px 25px 0; padding: 12px 14px; font-size: 11px; }
.referral-table-wrap table { font-size: 12px; }
.referral-table-wrap th { padding: 16px 19px; font-size: 11px; }
.referral-table-wrap td { padding: 17px 19px; font-size: 12px; }
.referral-table-wrap td b { font-size: 15px; }
.referral-table-wrap td small { margin-top: 6px; font-size: 10px; }
.referral-table-wrap td button { padding: 8px 12px; font-size: 11px; }

.referral-detail-card > header { padding: 27px; }
.referral-detail-card header span { font-size: 10px; }
.referral-detail-card header h2 { font-size: 32px; }
.referral-detail-card header p { font-size: 11px; }
.referral-detail-card header > button { padding: 9px 13px; font-size: 11px; }
.referral-detail-stats { gap: 13px; padding: 22px 27px 0; }
.referral-detail-stats > span { padding: 17px; }
.referral-detail-stats small { font-size: 10px; }
.referral-detail-stats strong { font-size: 22px; }
.referral-leads-list { gap: 16px; padding: 22px 27px 27px; }
.referral-lead-editor { gap: 13px; padding: 19px; }
.lead-editor-title { padding-bottom: 13px; }
.lead-editor-title span { font-size: 14px; }
.lead-editor-title strong { font-size: 12px; }
.lead-editor-title small { font-size: 10px; }
.referral-lead-editor label { gap: 8px; }
.referral-lead-editor label span { font-size: 10px; }
.referral-lead-editor input,
.referral-lead-editor select { min-height: 47px; border-radius: 11px; padding: 9px 11px; font-size: 12px; }
.referral-lead-editor > button { min-height: 48px; font-size: 12px; }

@media (max-width: 1180px) {
  .admin-layout { grid-template-columns: 270px minmax(0, 1fr); }
  .admin-workspace { width: min(1040px, calc(100% - 38px)); }
  .referral-admin-container { width: calc(100% - 38px); }
}

@media (max-width: 760px) {
  .admin-auth-page { padding: 18px; }
  .admin-auth-card { border-radius: 24px; padding: 34px 22px 29px; }
  .admin-auth-card img { width: 82px; height: 82px; margin-bottom: 18px; }
  .admin-auth-card > span { font-size: 11px; }
  .admin-auth-card h1 { font-size: 28px; }
  .admin-auth-card > p { font-size: 12px; }
  .admin-login-form input { min-height: 53px; font-size: 14px; }
  .admin-login-submit { min-height: 55px; font-size: 14px; }
  .admin-topbar { min-height: 72px; }
  .admin-topbar-brand strong { font-size: 14px; }
  .admin-layout { min-height: calc(100vh - 72px); }
  .admin-sidebar { top: 72px; }
  .admin-sidebar nav strong { font-size: 12px; }
  .admin-workspace { width: calc(100% - 24px); padding-top: 25px; }
  .admin-panel-heading h1 { font-size: 30px; }
  .admin-panel-heading p { font-size: 12px; }
  .admin-status { font-size: 11px; }
  .admin-editor-card h2 { font-size: 15px; }
  .admin-editor-body,
  .admin-editor-card > .admin-field-grid { padding: 18px; }
  .admin-field > span,
  .admin-image-field strong { font-size: 11px; }
  .admin-field input,
  .admin-field textarea,
  .admin-field select { font-size: 13px; }
  .referral-admin-header { min-height: 72px; }
  .referral-admin-brand img { width: 48px; height: 48px; }
  .referral-admin-brand strong { font-size: 12px; }
  .referral-admin-container { width: calc(100% - 24px); padding-top: 34px; }
  .referral-admin-heading h1 { font-size: 31px; }
  .referral-admin-heading p { font-size: 11px; }
  .referral-metrics-grid article { min-height: 110px; padding: 15px; }
  .referral-metrics-grid article span { font-size: 10px; }
  .referral-metrics-grid article strong { font-size: 24px; }
  .referral-admin-note p { font-size: 10px; }
  .referral-admin-card h2 { font-size: 18px; }
  .referral-table-wrap th { font-size: 10px; }
  .referral-table-wrap td { font-size: 11px; }
}
