/* Service pages (e.g. /whatsapp-chatbot): hero with a live chat, use cases, steps, integrations, FAQ. EN + AR. */
main.svc { display: block; width: min(100% - 40px, 1180px); margin: 0 auto; padding: 130px 0 40px; color: var(--text); }
main.svc .crumbs { font-size: 13px; color: var(--muted); margin: 0 0 26px; }
main.svc .crumbs a:hover { color: var(--yellow); }
main.svc h1, main.svc h2, main.svc h3 { letter-spacing: 0; max-width: none; }
main.svc p, main.svc li { color: #c9d4e6; font-size: 16px; line-height: 1.8; }
main.svc .eyebrow { font-size: 11px; margin: 0 0 14px; }

/* hero */
.svc-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: center; margin-bottom: 90px; }
.svc-hero h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.1; margin: 0 0 20px; font-weight: 600; }
.svc-hero h1 em { font-style: normal; color: var(--yellow); }
.svc-hero .lead { font-size: 18px; color: #dbe4f2; margin: 0 0 28px; max-width: 560px; }
.svc-hero .actions { margin: 0; flex-wrap: wrap; }
.svc-hero .btn { border-radius: 100px; font-size: 14px; padding: 15px 22px; gap: .5em; }
.svc-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; }
.svc-points li { font-size: 14px; color: #aebcd2; }
.svc-points li::before { content: '✓'; color: var(--yellow); margin-inline-end: 8px; }

/* WhatsApp-style chat */
.svc-chat { border-radius: 18px; overflow: hidden; background: #0b141a; border: 1px solid #ffffff1a; box-shadow: 0 30px 80px #0007, 0 0 0 8px #ffffff06; }
.svc-chat__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #1f2c34; color: #e9edef; font-size: 15px; }
.svc-chat__head .av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #0b6fb0); display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 14px; }
.svc-chat__head small { display: block; font-size: 12px; color: #8fd9a8; }
.svc-chat__head img { margin-inline-start: auto; }
.svc-chat__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 16px 24px; min-height: 340px; background: radial-gradient(#ffffff06 1px, transparent 1.2px) 0 0 / 12px 12px, #0b141a; }
.svc-msg { max-width: 82%; padding: 9px 13px; border-radius: 10px; font-size: 14px; line-height: 1.55; color: #e9edef; opacity: 0; transform: translateY(8px); animation: svc-in .45s ease-out forwards; }
.svc-msg.me { align-self: flex-end; background: #005c4b; border-end-end-radius: 3px; }
.svc-msg.bot { align-self: flex-start; background: #202c33; border-end-start-radius: 3px; }
.svc-msg b { color: #fff; }
.svc-msg time { display: block; font-size: 10px; color: #ffffff80; text-align: end; margin-top: 3px; }
.svc-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #cfe8ff; background: #13a4ff1f; border: 1px solid #13a4ff55; border-radius: 100px; padding: 5px 11px; opacity: 0; animation: svc-in .45s ease-out forwards; }
.svc-msg:nth-child(1) { animation-delay: .4s; } .svc-msg:nth-child(2) { animation-delay: 1.3s; }
.svc-msg:nth-child(3) { animation-delay: 2.3s; } .svc-msg:nth-child(4) { animation-delay: 3.1s; }
.svc-chip { animation-delay: 3.9s; }
@keyframes svc-in { to { opacity: 1; transform: none; } }

/* browser-style mock for the websites page */
.svc-web { border-radius: 16px; overflow: hidden; background: #0d1b2e; border: 1px solid #ffffff1a; box-shadow: 0 30px 80px #0007, 0 0 0 8px #ffffff06; }
.svc-web__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #16273f; border-bottom: 1px solid #ffffff12; }
.svc-web__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ffffff26; }
.svc-web__bar span { margin-inline-start: 10px; flex: 1; font-size: 12px; color: #9fb3cf; background: #0d1b2e; border-radius: 100px; padding: 4px 12px; direction: ltr; text-align: start; }
.svc-web__bar b { font-size: 13px; color: #fff; display: inline-flex; gap: 4px; align-items: center; }
.svc-web__bar b em { font-style: normal; background: var(--yellow); color: #0b1220; border-radius: 100px; min-width: 18px; height: 18px; display: grid; place-items: center; font-size: 11px; }
.svc-web__body { padding: 18px; }
.svc-web__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.svc-web__top b { color: #fff; font-size: 17px; }
.svc-web__top em { font-style: normal; font-size: 12px; font-weight: 700; color: #0b1220; background: var(--yellow); border-radius: 100px; padding: 4px 10px; }
.svc-web__search { font-size: 13px; color: #9fb3cf; border: 1px solid #ffffff1a; border-radius: 8px; padding: 8px 12px; margin-bottom: 14px; }
.svc-web__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.svc-web__grid div { background: #16273f; border: 1px solid #ffffff10; border-radius: 10px; padding: 8px; opacity: 0; transform: translateY(8px); animation: svc-in .45s ease-out forwards; }
.svc-web__grid div:nth-child(1) { animation-delay: .3s; } .svc-web__grid div:nth-child(2) { animation-delay: .45s; } .svc-web__grid div:nth-child(3) { animation-delay: .6s; }
.svc-web__grid div:nth-child(4) { animation-delay: .75s; } .svc-web__grid div:nth-child(5) { animation-delay: .9s; } .svc-web__grid div:nth-child(6) { animation-delay: 1.05s; }
.svc-web__grid span { display: block; aspect-ratio: 4 / 3; border-radius: 6px; background: linear-gradient(135deg, #2b4a73, #1a3150); margin-bottom: 7px; }
.svc-web__grid b { display: block; font-size: 12px; color: #dbe4f2; font-weight: 600; margin-bottom: 6px; }
.svc-web__grid i { display: block; font-style: normal; font-size: 11px; text-align: center; color: #cfe8ff; border: 1px solid #13a4ff55; border-radius: 6px; padding: 4px; }
.svc-web__grid div.added i { background: var(--yellow); border-color: var(--yellow); color: #0b1220; font-weight: 700; }
.svc-web__foot { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.svc-web__foot span { font-size: 12px; color: #cfe8ff; background: #13a4ff1f; border: 1px solid #13a4ff55; border-radius: 100px; padding: 5px 11px; }
.svc-tools span > b { font-size: 16px; line-height: 1; }
@media (max-width: 600px) { .svc-web__grid { grid-template-columns: repeat(2, 1fr); } .svc-web__grid div:nth-child(n+5) { display: none; } }
@media (prefers-reduced-motion: reduce) { .svc-web__grid div { animation: none; opacity: 1; transform: none; } }

/* sections */
.svc-sec { padding: 0; margin: 0 0 90px; }
.svc-sec > h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; margin: 0 0 12px; font-weight: 600; }
.svc-sec > p.sub { margin: 0 0 34px; max-width: 640px; color: var(--muted); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-card { background: linear-gradient(135deg, #1c3554, #142a45); border: 1px solid var(--line); border-radius: 16px; padding: 26px; transition: border-color .25s, transform .25s; }
@media (hover: hover) { .svc-card:hover { border-color: #13a4ff70; transform: translateY(-3px); } }
.svc-card .ico { font-size: 24px; line-height: 1; display: block; margin-bottom: 16px; }
.svc-card h3 { font-size: 19px; margin: 0 0 8px; font-weight: 600; }
.svc-card p { font-size: 15px; margin: 0; color: #aebcd2; }
.svc-card a { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--yellow); }

.svc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.svc-steps li { position: relative; padding: 24px 22px; border-top: 2px solid #13a4ff55; background: #0f2036; border-radius: 0 0 14px 14px; }
.svc-steps li::before { counter-increment: s; content: '0' counter(s); display: block; font-family: Space Grotesk, monospace; font-size: 13px; color: var(--yellow); margin-bottom: 10px; }
.svc-steps b { display: block; color: #fff; font-size: 17px; margin-bottom: 6px; }
.svc-steps span { font-size: 15px; color: #aebcd2; line-height: 1.7; display: block; }

.svc-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-tools span { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 100px; background: #0f2036; border: 1px solid var(--line); font-size: 14px; color: #dbe4f2; }

.svc-chip img[src*="odoo"] { width: 30px; height: auto; filter: brightness(0) invert(1); }
.svc-tools img[src*="odoo"] { width: 40px; height: auto; filter: brightness(0) invert(1); }

.svc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc-two .svc-card h3 { font-size: 21px; }

.svc-faq { display: grid; gap: 10px; max-width: 860px; }
.svc-faq details { background: #0f2036; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.svc-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 17px; font-weight: 600; color: #fff; display: flex; justify-content: space-between; gap: 16px; }
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary::after { content: '+'; color: var(--yellow); font-size: 22px; line-height: 1; }
.svc-faq details[open] summary::after { content: '−'; }
.svc-faq details p { margin: 0 0 18px; }

.svc-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 40px; border-radius: 20px; border: 1px solid #13a4ff45; background: radial-gradient(ellipse at 100% 0, #13a4ff22, transparent 60%), linear-gradient(135deg, #203b5c, #172e4b); margin-bottom: 70px; }
.svc-cta h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 6px; font-weight: 600; }
.svc-cta p { margin: 0; }
.svc-cta .actions { margin: 0; flex-wrap: wrap; }
.svc-cta .btn { border-radius: 100px; font-size: 14px; padding: 15px 22px; }

.svc-more { display: grid; gap: 4px; max-width: 860px; }
.svc-more a { padding: 12px 0; border-bottom: 1px solid var(--line); color: #c9d4e6; font-size: 16px; }
.svc-more a:hover { color: var(--yellow); }

/* Arabic */
[dir=rtl] main.svc, [dir=rtl] main.svc h1, [dir=rtl] main.svc h2, [dir=rtl] main.svc h3 { font-family: 'Noah Arabic', Tahoma, Arial, sans-serif; }

@media (max-width: 900px) {
  .svc-hero, .svc-two { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-steps { grid-template-columns: 1fr 1fr; }
  .svc-chat__body { min-height: 300px; }
}
@media (max-width: 600px) {
  main.svc { padding-top: 110px; }
  .svc-grid, .svc-steps { grid-template-columns: 1fr; }
  .svc-cta { padding: 26px; }
  .svc-hero { margin-bottom: 64px; } .svc-sec { margin-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) { .svc-msg, .svc-chip { animation: none; opacity: 1; transform: none; } }
