:root {
  --paper: #f7f3ea;
  --paper-strong: #fffaf0;
  --ink: #1f211f;
  --muted: #67665f;
  --line: #ddd2bd;
  --gold: #c49a3d;
  --gold-dark: #8d6920;
  --green: #285642;
  --red: #9b3d32;
  --blue: #2e6572;
  --shadow: 0 18px 45px rgba(31, 33, 31, 0.12);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

body[dir="rtl"] {
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(31, 33, 31, 0.12);
  background: rgba(247, 243, 234, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-weight: 800;
}

.brand-text {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.brand-name {
  font-weight: 800;
  line-height: 1.1;
}

.brand-role {
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.nav-links,
.language-switcher,
.hero-actions,
.quick-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.nav-links a,
.language-switcher a {
  font-size: 0.93rem;
  text-decoration: none;
  color: var(--muted);
}

.language-switcher {
  border-left: 1px solid var(--line);
  padding-left: 0.75rem;
}

body[dir="rtl"] .language-switcher {
  border-left: 0;
  border-right: 1px solid var(--line);
  padding-left: 0;
  padding-right: 0.75rem;
}

.language-switcher a[aria-current="page"] {
  color: var(--ink);
  font-weight: 800;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.72rem 1rem;
  background: var(--ink);
  color: white;
  font: inherit;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary,
button.secondary {
  border-color: var(--line);
  background: var(--paper-strong);
  color: var(--ink);
}

.button.whatsapp {
  background: var(--green);
}

.button.email {
  background: var(--blue);
}

.button:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(196, 154, 61, 0.48);
  outline-offset: 2px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2.2rem, 6vw, 5rem) 1.25rem 2rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

h3 {
  font-size: 1.12rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 720px;
  margin-top: 1.2rem;
  color: #4b4b45;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.quick-actions {
  margin-top: 1.5rem;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.trust-item {
  border-top: 3px solid var(--gold);
  padding: 0.85rem;
  background: rgba(255, 250, 240, 0.8);
}

.trust-item strong {
  display: block;
  margin-bottom: 0.2rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.card-photo {
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111;
  box-shadow: var(--shadow);
}

.card-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 55%;
}

.card-photo figcaption {
  padding: 0.8rem 1rem;
  color: #efe7d7;
  background: #171918;
  font-size: 0.92rem;
}

.section {
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem;
}

.section.alt {
  background: var(--paper-strong);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.48fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--muted);
}

.service-grid,
.area-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.faq-item {
  border-bottom: 1px solid rgba(143, 107, 43, 0.45);
  padding: 1.15rem 0;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 600;
  list-style: none;
}

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

.faq-item summary::after {
  color: var(--gold-dark);
  content: "+";
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 620px;
  margin-top: 0.8rem;
  color: #657075;
}

.review-section {
  background: #121b22;
  color: #f7f1e5;
}

.review-section .section-head h2 {
  color: #fffaf0;
}

.review-section .section-head p {
  color: #b8c0c2;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.review-place {
  min-height: 210px;
  border: 1px solid rgba(199, 164, 90, 0.4);
  border-radius: 3px;
  padding: 1.45rem;
  background: #18242b;
}

.review-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.8rem;
  border-radius: 3px;
  background: var(--gold);
  color: #121b22;
  font-weight: 900;
}

.review-place h3 {
  color: #fffaf0;
  font-size: 1.3rem;
}

.review-place p {
  min-height: 54px;
  margin: 0.55rem 0 1.1rem;
  color: #b8c0c2;
}

.review-place .button.secondary {
  border-color: rgba(199, 164, 90, 0.55);
  background: transparent;
  color: #f6d58c;
}

.service,
.area,
.step,
.notice,
.rib-box,
.contact-line {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
}

.service,
.area,
.step {
  padding: 1rem;
}

.service p,
.area p,
.step p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-weight: 900;
}

.consultation-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: 1rem;
  align-items: start;
}

.payment-panel {
  display: grid;
  gap: 1rem;
}

.notice,
.rib-box {
  padding: 1rem;
}

.notice {
  border-color: rgba(155, 61, 50, 0.35);
  background: rgba(155, 61, 50, 0.06);
}

.rib-box strong {
  display: block;
  margin-bottom: 0.45rem;
}

.rib-number {
  display: block;
  overflow-wrap: anywhere;
  border: 1px dashed var(--gold-dark);
  border-radius: 6px;
  padding: 0.85rem;
  background: #fffdf6;
  color: var(--red);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-weight: 800;
}

.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: white;
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 1rem;
}

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

