/* =============================================================
   Page sections — home hero, washes, steps, services, timing,
   FAQ, contact, booking form. White cards with soft depth on sky blue.
   ============================================================= */

/* ---------- Home hero: display headline + photo with a floating wash menu ---------- */
.hero { background: var(--hero-wash); padding-block: clamp(2rem, 1rem + 4vw, 5rem) clamp(4rem, 3rem + 4vw, 7rem); overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero h1 { font-size: var(--text-hero); line-height: 0.98; letter-spacing: -0.035em; margin-bottom: var(--space-3); }
.hero h1 .hl { display: block; }
html[lang="ar"] .hero h1 { line-height: 1.25; letter-spacing: 0; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem); }
.hero-lead { font-size: var(--text-lead); color: var(--color-muted); max-width: 46ch; margin-bottom: var(--space-4); }

.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.25rem; margin-bottom: var(--space-3); }
.hero-meta p { margin: 0; }
.open-pill { padding: 0.4em 1em; border-radius: 999px; background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow-card); font-size: 0.95rem; }
.open-pill .open-dot { box-shadow: 0 0 0 4px rgba(31, 157, 92, 0.15); }
.hero-loc { display: inline-flex; align-items: center; gap: 0.4em; color: var(--color-muted); font-weight: 600; font-size: 0.95rem; }
.hero-loc svg { color: var(--color-highlight); }

.trust { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; margin-top: var(--space-4); }
.trust li { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; }
.trust svg { color: var(--color-highlight); width: 1.3em; height: 1.3em; }

.hero-visual { position: relative; padding-bottom: 4.5rem; padding-inline-start: 2rem; }
.hero-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-sky); aspect-ratio: 1 / 1; box-shadow: var(--shadow-float); }
.hero-photo picture, .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
/* The sponge sits away from the wash-menu card; Arabic puts the card on the other side, so mirror the photo. */
html[dir="rtl"] .hero-photo img { transform: scaleX(-1); }

.menu-card {
  position: absolute; bottom: 0; inset-inline-start: -2rem; width: min(310px, 72%);
  padding: 1.5rem 1.6rem 1.3rem; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow-float);
  transform: rotate(-2deg); transition: transform var(--duration-normal) var(--ease-out);
}
html[dir="rtl"] .menu-card { transform: rotate(2deg); }
.menu-card:hover, html[dir="rtl"] .menu-card:hover { transform: rotate(0deg) translateY(-4px); }
.menu-tag {
  display: inline-flex; align-items: center; gap: 0.4em; margin: 0 0 0.6rem; padding: 0.3em 0.8em; border-radius: 999px;
  background: var(--color-sun); color: var(--color-navy); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
html[lang="ar"] .menu-tag { letter-spacing: 0; font-size: 0.85rem; }
.menu-tag svg { width: 1.1em; height: 1.1em; }
.menu-title { font-size: 1.7rem; margin-bottom: 0.6rem; }
.menu-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--color-border); font-weight: 600; }
.menu-list .menu-plan { border-bottom: 0; color: var(--color-muted); }
.menu-price { white-space: nowrap; color: var(--color-accent-hover); font-weight: 700; }
.menu-price b { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--color-text); }
.menu-price small { font-size: 0.8rem; }
.menu-link { display: inline-flex; align-items: center; gap: 0.4em; margin-top: 0.6rem; font-weight: 700; text-decoration: none; color: var(--color-accent-hover); }
.menu-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Cards shared by washes, tiers, steps ---------- */
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); box-shadow: var(--shadow-card); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.price { font-family: var(--font-display); color: var(--color-text); font-size: clamp(2.1rem, 1.7rem + 1.4vw, 2.8rem); font-weight: 700; line-height: 1; margin: 0.25rem 0 0.75rem; letter-spacing: -0.02em; }
.price small { font-size: 0.95rem; font-weight: 600; color: var(--color-muted); letter-spacing: 0; }
.wash h3 { font-size: var(--text-h3); margin-bottom: 0.25rem; }
.wash p:last-child { color: var(--color-muted); margin: 0; }
.more { margin-top: var(--space-3); color: var(--color-muted); }

