/* Nomou Toolkit: front-end styles. Colours come from the Astra global palette:
   0 brand, 1 brand dark, 2 headings, 3 text, 4 white, 5 light background, 6 dark background, 7 border, 8 accent. */

.nomou-ico { display: inline-flex; width: 1em; height: 1em; flex: none; }
.nomou-ico svg { width: 100%; height: 100%; fill: currentColor; }
.nomou-phone, .nomou-whatsapp, .nomou-email { display: inline-flex; align-items: center; gap: .4em; }

/* Floating WhatsApp button (flips to the left on Arabic sites) */
.nomou-wa-float {
	position: fixed; inset-block-end: 20px; inset-inline-end: 20px; z-index: 9990;
	width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .2); transition: transform .2s ease;
}
.nomou-wa-float:hover, .nomou-wa-float:focus { transform: scale(1.06); color: #fff; }
.nomou-wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* Grids of services, team, branches */
.nomou-grid { display: grid; gap: 24px; grid-template-columns: repeat(var(--nomou-cols, 3), minmax(0, 1fr)); }
.nomou-cols-1 { --nomou-cols: 1; } .nomou-cols-2 { --nomou-cols: 2; } .nomou-cols-3 { --nomou-cols: 3; } .nomou-cols-4 { --nomou-cols: 4; }
@media (max-width: 921px) { .nomou-grid { --nomou-cols: 2 !important; } }
@media (max-width: 544px) { .nomou-grid { --nomou-cols: 1 !important; } }

.nomou-item {
	background: var(--ast-global-color-4, #fff); border: 1px solid var(--ast-global-color-7, #e2e8f0);
	border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
	transition: box-shadow .2s ease, transform .2s ease;
}
.nomou-item:hover { box-shadow: 0 10px 30px rgba(15, 23, 42, .08); transform: translateY(-2px); }
.nomou-item-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nomou-portrait img { aspect-ratio: 1 / 1; }
.nomou-item-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nomou-item-body p { margin: 0; }
.nomou-item-title { margin: 0; font-size: 1.2em; }
.nomou-item-title a { color: inherit; text-decoration: none; }
.nomou-position { color: var(--ast-global-color-0); font-weight: 600; }
.nomou-more { margin-top: auto; padding-top: 6px; font-weight: 600; text-decoration: none; }
.nomou-details { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nomou-details li { display: flex; gap: 10px; align-items: flex-start; }
.nomou-details .nomou-ico { margin-top: .3em; color: var(--ast-global-color-0); }

/* FAQ */
.nomou-faq { display: grid; gap: 12px; }
.nomou-faq-item { background: var(--ast-global-color-4, #fff); border: 1px solid var(--ast-global-color-7, #e2e8f0); border-radius: 12px; }
.nomou-faq-item summary {
	cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; color: var(--ast-global-color-2);
	display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.nomou-faq-item summary::-webkit-details-marker { display: none; }
.nomou-faq-item summary::after { content: "+"; font-size: 1.4em; line-height: 1; color: var(--ast-global-color-0); flex: none; }
.nomou-faq-item[open] summary::after { content: "−"; }
.nomou-faq-answer { padding: 0 22px 18px; }
.nomou-faq-answer > :last-child { margin-bottom: 0; }

/* Contact details card */
.nomou-card-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 18px; }
.nomou-card-list li { display: flex; gap: 14px; align-items: flex-start; }
.nomou-card-list .nomou-ico {
	width: 40px; height: 40px; padding: 10px; border-radius: 10px;
	background: var(--ast-global-color-5, #f1f5f9); color: var(--ast-global-color-0);
}
.nomou-card-list strong { display: block; color: var(--ast-global-color-2); }
.nomou-hours { list-style: none; margin: 0; padding: 0; }
.nomou-socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.nomou-socials a {
	display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
	border-radius: 50%; background: var(--ast-global-color-5, #f1f5f9); color: var(--ast-global-color-2);
}
.nomou-socials a:hover { background: var(--ast-global-color-0); color: #fff; }
.nomou-socials svg { width: 18px; height: 18px; fill: currentColor; }

/* Contact form */
.nomou-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.nomou-form p { margin: 0; }
.nomou-field { display: flex; flex-direction: column; gap: 6px; }
.nomou-field-full { grid-column: 1 / -1; }
@media (max-width: 544px) { .nomou-form { grid-template-columns: 1fr; } }
.nomou-field label { font-weight: 600; color: var(--ast-global-color-2); }
.nomou-field input, .nomou-field textarea {
	width: 100%; border: 1px solid var(--ast-global-color-7, #e2e8f0); border-radius: 10px;
	padding: 12px 14px; background: var(--ast-global-color-4, #fff); font: inherit;
}
.nomou-field input:focus, .nomou-field textarea:focus { outline: 2px solid var(--ast-global-color-0); outline-offset: 1px; border-color: transparent; }
.nomou-submit { border-radius: 10px; }
.nomou-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.nomou-form-notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; }
.nomou-form-notice.is-success { background: #dcfce7; color: #166534; }
.nomou-form-notice.is-error { background: #fee2e2; color: #991b1b; }

/* Editor-only hints */
.nomou-hint { padding: 16px; border: 1px dashed var(--ast-global-color-7, #cbd5e1); border-radius: 10px; color: #64748b; text-align: center; }

/* Footer credit */
.nomou-credit { white-space: nowrap; }
