/* Styles for the services section on the home page and the static service pages. */

.services-section { background: rgba(2, 14, 25, .84); border-top: 1px solid rgba(139, 220, 236, .06); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card, .info-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); transition: transform .3s ease, border-color .3s ease; }
.service-card:hover, .link-card:hover { transform: translateY(-5px); border-color: rgba(18, 223, 243, .45); }
.service-card h3, .info-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.35; letter-spacing: -.01em; }
.service-card p, .info-card p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.7; }
.service-card .card-number { position: static; align-self: flex-start; }
.service-more { margin-top: auto; padding-top: 8px; color: var(--cyan); font-size: .85rem; font-weight: 800; }
.service-more i { font-style: normal; display: inline-block; transition: transform .25s ease; }
.service-card:hover .service-more i, .link-card:hover .service-more i { transform: translateX(4px); }
html[dir="rtl"] .service-card:hover .service-more i, html[dir="rtl"] .link-card:hover .service-more i { transform: translateX(-4px); }
html[data-theme="light"] .services-section { background: rgba(248, 253, 255, .94); }

.footer-services ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.footer-services a { color: #a5bac8; font-size: .85rem; }
.footer-services a:hover { color: var(--cyan); }
html[data-theme="light"] .footer-services a { color: #405a6d; }

/* Static inner pages ------------------------------------------------------ */
.inner-page main { padding-top: var(--header-h); }
.inner-page .lang-toggle { text-decoration: none; }
.inner-page .site-header { background: rgba(2, 11, 20, .88); border-color: var(--border); backdrop-filter: blur(18px); }
html[data-theme="light"] .inner-page .site-header { background: rgba(244, 251, 255, .9); }

.page-hero { position: relative; padding-block: clamp(48px, 8vw, 100px) clamp(40px, 6vw, 72px); background: radial-gradient(circle at 80% 20%, rgba(18, 223, 243, .12), transparent 38%), var(--page-bg); border-bottom: 1px solid var(--border); }
.page-hero h1 { margin: 0; max-width: 880px; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 700; }
html[dir="rtl"] .page-hero h1 { line-height: 1.3; letter-spacing: -.01em; }
.page-hero .answer { max-width: 780px; margin: 26px 0 0; color: var(--muted); font-size: 1.12rem; }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
html[data-theme="light"] .page-hero { background: radial-gradient(circle at 80% 20%, rgba(0, 191, 229, .14), transparent 38%), linear-gradient(145deg, #f8fdff, #eef9fd); }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; color: var(--muted); font-size: .82rem; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 8px; opacity: .5; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current] { color: var(--text); font-weight: 700; }

.page-section { padding-block: clamp(48px, 7vw, 88px); background: var(--page-bg); }
.page-section.alt { background: rgba(3, 20, 38, .55); border-block: 1px solid rgba(139, 220, 236, .06); }
html[data-theme="light"] .page-section.alt { background: rgba(232, 246, 251, .7); }
.page-section h2 { margin: 0 0 28px; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; letter-spacing: -.025em; }
html[dir="rtl"] .page-section h2 { line-height: 1.35; letter-spacing: 0; }
.prose { max-width: 820px; }
.prose p { margin: 0 0 20px; color: var(--muted); font-size: 1.08rem; }
.prose p:first-child { color: var(--text); }
.narrow { max-width: 860px; }
.center { text-align: center; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
a.info-card { color: inherit; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-inline-start: 30px; color: var(--muted); }
.check-list li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .62em; width: 8px; height: 8px; border: 1px solid var(--cyan); transform: rotate(45deg); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps li { position: relative; display: grid; gap: 2px; padding: 4px 0 4px 52px; counter-increment: step; }
html[dir="rtl"] .steps li { padding: 4px 52px 4px 0; }
.steps li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 2px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(18, 223, 243, .48); border-radius: 50%; color: var(--cyan); font-size: .82rem; font-weight: 800; }
.steps strong { font-size: 1.02rem; }
.steps span { color: var(--muted); font-size: .94rem; }

.faq { margin-bottom: 10px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style-position: inside; }
.faq summary:hover { color: var(--cyan); }
.faq p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

.page-section.cta { background: linear-gradient(145deg, rgba(6, 26, 45, .9), rgba(5, 34, 56, .86)); border-top: 1px solid var(--border); }
html[data-theme="light"] .page-section.cta { background: linear-gradient(145deg, #e6f8fc, #f4fbff); }
.cta p { color: var(--muted); }
.cta .hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.cta-phone { margin-top: 26px; font-size: .92rem; }
.cta-phone a { color: var(--cyan); font-weight: 800; }

@media (max-width: 980px) {
  .services-grid, .card-grid, .card-grid.three { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .inner-page .desktop-nav, .inner-page .header-cta { display: none; }
}
@media (max-width: 680px) {
  .services-grid, .card-grid, .card-grid.three { grid-template-columns: 1fr; }
  .page-hero .hero-actions .button, .cta .hero-actions .button { width: 100%; }
}
