/* ضيّ — approved October 2026 direction.
   Presentation layer shared by the existing static pages. Workflow selectors,
   inline visibility states and the dashboard's print styles stay intact. */
@media screen {
  .redesign {
    --navy: #1B3A5C;
    --navy-dark: #122944;
    --navy-light: #243f63;
    --gold: #C9A24B;
    --gold-light: #dbb96a;
    --gold-dark: #a8852e;
    --beige: #F9F6F0;
    --white: #fff;
    --border: #e4ddd0;
    --text-dark: #1a2535;
    --text-mid: #3d4f66;
    --text-muted: #6b7c93;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --font-main: 'Alexandria', 'Cairo', sans-serif;  /* admin loads only Cairo, so it falls back to it */
    --sage: #DCE7E7;
    --header-h: 80px;
    --shadow-sm: 0 2px 8px rgba(27,58,92,.07);
    --shadow-md: 0 6px 28px rgba(27,58,92,.10);
    --shadow-lg: 0 14px 44px rgba(27,58,92,.14);
    --transition: all .28s cubic-bezier(.4,0,.2,1);
    background: var(--beige);
    color: var(--text-dark);
    font-family: var(--font-main);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
  }
  .redesign *, .redesign *::before, .redesign *::after { box-sizing: border-box; }
  .redesign [hidden] { display: none !important; }
  .redesign :is(button, a, input, select, textarea) { -webkit-tap-highlight-color: transparent; }
  .redesign :is(button, input, select, textarea) { font-family: inherit; }
  .redesign :is(a, button, input, select, textarea):focus-visible {
    outline: 3px solid var(--navy); outline-offset: 4px;
  }
  .redesign button:disabled { cursor: wait; opacity: .65; }
  .redesign .container { max-width: 1240px; padding-inline: 24px; }
  /* style.css gives body overflow-x: hidden, which makes body a scroll
     container that never scrolls, so the sticky header scrolled away with the
     page. clip trims the same overflow without creating a scroller; browsers
     without clip keep hidden. */
  body.redesign { overflow-x: hidden; overflow-x: clip; }
  /* Anchors and keyboard focus land clear of the sticky header */
  html { scroll-padding-top: var(--header-h); }
  .redesign .header {
    position: sticky; inset-block-start: 0; height: var(--header-h);
    background: var(--white); border-bottom: 1px solid var(--border);
    box-shadow: none; backdrop-filter: none; z-index: 500;
  }
  .redesign .header.scrolled { background: var(--white); box-shadow: var(--shadow-sm); }
  .redesign .header-inner { height: 100%; display: flex; justify-content: space-between; gap: 24px; }
  .redesign .logo { gap: 8px; }
  .redesign .logo-img-wrap, .redesign .header:not(.scrolled) .logo-img-wrap {
    width: 64px; height: 64px; border: 0; border-radius: 0;
    background: var(--white); box-shadow: none; overflow: visible;
  }
  .redesign .logo:hover .logo-img-wrap { transform: none; box-shadow: none; }
  .redesign .logo-img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
  .redesign .logo-name, .redesign .header:not(.scrolled) .logo-name {
    font-size: 1.25rem; color: var(--navy); letter-spacing: 0; line-height: 1.5;
  }
  .redesign .logo-tagline, .redesign .header:not(.scrolled) .logo-tagline {
    color: var(--text-mid); font-size: .7rem; font-weight: 400;
  }
  .redesign .nav-list { gap: 4px; }
  .redesign .nav-link, .redesign .header:not(.scrolled) .nav-link {
    font-size: .85rem; font-weight: 700; color: var(--text-mid); min-height: 44px;
    padding: 12px 8px;
  }
  .redesign .nav-link.active, .redesign .nav-link:hover { color: var(--navy); }
  .redesign .header:not(.scrolled) .nav-link::after { background: var(--gold-dark); }
  .redesign .header .btn-primary { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); box-shadow: none; }
  .redesign .header .btn-primary:hover { background: var(--navy); color: var(--white); }
  .redesign .header .nav-toggle span { background: var(--navy); }
  .redesign .btn { border-radius: var(--radius-md); min-height: 48px; font-weight: 700; box-shadow: none; }
  .redesign .btn-primary { background: var(--navy); color: var(--white); }
  .redesign .btn-hero, .redesign .btn-gold { background: var(--gold); color: var(--navy-dark); animation: none; box-shadow: none; }
  .redesign .btn-outline { border: 1px solid var(--navy); color: var(--navy); background: transparent; }
  .redesign .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
  .redesign .btn-outline:hover { background: var(--navy); color: var(--white); }
  .redesign .btn-whatsapp { background: var(--navy); color: var(--white); box-shadow: none; }
  .redesign .btn-lg { padding: 16px 24px; border-radius: var(--radius-md); }
  .redesign .btn-sm { min-height: 44px; }
  .redesign #loader { display: none; }
  .redesign .section { padding: 96px 0; }
  .redesign .section-header { text-align: start; margin-bottom: 36px; max-width: 760px; }
  .redesign .section-desc { margin: 0; color: var(--text-mid); max-width: 640px; line-height: 1.9; }
  /* The label over each heading is a sage pill: the one place sage carries text */
  .redesign .section-tag {
    background: var(--sage); border: 0; border-radius: 999px; padding: 4px 14px;
    display: inline-flex; align-items: center;
    color: var(--navy); font-size: .8rem; font-weight: 500; letter-spacing: 0; margin-bottom: 16px;
  }
  .redesign .section-tag::before { content: none; }
  .redesign .section-title { line-height: 1.5; margin-bottom: 12px; font-weight: 700; }
  .redesign .hero { min-height: 0; padding: 0; background: var(--beige); overflow: hidden; }
  .redesign .hero::before, .redesign .hero::after { display: none; }
  .redesign .hero-inner {
    display: grid; grid-template-columns: 1fr 1.08fr; align-items: center;
    gap: 56px; padding-block: 56px; min-height: 0; width: 100%;
  }
  .redesign .hero-content { text-align: start; padding: 0; max-width: none; }
  .redesign .hero-eyebrow { color: var(--navy); font-size: .95rem; margin-bottom: 16px; }
  .redesign .hero-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem); color: var(--navy); line-height: 1.35;
    letter-spacing: 0; margin-bottom: 16px; text-shadow: none; font-weight: 700;
  }
  .redesign .hero-accent { background: none; -webkit-text-fill-color: initial; color: var(--gold-dark); }
  .redesign .hero-subtitle { color: var(--text-mid); font-size: .85rem; margin-bottom: 12px; font-weight: 700; }
  .redesign .hero-desc { color: var(--text-mid); max-width: 36ch; font-size: 1rem; margin: 0 0 24px; line-height: 1.9; }
  .redesign .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
  .redesign .hero-cta .btn { width: auto; flex: none; }
  .redesign .hero-delivery {
    color: var(--text-mid); font-weight: 400; font-size: .8rem; line-height: 1.9;
    border: 0; background: none; padding: 0; border-radius: 0; box-shadow: none;
    max-width: 48ch; margin: 24px 0 0; backdrop-filter: none; display: block;
  }
  .redesign .hero-trust { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; }
  .redesign .hero-trust li { display: flex; align-items: center; gap: 12px; color: var(--text-mid); font-size: .9rem; line-height: 1.7; }
  .redesign .hero-trust i { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: var(--navy); font-size: .85rem; }
  .redesign .hero-trust strong { color: var(--navy); font-weight: 600; }
  .redesign .hero-delivery a { display: inline-flex; white-space: nowrap; gap: 8px; color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
  /* The photo sits on two colour blocks, sage above and white below, on its
     outer side, so it reads as placed rather than dropped in */
  .redesign .hero-photo { position: relative; isolation: isolate; margin: 0; align-self: stretch; min-width: 0; }
  .redesign .hero-photo::before, .redesign .hero-photo::after {
    content: ''; position: absolute; z-index: -1; inset-inline-end: -36px; border-radius: var(--radius-xl);
  }
  .redesign .hero-photo::before { inset-block-start: -36px; width: 62%; height: 58%; background: var(--sage); }
  .redesign .hero-photo::after { inset-block-end: -36px; width: 46%; height: 46%; background: var(--white); }
  .redesign .hero-photo > img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; border-radius: var(--radius-xl); }
  /* A small card over the photo's inner edge: real faces and the one real figure */
  .redesign .hero-photo .hero-proof {
    position: absolute; inset-inline-start: -40px; inset-block-end: 40px; background: var(--white);
    color: var(--navy); padding: 12px 16px; border-radius: var(--radius-md);
    font-size: .85rem; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-md);
  }
  .redesign .hero-proof-faces { display: flex; }
  .redesign .hero-proof-faces img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); margin-inline-start: -10px; background: var(--beige); }
  .redesign .hero-proof-faces img:first-child { margin-inline-start: 0; }
  .redesign .hero-proof-text { line-height: 1.5; color: var(--text-mid); }
  .redesign .hero-proof-text strong { display: block; color: var(--navy); font-weight: 700; font-size: 1rem; }
  .redesign .about { background: var(--beige); }
  .redesign .about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
  .redesign .about-text { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .redesign .about-card { padding: 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: none; }
  .redesign .about-card:hover { transform: none; }
  .redesign .about-card p { font-size: .9rem; line-height: 1.9; }
  .redesign .about-card-icon { background: var(--beige); color: var(--gold-dark); border-radius: var(--radius-md); }
  .redesign .about-scope { border: 0; border-radius: var(--radius-lg); background: var(--navy); color: var(--white); padding: 24px; }
  .redesign .scope-title, .redesign .scope-item strong { color: var(--white); }
  .redesign .scope-item p { color: var(--beige); opacity: .85; }
  .redesign .scope-icon { background: rgba(255,255,255,.08); color: var(--gold-light); }
  .redesign .about-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
  .redesign .about-stats .stat-card { background: transparent; border: 0; border-inline-start: 1px solid var(--border); border-radius: 0; box-shadow: none; padding: 16px; }
  .redesign .about-stats .stat-card:first-child { border: 0; }
  .redesign .stat-icon-wrap { display: none; }
  .redesign .stat-number { color: var(--navy); font-size: 2rem; }
  .redesign .stat-label { color: var(--text-mid); }
  .redesign .about-stats.about-stats--single { display: flex; justify-content: center; }
  .redesign .about-stats.about-stats--single .stat-card { display: flex; align-items: center; gap: 12px; background: var(--sage); border: 0; border-radius: var(--radius-lg); padding: 16px 32px; }
  .redesign .about-stats--single .stat-card::before { display: none; }
  .redesign .about-stats--single .stat-plus { align-self: flex-start; }
  .redesign .about-stats--single .stat-label { margin-top: 0; font-size: .95rem; }
  .redesign .services { background: var(--white); }
  .redesign .services-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
  .redesign .service-card {
    display: flex; flex-direction: column; align-items: flex-start; min-width: 0;
    padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: none; background: var(--white); position: relative; text-align: start;
  }
  .redesign .service-card::before { display: none; }
  .redesign .service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
  .redesign .service-icon-wrap { margin: 0 0 16px; }
  .redesign .service-icon { width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--sage); color: var(--navy); transition: var(--transition); }
  .redesign .service-card:hover .service-icon { transform: none; background: var(--navy); color: var(--gold-light); }
  .redesign .service-card h3 { font-size: 1.05rem; line-height: 1.6; }
  .redesign .service-card p { color: var(--text-mid); line-height: 1.9; margin-bottom: 12px; }
  .redesign .service-card .service-link { font-size: .85rem; margin-top: auto; gap: 12px; }
  .redesign .service-card .featured-badge { top: 24px; left: 16px; bottom: auto; background: var(--beige); color: var(--navy); border-radius: var(--radius-sm); box-shadow: none; }
  .redesign .services-cta-card { background: var(--beige); border-style: dashed; }
  .redesign .service-card.featured h3, .redesign .service-card.featured .service-link { color: var(--navy); }
  .redesign .service-card.services-cta-card { grid-column: 1 / -1; }
  .redesign .team { background: var(--beige); }
  .redesign .team-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
  .redesign .team-card { max-width: none; border: 1px solid var(--border); box-shadow: none; background: var(--white); }
  .redesign .team-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
  .redesign .team-photo-wrap { height: 240px; background: var(--border); }
  .redesign .team-overlay { background: rgba(18,41,68,.72); }
  .redesign .team-info { padding: 16px; }
  /* Equal-height team cards: rows share the tallest card, tags sit at the bottom */
  .redesign .team-grid { grid-auto-rows: 1fr; }
  .redesign .team-card { display: flex; flex-direction: column; }
  .redesign .team-info { flex: 1; display: flex; flex-direction: column; }
  .redesign .team-tags { margin-top: auto; }
  .redesign .team-info h3 { font-size: 1.05rem; line-height: 1.6; }
  .redesign .team-qual, .redesign .team-bio { font-size: .85rem; line-height: 1.8; }
  .redesign .team-specialty { color: var(--navy); font-size: .8rem; line-height: 1.7; }
  .redesign .team-tags span { color: var(--navy); background: var(--beige); border: 0; border-radius: var(--radius-sm); }
  .redesign .assessment { background: var(--white); }
  .redesign .assessment-wrapper, .redesign .booking-wrapper {
    max-width: 860px; background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); backdrop-filter: none;
  }
  .redesign .assessment-wrapper { background: var(--beige); }
  .redesign .as-input { border-color: var(--border); border-radius: var(--radius-sm); min-height: 48px; font-size: 1rem; }
  .redesign .as-check-card { border-color: var(--border); background: var(--white); border-radius: var(--radius-md); }
  .redesign .as-step-circle { box-shadow: none; color: var(--text-mid); }  /* --text-muted on white is 4.26:1 */
  .redesign .as-step-indicator.active .as-step-circle, .redesign .as-step-indicator.done .as-step-circle { color: var(--navy-dark); }
  .redesign .as-step-label { color: var(--text-mid); }  /* --text-muted on beige is 3.95:1 */
  .redesign .as-step-indicator.active .as-step-label, .redesign .as-step-indicator.done .as-step-label { color: var(--navy); }  /* --gold-dark on beige is 3.21:1 */
  .redesign .as-question { background: var(--white); border-color: var(--border); border-radius: var(--radius-md); }
  .redesign .booking { background: var(--beige); }
  .redesign .booking .section-header .section-title { color: var(--navy); }
  .redesign .booking .section-desc { color: var(--text-mid); }
  .redesign .booking-steps { margin-bottom: 36px; align-items: flex-start; }
  .redesign .step-circle { width: 40px; height: 40px; background: var(--beige); border: 1px solid var(--border); box-shadow: none; }
  .redesign .step-num { color: var(--text-mid); }
  .redesign .step-line { margin-top: 20px; background: var(--border); height: 1px; }
  .redesign .step-line.completed { background: var(--gold); }
  .redesign .step.active .step-circle, .redesign .step.completed .step-circle { background: var(--gold); border-color: var(--gold); box-shadow: none; }
  .redesign .step-label { color: var(--text-mid); font-size: .8rem; }
  .redesign .step.active .step-label { color: var(--navy); }
  .redesign .step.completed .step-check { display: none; }
  .redesign .step.completed .step-circle::after { content: '✓'; color: var(--navy-dark); font-weight: 700; }
  .redesign .step-title, .redesign .step-subtitle { color: var(--navy); line-height: 1.7; }
  .redesign .service-options { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
  .redesign .option-card {
    color: var(--navy); background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-md); min-height: 96px; padding: 16px 12px; font-weight: 700;
  }
  .redesign .option-card i { color: var(--gold-dark); }
  .redesign .service-option input:checked + .option-card, .redesign .option-card:hover { color: var(--navy); background: var(--beige); border-color: var(--gold-dark); transform: none; }
  .redesign .specialist-card { background: var(--beige); border-color: var(--border); }
  .redesign .sp-info strong { color: var(--navy); }
  .redesign .sp-info span, .redesign .sp-avatar, .redesign .sp-check { color: var(--text-mid); }
  .redesign .form-label { color: var(--navy); }
  .redesign .form-input {
    background-color: var(--white); color: var(--text-dark); border: 1px solid var(--border);
    min-height: 48px; border-radius: var(--radius-sm); font-size: 1rem;
  }
  .redesign .form-input::placeholder { color: var(--text-muted); }
  .redesign .form-input:focus { background-color: var(--white); border-color: var(--gold-dark); }
  .redesign select.form-input option { background: var(--white); color: var(--text-dark); }
  /* The booking form's selects had no arrow at all. The assessment form's
     arrow, at (0,2,0) so the phone-code rule below keeps its own position. */
  .redesign :where(select).form-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7c93' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: left 16px center;
  }
  .redesign .field-error { color: #a52a2a; }
  .redesign .booking-summary { background: var(--sage); border: 0; border-radius: var(--radius-md); }
  .redesign .booking-summary :is(h3, h4) { color: var(--navy); }
  .redesign .summary-item { border-color: rgba(27,58,92,.12); }
  .redesign .summary-item span { color: var(--text-mid); }
  .redesign .summary-item strong, .redesign .success-state :is(h2, h3) { color: var(--navy); }
  .redesign .success-state p { color: var(--text-mid); }
  .redesign .success-icon { color: var(--gold-dark); }
  .redesign .form-nav .cf-turnstile { flex-basis: 100%; max-width: 100%; }
  .redesign #submitBtn { background: var(--gold); color: var(--navy-dark); }
  .redesign .testimonials { background: var(--white); }
  .redesign .testimonial-card { border-radius: var(--radius-lg); box-shadow: none; background: var(--beige); border: 1px solid var(--border); }
  .redesign .testimonial-card blockquote { line-height: 1.9; }
  .redesign .author-avatar { background: var(--navy); color: var(--gold-light); }
  .redesign .faq { background: var(--beige); }
  .redesign .faq-item { background: var(--white); border-color: var(--border); border-radius: var(--radius-md); box-shadow: none; }
  .redesign .faq-question { min-height: 56px; color: var(--navy); font-size: 1rem; }
  .redesign .contact { background: var(--white); }
  .redesign .contact-card { border-color: var(--border); box-shadow: none; border-radius: var(--radius-lg); }
  .redesign .contact-card:hover { transform: translateY(-2px); }
  .redesign .contact-icon { background: var(--beige); color: var(--gold-dark); }
  .redesign .service-area-block { box-shadow: none; border-color: var(--border); }
  .redesign .section-final-cta { background: var(--navy); padding: 64px 24px; }
  .redesign .section-final-cta::before, .redesign .section-final-cta::after { display: none; }
  .redesign .final-cta-title { font-size: clamp(1.75rem,4vw,2.5rem); line-height: 1.6; }
  .redesign .final-cta-badge { background: transparent; border: 0; color: var(--gold-light); padding: 0; }
  .redesign .section-final-cta .btn-outline { color: var(--white); border-color: rgba(255,255,255,.6); }
  .redesign .section-final-cta .btn-outline:hover { background: var(--white); color: var(--navy); }
  .redesign .feedback { background: var(--beige); }
  .redesign .feedback-card { border: 1px solid var(--border); background: var(--white); box-shadow: none; border-radius: var(--radius-lg); }
  .redesign .feedback-card :is(input, textarea, select) { background-color: var(--white); color: var(--text-dark); border-color: var(--border); }
  .redesign .feedback-card textarea { resize: vertical; }
  .redesign .file-upload-zone { padding: 16px; border: 1px dashed var(--gold-dark); border-radius: var(--radius-md); background: var(--beige); }
  .redesign .file-upload-zone { position: relative; min-height: 88px; display: flex; flex-direction: column; justify-content: center; }
  .redesign .file-upload-zone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
  .redesign .file-upload-zone:focus-within { outline: 2px solid var(--navy); outline-offset: 2px; }
  .redesign .btn-fb-submit { border-radius: var(--radius-md); background: var(--navy); color: var(--white); box-shadow: none; }
  .redesign .footer { background: var(--navy-dark); }
  .redesign .footer .logo-img-wrap { background: var(--white); border-radius: var(--radius-sm); }
  .redesign .footer .footer-logo .logo-img-wrap { width: 64px; height: 64px; border: 0; box-shadow: none; }
  .redesign .footer-logo:hover .logo-img-wrap { transform: none; box-shadow: none; }
  .redesign .footer .logo-name { color: var(--white); }
  .redesign .footer .logo-tagline { color: var(--gold-light); }
  .redesign .footer-bottom { border-color: rgba(255,255,255,.12); }
  .redesign .footer-logo img { object-fit: contain; object-position: center; background: var(--white); border-radius: var(--radius-sm); }
  .redesign .swipe-hint { display: none; }
  .redesign .visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  /* Short headings wrap evenly instead of leaving one word on its own line */
  .redesign .section-title, .redesign .hero-title, .redesign .final-cta-title, .redesign h3 { text-wrap: balance; }
  .redesign .survey-badge i, .redesign .join-badge i, .redesign .hero-eyebrow i { color: var(--gold-dark); }
  .redesign .team-qual, .redesign .contact-item h3, .redesign .as-label-sub { color: var(--text-mid); }
  .redesign .upload-content span { color: var(--text-mid); }
  .redesign .feedback .section-header .btn { white-space: normal; max-width: 100%; text-align: center; justify-content: center; }
  .redesign .footer-bottom p { color: rgba(255,255,255,.55); }
  .redesign .social-link { color: var(--navy); }
  .redesign .social-link.instagram i { color: #E1306C; }
  .redesign .social-link.facebook i { color: #1877F2; }
  .redesign .social-link.whatsapp i { color: #128C7E; }
  .redesign .social-link:hover i { color: inherit; }
  .redesign .contact-grid--single { grid-template-columns: minmax(0, 560px); justify-content: center; }
  .redesign .contact-grid--single .social-section { text-align: center; }
  .redesign .social-section h4 { color: var(--text-mid); }  /* --text-muted on white is 4.26:1 */
  .redesign .contact-grid--single .social-links { justify-content: center; }
  .redesign .service-areas { margin-top: 12px; font-size: .85rem; }
  .redesign .service-areas summary { color: var(--navy); font-weight: 700; cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; }
  .redesign .service-areas .cairo-areas { margin: 0; padding-inline-start: 16px; color: var(--text-mid); line-height: 1.9; list-style: disc; }
  .redesign .service-areas .cairo-areas li { color: var(--text-mid); }  /* style.css sets --text-muted on the li itself */
  /* Home-page teasers for sections that moved to their own pages */
  .redesign .about-teaser { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
  .redesign .about-teaser .about-stats { grid-column: auto; }
  .redesign .team-strip { list-style: none; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; margin: 0 0 24px; }
  .redesign .team-strip li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .8rem; font-weight: 700; color: var(--navy); line-height: 1.5; }
  .redesign .team-strip img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); background: var(--beige); pointer-events: none; user-select: none; -webkit-user-drag: none; }
  .redesign .team-strip-more { display: flex; width: fit-content; margin-inline: auto; }
  /* The team page is about the team: a plain grid, never the phone carousel */
  .redesign.team-page .team-grid { grid-auto-flow: row; overflow: visible; margin-inline: 0; padding: 0; scroll-snap-type: none; }
  .chatbot-quick-chip { min-height: 44px; padding: 8px 16px; }
  .redesign .whatsapp-float { background: var(--navy); color: var(--white); animation: none; box-shadow: var(--shadow-md); width: 48px; height: 48px; }
  /* style.css's white ring vanishes on the cream page; navy ring with a white gap shows on light and on the navy footer */
  .redesign .whatsapp-float:focus-visible { outline-color: var(--navy); box-shadow: 0 0 0 3px var(--white), var(--shadow-md); }
  .redesign .chatbot-toggle { background: var(--navy); box-shadow: var(--shadow-md); }
  .redesign .chatbot-panel { border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
  .redesign .chatbot-header { background: var(--navy); }
  .redesign .chatbot-messages { background: var(--beige); }
  .redesign .chatbot-msg-bot { background: var(--white); border: 1px solid var(--border); color: var(--navy); }
  .redesign .chatbot-input { min-width: 0; font-size: 1rem; }
  .redesign .chatbot-close { min-width: 44px; min-height: 44px; }
  .redesign .nav-overlay { background: var(--navy-dark); padding: 24px; justify-content: flex-start; align-items: stretch; gap: 16px; }
  .redesign .nav-overlay :focus-visible { outline-color: var(--gold-light); }
  .redesign .nav-close { inset-inline-start: auto; inset-inline-end: 16px; top: 16px; font-size: 2rem; color: var(--white); }
  .redesign .drawer-brand { display: flex; flex-direction: column; align-items: center; color: var(--gold-light); gap: 12px; padding: 24px 0 0; font-size: .8rem; }
  .redesign .drawer-brand img { border-radius: var(--radius-md); background: var(--white); }
  .redesign .nav-overlay-list { text-align: start; max-width: 480px; width: 100%; margin: 0 auto; padding: 0; }
  .redesign .nav-overlay-list a { padding: 12px 16px; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .redesign .nav-overlay > .btn { background: var(--gold); color: var(--navy-dark); flex-shrink: 0; max-width: 480px; width: 100%; margin: 0 auto 24px; }
  /* Forms on separate pages use the same calm surfaces as booking. */
  .redesign .survey-hero, .redesign .join-hero-wrap {
    background: var(--beige); padding: 56px 24px 64px; color: var(--navy); overflow: hidden;
  }
  .redesign .survey-hero::before, .redesign .join-hero-wrap::before, .redesign .join-hero-wrap::after { display: none; }
  .redesign .survey-badge, .redesign .join-badge { background: none; border: 0; color: var(--navy); padding: 0; box-shadow: none; font-size: .85rem; }
  .redesign .survey-title, .redesign .join-hero-title { color: var(--navy); font-size: clamp(1.75rem,4vw,2.5rem); line-height: 1.6; text-shadow: none; }
  .redesign .survey-subtitle, .redesign .join-hero-desc { color: var(--text-mid); font-size: 1rem; line-height: 1.9; max-width: 640px; margin-inline: auto; }
  .redesign .survey-container { max-width: 860px; padding-inline: 24px; margin: 0 auto; }
  .redesign .survey-card, .redesign .join-form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 36px; }
  .redesign .survey-step-block, .redesign .form-block { border-bottom-color: var(--border); }
  .redesign .survey-step-num, .redesign .form-block-icon { background: var(--beige); color: var(--gold-dark); border: 1px solid var(--border); box-shadow: none; border-radius: var(--radius-md); }
  .redesign .survey-step-title, .redesign .form-block-title { color: var(--navy); font-weight: 700; }
  /* background-color, not background: the shorthand cleared the arrow each
     page draws with background-image on its selects. */
  .redesign .form-input-sv { background-color: var(--white); border: 1px solid var(--border); color: var(--text-dark); border-radius: var(--radius-sm); min-height: 48px; font-size: 1rem; }
  .redesign .form-input-sv:focus { border-color: var(--gold-dark); background-color: var(--white); box-shadow: 0 0 0 3px rgba(201,162,75,.15); }
  .redesign .form-label-sv { color: var(--navy); font-weight: 700; }
  /* The forms' width: 100% beat style.css's 112px, so on desktop the country
     code filled the row and squeezed the number field to ~40px. Their arrow
     padding (42-45px) also left too little room, so "🇪🇬 +20" showed as "+". */
  .redesign .phone-code-select { width: 112px; padding-left: 30px; padding-right: 8px; background-position: left 8px center; }
  .redesign .choice-card-content { background: var(--white); border-color: var(--border); border-radius: var(--radius-md); color: var(--navy); min-height: 48px; }
  .redesign .choice-card input:checked + .choice-card-content { background: var(--beige); border-color: var(--gold-dark); color: var(--navy); box-shadow: none; }
  .redesign .choice-card input:focus-visible + .choice-card-content { outline: 3px solid var(--navy); outline-offset: 3px; }
  .redesign .choice-card-content > i { margin-inline-end: 8px; }
  .redesign .btn-survey-submit, .redesign .btn-wa-share { background: var(--gold); color: var(--navy-dark); border-radius: var(--radius-md); min-height: 48px; box-shadow: none; }
  .redesign .btn-survey-submit:hover, .redesign .btn-wa-share:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: none; }
  .redesign .pricing-note, .redesign .join-info-pill, .redesign .star-rating-box { background: var(--beige); color: var(--navy); border: 1px solid var(--border); border-radius: var(--radius-md); }
  .redesign .success-icon-wrap { background: var(--beige); color: var(--gold-dark); box-shadow: none; }
  .redesign .hero-perk-pill { background: var(--white); color: var(--navy); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: none; }
  .redesign .join-main-section { padding: 0 24px 56px; margin-top: 0; }
  .redesign .join-split-grid { gap: 24px; align-items: start; }
  .redesign .benefit-card { background: var(--white); border: 1px solid var(--border); box-shadow: none; border-radius: var(--radius-lg); }
  .redesign .benefit-icon { background: var(--beige); color: var(--gold-dark); }
  .redesign .sidebar-help-box { background: var(--navy); border-radius: var(--radius-lg); }
  .redesign .btn-side-wa { background: var(--gold); color: var(--navy-dark); border-radius: var(--radius-md); box-shadow: none; }
  .redesign .nps-pill-content { border-color: var(--border); border-radius: var(--radius-sm); min-height: 44px; }
  /* Parent portal: the token, data filtering and inline show/hide stay untouched. */
  .redesign.plan-page { padding-bottom: 96px; }
  .redesign .portal-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 36px 0 24px; }
  .redesign .portal-intro h1 { color: var(--navy); font-size: clamp(1.5rem,4vw,2rem); margin: 8px 0; }
  .redesign .portal-intro p { color: var(--text-mid); font-size: .9rem; }
  .redesign .portal-intro a { font-size: .85rem; flex-shrink: 0; text-decoration: underline; text-underline-offset: 4px; padding-block: 12px; }
  .redesign .plan-container { max-width: 960px; padding: 0 24px; }
  .redesign .plan-card, .redesign .plan-state { background: var(--white); border: 1px solid var(--border); box-shadow: none; border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px; }
  .redesign .plan-id-name { font-size: 1.25rem; }
  .redesign .plan-id-sub { font-size: .9rem; }
  .redesign .plan-team-chip { background: var(--white); border-color: var(--border); border-radius: var(--radius-md); }
  .redesign .plan-team-chip.active { background: var(--navy); border-color: var(--navy); }
  .redesign .plan-next-card { background: var(--white); border-inline-start: 4px solid var(--gold); }
  .redesign .plan-tabs { background: var(--white); border: 1px solid var(--border); padding: 8px; border-radius: var(--radius-md); gap: 8px; margin-block: 24px; }
  .redesign .plan-tab-btn { border-radius: var(--radius-sm); min-height: 44px; font-size: .9rem; padding: 12px 16px; }
  .redesign .plan-tab-btn.active { color: var(--white); background: var(--navy); }
  .redesign .plan-stat { border-color: var(--border); background: var(--white); border-radius: var(--radius-md); }
  .redesign .plan-session { border-color: var(--border); border-radius: var(--radius-md); background: var(--white); }
  .redesign .btn-wa-plan { background: var(--navy); color: var(--white); min-height: 48px; border-radius: var(--radius-md); }
  .redesign .doc-card { border-color: var(--border); }
  /* Staff workspace. Screen-only rules preserve existing report/PDF output. */
  .redesign.admin-page { --bg: var(--beige); --card: var(--white); --text: var(--text-dark); --muted: var(--text-mid); --radius: 16px; }
  .admin-page #gate { background: var(--beige); padding: 24px; }
  .admin-page #gate::before { display: none; }
  .admin-page .gate-card { max-width: 440px; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); background: var(--white); backdrop-filter: none; }
  .admin-page .gate-header { background: var(--white); border-bottom: 1px solid var(--border); padding: 24px; }
  .admin-page .gate-logo { display: block; width: 96px; height: 96px; margin: 0 auto 16px; }
  .admin-page .gate-tagline { color: var(--navy); font-size: 1.25rem; font-weight: 700; }
  .admin-page .gate-welcome { color: var(--text-mid); font-size: .9rem; margin-top: 8px; }
  .admin-page .gate-body { padding: 24px; }
  .admin-page .gate-label { color: var(--navy); font-weight: 700; }
  .admin-page .gate-input { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); min-height: 48px; font-size: 1rem; }
  .admin-page .gate-btn { background: var(--navy); border-radius: var(--radius-md); min-height: 48px; box-shadow: none; }
  .admin-page .gate-back { display: block; text-align: center; margin-top: 16px; color: var(--navy); font-size: .85rem; min-height: 44px; padding: 8px; text-decoration: underline; }
  .admin-page .admin-header { background: var(--white); color: var(--navy); border-bottom: 1px solid var(--border); box-shadow: none; padding: 12px 24px; min-height: 80px; }
  .admin-page .h-logo { width: 56px; height: 56px; object-fit: contain; background: var(--white); border-radius: 0; }
  .admin-page .h-title { color: var(--navy); }
  .admin-page .logout-btn { color: var(--navy); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); min-height: 44px; }
  .admin-page .admin-main { max-width: 1440px; padding: 24px; }
  .admin-page .stats-grid { gap: 16px; }
  .admin-page .stat-card { border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: none; padding: 16px; }
  .admin-page .stat-icon { background: var(--beige) !important; color: var(--navy); border-radius: var(--radius-sm); }
  .admin-page .stat-value { color: var(--navy); }
  .admin-page .dash-nav { background: var(--navy-dark); border: 0; border-radius: var(--radius-lg); box-shadow: none; padding: 16px; }
  .admin-page .nav-group-title { color: var(--gold-light); opacity: 1; padding: 12px; }
  .admin-page .tab-btn { color: var(--beige); background: transparent; border-radius: var(--radius-sm); min-height: 44px; }
  .admin-page .tab-btn:hover { background: rgba(255,255,255,.08); color: var(--white); }
  .admin-page .tab-btn.active { background: var(--white); color: var(--navy); box-shadow: none; }
  .admin-page .panel { border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: none; min-width: 0; background: var(--white); }
  .admin-page .toolbar { background: var(--white); border-bottom: 1px solid var(--border); padding: 16px; gap: 12px; }
  .admin-page .search-input { border: 1px solid var(--border); border-radius: var(--radius-sm); min-height: 44px; background: var(--beige); font-size: 1rem; }
  .admin-page .tool-btn { min-height: 44px; border-radius: var(--radius-sm); }
  .admin-page .table-wrap { border-color: var(--border); }
  .admin-page thead { background: var(--beige); }
  .admin-page th { background: var(--beige); color: var(--navy); }
  .admin-page :is(th, td) { border-color: var(--border); }
  .admin-page :is(.ss-form, .cl-file-head) { background: var(--beige); border-color: var(--border); border-radius: var(--radius-md); }
  .admin-page :is(.ss-form input, .ss-form select, .ss-form textarea) { border-color: var(--border); border-radius: var(--radius-sm); min-height: 44px; }
  .admin-page .mnav { background: var(--white); border-top: 1px solid var(--border); }
  .admin-page .mnav-btn { color: var(--navy); min-height: 48px; }
  .admin-page .mnav-btn.active { background: var(--beige); color: var(--navy); }
  .admin-page #navToggle { min-height: 48px; background: var(--white); color: var(--navy); border: 1px solid var(--border); border-radius: var(--radius-md); }
  .redesign.offline-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
  .offline-page .box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); max-width: 440px; padding: 36px 24px; }
  .offline-page .logo { width: 96px; height: 96px; object-fit: contain; border-radius: 0; background: var(--white); margin: 0 auto 24px; }
  .offline-page h1 { line-height: 1.7; }
  .offline-page p { color: var(--text-mid); }
  .offline-page button { background: var(--navy); border-radius: var(--radius-md); min-height: 48px; font-family: inherit; }
  .offline-page .call { color: var(--navy); min-height: 44px; padding-top: 12px; }
}
@media screen and (max-width: 1100px) {
  .redesign .header .nav { display: none; }
  .redesign .header .nav-toggle { display: flex; }
  .redesign .hero-inner { gap: 24px; }
  .redesign .hero-cta { flex-direction: column; align-items: stretch; }
  .redesign .team-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media screen and (min-width: 769px) {
  /* Slider dots were 20px targets; WCAG 2.2 asks for 24px */
  .redesign .slider-dot { width: 24px; height: 24px; padding: 8px; }
  .redesign .slider-dot.active { width: 36px; padding: 8px; }
  /* The "not sure" card closes the grid as a full-width banner instead of an orphan tile. */
  .redesign .service-card.services-cta-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; column-gap: 24px; align-items: center; text-align: start; }
  .redesign .service-card.services-cta-card .service-icon-wrap { grid-row: 1 / span 2; margin: 0; }
  .redesign .service-card.services-cta-card h3, .redesign .service-card.services-cta-card p { grid-column: 2; margin: 0; }
  .redesign .service-card.services-cta-card .btn { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
}
@media screen and (max-width: 768px) {
  .redesign { --header-h: 64px; }
  .redesign .container { padding-inline: 16px; }
  .redesign .header-inner { display: flex; gap: 12px; }
  .redesign .header .logo-img-wrap { width: 52px; height: 52px; }
  .redesign .header .logo-name { font-size: 1.05rem; }
  .redesign .header .logo-tagline { font-size: .62rem; }
  .redesign .header-actions { gap: 8px; }
  .redesign .header-actions .btn { font-size: .75rem; padding: 8px 12px; }
  .redesign.home-page .header-actions .btn-primary { display: none; }
  .redesign .section { padding: 56px 0; }
  .redesign .section-header { margin-bottom: 24px; }
  .redesign .section-title { font-size: clamp(1.5rem,5vw,2rem); line-height: 1.6; }
  .redesign .section-desc { font-size: .95rem; line-height: 1.9; }
  .redesign .hero-inner { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .redesign .hero-photo { grid-row: 1; }
  .redesign .hero-photo > img { width: 100%; height: 280px; min-height: 0; object-position: 50% 45%; border-radius: 0 0 var(--radius-xl) 0; }
  .redesign .hero-photo::before, .redesign .hero-photo::after { display: none; }
  .redesign .hero-photo .hero-proof { inset-inline-start: 16px; inset-block-end: 16px; padding: 8px 12px; }
  .redesign .hero-content { padding: 24px 24px 36px; text-align: center; }
  .redesign .hero-eyebrow { font-size: .8rem; margin-bottom: 8px; }
  .redesign .hero-title { font-size: clamp(2rem,7vw,3rem); line-height: 1.5; margin-bottom: 8px; }
  .redesign .hero-subtitle { display: none; }
  .redesign .hero-desc { font-size: .9rem; line-height: 1.9; margin: 0 auto 24px; max-width: 34ch; }
  .redesign .hero-cta { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .redesign .hero-cta .btn { width: 100%; min-height: 48px; padding: 12px 16px; font-size: .95rem; }
  .redesign .hero-delivery { max-width: 36ch; font-size: .75rem; margin: 16px auto 0; }
  .redesign .about-grid, .redesign .about-text { grid-template-columns: 1fr; gap: 16px; }
  .redesign .about-card { padding: 24px; }
  .redesign .about-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .redesign .about-stats .stat-card { border: 0; padding: 16px 8px; }
  .redesign .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .redesign .service-card { display: grid; grid-template-columns: 56px minmax(0,1fr) 44px; gap: 8px 12px; padding: 24px 16px; }
  .redesign .service-card .service-icon-wrap { grid-column: 1; grid-row: 1 / span 2; margin: 0; width: 56px; }
  .redesign .service-card .service-icon { width: 56px; height: 56px; }
  .redesign .service-card h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: .95rem; }
  .redesign .service-card p { grid-column: 2; margin: 0; font-size: .85rem; }
  .redesign .service-card .service-link { grid-column: 3; grid-row: 1 / span 2; font-size: 0; margin: 0; align-self: center; width: 44px; }
  .redesign .service-card .service-link::before { border-color: var(--navy); }
  .redesign .service-card .featured-badge { position: static; grid-column: 2; grid-row: 3; width: fit-content; font-size: .65rem; }
  .redesign .service-card.featured { padding-bottom: 24px; }
  .redesign .service-card .service-areas { grid-column: 2 / -1; }
  .redesign .service-card.services-cta-card { display: block; text-align: start; padding: 24px; }
  .redesign .services-cta-card .service-icon-wrap { margin: 0 0 16px; }
  .redesign .services-cta-card p { margin-bottom: 16px; }
  .redesign .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .redesign .team-photo-wrap { height: 200px; }
  .redesign .team-info { padding: 16px 12px; }
  .redesign .team-info h3 { font-size: .95rem; }
  .redesign .team-specialty, .redesign .team-qual, .redesign .team-bio { font-size: .78rem; line-height: 1.8; }
  .redesign .team-card:has(.team-bio.is-open) { grid-column: 1 / -1; }
  .redesign .team-grid .team-card:has(.team-bio.is-open) .team-photo-wrap { height: 300px; }
  .redesign .team-overlay { opacity: 0; }
  .redesign .team-card:focus-within .team-overlay { opacity: 1; }
  .redesign .assessment-wrapper, .redesign .booking-wrapper { padding: 24px 16px; border-radius: var(--radius-lg); }
  .redesign .service-options { grid-template-columns: 1fr 1fr; }
  .redesign .option-card { min-height: 88px; font-size: .85rem; }
  .redesign .step-circle { width: 36px; height: 36px; }
  .redesign .step-label { font-size: .7rem; }
  .redesign .booking-steps { margin-bottom: 24px; }
  .redesign .step-line { margin-top: 18px; }
  .redesign .form-row { grid-template-columns: 1fr; }
  .redesign .phone-code-select { width: 104px; }  /* 64px of text room: "🇸🇦 +966" needs 59 */
  .redesign .phone-input-wrapper-sv .phone-code-select { flex-basis: 104px; }
  .redesign .form-nav { gap: 12px; }
  .redesign .form-nav .btn { flex: 1; padding: 12px; }
  .redesign .testimonial-card { padding: 24px; }
  .redesign .footer-links ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
  .redesign .faq-question { font-size: .9rem; line-height: 1.8; }
  .redesign.home-page .mobile-bar { background: var(--white); border-top: 1px solid var(--border); box-shadow: var(--shadow-sm); gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .redesign .mobile-bar-btn { border-radius: var(--radius-sm); color: var(--navy); min-height: 48px; }
  .redesign .mobile-bar-wa { color: var(--navy); background: var(--white); }
  .redesign .mobile-bar-book { color: var(--navy-dark); background: var(--gold); box-shadow: none; }
  .redesign .mobile-bar-bot { color: var(--navy); background: var(--white); }
  .redesign .mobile-bar-btn span { font-size: .75rem; }
  .redesign .chatbot-panel { bottom: calc(80px + env(safe-area-inset-bottom,0px)); max-height: calc(100dvh - 160px); right: 12px; left: 12px; width: auto; }
  .redesign .survey-hero, .redesign .join-hero-wrap { padding: 36px 16px; }
  .redesign .survey-title, .redesign .join-hero-title { font-size: clamp(1.75rem, 4vw, 2.5rem); }
  .redesign .survey-subtitle, .redesign .join-hero-desc { font-size: .95rem; }
  .redesign .survey-container { padding-inline: 16px; }
  .redesign .survey-card, .redesign .join-form-card { padding: 24px 16px; }
  .redesign .survey-step-title, .redesign .form-block-title { font-size: 1rem; line-height: 1.7; }
  .redesign .form-row-sv { grid-template-columns: 1fr; gap: 0; }
  .redesign .choice-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .redesign .choice-grid--stack { grid-template-columns: 1fr; }
  .redesign .choice-card-content { padding: 12px; font-size: .85rem; }
  /* .container already pads 16px; doubling it left the join form's phone
     field 78px wide at 360px. */
  .redesign .join-main-section { padding-inline: 0; }
  .redesign .join-form-card .form-block { padding: 20px 16px; }
  .redesign .join-split-grid { display: flex; flex-direction: column; }
  .redesign .join-form-card { width: 100%; order: 0; }
  .redesign .join-sidebar { width: 100%; order: 1; }
  .redesign .hero-perks-grid { gap: 8px; }
  .redesign .hero-perk-pill { padding: 8px 12px; font-size: .8rem; }
  .redesign .nps-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
  .redesign .nps-pill { min-width: 0; }
  .redesign .nps-pill-content { width: 100%; min-width: 0; height: 44px; }
  .redesign .plan-container { padding-inline: 16px; }
  .redesign .portal-intro { margin: 24px 0; }
  .redesign .portal-intro a { font-size: .75rem; }
  .redesign .plan-card, .redesign .plan-state { padding: 16px; border-radius: var(--radius-md); }
  .redesign .plan-id-name { font-size: 1.1rem; }
  .redesign .plan-tabs { gap: 4px; padding: 4px; }
  .redesign .plan-tab-btn { flex: 1; font-size: .8rem; padding: 8px; }
  .admin-page .admin-header { padding: 8px 16px; min-height: 64px; gap: 12px; }
  .admin-page .h-logo { width: 48px; height: 48px; }
  .admin-page .h-title { font-size: .85rem; }
  .admin-page .logout-btn { font-size: .75rem; padding: 8px; }
  .admin-page .admin-main { padding: 16px 12px 96px; }
  .admin-page .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .admin-page .stat-card { padding: 12px; }
  .admin-page .stat-label { font-size: .75rem; }
  .admin-page .stat-value { font-size: 1.5rem; }
  .admin-page .dash-nav { border-radius: var(--radius-md); }
  .admin-page .toolbar { padding: 12px; }
  .admin-page .panel { border-radius: var(--radius-md); }
  /* Team and services scroll sideways on phones instead of stacking: the two
     sections were over 5,600px tall. A peek of the next card shows there is more. */
  .redesign .team-grid, .redesign #servicesGrid {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%;
    justify-content: start; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    margin-inline: -16px; padding: 4px 16px 12px; scrollbar-width: thin;
  }
  .redesign .team-grid > .team-card, .redesign #servicesGrid > .service-card { scroll-snap-align: start; }
  .redesign #servicesGrid .service-card { grid-template-columns: 48px minmax(0,1fr) 44px; align-content: start; }
  .redesign #servicesGrid .service-card .service-icon-wrap { grid-row: 1; width: 48px; }
  .redesign #servicesGrid .service-card .service-icon { width: 48px; height: 48px; }
  .redesign #servicesGrid .service-card h3 { align-self: center; }
  .redesign #servicesGrid .service-card .service-link { grid-row: 1; }
  .redesign #servicesGrid .service-card p { grid-column: 1 / -1; grid-row: 2; }
  .redesign #servicesGrid .service-card .featured-badge { grid-column: 1 / -1; grid-row: 3; }
  .redesign #servicesGrid .service-card.is-extra { display: grid; }
  .redesign #servicesGrid .service-card.services-cta-card { grid-column: auto; display: grid; }
  .redesign #servicesGrid .services-cta-card .service-icon-wrap, .redesign #servicesGrid .services-cta-card p { margin: 0; }
  .redesign #servicesGrid .services-cta-card .btn { grid-column: 1 / -1; grid-row: 3; margin-top: 8px; }
  .redesign #services .services-more-wrap { display: none; }
  .redesign .team-card:has(.team-bio.is-open) { grid-column: auto; }
  .redesign .team-grid:has(.team-bio.is-open) { align-items: start; }
  /* ...and of the quick-action bar on phones */
  html { scroll-padding-bottom: calc(var(--header-h) + 16px); }
  .redesign .team-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 8px; }
  .redesign .team-strip img { width: 64px; height: 64px; }
  .redesign .team-strip li { font-size: .72rem; }
  .redesign.team-page .team-grid { grid-template-columns: 1fr; gap: 16px; }
  .redesign.team-page .team-grid > .team-card { scroll-snap-align: none; }
  .redesign .team-grid .team-card:has(.team-bio.is-open) .team-photo-wrap { height: 200px; }
  .redesign .swipe-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 8px 0 0; font-size: .75rem; color: var(--text-mid); }
}
@media screen and (max-width: 480px) {
  /* Seven dots plus three 44px buttons do not fit one row below ~400px:
     the dots take their own row above the arrows and the pause control */
  .redesign .slider-controls { flex-wrap: wrap; justify-content: center; row-gap: 4px; }
  .redesign .slider-dots { order: -1; flex-basis: 100%; justify-content: center; }
}
@media screen and (max-width: 380px) {
  .redesign .hero-photo > img { height: 240px; }
  .redesign .hero-content { padding-inline: 16px; }
  .redesign .hero-title { font-size: 2rem; }
  .redesign .logo-tagline { display: none; }
  .redesign .header .logo-name { font-size: 1rem; }
  .redesign .team-grid { gap: 8px; }
  .redesign .team-photo-wrap { height: 180px; }
  .redesign .service-card { grid-template-columns: 44px minmax(0,1fr) 44px; column-gap: 8px; }
  .redesign .service-card .service-icon-wrap, .redesign .service-card .service-icon { width: 44px; height: 44px; }
  .redesign .choice-grid { grid-template-columns: 1fr; }
  .redesign .portal-intro { flex-direction: column; gap: 0; }
}
@media screen and (max-width: 1023px) {
  .redesign .slider-track { display: grid; }
  .redesign .testimonial-card { display: flex; flex-direction: column; grid-area: 1 / 1; visibility: hidden; animation: none; }
  .redesign .testimonial-card blockquote { flex: 1; }
  .redesign .testimonial-card.active { visibility: visible; animation: slideIn .4s ease forwards; }
}
@media (prefers-reduced-motion: reduce) {
  .redesign *, .redesign *::before, .redesign *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media screen and (max-width: 768px) {
  /* The booking confirm label is longer than half the row: give it a row of its own */
  .redesign #submitBtn { flex-basis: 100%; }
}
/* "How sessions are delivered", folded into the services section as one card */
@media screen {
  .redesign .delivery-strip { margin-top: 36px; padding: 34px 30px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
  .redesign .delivery-title { margin: 0; color: var(--navy); font-weight: 700; }
  .redesign .delivery-title span { color: var(--gold-dark); }  /* DESIGN.md: gold on white at this size fails; gold-dark is 3.47:1 */
  .redesign .delivery-desc { margin: 8px 0 24px; color: var(--text-mid); font-size: .88rem; line-height: 1.9; }
  .redesign .delivery-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
  .redesign .delivery-list > li { display: flex; align-items: flex-start; gap: 12px; }
  .redesign .delivery-icon { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--sage); color: var(--navy); }
  .redesign .delivery-list strong { display: block; color: var(--navy); }
  .redesign .delivery-list p { margin: 4px 0 0; color: var(--text-mid); font-size: .88rem; line-height: 1.9; }
}
@media screen and (max-width: 768px) {
  .redesign .delivery-strip { margin-top: 24px; padding: 24px 16px; }
  .redesign .delivery-desc { margin-bottom: 8px; font-size: .85rem; }
  .redesign .delivery-list { grid-template-columns: 1fr; gap: 0; }
  .redesign .delivery-list > li { padding-block: 16px; }
  .redesign .delivery-list > li + li { border-top: 1px solid var(--border); }
  .redesign .delivery-list p { font-size: .85rem; }
}
/* «خدمات إضافية»: القرآن والرسم مش جلسات علاج، فكانوا ضايعين وسط كروت
   التخاطب وصعوبات التعلم ومستخبيين ورا «عرض جميع الخدمات». ليهم مجموعة
   لوحدها تحت الخدمات، ظاهرة على طول. على الكمبيوتر الكارتين بنفس عرض
   كروت الجريد اللي فوقهم (تلت أعمدة بمسافة 24px). */
@media screen {
  .redesign .extra-services { margin-top: 56px; }
  .redesign .extra-services-head { text-align: center; margin-bottom: 24px; }
  .redesign .extra-services-title { margin: 0; color: var(--navy); font-weight: 700; }
  .redesign .extra-services-title span { color: var(--gold-dark); }
  .redesign .extra-services-desc { margin: 8px 0 0; color: var(--text-mid); font-size: .88rem; line-height: 1.9; }
  .redesign .extra-services .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: calc((200% - 24px) / 3); margin-inline: auto; }
}
/* على الموبايل الكارتين جنب بعض كمربعين صغيرين: الأيقونة والسهم فوق والاسم
   تحت. الوصف بيستخبى لأن الاسم بيقول الخدمة، وكانوا تحت بعض بياخدوا ~400px.
   الكارت كله لسه هو الزرار (الـ ::after الممدود في style.css). */