/* ---------- Three steps (photo cards on Home, plain cards on Services) ---------- */
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--space-2);
  border: 1.5px solid var(--color-outline); border-radius: 50%; font-weight: 800;
}
.step h3 { font-size: var(--text-h3); margin-bottom: 0.4rem; }
.step p { color: var(--color-muted); margin: 0; }
.steps .step { padding: 0.6rem 0.6rem 1.4rem; transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal); }
.steps .step:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.steps .step h3, .steps .step p { padding-inline: 0.9rem; }
.step-photo { position: relative; margin: 0 0 1.1rem; aspect-ratio: 3 / 2; border-radius: calc(var(--radius-md) - 6px); overflow: hidden; background: var(--color-sky); }
.step-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-normal) var(--ease-out); }
.steps .step:hover .step-photo img { transform: scale(1.05); }
.step-photo .step-num {
  position: absolute; bottom: 0.75rem; inset-inline-start: 0.75rem; margin: 0;
  background: #fff; border: 0; color: var(--color-navy); font-family: var(--font-display); font-size: 1.1rem; box-shadow: var(--shadow-card);
}

/* ---------- Services: tiers ---------- */
.tier { display: flex; flex-direction: column; }
.tier h3 { font-size: var(--text-h3); margin: 0; }
.tier-tag { font-size: 0.8rem; font-weight: 700; color: var(--color-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.4rem; }
html[lang="ar"] .tier-tag { letter-spacing: 0; font-size: 0.9rem; }
.tier-desc { color: var(--color-muted); }
.includes { display: grid; align-content: start; gap: 0.4rem; margin-bottom: var(--space-3); flex-grow: 1; }
.includes li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; }
.includes svg { color: var(--color-muted); }
.tier.is-new .price { font-size: 1.8rem; }
.tier-variant { margin: 0 0 0.5rem; font-weight: 600; }

/* ---------- Services: comparison table ---------- */
.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.compare-table { width: 100%; min-width: 540px; }
.compare-table th, .compare-table td { padding: 0.95rem 1.2rem; text-align: center; border-bottom: 1px solid var(--color-border); }
.compare-table thead th { background: var(--color-surface); font-size: 0.95rem; }
.compare-table th[scope="row"], .compare-table thead th:first-child { text-align: start; font-weight: 600; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; font-weight: 800; }
.compare-table td svg { width: 1.4em; height: 1.4em; }
.compare-table .no { color: var(--color-muted); }

/* ---------- Services: monthly plan ---------- */
.plan { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-4); align-items: center; }
.plan h2 { font-size: var(--text-h2); }
.plan-prices { display: grid; gap: 0.75rem; margin-bottom: var(--space-3); }
.plan-prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface); font-weight: 600; }
.plan-prices strong { font-family: var(--font-display); font-size: 1.5rem; }
.plan-prices small { font-size: 0.85rem; font-weight: 600; color: var(--color-muted); }

