/*
Theme Name: FCM Medical (v2)
Theme URI: https://www.fcm.com.sa
Author: Future Corners for Information Technology
Description: Modern bilingual theme for Future Corners Medical Company (شركة أركان الغد الطبية). English is the default language, Arabic (RTL) is secondary. Includes the Baby Footprint product page with demo video and brochure.
Version: 2.1.0
Requires PHP: 7.4
Text Domain: fcm2
*/

/* =========================================================
   Tokens
   ========================================================= */
:root {
	--navy: #061f38;
	--navy-2: #0a3156;
	--ink: #0d2238;
	--muted: #5b6b7b;
	--teal: #02a8a4;
	--teal-dark: #028a87;
	--teal-soft: #e3f6f6;
	--bg-soft: #f3f8fb;
	--line: #e2eaf0;
	--radius: 14px;
	--shadow: 0 12px 32px rgba(6, 31, 56, .09);
	--container: 1200px;
	--header-h: 72px;
	--fade: right;
}
html[dir="rtl"] { --fade: left; }

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	color: var(--ink);
	background: #fff;
	line-height: 1.65;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
html[lang="en"] body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html[lang="ar"] body { font-family: 'Cairo', 'Inter', system-ui, sans-serif; }

/* language switch: both texts are in the markup, CSS shows the right one */
html[lang="en"] .ar,
html[lang="ar"] .en { display: none !important; }
/* Arabic letters must never be letter-spaced */
html[lang="ar"] * { letter-spacing: 0 !important; }

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }
em { font-style: normal; color: var(--teal); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container.narrow { max-width: 920px; }
.muted { color: var(--muted); }
.i-dir { transition: transform .2s; }
html[dir="rtl"] .i-dir { transform: scaleX(-1); }

.skip-link { position: absolute; inset-inline-start: -9999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 6px; z-index: 2000; }
.skip-link:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(1.4) blur(8px);
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .site-header { top: 0; } }

.header-row { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 22px; color: var(--navy); font-weight: 400; letter-spacing: -.01em; }
.brand-name b { font-weight: 800; }
.brand-sub { font-size: 9px; letter-spacing: .2em; color: var(--muted); margin-top: 3px; font-weight: 500; }

.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 26px; justify-content: center; }
.main-nav a {
	display: block; padding: 8px 0; font-size: 14.5px; font-weight: 500; color: #4a5a6a;
	border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a.is-active { color: var(--navy); border-bottom-color: var(--teal); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lang-toggle {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
	border: 1px solid var(--line); border-radius: 999px; background: #fff;
	color: var(--teal-dark); font-weight: 600; font-size: 14px; transition: background .2s, color .2s, border-color .2s;
}
.lang-toggle:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); font-size: 18px; }

/* Mobile drawer (sits outside <header> so position:fixed works) */
.drawer-overlay { position: fixed; inset: 0; background: rgba(6, 31, 56, .55); z-index: 1000; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
	position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(320px, 86vw);
	background: #fff; z-index: 1001; padding: 76px 24px 24px; overflow-y: auto;
	transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s;
	box-shadow: -12px 0 40px rgba(6, 31, 56, .2);
}
html[dir="rtl"] .drawer { transform: translateX(-100%); box-shadow: 12px 0 40px rgba(6, 31, 56, .2); }
html[dir] .drawer.is-open { transform: none; visibility: visible; }
.drawer-close { position: absolute; top: 16px; inset-inline-end: 16px; width: 44px; height: 44px; border: 0; background: var(--bg-soft); border-radius: 10px; font-size: 18px; color: var(--navy); }
.drawer li a { display: block; padding: 14px 12px; border-radius: 10px; font-weight: 600; color: var(--navy); }
.drawer li a:hover, .drawer li a.is-active { background: var(--teal-soft); color: var(--teal-dark); }
.drawer-cta { margin-top: 20px; width: 100%; justify-content: center; }