@media screen and (max-width: 768px) {
  .redesign .extra-services { margin-top: 36px; }
  .redesign .extra-services-desc { font-size: .85rem; }
  .redesign .extra-services .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: none; }
  .redesign .extra-services .service-card { grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; padding: 16px 12px; }
  .redesign .extra-services .service-card .service-icon-wrap { grid-column: 1; grid-row: 1; width: 44px; }
  .redesign .extra-services .service-card .service-icon { width: 44px; height: 44px; }
  .redesign .extra-services .service-card .service-link { grid-column: 2; grid-row: 1; }
  .redesign .extra-services .service-card h3 { grid-column: 1 / -1; grid-row: 2; font-size: .9rem; line-height: 1.45; }
  .redesign .extra-services .service-card p { display: none; }
}

/* لوحة التحكم على الموبايل: المسافة كانت محسوبة مرتين.
   فوق: admin-main (16px) + tab-pane (18px) = 34px فاضيين قبل أول سطر.
   تحت: الـ body محجوزله 72px للشريط اللي تحت (admin.css)، والـ admin-main كان
   بيزوّد 96px كمان، فآخر كارت كان بيقف 142px فوق الشريط والصفحة بتنزل لتحت. */
@media screen and (max-width: 768px) {
  .admin-page .tab-pane { padding-top: 0; }
}
/* لحد 640px الشريط اللي تحت موجود والـ body حاجزله 72px (58 للشريط + 14)،
   فده الوحيد اللي تحت آخر كارت. والرئيسية تتقفل في شاشة تليفون (412×779،
   ٣ سطور في «محتاج منك»): شريط «مفيش مواعيد» من غير حشو زيادة، وسطور
   «محتاج منك» 48px (لسه فوق الـ 44 بتاعة اللمس)، و12px بين الأجزاء. */