label {
  display: grid;
  gap: 0.42rem;
  color: #3c3d39;
  font-size: 0.92rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cabfa9;
  border-radius: 6px;
  padding: 0.72rem 0.8rem;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.file-input {
  border: 1px dashed #a99158;
  padding: 1rem;
  background: #fffaf0;
}

.proof-preview {
  display: none;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.proof-preview img {
  width: 70px;
  height: 70px;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
}

.form-result {
  display: none;
  border: 1px solid rgba(40, 86, 66, 0.36);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(40, 86, 66, 0.08);
}

.backend-status {
  margin-top: 0.6rem;
  color: var(--green);
  font-weight: 800;
}

.backend-status.warning {
  color: var(--red);
}

.form-result.is-visible,
.proof-preview.is-visible {
  display: grid;
}

.form-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1.25fr);
  gap: 1rem;
}

.contact-stack {
  display: grid;
  gap: 0.75rem;
}

.contact-line {
  padding: 1rem;
}

.contact-line span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.map-frame {
  overflow: hidden;
  min-height: 410px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e9dfcd;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 410px;
  border: 0;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 1.25rem;
  background: #20221f;
  color: #efe7d7;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
}

.footer a {
  color: #f4d07d;
}

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

@media (max-width: 980px) {
  .hero,
  .section-head,
  .consultation-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 0.8rem;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .language-switcher {
    border: 0;
    padding-left: 0;
  }
}

@media (max-width: 720px) {
  .trust-list,
  .service-grid,
  .area-grid,
  .steps,
  .faq-grid,
  .review-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1.6rem;
  }

  h1 {
    font-size: clamp(2.05rem, 12vw, 3.4rem);
  }

  .button,
  button {
    width: 100%;
  }

  .quick-actions,
  .hero-actions,
  .form-result-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Cabinet concierge */
.assistant-section {
  padding: clamp(4rem, 8vw, 7rem) 1.25rem;
  background: #e8dfd0;
}

.assistant-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(220px, 0.52fr) minmax(360px, 1.1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.assistant-intro h2 {
  max-width: 560px;
  margin-top: 0.35rem;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.025em;
}

.assistant-intro > p:last-child {
  max-width: 430px;
  margin-top: 1.25rem;
  color: #647076;
  line-height: 1.75;
}

.assistant-portrait {
  overflow: hidden;
  align-self: stretch;
  min-height: 420px;
  border: 1px solid rgba(199, 164, 90, 0.42);
  border-radius: 3px;
  background: #d6c8b4;
  box-shadow: 12px 12px 0 rgba(199, 164, 90, 0.12);
}

.assistant-portrait img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.02);
}

.assistant-panel {
  overflow: hidden;
  border: 1px solid rgba(199, 164, 90, 0.5);
  border-radius: 3px;
  background: #101b22;
  box-shadow: 18px 18px 0 rgba(199, 164, 90, 0.15), 0 25px 55px rgba(17, 26, 33, 0.15);
}

.assistant-topline {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(199, 164, 90, 0.25);
  color: #f9f3e7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.assistant-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--gold);
  color: #101b22;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
}

.assistant-status {
  margin-left: auto;
  color: #8fc5a4;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
}

.assistant-message {
  margin: 1.25rem;
  border-radius: 2px;
  padding: 1rem 1.1rem;
  line-height: 1.65;
}

.assistant-message-office {
  background: #1c2a32;
  color: #dbe3e1;
}

.assistant-message-user {
  margin-bottom: 0.65rem;
  background: #c7a45a;
  color: #101b22;
  font-weight: 700;
}

.assistant-message-reply {
  margin-top: 0.65rem;
}

.assistant-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  padding: 0 1.25rem 1.25rem;
}

.assistant-choices button {
  min-height: 52px;
  border: 1px solid rgba(199, 164, 90, 0.45);
  border-radius: 2px;
  padding: 0.8rem 0.9rem;
  background: transparent;
  color: #f6d58c;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
}

.assistant-choices button:hover {
  background: rgba(199, 164, 90, 0.12);
}