@media (max-width: 1100px) {
	.main-nav { display: none; }
	.menu-btn { display: inline-flex; align-items: center; justify-content: center; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 26px; border-radius: 6px; border: 1px solid transparent;
	font-weight: 600; font-size: 15px; line-height: 1.2; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(2, 168, 164, .28); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn-ghost { color: var(--teal-dark); padding-inline: 8px; }
.btn-ghost:hover { color: var(--navy); }
.btn-block { width: 100%; }
.btn.is-busy { opacity: .6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.more-wrap { text-align: center; margin-top: 48px; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; min-height: 520px; display: flex; align-items: center; padding: 72px 0 96px; }
.hero-media { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 66%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
html[dir="ltr"] .hero-media img { transform: scaleX(-1); }
.hero-media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to var(--fade), var(--navy) 0%, rgba(6, 31, 56, .78) 28%, rgba(6, 31, 56, .25) 70%, rgba(6, 31, 56, .35) 100%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 560px; }
.hero-eyebrow { font-size: 12px; letter-spacing: .28em; color: rgba(255, 255, 255, .75); font-weight: 500; margin-bottom: 20px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.15; font-weight: 800; }
.hero h1 em { color: #4fd9d5; }
.hero-lead { margin-top: 20px; font-size: 18px; color: rgba(255, 255, 255, .88); max-width: 480px; }

/* Stats */
.stats { position: relative; z-index: 3; margin-top: -48px; }
.stats-card { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 12px; border: 1px solid var(--line); }
.stat { text-align: center; padding: 4px 12px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat strong { display: block; font-size: 38px; font-weight: 800; color: var(--teal); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 52px; }
.eyebrow { color: var(--teal); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.section h2, .band h2, .cta h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; font-weight: 800; color: var(--navy); }
.section-sub { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section-sub.left { text-align: start; }

.icon-tile { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-dark); font-size: 20px; }
.icon-tile.lg { width: 78px; height: 78px; border-radius: 20px; font-size: 30px; background: linear-gradient(135deg, #0a3156, #0b6f8f); color: #fff; }
.icon-tile.core { background: linear-gradient(135deg, var(--teal), #0bc0c0); }
.icon-tile.core img { filter: brightness(0) invert(1); width: 44px; height: auto; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chips.center { justify-content: center; margin-top: 36px; }
.chips li { padding: 8px 16px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 600; font-size: 14px; }
.chips li i { margin-inline-end: 6px; }

/* Expertise cards */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spec-card { display: block; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 20px rgba(6, 31, 56, .08); transition: transform .25s, box-shadow .25s; }
.spec-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(6, 31, 56, .16); }
.spec-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.spec-card-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px; font-weight: 700; color: var(--navy); font-size: 15px; line-height: 1.35; }
.spec-card-bar i { color: var(--teal); flex-shrink: 0; }
.spec-card:hover .spec-card-bar i { transform: translateX(4px); }
html[dir="rtl"] .spec-card:hover .spec-card-bar i { transform: scaleX(-1) translateX(4px); }

/* Expertise detail rows */
.spec-rows { display: grid; gap: 28px; }
.spec-row { display: grid; grid-template-columns: 5fr 7fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 20px); }
.spec-row:nth-child(even) { grid-template-columns: 7fr 5fr; }
.spec-row:nth-child(even) .spec-row-media { order: 2; }
.spec-row-media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.spec-row-body { padding: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.spec-row-body h3 { font-size: 24px; color: var(--navy); font-weight: 800; }
.value-line { margin-top: 8px; color: var(--muted); }
.value-line strong { color: var(--navy); display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.spec-row-body .btn { margin-top: 12px; }

/* About / ecosystem */
.ecosystem { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 40px; }
.ecosystem-lead { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; justify-items: center; gap: 12px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.flow-node { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--navy); }
.flow-arrow { color: var(--teal); font-size: 26px; }
.pathway { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 32px; }
.pathway li { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 16px 8px; border-radius: 12px; background: var(--bg-soft); font-weight: 600; color: var(--navy); font-size: 14px; }
.pathway-no { font-size: 22px; font-weight: 800; color: var(--teal); }

/* Newborn band */
.band { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.band-media { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 58%; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to var(--fade), var(--navy) 0%, rgba(6, 31, 56, .55) 30%, rgba(6, 31, 56, 0) 75%); }
.band-inner { position: relative; z-index: 2; padding-block: 88px; }
.band-copy { max-width: 540px; }
.band-eyebrow { color: #4fd9d5; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.band h2 { color: #fff; }
.band h3 { margin-top: 14px; font-size: 22px; color: #bfeeee; font-weight: 700; }
.band p:not(.band-eyebrow) { margin-top: 12px; color: rgba(255, 255, 255, .85); font-size: 17px; }

/* How we work */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.step { padding: 8px 36px; }
.step + .step { border-inline-start: 1px solid var(--line); }
.step-no { display: block; font-size: 64px; line-height: 1; font-weight: 300; color: var(--teal); opacity: .85; margin-bottom: 12px; }
.step h3 { font-size: 20px; color: var(--navy); font-weight: 800; }
.step p { margin-top: 8px; color: var(--muted); }
.journey { margin-top: 64px; padding: 40px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--navy-2) 60%, #0b6f8f); }
.journey h3 { text-align: center; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; }
.journey h3 em { color: #4fd9d5; }
.journey-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 28px; }
.journey-list li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 18px 8px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-weight: 600; font-size: 14px; }
.journey-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal); font-size: 18px; }
.journey-result { margin-top: 28px; text-align: center; color: rgba(255, 255, 255, .88); }
.journey-result strong { color: #4fd9d5; margin-inline-end: 6px; }

/* Partners */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.panel h3 { margin: 16px 0 14px; font-size: 22px; color: var(--navy); font-weight: 800; }
.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-inline-start: 30px; }
.checks li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset-inline-start: 0; top: 2px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); font-size: 10px; }
.relationships { margin-top: 64px; text-align: center; }
.relationships h3 { max-width: 760px; margin: 8px auto 0; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; color: var(--navy); }
.partner-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.partner-tiles li { display: grid; place-items: center; min-height: 92px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; color: var(--navy); font-size: 15px; transition: border-color .2s, transform .2s; }
.partner-tiles li:hover { border-color: var(--teal); transform: translateY(-3px); }
.note { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* CTA */
.cta { padding: 0 0 96px; }
.cta-card { position: relative; overflow: hidden; border-radius: 20px; background: linear-gradient(90deg, #02a8a4, #07bcbf); color: #fff; }
.cta-media { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 48%; }
.cta-media { -webkit-mask-image: linear-gradient(to var(--fade), transparent 0%, rgba(0, 0, 0, .55) 30%, #000 65%); mask-image: linear-gradient(to var(--fade), transparent 0%, rgba(0, 0, 0, .55) 30%, #000 65%); }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-copy { position: relative; z-index: 2; padding: 56px; max-width: 620px; }
.cta h2 { color: #fff; }
.cta-copy p { margin: 12px 0 24px; color: rgba(255, 255, 255, .92); font-size: 17px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 28px; align-items: stretch; }
.contact-info { background: linear-gradient(135deg, var(--navy), #0b6f8f 70%, var(--teal)); color: #fff; border-radius: 20px; padding: 40px; }
.contact-info h3 { font-size: 24px; font-weight: 800; margin-bottom: 24px; }
.contact-info ul { display: grid; gap: 20px; }
.contact-info li { display: flex; align-items: center; gap: 14px; }
.ci-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .16); flex-shrink: 0; }
.contact-info small { display: block; font-size: 12px; color: rgba(255, 255, 255, .7); }
.contact-info b { font-weight: 700; word-break: break-word; }
.contact-brand { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }
.contact-brand strong { display: block; font-size: 24px; font-weight: 800; }
.contact-brand span { color: rgba(255, 255, 255, .8); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 40px; display: grid; gap: 18px; }
.contact-form h3 { font-size: 22px; font-weight: 800; color: var(--navy); }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 12px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.notice.ok { background: #dcfce7; color: #166534; }
.notice.err { background: #fee2e2; color: #991b1b; }
.notice.info { background: var(--teal-soft); color: var(--teal-dark); }

/* Inner page banner */
.page-banner { background: linear-gradient(135deg, var(--navy), var(--navy-2) 60%, #0b6f8f); color: #fff; padding: 56px 0 60px; }
.page-banner h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; margin-top: 10px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: rgba(255, 255, 255, .72); }
.crumbs a:hover { color: #fff; }
.crumbs span:last-child { color: #fff; }
.crumbs.dark { color: var(--muted); margin-bottom: 18px; }
.crumbs.dark a:hover { color: var(--navy); }
.crumbs.dark span:last-child { color: var(--navy); font-weight: 600; }

/* =========================================================
   Baby Footprint product page
   ========================================================= */
.product-hero { background: linear-gradient(180deg, var(--bg-soft), #fff); padding: 56px 0 72px; overflow: hidden; }
.product-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.product-hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.18; font-weight: 800; color: var(--navy); }
.product-hero-media img { mix-blend-mode: multiply; margin-inline: auto; max-height: 560px; width: auto; }

.prose-lg { display: grid; gap: 18px; font-size: 17.5px; color: #33465a; }
.video-frame { border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(6, 31, 56, .22); background: #000; }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; background: #000; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .25s, transform .25s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature h3 { margin: 16px 0 8px; font-size: 18px; font-weight: 800; color: var(--navy); }
.feature p { color: var(--muted); font-size: 15px; }
.feature-wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; background: linear-gradient(135deg, var(--teal-soft), #fff); }
.feature-wide h3 { margin-top: 0; }

.specs { background: var(--navy); color: #fff; padding: 44px 0; }
.spec-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.spec-tiles li { text-align: center; padding: 8px 6px; }
.spec-tiles strong { display: block; font-size: 26px; font-weight: 800; color: #4fd9d5; line-height: 1.2; }
.spec-tiles span { display: block; margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, .78); line-height: 1.4; }

.diagram { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.diagram img { margin-inline: auto; border-radius: 12px; }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.legend li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.legend-no { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); font-size: 13px; font-weight: 800; }

.detail-circles { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 40px; }
.detail-circles li { width: 180px; text-align: center; }
.detail-circles img { width: 164px; height: 164px; margin: 0 auto 14px; border-radius: 50%; box-shadow: 0 10px 26px rgba(6, 31, 56, .14); border: 2px solid #fff; }
.detail-circles span { font-weight: 700; font-size: 14.5px; color: var(--navy); line-height: 1.4; display: block; }

.brochure { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.brochure h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; color: var(--navy); line-height: 1.25; }
.brochure-pages { display: grid; gap: 16px; }
.brochure-pages a { display: block; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; }
.brochure-pages a:hover { transform: translateY(-4px); }
.brochure-pages a:nth-child(2) { margin-inline-start: 40px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 36px 0 28px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 0; }
.footer-links li + li::before { content: ""; display: inline-block; width: 1px; height: 14px; background: var(--line); margin: 0 14px; vertical-align: middle; }
.footer-links a { font-size: 14px; color: var(--muted); font-weight: 500; }
.footer-links a:hover { color: var(--teal-dark); }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 14px; color: var(--muted); }
html[dir="rtl"] .footer-meta { align-items: flex-start; }
.footer-site { font-weight: 700; color: var(--navy); font-size: 15px; }
.footer-meta a:hover { color: var(--teal-dark); }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--bg-soft); color: var(--navy); }
.social a:hover { background: var(--teal); color: #fff; }
.footer-copy { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; font-size: 13px; color: var(--muted); }

.prose { max-width: 820px; }
.prose h1 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }

/* =========================================================
   Reveal animation (only when JS is available)
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.btn:hover, .spec-card:hover, .feature:hover { transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
	.cards-4 { grid-template-columns: repeat(2, 1fr); }
	.spec-tiles { grid-template-columns: repeat(3, 1fr); }
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
	.partner-tiles { grid-template-columns: repeat(2, 1fr); }
	.footer-top { flex-direction: column; align-items: flex-start; }
	.footer-meta, html[dir="rtl"] .footer-meta { align-items: flex-start; }
}

@media (max-width: 900px) {
	.section { padding: 72px 0; }
	.hero { min-height: 0; padding: 56px 0 84px; }
	.hero-media, .band-media { width: 100%; opacity: .45; }
	.hero-media::after, .band-media::after { background: linear-gradient(180deg, rgba(6, 31, 56, .55), rgba(6, 31, 56, .9)); }
	.band-inner { padding-block: 64px; }
	.cta-media { width: 100%; opacity: .25; -webkit-mask-image: none; mask-image: none; }
	.cta-copy { padding: 40px 28px; }
	.contact-grid, .grid-2, .product-hero-grid, .brochure, .diagram { grid-template-columns: 1fr; }
	.product-hero-media { order: -1; }
	.product-hero-media img { max-height: 380px; }
	.spec-row, .spec-row:nth-child(even) { grid-template-columns: 1fr; }
	.spec-row:nth-child(even) .spec-row-media { order: 0; }
	.spec-row-media img { min-height: 200px; max-height: 260px; }
	.steps { grid-template-columns: 1fr; gap: 24px; }
	.step, .step + .step { padding: 0 0 24px; border-inline-start: 0; border-bottom: 1px solid var(--line); }
	.step:last-child { border-bottom: 0; }
	.journey-list, .pathway { grid-template-columns: repeat(2, 1fr); }
	.flow { grid-template-columns: 1fr; }
	.flow-arrow { transform: rotate(90deg); }
	html[dir="rtl"] .flow-arrow { transform: rotate(90deg); }
	.ecosystem, .journey, .panel, .contact-form, .contact-info { padding: 28px 22px; }
	.brochure-pages a:nth-child(2) { margin-inline-start: 0; }
}

@media (max-width: 640px) {
	.container { padding-inline: 18px; }
	.cards-4, .feature-grid, .partner-tiles { grid-template-columns: 1fr; }
	.stats-card { grid-template-columns: 1fr; gap: 18px; }
	.stat + .stat { border-inline-start: 0; border-top: 1px solid var(--line); padding-top: 18px; }
	.spec-tiles { grid-template-columns: repeat(2, 1fr); }
	.legend { grid-template-columns: 1fr; }
	.feature-wide { flex-direction: column; align-items: flex-start; }
	.btn-row .btn { width: 100%; }
	.brand-sub { display: none; }
	.lang-toggle { padding: 8px 12px; }
}

/* =========================================================
   About page (company profile)
   ========================================================= */
.about-prose { gap: 20px; }
.about-prose .about-lead { font-size: 21px; font-weight: 600; color: var(--navy); line-height: 1.6; }

.vm { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: 96px 0; }
.vm-media { position: absolute; inset: 0; }
.vm-media img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.vm-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(6, 31, 56, .94), rgba(10, 49, 86, .86) 55%, rgba(4, 92, 110, .8)); }
.vm-inner { position: relative; z-index: 2; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.vm-block { padding: 8px 56px; }
.vm-block + .vm-block { border-inline-start: 1px solid rgba(255, 255, 255, .22); }
.vm-block:first-child { padding-inline-start: 0; }
.vm-block:last-child { padding-inline-end: 0; }
.vm-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(79, 217, 213, .16); color: #4fd9d5; font-size: 24px; }
.vm-label { margin-top: 18px; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #4fd9d5; }
.vm-text { margin-top: 12px; font-size: clamp(19px, 2vw, 24px); line-height: 1.55; font-weight: 500; color: #fff; }

.values { margin-top: 80px; padding-top: 56px; border-top: 1px solid rgba(255, 255, 255, .22); }
.values-title { text-align: center; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: #fff; margin-bottom: 36px; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.values-grid li { text-align: center; padding: 28px 18px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); transition: transform .25s, background .25s; }
.values-grid li:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .12); }
.values-icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), #0bc0c0); color: #fff; font-size: 23px; }
.values-grid strong { display: block; margin-top: 16px; font-size: 18px; font-weight: 800; color: #fff; }
.values-desc { display: block; margin-top: 8px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .8); }

.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.role-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; transition: transform .25s, box-shadow .25s; }
.role-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.role-card h3 { margin: 22px 0 10px; font-size: 20px; font-weight: 800; color: var(--navy); }
.role-card p { color: var(--muted); }

.area-feature { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; margin-bottom: 24px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; }
.area-feature:hover { transform: translateY(-4px); }
.area-feature-media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.area-feature-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: 40px; }
.area-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(79, 217, 213, .16); color: #4fd9d5; font-size: 13px; font-weight: 700; }
.area-feature-body strong { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.25; font-weight: 800; }
.area-feature-more { color: #4fd9d5; font-weight: 600; }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.area-card { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding: 34px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.area-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.area-card strong { font-size: 17px; line-height: 1.4; font-weight: 800; color: var(--navy); }

.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.why-list li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--navy); }
.why-list li i { color: var(--teal); font-size: 20px; flex-shrink: 0; }
.why-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }

.closing { padding: 96px 0; text-align: center; background: linear-gradient(135deg, var(--navy), var(--navy-2) 60%, #0b6f8f); color: #fff; }
.closing h2 { max-width: 820px; margin: 0 auto 32px; font-size: clamp(26px, 3.6vw, 42px); line-height: 1.3; font-weight: 800; color: #fff; }
.closing h2 em { color: #4fd9d5; }

@media (max-width: 1100px) {
	.values-grid { grid-template-columns: repeat(3, 1fr); }
	.area-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.vm { padding: 64px 0; }
	.vm-grid { grid-template-columns: 1fr; gap: 36px; }
	.vm-block, .vm-block:first-child, .vm-block:last-child { padding: 0; }
	.vm-block + .vm-block { border-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 36px; }
	.values { margin-top: 56px; padding-top: 40px; }
	.role-grid { grid-template-columns: 1fr; }
	.area-feature { grid-template-columns: 1fr; }
	.area-feature-body { padding: 28px 24px; }
	.why-list { grid-template-columns: 1fr; }
	.closing { padding: 64px 0; }
}
@media (max-width: 600px) {
	.values-grid { grid-template-columns: 1fr; }
	.area-grid { grid-template-columns: 1fr; }
	.about-prose .about-lead { font-size: 18px; }
}