@media screen and (max-width: 640px) {
  .admin-page .admin-main { padding-bottom: 0; }
  .admin-page .tab-pane { padding-bottom: 0; }
  .admin-page .ap-banner.is-quiet { padding-block: 4px; }
  .admin-page .todo-row { min-height: 48px; }
  .admin-page .home-head, .admin-page .ap-banner, .admin-page .home-todo { margin-bottom: 12px; }
  .admin-page .stats-grid { margin-bottom: 0; }   /* آخر حاجة في الرئيسية */
}

/* سطر «مركز ضيّ للتخاطب» بقى جوه الـ H1 عشان العنوان الرئيسي يبقى فيه اللي
   الناس بتدوّر بيه (مراجعة السيو 2026-10-29). كان <p> قبل الـ H1؛ الـ span ده
   بيرجّع له شكل الـ p بالظبط بدل ما ياخد وزن وارتفاع سطر الـ H1. */
@media screen {
  /* The eyebrow inside the h1 is the same sage pill as the section labels */
  .redesign .hero-title .hero-eyebrow {
    display: block; width: fit-content; margin: 0 0 16px; padding: 4px 14px; border-radius: 999px;
    background: var(--sage); color: var(--navy); font-size: .8rem; font-weight: 500; line-height: 1.8;
  }
}