.hero-visual {
  overflow: hidden;
  border: 1px solid rgba(199, 164, 90, 0.55);
  border-radius: 3px;
  background: #0d1419;
  box-shadow: 18px 18px 0 rgba(199, 164, 90, 0.13), var(--shadow);
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

body[dir="rtl"] .assistant-choices button {
  text-align: right;
}

@media (max-width: 820px) {
  .assistant-shell {
    grid-template-columns: 1fr;
  }

  .assistant-portrait,
  .assistant-portrait img {
    min-height: 360px;
  }

  .assistant-panel {
    box-shadow: 8px 8px 0 rgba(199, 164, 90, 0.15), 0 20px 45px rgba(17, 26, 33, 0.14);
  }
}

@media (max-width: 520px) {
  .assistant-choices {
    grid-template-columns: 1fr;
  }
}

/* Final art direction: restrained Moroccan legal editorial */
body {
  background: #f4f1eb;
}

.site-header {
  position: relative;
  border-bottom: 1px solid rgba(203, 171, 101, 0.32);
  background: #0b141a;
}

.nav {
  max-width: 1280px;
  min-height: 82px;
  padding-inline: 2rem;
}

.brand {
  gap: 0.9rem;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.brand-name {
  font-size: 1.08rem;
}

.nav-links {
  gap: 1.25rem;
}

.nav-links a,
.language-switcher a {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.language-switcher {
  margin-left: 0.45rem;
  padding-left: 1rem;
}

.hero {
  min-height: min(760px, calc(100vh - 82px));
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: max(1.25rem, calc((100vw - 1180px) / 2));
  bottom: 2.4rem;
  width: 1px;
  height: 105px;
  background: rgba(203, 171, 101, 0.6);
  content: "";
}

.hero > div:first-child {
  max-width: 650px;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(3.1rem, 6.8vw, 6.4rem);
  letter-spacing: -0.035em;
  line-height: 0.94;
}

.hero .lead {
  max-width: 570px;
  margin-top: 1.7rem;
  font-size: 1.13rem;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 2.1rem;
}

.hero .button {
  min-height: 52px;
  padding-inline: 1.35rem;
  border-radius: 0;
}

.hero .card-photo {
  width: min(100%, 450px);
  justify-self: end;
  border-width: 1px;
  box-shadow: 26px 26px 0 rgba(203, 171, 101, 0.16), 0 28px 65px rgba(0, 0, 0, 0.32);
  transform: rotate(1.2deg);
}

.hero .card-photo img {
  aspect-ratio: 4 / 3;
}

.trust-list {
  max-width: 650px;
  margin-top: 3.6rem;
}

.trust-item {
  min-height: 86px;
}

.section {
  padding-block: clamp(5rem, 9vw, 8rem);
}

.section-inner {
  max-width: 1280px;
}

.section-head {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: 4rem;
  margin-bottom: 3rem;
}

.section-head h2 {
  max-width: 700px;
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
  letter-spacing: -0.025em;
}

.section-head p {
  align-self: end;
  max-width: 390px;
  font-size: 1.04rem;
  line-height: 1.7;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(143, 107, 43, 0.35);
}

.service {
  min-height: 190px;
  border: 0;
  border-bottom: 1px solid rgba(143, 107, 43, 0.35);
  border-radius: 0;
  padding: 2rem 2.4rem 2rem 0;
  background: transparent;
  box-shadow: none;
}

.service:nth-child(even) {
  border-left: 1px solid rgba(143, 107, 43, 0.35);
  padding-left: 2.4rem;
}

.service::before {
  left: 0;
  width: 42px;
}

.service:nth-child(even)::before {
  left: 2.4rem;
}

.service h3,
.area h3,
.step h3 {
  font-size: 1.45rem;
}

.area-grid {
  gap: 0;
  border-top: 1px solid rgba(143, 107, 43, 0.35);
}

.area {
  min-height: 150px;
  border: 0;
  border-bottom: 1px solid rgba(143, 107, 43, 0.35);
  border-radius: 0;
  padding: 1.7rem 1.6rem 1.7rem 0;
  background: transparent;
  box-shadow: none;
}

.area::before {
  display: none;
}

.consultation-layout {
  gap: 2rem;
  margin-top: 2rem !important;
}

.form-panel {
  border-radius: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.form-panel h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.review-section {
  padding-top: clamp(5rem, 9vw, 8rem);
}

.footer-inner {
  max-width: 1280px;
}

@media (max-width: 980px) {
  .nav {
    padding-inline: 1.25rem;
  }

  .hero {
    min-height: 0;
    gap: 3rem;
  }

  .hero .card-photo {
    justify-self: start;
  }

  .section-head {
    gap: 1.5rem;
  }
}

@media (max-width: 720px) {
  .nav {
    min-height: 72px;
  }

  .nav-links {
    gap: 0.7rem;
  }

  .nav-links a {
    font-size: 0.72rem;
  }

  .language-switcher {
    margin-left: 0;
    padding-left: 0;
  }

  .hero {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14vw, 4.6rem);
  }

  .hero::after {
    display: none;
  }

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

  .service,
  .service:nth-child(even) {
    border-left: 0;
    padding: 1.7rem 0;
  }

  .service:nth-child(even)::before {
    left: 0;
  }

  .area {
    padding-right: 0;
  }
}

/* Premium legal-office visual system */
:root {
  --paper: #f3eee5;
  --paper-strong: #faf7f0;
  --ink: #121b22;
  --muted: #687178;
  --line: #d7cbb8;
  --gold: #c7a45a;
  --gold-dark: #8f6b2b;
  --green: #1d5547;
  --red: #9b463c;
  --blue: #295f70;
  --shadow: 0 22px 55px rgba(17, 26, 33, 0.12);
}

body {
  background: var(--paper);
  color: var(--ink);
}

.site-header {
  border-bottom: 1px solid rgba(199, 164, 90, 0.3);
  background: rgba(18, 27, 34, 0.96);
  color: #f8f2e6;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: transparent;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.brand-name {
  color: #f8f2e6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
}

.brand-role,
.nav-links a,
.language-switcher a {
  color: #b8c0c2;
}

.nav-links a:hover,
.language-switcher a:hover,
.language-switcher a[aria-current="page"] {
  color: var(--gold);
}

.language-switcher {
  border-left-color: rgba(199, 164, 90, 0.35);
}

.hero {
  position: relative;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  max-width: none;
  padding: clamp(4rem, 8vw, 7.5rem) max(1.25rem, calc((100vw - 1180px) / 2)) clamp(3.5rem, 7vw, 6rem);
  background: #121b22;
  color: #f7f1e5;
}

.hero::before {
  position: absolute;
  top: 2.1rem;
  left: max(1.25rem, calc((100vw - 1180px) / 2));
  width: 78px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.hero > div,
.hero > figure {
  width: 100%;
  max-width: 570px;
}

.hero > figure {
  justify-self: end;
}

.hero .eyebrow {
  color: var(--gold);
  letter-spacing: 0.12em;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

h1 {
  max-width: 720px;
  color: #fffaf0;
  font-size: clamp(2.65rem, 6vw, 5.7rem);
  line-height: 0.98;
}

.lead {
  max-width: 650px;
  color: #c8d0ce;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.hero .button {
  border-color: var(--gold);
  background: var(--gold);
  color: #121b22;
}

.hero .button.secondary {
  border-color: rgba(255, 250, 240, 0.35);
  background: transparent;
  color: #fffaf0;
}

.trust-list {
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(199, 164, 90, 0.45);
}

.trust-item {
  border-top: 0;
  border-right: 1px solid rgba(199, 164, 90, 0.25);
  padding: 1rem 1rem 0.5rem 0;
  background: transparent;
}

.trust-item + .trust-item {
  padding-left: 1rem;
}

.trust-item strong {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

.trust-item span {
  color: #b8c0c2;
}

.card-photo {
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: #0d1419;
  box-shadow: 18px 18px 0 rgba(199, 164, 90, 0.13), var(--shadow);
}

.card-photo img {
  aspect-ratio: 4 / 3;
  object-position: 50% 53%;
  filter: saturate(0.9) contrast(1.03);
}

.card-photo figcaption {
  border-top: 1px solid rgba(199, 164, 90, 0.45);
  padding: 0.9rem 1rem;
  background: #0d1419;
  color: #d8c9aa;
  font-size: 0.86rem;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 1.25rem;
}

.section.alt {
  background: #e9e0d0;
}

.section-head {
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  margin-bottom: 2.5rem;
}

.section-head h2 {
  max-width: 620px;
  color: var(--ink);
  font-size: clamp(2rem, 3.7vw, 3.35rem);
}

.section-head p {
  color: #5f686c;
}

.service-grid,
.area-grid,
.steps {
  gap: 0.8rem;
}

.service,
.area,
.step {
  position: relative;
  min-height: 178px;
  border: 1px solid rgba(143, 107, 43, 0.28);
  border-radius: 3px;
  padding: 1.45rem;
  background: rgba(250, 247, 240, 0.78);
  box-shadow: 0 8px 24px rgba(17, 26, 33, 0.045);
}

.service::before,
.area::before,
.step::before {
  position: absolute;
  top: 0;
  left: 1.45rem;
  width: 34px;
  height: 3px;
  background: var(--gold);
  content: "";
}

.service h3,
.area h3,
.step h3 {
  margin-top: 0.4rem;
  color: var(--ink);
  font-size: 1.28rem;
}

.service p,
.area p,
.step p {
  color: #657075;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--gold);
}

.consultation-layout,
.contact-layout {
  gap: 1.4rem;
}

.notice,
.rib-box,
.form-panel,
.contact-line,
.map-frame {
  border-radius: 3px;
}

.notice {
  border-color: rgba(155, 70, 60, 0.32);
  background: rgba(155, 70, 60, 0.055);
}

.rib-box {
  border-color: rgba(143, 107, 43, 0.35);
  background: #f9f4e8;
}

.rib-box > strong {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
}

.rib-box > p {
  color: #5f625d;
}

.rib-number {
  min-width: 0;
  overflow-wrap: anywhere;
  border-radius: 3px;
  background: #fffdf8;
}

.rib-copy:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

/* Multi-bank RIB list */
.rib-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.rib-item {
  display: grid;
  gap: 0.4rem;
  border: 1px dashed var(--gold-dark);
  border-radius: 3px;
  padding: 0.8rem 0.9rem;
  background: #fffdf8;
}

.rib-bank {
  color: var(--gold-dark);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rib-item .rib-number {
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.rib-copy {
  justify-self: start;
  min-height: 34px;
  border-radius: 3px;
  padding: 0.35rem 0.8rem;
  background: var(--ink);
  color: var(--gold);
  font-size: 0.82rem;
}

@media (max-width: 720px) {
  .rib-copy,
  button.rib-copy {
    width: auto;
  }
}

.form-panel {
  border-color: rgba(143, 107, 43, 0.3);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fbf9f4;
  box-shadow: 0 22px 55px rgba(17, 26, 33, 0.1);
}

.form-panel h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

input,
textarea,
select {
  border-color: #c8bcaa;
  border-radius: 3px;
  background: #fffefa;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold-dark);
}

.file-input {
  border-color: var(--gold-dark);
  border-radius: 3px;
  background: #f7efe1;
}

.footer {
  border-top-color: rgba(199, 164, 90, 0.4);
  padding-block: 2.2rem;
  background: #0d1419;
}

/* Interaction polish */
.button,
button {
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.button:hover,
button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(17, 26, 33, 0.16);
  filter: brightness(1.04);
}

.button:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(196, 154, 61, 0.7);
  outline-offset: 3px;
}

@keyframes consultation-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 154, 61, 0); }
  50% { box-shadow: 0 0 0 7px rgba(196, 154, 61, 0.13); }
}

@keyframes assistant-status-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.hero .button[href="#consultation"] {
  animation: consultation-pulse 3.8s ease-in-out infinite;
}

.assistant-status {
  animation: assistant-status-pulse 2.4s ease-in-out infinite;
}

.button:active,
button:active {
  transform: translateY(0);
  box-shadow: none;
}

.nav-links a,
.language-switcher a,
.footer a {
  transition: color 0.15s ease;
}

.service,
.area,
.step {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service:hover,
.area:hover,
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(143, 107, 43, 0.55);
  box-shadow: 0 16px 34px rgba(17, 26, 33, 0.1);
}

/* FAQ polish */
.faq-item summary {
  transition: color 0.15s ease;
}

.faq-item summary:hover {
  color: var(--gold-dark);
}

.faq-item summary::after {
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item[open] summary {
  color: var(--gold-dark);
}

/* Client testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.testimonial {
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 1px solid rgba(199, 164, 90, 0.4);
  border-radius: 3px;
  padding: 1.45rem;
  background: #18242b;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.testimonial:hover {
  transform: translateY(-3px);
  border-color: rgba(199, 164, 90, 0.7);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.28em;
}

.testimonial blockquote {
  flex: 1;
  margin: 0.9rem 0 1.15rem;
  color: #dfe4e3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.55;
}

.testimonial blockquote::before {
  content: "“";
}

.testimonial blockquote::after {
  content: "”";
}

body[dir="rtl"] .testimonial blockquote {
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  font-style: normal;
}

.testimonial figcaption {
  display: grid;
  gap: 0.12rem;
  border-top: 1px solid rgba(199, 164, 90, 0.25);
  padding-top: 0.85rem;
}

.testimonial figcaption strong {
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

.testimonial figcaption span {
  color: #8fa0a6;
  font-size: 0.88rem;
}

/* Google Maps review card as a wide banner under the testimonials */
.review-grid {
  grid-template-columns: 1fr;
}

.review-place {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  min-height: 0;
  padding: 1.25rem 1.45rem;
}

.review-place .review-mark {
  margin-bottom: 0;
}

.review-place h3 {
  margin: 0;
}

.review-place p {
  flex: 1;
  min-width: 240px;
  min-height: 0;
  margin: 0;
}

.review-place .button.secondary {
  transition: background 0.15s ease, color 0.15s ease;
}

.review-place .button.secondary:hover {
  background: var(--gold);
  color: #121b22;
}

@media (max-width: 980px) {
  .hero {
    padding-inline: 1.25rem;
  }

  .hero::before {
    left: 1.25rem;
  }

  .hero > div,
  .hero > figure {
    max-width: none;
  }

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

@media (max-width: 720px) {
  .trust-item,
  .trust-item + .trust-item {
    border-right: 0;
    border-bottom: 1px solid rgba(199, 164, 90, 0.25);
    padding: 0.9rem 0;
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .card-photo {
    box-shadow: 8px 8px 0 rgba(199, 164, 90, 0.13), var(--shadow);
  }

  .hero-visual {
    box-shadow: 8px 8px 0 rgba(199, 164, 90, 0.13), var(--shadow);
  }

  .review-place {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-place .button.secondary {
    width: 100%;
  }
}

/* ---- Refinement layer: Moroccan legal identity ---- */
:root {
  --font-display: "Marcellus", Georgia, "Times New Roman", serif;
  --zellij: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23c7a45a' stroke-opacity='0.16'%3E%3Crect x='24' y='24' width='48' height='48'/%3E%3Crect x='24' y='24' width='48' height='48' transform='rotate(45 48 48)'/%3E%3C/g%3E%3C/svg%3E");
}

body[dir="rtl"] {
  --font-display: "Amiri", "Noto Naskh Arabic", "Noto Sans Arabic", Tahoma, serif;
}

h1,
h2,
h3,
.brand-name,
.faq-item summary,
.trust-item strong,
.testimonial blockquote,
.testimonial figcaption strong {
  font-family: var(--font-display);
}

h1 {
  line-height: 1.02;
  font-size: clamp(2.6rem, 5.6vw, 5.2rem);
}

body[dir="rtl"] h1 {
  line-height: 1.28;
}

body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] .faq-item summary {
  line-height: 1.4;
}

body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3 {
  font-weight: 700;
}

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
}

body[dir="rtl"] .eyebrow {
  letter-spacing: 0;
  font-size: 0.85rem;
}

/* Buttons: engraved, quiet confidence */
.button,
button {
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.84rem;
  font-weight: 700;
}

body[dir="rtl"] .button,
body[dir="rtl"] button {
  letter-spacing: 0;
  font-size: 0.95rem;
}

/* Seal-style brand mark */
.brand-mark {
  border-radius: 50%;
  outline: 1px solid rgba(199, 164, 90, 0.4);
  outline-offset: 3px;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.06em;
}

/* Nav: gold underline on hover */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Hero: zellij lattice fading into the navy */
.hero {
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(18, 27, 34, 0.25) 0%, rgba(18, 27, 34, 0.82) 55%, #121b22 88%), var(--zellij);
  background-size: auto, 96px 96px;
  pointer-events: none;
}

.hero > div,
.hero > figure {
  position: relative;
  z-index: 1;
}

/* Portrait as a Moroccan arch doorway */
.card-photo {
  border-radius: 50% 50% 3px 3px / 20% 20% 3px 3px;
  outline: 1px solid rgba(199, 164, 90, 0.45);
  outline-offset: 7px;
  box-shadow: var(--shadow);
  margin-block: 0.5rem;
}

.card-photo img {
  aspect-ratio: 3 / 3.4;
  object-position: 50% 42%;
}

/* Section headings echo the hero's gold rule */
.section-head h2::before {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-block-end: 1.15rem;
  background: var(--gold);
}

/* Footer picks up a whisper of the lattice */
.footer {
  background-image: linear-gradient(180deg, rgba(13, 20, 25, 0.94), rgba(13, 20, 25, 0.94)), var(--zellij);
  background-size: auto, 96px 96px;
}

/* Scroll reveal (added by site.js; never hides content without JS) */
.js-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease var(--reveal-delay, 0ms), transform 0.7s ease var(--reveal-delay, 0ms);
}

.hero > figure.js-reveal {
  transition-delay: 0.15s;
}

.js-reveal.is-revealed {
  opacity: 1;
  transform: none;
}

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

  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  button,
  .service,
  .area,
  .step,
  .testimonial,
  .hero .button[href="#consultation"],
  .assistant-status {
    transition: none;
    animation: none;
  }
}

@media (max-width: 720px) {
  .card-photo {
    outline-offset: 5px;
  }
}

/* ---- Mobile refinements ---- */
@media (max-width: 980px) {
  .hero > figure {
    justify-self: center;
    width: 100%;
    max-width: 460px;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(2.15rem, 9.5vw, 3.1rem);
  }

  h2 {
    font-size: clamp(1.65rem, 7.5vw, 2.3rem);
  }

  .nav {
    gap: 0.6rem;
  }

  .nav-links {
    gap: 0.5rem 1rem;
  }

  .brand-role {
    white-space: normal;
  }

  .language-switcher {
    width: 100%;
    border-top: 1px solid rgba(199, 164, 90, 0.3);
    padding-top: 0.6rem;
    gap: 0.5rem 1rem;
  }

  body[dir="rtl"] .language-switcher {
    border-right: 0;
    padding-right: 0;
  }

  .hero {
    padding-top: 2.6rem;
    padding-bottom: 3rem;
  }

  .trust-list {
    margin-top: 2rem;
  }

  .card-photo img {
    aspect-ratio: 3 / 3.1;
  }

  .section {
    padding: 3.2rem 1.1rem;
  }

  .section-head {
    gap: 0.9rem;
    margin-bottom: 1.7rem;
  }

  .service,
  .area,
  .step,
  .testimonial {
    min-height: 0;
    padding: 1.15rem;
  }

  .testimonial blockquote {
    font-size: 1rem;
  }

  .faq-item {
    padding: 0.95rem 0;
  }

  .faq-item summary {
    font-size: 1.08rem;
  }

  .form-panel {
    padding: 1.1rem;
  }

  .consultation-layout,
  .contact-layout {
    gap: 1rem;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 320px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.4rem;
  }
}

@media (max-width: 380px) {
  .hero-actions .button,
  .form-result-actions .button {
    font-size: 0.8rem;
    padding-inline: 0.75rem;
  }
}

/* Final mobile layout: compact navigation, calmer type, touch-friendly forms. */
@media (max-width: 720px) {
  .site-header {
    position: relative;
  }

  .nav {
    align-items: stretch;
    gap: 0.85rem;
    min-height: 0;
    padding: 0.9rem 1rem 0.75rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    font-size: 0.85rem;
  }

  .brand-name {
    max-width: 18rem;
    overflow: hidden;
    font-size: 0.9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-role {
    font-size: 0.72rem;
    line-height: 1.25;
    white-space: normal;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    width: 100%;
  }

  .nav-links > a {
    min-height: 36px;
    padding: 0.45rem 0.25rem;
    border: 1px solid rgba(143, 107, 43, 0.2);
    border-radius: 3px;
    font-size: 0.72rem;
    text-align: center;
  }

  .language-switcher {
    grid-column: 1 / -1;
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding: 0.55rem 0 0.15rem;
    border-top: 1px solid rgba(199, 164, 90, 0.25);
    scrollbar-width: none;
  }

  .language-switcher::-webkit-scrollbar {
    display: none;
  }

  .language-switcher a {
    flex: 0 0 auto;
    font-size: 0.75rem;
  }

  .hero {
    gap: 1.75rem;
    padding: 2.7rem 1rem 2.4rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 2.75rem;
    line-height: 1.02;
  }

  .hero .lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions,
  .form-result-actions {
    gap: 0.65rem;
  }

  .hero-actions .button,
  .form-result-actions .button,
  .form-result-actions button {
    min-height: 48px;
  }

  .hero-visual {
    width: 100%;
    margin: 0;
  }

  .hero-visual img {
    aspect-ratio: 4 / 3;
  }

  .trust-list {
    margin-top: 1.8rem;
  }

  .assistant-section {
    padding: 3rem 1rem;
  }

  .assistant-intro h2 {
    font-size: 2.15rem;
    line-height: 1.08;
  }

  .assistant-portrait,
  .assistant-portrait img {
    min-height: 330px;
  }

  .assistant-panel {
    box-shadow: 6px 6px 0 rgba(199, 164, 90, 0.14), 0 18px 32px rgba(17, 26, 33, 0.12);
  }

  .assistant-topline {
    flex-wrap: wrap;
    padding: 0.85rem;
  }

  .assistant-status {
    width: 100%;
    margin-left: 2.7rem;
  }

  .section,
  .review-section {
    padding: 3rem 1rem;
  }

  .section-head {
    margin-bottom: 1.45rem;
  }

  .section-head h2 {
    font-size: 2.15rem;
    line-height: 1.08;
  }

  .service,
  .area,
  .step,
  .testimonial {
    padding: 1.15rem;
  }

  .service h3,
  .area h3,
  .step h3 {
    font-size: 1.2rem;
  }

  .review-place {
    align-items: flex-start;
    padding: 1.1rem;
  }

  .review-place p {
    width: 100%;
  }

  .consultation-layout {
    margin-top: 1.25rem !important;
  }

  .payment-panel,
  .form-panel {
    min-width: 0;
  }

  .rib-box,
  .form-panel {
    padding: 1rem;
  }

  .rib-number {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .form-panel h2 {
    font-size: 2rem;
  }

  input,
  select,
  textarea {
    min-width: 0;
    font-size: 16px;
  }

  textarea {
    min-height: 130px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 280px;
  }
}

@media (max-width: 390px) {
  .brand-name {
    max-width: 14rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .assistant-choices {
    padding-inline: 0.85rem;
  }
}

/* ---- Responsive corrections: later layers re-declared these grids outside
   media queries, which cancelled the mobile collapse. Keep this block last. ---- */
@media (max-width: 980px) {
  .hero,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero > div:first-child,
  .hero h1,
  .hero .lead,
  .section-head h2,
  .section-head p {
    max-width: none;
  }

  .section-head p {
    align-self: start;
  }

  .trust-list {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .hero .card-photo {
    width: 100%;
    max-width: 420px;
    transform: none;
    box-shadow: 8px 8px 0 rgba(199, 164, 90, 0.13), var(--shadow);
  }
}

/* The hidden attribute must always win over display rules like
   .admin-dashboard { display: grid } — otherwise logged-out visitors
   see the empty dashboard shell under the login form. */
[hidden] {
  display: none !important;
}

/* ---- Service landing pages ---- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.5rem) 1.25rem;
  background: #121b22;
  color: #f7f1e5;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(18, 27, 34, 0.3) 0%, rgba(18, 27, 34, 0.85) 60%, #121b22 92%), var(--zellij);
  background-size: auto, 96px 96px;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.page-hero .eyebrow {
  color: var(--gold);
}

.page-hero h1 {
  max-width: 860px;
  color: #fffaf0;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.08;
}

.page-hero .lead {
  max-width: 760px;
  color: #c8d0ce;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  color: #8fa0a6;
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: #c8d0ce;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.service-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-points li {
  position: relative;
  border: 1px solid rgba(143, 107, 43, 0.28);
  border-radius: 3px;
  padding: 1rem 1.1rem 1rem 2.6rem;
  background: rgba(250, 247, 240, 0.78);
}

.service-points li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 1rem;
  top: 0.95rem;
  color: var(--gold-dark);
  font-weight: 700;
}

body[dir="rtl"] .service-points li {
  padding: 1rem 2.6rem 1rem 1.1rem;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(199, 164, 90, 0.45);
  border-radius: 3px;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background: #121b22;
  color: #f7f1e5;
}

.cta-panel h2 {
  color: #fffaf0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.cta-panel p {
  margin-top: 0.7rem;
  color: #c8d0ce;
}

.cta-panel a {
  color: #f6d58c;
}

.cta-panel .hero-actions .button {
  border-color: var(--gold);
  background: var(--gold);
  color: #121b22;
}

.cta-panel .hero-actions .button.whatsapp {
  border-color: transparent;
  background: var(--green);
  color: white;
}

.service-links {
  margin-top: 2rem;
}

.service-links strong {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-links nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-links a {
  border: 1px solid rgba(143, 107, 43, 0.4);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.service-links a:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #121b22;
}

@media (max-width: 720px) {
  .service-points {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: clamp(1.7rem, 7.5vw, 2.4rem);
  }
}
