@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

:root {
  --ink: #12202a;
  --ink-soft: #53636d;
  --paper: #f8f7f3;
  --surface: #ffffff;
  --line: #d8dedc;
  --brand: #cf3e7e;
  --brand-deep: #8f2058;
  --brand-pale: #fbeaf2;
  --sand: #f4e5eb;
  --shadow: 0 18px 45px rgba(18, 32, 42, 0.09);
  --radius: 18px;
  --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  text-wrap: pretty;
}

a { color: inherit; }

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

.site-header {
  background: rgba(248, 247, 243, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.header-content,
.footer-content {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  display: block;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid rgba(18, 32, 42, 0.1);
  border-radius: 12px 4px 12px 4px;
}

.header-whatsapp {
  color: var(--brand-deep);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  overflow: hidden;
  position: relative;
  padding: clamp(72px, 11vw, 138px) 0;
  background: linear-gradient(116deg, var(--brand-pale) 0%, var(--paper) 57%, var(--sand) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: min(50vw, 670px);
  aspect-ratio: 1;
  left: -15%;
  bottom: -52%;
  border: 1px solid rgba(207, 62, 126, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(207, 62, 126, 0.045), 0 0 0 90px rgba(207, 62, 126, 0.025);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(38px, 8vw, 112px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-deep);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 { line-height: 1.25; }

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5vw, 4.65rem);
  font-weight: 700;
  letter-spacing: -0.045em;
}

h1 span { color: var(--brand); }

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.lead {
  max-width: 625px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button:focus-visible,
a:focus-visible {
  outline: 3px solid #c78d34;
  outline-offset: 3px;
}

.button-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 11px 23px rgba(143, 32, 88, 0.2);
}

.button-primary:hover { background: var(--brand-deep); }

.button-secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.button-note {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.contact-panel {
  padding: clamp(25px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid rgba(18, 32, 42, 0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-label {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 700;
}

.contact-panel dl { margin: 0; }
.contact-panel dl > div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.contact-panel dl > div:last-child { padding-bottom: 0; }
.contact-panel dt {
  margin-bottom: 3px;
  color: var(--brand-deep);
  font-size: 0.84rem;
  font-weight: 700;
}
.contact-panel dd {
  margin: 0;
  font-weight: 500;
  line-height: 1.65;
}

.section { padding: clamp(70px, 9vw, 110px) 0; }

.section-heading {
  max-width: 650px;
  margin-bottom: clamp(32px, 5vw, 55px);
}

.section-heading > p:last-child { color: var(--ink-soft); }

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

.service-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 25px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service-number {
  color: var(--brand);
  font-size: 0.95rem;
  font-weight: 700;
}

.service-item p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.section-muted { background: var(--brand-deep); color: #fff; }
.section-muted .eyebrow { color: #b8d6cc; }
.section-muted h2 { margin-bottom: 0; }

.process-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 9vw, 120px);
}

.steps {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 58px;
  padding-right: 76px;
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps);
  position: absolute;
  right: 0;
  top: 2px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: #fff;
  font-size: 0.87rem;
  font-weight: 700;
}

.steps strong,
.steps span { display: block; }
.steps strong { margin-bottom: 1px; }
.steps span { color: #cbe2da; font-size: 0.95rem; }

.contact-card {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  padding: clamp(30px, 5vw, 62px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card h2 { margin-bottom: 12px; }
.contact-description { max-width: 580px; margin-bottom: 0; color: var(--ink-soft); }

address {
  min-width: 220px;
  display: grid;
  gap: 5px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-style: normal;
}

address a {
  margin-bottom: 5px;
  color: var(--brand-deep);
  font-size: 1.22rem;
  font-weight: 700;
  text-decoration: none;
  direction: rtl;
  text-align: right;
}

.final-cta {
  padding: clamp(50px, 7vw, 82px) 0;
  background: var(--sand);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.final-cta h2 { margin-bottom: 0; }
.final-cta .eyebrow { margin-bottom: 6px; }
.button-light { background: var(--ink); color: #fff; white-space: nowrap; }
.button-light:hover { background: var(--brand-deep); }

.site-footer {
  background: var(--ink);
  color: #dbe2e5;
}

.footer-content {
  min-height: 90px;
  font-size: 0.88rem;
}

.footer-content p { margin: 0; }
.footer-content a { color: #fff; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .header-content { min-height: 68px; }
  .header-whatsapp { font-size: 0.82rem; }
  .hero-grid,
  .process-layout { grid-template-columns: 1fr; }
  .hero { padding: 67px 0; }
  .contact-panel { max-width: 560px; }
  .service-item { grid-template-columns: 55px 1fr; gap: 15px; }
  .contact-card,
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
  .contact-card { gap: 26px; }
  address { min-width: unset; }
  .footer-content { min-height: 106px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 4px; }
}

@media (max-width: 390px) {
  .hero-actions,
  .button { width: 100%; }
  .button { min-height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