/* الكروت السريعة تحت أول شاشة في الرئيسية: الحجز والتقييم وعجلة الحظ */
@media screen {
  .redesign .quick-cards { background: var(--beige); padding: 0 0 36px; }
  .redesign .quick-cards-list { list-style: none; margin: 0 auto; padding: 0; max-width: 720px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .redesign .quick-card {
    display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; min-height: 44px; padding: 16px 12px;
    text-align: center; text-decoration: none; background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: var(--transition); touch-action: manipulation;
  }
  .redesign .quick-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .redesign .quick-card:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
  .redesign .quick-card i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sage); color: var(--navy); font-size: 1.25rem; transition: var(--transition); }
  .redesign .quick-card:hover i { background: var(--navy); color: var(--gold-light); }
  .redesign .quick-card strong { color: var(--navy); font-weight: 700; font-size: .95rem; line-height: 1.45; }
  .redesign .quick-card span { color: var(--text-mid); font-size: .8rem; line-height: 1.5; }
}
@media screen and (max-width: 480px) {
  .redesign .quick-cards { padding-bottom: 24px; }
  .redesign .quick-cards-list { gap: 8px; }
  .redesign .quick-card { padding: 14px 8px; }
  .redesign .quick-card strong { font-size: .85rem; }
}
/* دخول أول شاشة في الرئيسية: النص يطلع ورا بعضه. الصورة ثابتة لأنها الـ LCP.
   700ms (و400ms على الموبايل) بمنحنى --transition، زي ظهور التمرير تحت.
   في الصفحات الفرعية العنوان الأول بيدخل بنفس الحركة. */