/* ---------- Timing ---------- */
.hours-line { font-family: var(--font-display); font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); font-weight: 700; margin-bottom: var(--space-2); }
.hours-meta { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; color: var(--color-muted); margin: 0; }
.slot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.slot { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 1.2rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.slot-name { font-weight: 700; }
.slot-time { color: var(--color-muted); white-space: nowrap; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  padding: 1.25rem 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.08rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--color-muted); }
.faq-item[open] summary::after { content: "−"; }
.faq-body { padding-bottom: 1.25rem; color: var(--color-muted); max-width: 68ch; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-bullets { display: grid; gap: 0.4rem; padding-inline-start: 1.2rem; list-style: disc; }

/* ---------- Contact ---------- */
.channel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
.channel { display: flex; flex-direction: column; gap: 0.3rem; height: 100%; text-decoration: none; transition: border-color var(--duration-fast), transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal); }
.channel:hover { border-color: var(--color-accent); transform: translateY(-2px); box-shadow: var(--shadow-float); }
.channel-icon svg { width: 1.6rem; height: 1.6rem; margin-bottom: var(--space-1); }
.channel--wa .channel-icon { color: var(--color-whatsapp); }
.channel-label { font-size: 0.85rem; font-weight: 600; color: var(--color-muted); }
.channel-go { margin-top: auto; padding-top: var(--space-2); display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; }
.channel-value { font-weight: 700; font-size: 1.08rem; overflow-wrap: anywhere; }
html[dir="rtl"] .channel-value[dir="ltr"] { text-align: end; }
.area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-4); align-items: start; }
.area-facts { font-style: normal; display: grid; gap: 0.9rem; margin: var(--space-3) 0; }
.area-facts p { display: flex; gap: 0.75rem; margin: 0; color: var(--color-muted); }
.area-facts strong { display: block; color: var(--color-text); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--color-border); background: var(--color-surface); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Book ---------- */
.booking-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr); gap: var(--space-4); align-items: start; }
.booking-form { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.form-step { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.form-step + .form-step { padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.form-step legend { display: flex; align-items: center; gap: 0.6rem; padding: 0; margin-bottom: var(--space-2); font-weight: 800; font-size: 1.15rem; }
.form-step-num { display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid var(--color-outline); border-radius: 50%; font-size: 0.85rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.form-row label { font-weight: 600; font-size: 0.95rem; }
.form-optional { font-weight: 400; color: var(--color-muted); font-size: 0.9em; }
.form-row--split { flex-direction: row; gap: var(--space-2); }
.form-row--split > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.booking-form input, .booking-form select, .booking-form textarea {
  width: 100%; min-width: 0; min-height: 48px; padding: 0.75em 0.95em; border-radius: var(--radius-sm);
  border: 1px solid #9db6cf; background: #fff; color: var(--color-text);
  transition: border-color var(--duration-fast);
}
.booking-form ::placeholder { color: #6a819a; opacity: 1; }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { outline: 2px solid var(--color-focus); outline-offset: 1px; border-color: var(--color-focus); }
.booking-form textarea { resize: vertical; }
.location-group { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.location-group input { flex: 1 1 220px; }
.location-group .btn { flex: none; }
.form-hint { font-size: 0.88rem; color: var(--color-muted); min-height: 1.2em; margin: 0; }
.form-hint--center { text-align: center; }
.form-error { margin: 0; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); background: #fdecee; border: 1px solid #e3a0a8; color: #8a1626; font-weight: 600; }
.booking-aside { display: flex; flex-direction: column; gap: var(--space-2); position: sticky; top: calc(var(--header-h) + 1.5rem); }
.booking-aside h2 { font-size: 1.15rem; }
.next-steps { display: grid; gap: 0.8rem; counter-reset: next; }
.next-steps li { display: flex; gap: 0.7rem; color: var(--color-muted); }
.next-steps li::before { counter-increment: next; content: counter(next); flex: none; display: grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid var(--color-outline); border-radius: 50%; font-size: 0.8rem; font-weight: 800; color: var(--color-text); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero-visual { padding: 0; }
  .hero-photo { aspect-ratio: 16 / 11; }
  .menu-card { position: relative; inset-inline-start: auto; bottom: auto; width: auto; margin: -3rem 1rem 0; transform: none; }
  html[dir="rtl"] .menu-card { transform: none; }
  .hero-grid, .plan, .area-grid, .booking-grid { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-aside { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-card, .steps .step, .step-photo img, .channel, .btn { transition: none; }
}
@media (max-width: 560px) {
  .trust { gap: 0.6rem 1.25rem; font-size: 0.95rem; }
  .compare-table { min-width: 0; font-size: 0.9rem; }
  .compare-table th, .compare-table td { padding: 0.75rem 0.45rem; }
  .compare-table th[scope="row"] { padding-inline-start: 0.85rem; }
  .hero .actions .btn, .banner .actions .btn { flex: 1 1 100%; }
  .channel-grid, .slot-grid { grid-template-columns: minmax(0, 1fr); }
  .form-row--split { flex-direction: column; }
  .location-group .btn { width: 100%; }
}