@media screen and (prefers-reduced-motion: no-preference) {
  .subpage main > .section:first-child .section-header,
  .privacy-page main > .container > .section-header,
  .join-hero-inner,
  .survey-hero .container,
  .redesign .hero-title,
  .redesign .hero-subtitle,
  .redesign .hero-desc,
  .redesign .hero-cta,
  .redesign .hero-trust,
  .redesign .hero-delivery,
  .redesign .hero-photo figcaption { animation: stepIn 700ms cubic-bezier(.4,0,.2,1) both; }
  .redesign .hero-subtitle { animation-delay: 100ms; }
  .redesign .hero-desc { animation-delay: 200ms; }
  .redesign .hero-cta { animation-delay: 300ms; }
  .redesign .hero-trust { animation-delay: 350ms; }
  .redesign .hero-delivery { animation-delay: 400ms; }
  .redesign .hero-photo figcaption { animation-delay: 500ms; }
}
@media screen and (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  .subpage main > .section:first-child .section-header,
  .privacy-page main > .container > .section-header,
  .join-hero-inner,
  .survey-hero .container,
  .redesign .hero-title,
  .redesign .hero-subtitle,
  .redesign .hero-desc,
  .redesign .hero-cta,
  .redesign .hero-trust,
  .redesign .hero-delivery,
  .redesign .hero-photo figcaption { animation-duration: 400ms; }
}
/* ظهور وقت التمرير (js/motion.js): بيطلع 16px ويظهر، مرة واحدة.
   الكلاسات بتتشال بعد ما الحركة تخلص، فالكارت يرجع لـ transition بتاعه. */
@media screen {
  .redesign .reveal { opacity: 0; transform: translateY(16px); }
  .redesign .reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity 700ms cubic-bezier(.4,0,.2,1), transform 700ms cubic-bezier(.4,0,.2,1);
  }
}
@media screen and (max-width: 768px) {
  .redesign .reveal.is-in { transition-duration: 400ms; }
}
/* Alexandria is heavy on its own: every heading tops out at 700, numerals
   and the wordmark keep their weight */
@media screen {
  .redesign :is(h1, h2, h3, h4) { font-weight: 700; }
}
@media screen and (max-width: 768px) {
  .redesign .hero-trust { width: fit-content; max-width: 100%; margin-inline: auto; }
}
/* Booking: the step names stay on phones so the four dots say where you are,
   and success lands on a sage halo that pops in once */
@media screen and (max-width: 768px) {
  .redesign .booking-steps .step-label { display: block; font-size: .7rem; margin-top: 4px; }
}
@media screen {
  .redesign .success-state .success-icon {
    width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 50%;
    display: grid; place-items: center; background: var(--sage); color: var(--navy); font-size: 2.5rem;
    box-shadow: 0 0 0 12px rgba(220,231,231,.45);
  }
}
@media screen and (max-width: 768px) {
  .redesign .hero-title .hero-eyebrow { margin-inline: auto; }
}

/* ════════════════════════════════════════════════════════════════
   HOME PAGE (2026-11-08), rebuilt to the centre's wireframe: one
   job per section, the forms on their own pages (book.html,
   assessment.html). Every class here starts h- and lives only on
   index.html.
   ════════════════════════════════════════════════════════════════ */
@media screen {
  .h-hero { background: var(--beige); padding: 48px 0 0; }
  .h-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .h-hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  .redesign .h-hero-text .section-tag { margin-bottom: 0; }
  .h-hero-title { margin: 0; color: var(--navy); font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.3; font-weight: 700; }
  .h-hero-title span { color: var(--gold-dark); }
  .h-hero-desc { margin: 0; color: var(--text-mid); font-size: 1.05rem; line-height: 1.9; max-width: 40ch; }
  .redesign .h-hero-cta { margin-top: 8px; gap: 12px; }
  .h-hero-link { color: var(--navy); font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gold); min-height: 44px; display: inline-flex; align-items: center; }
  .h-trust { list-style: none; margin: 40px 0 0; padding: 16px 0; border-top: 1px solid var(--border); display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 32px; color: var(--navy); font-size: .9rem; font-weight: 600; }
  .h-trust li { display: inline-flex; align-items: center; gap: 10px; }
  .h-trust li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

  .h-svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .h-svc { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); text-decoration: none; color: inherit; transition: var(--transition); }
  .h-svc:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--gold); }
  .h-svc:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
  .h-svc-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--sage); color: var(--navy); }
  .h-svc-icon svg { width: 26px; height: 26px; }
  .h-svc :is(h2, h3) { margin: 0; color: var(--navy); font-size: 1.05rem; line-height: 1.5; }
  .h-svc p { margin: 0; color: var(--text-mid); font-size: .88rem; line-height: 1.8; }
  .h-svc-go { position: absolute; inset-block-start: 20px; inset-inline-end: 20px; color: var(--navy); font-size: 1.1rem; transition: var(--transition); }
  .h-svc:hover .h-svc-go { color: var(--gold-dark); }

  .h-more { margin-top: 24px; border-block: 1px solid var(--border); }
  .h-more > summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--navy); font-weight: 700; }
  .h-more > summary::-webkit-details-marker { display: none; }
  .h-more > summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; line-height: 1; transition: var(--transition); }
  .h-more[open] > summary::after { transform: rotate(45deg); }
  .h-more > summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
  .h-more[open] { padding-bottom: 24px; }
  .h-more .cairo-areas { margin: 0; padding-inline-start: 20px; list-style: disc; color: var(--text-mid); line-height: 2; }
  .h-more .cairo-areas li { color: var(--text-mid); font-size: .9rem; padding: 0; }
  .h-more .cairo-areas li::before { content: none; }

  .h-unsure { margin-top: 24px; display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; border-radius: var(--radius-lg); background: var(--sage); color: var(--navy); text-decoration: none; transition: var(--transition); }
  .h-unsure span { color: var(--text-mid); font-size: .9rem; }
  .h-unsure strong { font-size: 1.05rem; }
  .h-unsure:hover { background: var(--navy); color: var(--white); }
  .h-unsure:hover span { color: var(--sage); }

  .h-ways { background: var(--beige); }
  .h-num { color: var(--gold-dark); font-weight: 700; font-size: .95rem; padding-top: 4px; }

  .h-wheel { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--white); }
  .h-wheel-text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
  .redesign .h-wheel-text .section-tag, .redesign .h-wheel-text .section-title { margin: 0; }
  .h-wheel-text p { margin: 0; color: var(--text-mid); line-height: 1.9; }
  .h-wheel-art { width: 100%; max-width: 240px; justify-self: center; }

  .h-row-link { margin-top: 24px; min-height: 56px; display: flex; align-items: center; justify-content: space-between; border-block: 1px solid var(--border); color: var(--navy); font-weight: 700; text-decoration: none; }
  .h-row-link:hover { color: var(--gold-dark); }


  .h-final { background: var(--navy-dark); color: var(--white); padding: 88px 0; }
  .h-final-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
  .h-final-kicker { color: var(--gold-light); font-size: .9rem; }
  .h-final h2 { margin: 0; color: var(--white); font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.4; font-weight: 700; }
  .h-final-note { color: rgba(255,255,255,.75); font-size: .85rem; }

  .redesign .h-footer { background: var(--white); color: var(--text-dark); border-top: 1px solid var(--border); }
  .h-footer-inner { padding-block: 40px 24px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 48px; align-items: start; }
  .h-footer-brand { display: flex; align-items: center; gap: 16px; }
  .h-footer-brand p { margin: 0; padding-inline-start: 16px; border-inline-start: 1px solid var(--border); color: var(--navy); font-size: .9rem; line-height: 1.7; }
  .h-footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; color: var(--text-mid); }
  .h-footer-contact a { color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
  .h-footer-contact i { color: var(--gold-dark); width: 18px; }
  .h-footer-social { display: flex; gap: 8px; }
  .h-footer-social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: var(--navy); transition: var(--transition); }
  .h-footer-social a:hover { background: var(--navy); color: var(--white); }
  .h-footer-more { grid-column: 1 / -1; margin-top: 0; }
  .h-footer-more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; }
  .h-footer-more a { color: var(--text-mid); text-decoration: none; font-size: .9rem; }
  .h-footer-more a:hover { color: var(--navy); }
  .redesign .h-footer .footer-bottom { background: var(--beige); border-top: 0; }
  .redesign .h-footer .footer-bottom p { color: var(--text-mid); }
}
@media screen and (max-width: 1023px) {
  .h-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 768px) {
  .h-hero { padding-top: 32px; }
  .h-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .redesign .h-hero-cta { width: 100%; justify-content: space-between; }
  .h-trust { justify-content: space-between; gap: 8px 12px; font-size: .78rem; margin-top: 24px; }
  .h-trust li { gap: 6px; }
  .h-svc-grid { gap: 12px; }
  .h-svc { padding: 16px; gap: 10px; }
  .h-svc-icon { width: 40px; height: 40px; }
  .h-svc-icon svg { width: 22px; height: 22px; }
  .h-svc :is(h2, h3) { font-size: .95rem; }
  .h-svc p { font-size: .8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .h-svc-go { inset-block-start: 16px; inset-inline-end: 16px; }
  .h-wheel { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 24px; }
  .h-wheel-art { grid-row: 1; max-width: 160px; }
  .redesign .h-wheel-text .btn { width: 100%; justify-content: center; }
  .h-final { padding: 64px 0; }
  .redesign .h-final .btn { width: 100%; justify-content: space-between; }
  .h-footer-inner { grid-template-columns: minmax(0, 1fr); padding-bottom: 96px; }
  .h-footer-more ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .h-hero-text > :nth-child(2) { animation-delay: 100ms; }
  .h-hero-text > :nth-child(3) { animation-delay: 200ms; }
  .h-hero-text > :nth-child(4) { animation-delay: 300ms; }
  .h-hero-text > :nth-child(5) { animation-delay: 350ms; }
}
@media screen and (max-width: 768px) and (prefers-reduced-motion: no-preference) {
}

/* ════════════════════════════════════════════════════════════════
   WIREFRAME SITE, PHASE 1 (2026-11-08): home, services, service-*,
   locations. Picture slider from the wireframe bundle, in brand tokens.
   ════════════════════════════════════════════════════════════════ */
@media screen {
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .h-muted { color: var(--text-mid); font-size: .85rem; }
  .h-center { text-align: center; }

  /* Picture slider */
  .photo-slider { min-width: 0; }
  .photo-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: var(--radius-lg); background: var(--beige); border: 1px solid var(--border); direction: rtl; }
  .photo-track::-webkit-scrollbar { display: none; }
  .photo-track:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
  .photo-slide { position: relative; flex: 0 0 100%; width: 100%; min-width: 0; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
  .photo-slide img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--beige); }
  .photo-controls { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 10px; }
  .photo-arrow, .photo-play { width: 44px; min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); font-size: .9rem; line-height: 1; background: var(--white); border: 1px solid var(--border); cursor: pointer; transition: var(--transition); }
  .photo-arrow:hover, .photo-play:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
  .photo-play { margin-inline-start: 4px; }
  .photo-play:disabled { opacity: .4; cursor: default; }
  .photo-arrow:focus-visible, .photo-play:focus-visible, .photo-dot:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
  .photo-dots { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
  .photo-dot { width: 28px; height: 44px; display: grid; place-items: center; padding: 0; background: none; border: 0; cursor: pointer; }
  .photo-dot > span { display: block; width: 7px; height: 7px; border-radius: var(--radius-sm); background: rgba(27,58,92,.35); transition: var(--transition); }
  .photo-dot[aria-current="true"] > span { width: 20px; background: var(--gold-dark); }

  /* Breadcrumbs and page heads */
  .h-crumbs ol { list-style: none; margin: 0; padding: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; color: var(--text-mid); }
  .h-crumbs li + li::before { content: '/'; margin-inline-end: 6px; color: var(--border); }
  .h-crumbs a { color: var(--navy); }
  .redesign .h-page-head, .redesign .h-service { padding-top: 32px; }

  /* Home hero, now with the cartoon slider */
  .h-hero .photo-slider { align-self: center; }

  /* Rows: numbered links (ways to attend, next steps) */
  .h-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
  .h-rows a { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); color: inherit; text-decoration: none; min-height: 56px; }
  .h-rows a:hover .h-row-go { color: var(--gold-dark); transform: translateX(-4px); }
  .h-rows a:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
  .h-row-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
  .h-row-text strong { color: var(--navy); font-size: 1.1rem; }
  .h-row-text span { color: var(--text-mid); font-size: .9rem; line-height: 1.7; }
  .h-row-go { color: var(--navy); font-size: 1.2rem; transition: var(--transition); }
  .h-next { background: var(--white); }

  /* Home services row */
  .h-swipe-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
  .h-swipe-track::-webkit-scrollbar { display: none; }
  .h-swipe-track:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
  .h-swipe { flex: 0 0 300px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); color: inherit; text-decoration: none; transition: var(--transition); }
  .h-swipe:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--gold); }
  .h-swipe:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
  .h-swipe h3 { margin: 0; color: var(--navy); font-size: 1.05rem; }
  .h-swipe p { margin: 0; color: var(--text-mid); font-size: .88rem; line-height: 1.8; }
  .h-swipe--unsure { background: var(--sage); border-color: var(--sage); }
  .h-swipe--unsure .h-svc-icon { background: var(--white); font-weight: 700; }
  .h-swipe-controls { display: flex; align-items: center; justify-content: center; gap: 8px; }
  .h-row-link--center { justify-content: center; gap: 8px; }
  .h-sub { margin: 48px 0 4px; text-align: center; color: var(--navy); font-size: 1.5rem; }
  .h-svc-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 16px auto 0; }

  /* Home team faces */
  .redesign .h-center-head { margin-inline: auto; text-align: center; }
  .redesign .h-center-head .section-tag,
  .redesign .h-center-head .section-desc { margin-inline: auto; }
  .h-faces { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 16px; }
  .h-faces a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--navy); text-decoration: none; font-size: .8rem; font-weight: 600; line-height: 1.5; }
  .h-faces img { width: 100%; max-width: 88px; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: var(--sage); border: 2px solid var(--white); box-shadow: var(--shadow-sm); transition: var(--transition); }
  .h-faces a:hover img { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .redesign .h-team-btn { display: flex; width: fit-content; margin: 32px auto 0; }

  /* Services page */
  .h-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
  .h-chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--white); color: var(--navy); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
  .h-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
  .h-chip:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
  .h-count { margin: 0 0 16px; color: var(--text-mid); font-size: .85rem; }
  .h-svc[hidden] { display: none; }

  /* Service page */
  .h-service-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: start; }
  .h-service-head { grid-column: 1 / -1; }
  .h-service-inner > .photo-slider { grid-column: 2; grid-row: 2; position: sticky; top: calc(var(--header-h) + 16px); }
  .h-service-body { grid-column: 1; grid-row: 2; }
  .h-service-body h2, .h-related h2, .h-aside h2 { margin: 32px 0 8px; color: var(--navy); font-size: 1.3rem; }
  .h-service-body h2:first-child { margin-top: 0; }
  .h-service-body p { margin: 0 0 8px; color: var(--text-dark); line-height: 1.9; }
  .h-service-body .h-muted { color: var(--text-mid); }
  .h-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .h-steps li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--border); color: var(--navy); font-weight: 600; }
  .h-inline-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--gold); }
  .h-service-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
  .h-related, .h-aside { grid-column: 1 / -1; }
  .h-aside p { color: var(--text-mid); }

  /* Locations page */
  .h-loc-list { display: grid; gap: 16px; margin-top: 24px; }
  .h-loc { display: flex; gap: 16px; padding: 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); scroll-margin-top: calc(var(--header-h) + 16px); }
  .h-loc:target { border-color: var(--gold); box-shadow: var(--shadow-md); }
  .h-loc h2 { margin: 0 0 6px; color: var(--navy); font-size: 1.25rem; }
  .h-loc p { margin: 0; color: var(--text-mid); line-height: 1.9; }
  .h-loc > div { flex: 1; min-width: 0; }
}
@media screen and (max-width: 1023px) {
  .h-faces { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* 10 faces = 4 + 4 + 2: the last two sit in the middle columns */
  .h-faces li:nth-last-child(2):nth-child(4n+1) { grid-column: 2; }
}
@media screen and (max-width: 768px) {
  .h-swipe { flex-basis: 82%; }
  .h-service-inner { grid-template-columns: minmax(0, 1fr); }
  .h-service-inner > .photo-slider, .h-service-body { grid-column: 1; grid-row: auto; position: relative; top: auto; }
  .redesign .h-service-ctas .btn { width: 100%; justify-content: center; }
  .h-svc-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-faces { gap: 12px 8px; }
  .h-faces a { font-size: .72rem; }
  .h-loc { padding: 18px; }
  /* The bar's third button is the wheel now, so the chatbot keeps its own button above the bar */
}
@media screen and (prefers-reduced-motion: no-preference) {
  .h-hero-text > *, .h-hero .photo-slider { animation: stepIn 700ms cubic-bezier(.4,0,.2,1) both; }
  .h-hero-text > :nth-child(2) { animation-delay: 100ms; }
  .h-hero-text > :nth-child(3) { animation-delay: 200ms; }
  .h-hero-text > :nth-child(4) { animation-delay: 300ms; }
  .h-hero-text > :nth-child(5) { animation-delay: 350ms; }
  .h-hero .photo-slider { animation-delay: 400ms; }
}
@media screen and (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  .h-hero-text > *, .h-hero .photo-slider { animation-duration: 400ms; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-track, .h-swipe-track { scroll-behavior: auto !important; }
}
/* The services row: on phones the live site's swipe hint, on larger screens
   two arrow buttons (a mouse cannot swipe) */
@media screen and (max-width: 768px) {
  .redesign .h-swipe-controls { display: none; }
}
/* Eight dots plus three buttons must share one row on a phone */
@media screen and (max-width: 420px) {
  .photo-controls { gap: 4px; }
  .photo-dots { flex-wrap: nowrap; }
  .photo-dot { width: 24px; }
}
/* Home quick-action bar, four buttons (services, book, wheel, assistant);
   the assistant lives here, so its floating button stays hidden on phones */
@media screen and (max-width: 768px) {
  .redesign.home-page .mobile-bar { grid-template-columns: 1fr 1.25fr 1fr 1fr; gap: 6px; padding-inline: 8px; }
  .redesign .mobile-bar-btn { padding-inline: 2px; }
  .redesign .mobile-bar-btn span { font-size: .7rem; line-height: 1.25; text-align: center; }
}
/* Home quick-action bar as frosted glass, iOS style: a floating capsule
   that blurs the page behind it. All four buttons navy on the glass; the
   assistant fills navy while the chat is open. */
@media screen and (max-width: 768px) {
  .redesign.home-page .mobile-bar {
    inset-inline: 12px; bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding: 6px; gap: 4px; border-radius: 26px;
    background: rgba(255,255,255,.64);  /* over the navy-dark band this keeps navy labels at 5.4:1 */
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    backdrop-filter: blur(24px) saturate(190%);
    border: 1px solid rgba(255,255,255,.75);
    box-shadow: 0 10px 30px rgba(18,41,68,.18), inset 0 1px 0 rgba(255,255,255,.9);
  }
  .redesign.home-page .mobile-bar.is-hidden { transform: translateY(calc(100% + 32px)); }
  .redesign.home-page .mobile-bar-btn {
    min-height: 52px; gap: 4px; border-radius: 20px;
    background: transparent; color: var(--navy); font-weight: 600;
    transition: background-color .2s ease, transform .12s ease;
  }
  .redesign.home-page .mobile-bar-btn i { color: var(--navy); font-size: 1.15rem; }
  .redesign.home-page .mobile-bar-btn span { color: var(--navy); }
  .redesign.home-page .mobile-bar-btn:active { background: rgba(27,58,92,.08); transform: scale(.96); }
  /* Booking looks like the other three: transparent on the glass, navy */
  .redesign.home-page .mobile-bar-book { background: transparent; box-shadow: none; }
  .redesign.home-page .mobile-bar-bot.is-open { background: var(--navy); }
  .redesign.home-page .mobile-bar-bot.is-open i { color: var(--gold-light); }
  .redesign.home-page .mobile-bar-bot.is-open span { color: var(--white); }
  /* Room for the floating bar at the end of the page */
  body.home-page { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
/* Without backdrop blur the glass would be see-through text: make it near solid */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .redesign.home-page .mobile-bar { background: rgba(255,255,255,.96); }
}
/* Slider controls sit on the picture's bottom edge in a small glass capsule,
   so on a phone they stay inside the first screen instead of under it */
@media screen {
  .photo-slider { position: relative; }
  .photo-slider .photo-controls {
    position: absolute; bottom: 12px; inset-inline: 0; margin-inline: auto; width: fit-content; max-width: calc(100% - 24px);
    padding: 0 2px; gap: 2px; border-radius: 999px;
    background: rgba(255,255,255,.7);
    -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255,255,255,.8); box-shadow: 0 6px 20px rgba(18,41,68,.16);
  }
  /* 44px hit area, 36px drawn: the padding is part of the target and
     background-clip keeps the hover disc at its old size (DESIGN.md, Touch
     Targets). The capsule gave up its own padding, so it is the same height. */
  .photo-slider .photo-arrow, .photo-slider .photo-play { width: 44px; min-width: 44px; height: 44px; padding: 4px; background-clip: content-box; border-color: transparent; background-color: transparent; }
  .photo-slider .photo-arrow:hover, .photo-slider .photo-play:hover { background-color: var(--navy); color: var(--white); }
  .photo-slider .photo-dot { width: 18px; height: 44px; }
  .photo-slider .photo-dot > span { background: rgba(27,58,92,.35); }
  .photo-slider .photo-dot[aria-current="true"] > span { background: var(--gold-dark); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .photo-slider .photo-controls { background: rgba(255,255,255,.95); }
}
/* Home first screen on phones, tightened: less air above the label, between
   the text, the button and the assessment link, and before the slider; the
   slider controls go back under the picture, still in their glass capsule */
@media screen and (max-width: 768px) {
  .h-hero { padding-top: 16px; }
  .h-hero-inner { gap: 16px; }
  .h-hero-text { gap: 10px; }
  .redesign .h-hero-cta { margin-top: 4px; }
  .h-hero .photo-slider .photo-controls { position: static; margin: 10px auto 0; }
}
/* Home on phones: the bands were 56px + 56px apart, which read as empty
   screen; 24px each side keeps them distinct without the dead space */
@media screen and (max-width: 768px) {
  .redesign.home-page .section { padding: 24px 0; }
  .redesign.home-page .section-header { margin-bottom: 16px; }
  .redesign.home-page .h-final { padding: 40px 0; }
  .redesign.home-page .h-sub { margin-top: 32px; }
  .redesign.home-page .h-team-btn { margin-top: 24px; }
}

/* لينكات جوه نص الإجابة أو النبذة (صفحات الخدمات) — نفس شكل .h-inline-link
   من غير الـ inline-flex، عشان تفضل ماشية مع السطر. */
.redesign .faq-answer a, .redesign .team-bio a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--gold); }

/* Above 768px the header shows the logo tagline «للتخاطب وتنمية المهارات»,
   so the same words in the hero label would be said twice on one screen.
   On phones the tagline is hidden and the hero label stays. */
@media screen and (min-width: 769px) {
  .redesign .h-hero-text .section-tag { display: none; }
}

/* Home on desktop: 96px + 96px between bands left 200–250px of empty cream
   between sections, the same dead space the phone rule above removed. 56px
   each side keeps the bands distinct. The navy closing band keeps its own. */
@media screen and (min-width: 769px) {
  .redesign.home-page .section { padding: 56px 0; }
}

/* Phones up to 400px. Since the language link joined the header (2026-11-10)
   the bar was wider than a 360px screen: the menu button was cut by 12px, and
   on the form pages the booking button by 25px. Nothing is hidden; the bar is
   a little tighter. The logo box takes the 52px the 768px rule above already
   asks for (the :not(.scrolled) rule at the top outranks that one until the
   page scrolls), and the two header buttons lose 4px of padding each side. */
@media screen and (max-width: 400px) {
  .redesign .header .logo-img-wrap,
  .redesign .header:not(.scrolled) .logo-img-wrap { width: 52px; height: 52px; }
  .redesign .header-actions .btn { padding-inline: 8px; }
}

/* Home: the label «مركز ضيّ للتخاطب وتنمية المهارات» now sits inside the <h1>,
   so the main heading names the centre and not only the slogan (SEO review,
   2026-11-24). On phones it keeps its own line, the pill's own line height
   and the 10px the hero's gap used to put under it. Above 768px the rule
   further up still hides it, which is why this one stops at 768px. */
@media screen and (max-width: 768px) {
  .redesign .h-hero-title .section-tag { display: flex; width: fit-content; margin: 0 0 10px; line-height: 1.8; }
}

/* Service pages with full content (first: service-language.html, 2026-11-24).
   The body may hold a bulleted list and links inside a sentence, a step may
   carry a sentence under its label, and the FAQ items keep the look they have
   on faq.html instead of taking the body paragraph's colour and spacing.
   Every value here is one the articles, the steps or the FAQ page already use;
   the page rules are scoped to .service-page so articles, which share
   .h-service-body, are not touched. */
@media screen {
  .service-page .h-service-body ul { margin: 0 0 8px; padding-inline-start: 24px; list-style: disc; color: var(--text-dark); line-height: 1.9; }
  .service-page .h-service-body ul li { margin-bottom: 8px; }
  .service-page .h-service-body p a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--gold); }
  .service-page .h-service-body p a:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
  .h-steps--detail li { align-items: flex-start; }
  .h-step-note { display: block; margin-top: 4px; color: var(--text-mid); font-size: .9rem; font-weight: 400; line-height: 1.9; }
  .service-page .faq-answer p { margin: 0; color: var(--text-mid); line-height: 1.8; }
}
