/*
Theme Name: Rokn El Web
Theme URI: https://roknelweb.com/
Author: Rokn El Web
Author URI: https://roknelweb.com/
Description: Native multilingual block theme for Rokn El Web — Local Digital Growth Agency.
Requires at least: 6.6
Requires PHP: 8.1
Version: 0.2.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rokn-el-web
Tags: block-patterns, full-site-editing, rtl-language-support, translation-ready, wide-blocks
*/

:root {
	--rokn-midnight: #0b1220;
	--rokn-midnight-2: #111c30;
	--rokn-cobalt: #2563eb;
	--rokn-sky: #60a5fa;
	--rokn-warm: #ff7a45;
	--rokn-off-white: #f7f9fc;
	--rokn-slate: #64748b;
	--rokn-line: #dbe3ef;
	--rokn-white: #ffffff;
	--rokn-shadow: 0 28px 80px rgba(11, 18, 32, 0.14);
}

html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; }
a { text-underline-offset: 0.18em; }
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--rokn-sky);
	outline-offset: 4px;
}

.rokn-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(7, 13, 23, 0.94);
	backdrop-filter: blur(18px);
}
.rokn-layout { width: min(100% - 2rem, 1200px); margin-inline: auto; }
.rokn-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.rokn-logo img { width: 190px; height: auto; }
.rokn-logo { display: inline-flex; flex: 0 0 auto; }
.rokn-nav ul { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.7rem); margin: 0; padding: 0; list-style: none; }
.rokn-nav a { color: #ced8e8; font-size: .78rem; font-weight: 800; text-decoration: none; }
.rokn-nav a:hover { color: #fff; }
.rokn-header-actions { display: flex; align-items: center; gap: 1rem; }
.rokn-lang { direction: ltr; display: flex; align-items: center; gap: .45rem; }
.rokn-lang a { color: #8291a7; font-size: .62rem; font-weight: 900; text-decoration: none; }
.rokn-lang a.is-current, .rokn-lang a:hover { color: #fff; }
.rokn-plain-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .75rem 1.1rem; border: 0; border-radius: 8px; background: var(--rokn-cobalt); color: #fff; box-shadow: 0 12px 30px rgba(37,99,235,.23); font-size: .78rem; font-weight: 900; line-height: 1.2; text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease; }
.rokn-plain-button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(37,99,235,.33); }
.rokn-plain-button--light { background: #fff; color: var(--rokn-midnight); }
.rokn-plain-button--light:hover { color: var(--rokn-midnight); }
.rokn-mobile-menu { display: none; position: relative; }
.rokn-mobile-menu summary { color: #fff; cursor: pointer; font-size: 1.45rem; list-style: none; }
.rokn-mobile-menu summary::-webkit-details-marker { display: none; }
.rokn-mobile-menu > div { position: absolute; top: calc(100% + 1.2rem); inset-inline-end: 0; min-width: 250px; padding: 1rem; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: var(--rokn-midnight); box-shadow: var(--rokn-shadow); }
.rokn-mobile-menu > div > a { display: block; padding: .65rem; color: #fff; font-weight: 800; text-decoration: none; }
.rokn-mobile-menu .rokn-lang { margin: .75rem 0; padding: .75rem; border-block: 1px solid rgba(255,255,255,.1); }
.rokn-mobile-menu .rokn-plain-button { display: flex; }
.rokn-header .wp-block-navigation-item__content { color: #ced8e8; font-size: 0.82rem; font-weight: 700; }
.rokn-header .wp-block-navigation-item__content:hover { color: #fff; }
.rokn-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--rokn-midnight); color: #fff; padding: 1.5rem; }
.rokn-language-switcher { direction: ltr; color: #93a2b8; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; }

.rokn-button .wp-block-button__link,
.wp-block-button.rokn-button .wp-block-button__link {
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
	box-shadow: 0 12px 30px rgba(37, 99, 235, 0.22);
}
.rokn-button .wp-block-button__link:hover,
.wp-block-button.rokn-button .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 36px rgba(37, 99, 235, 0.3);
}
.rokn-button--ghost .wp-block-button__link { background: transparent !important; border: 1px solid rgba(255,255,255,.28); color: #fff !important; box-shadow: none; }
.rokn-button--warm .wp-block-button__link { background: var(--rokn-warm) !important; color: var(--rokn-midnight) !important; box-shadow: 0 12px 30px rgba(255,122,69,.25); }

.rokn-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--rokn-cobalt);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.rokn-eyebrow::before { content: ""; width: 22px; height: 3px; background: currentColor; }

.rokn-hero {
	position: relative;
	overflow: hidden;
	min-height: calc(100svh - 82px);
	background: var(--rokn-midnight);
	color: #fff;
}
.rokn-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: .18;
	background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
	background-size: 58px 58px;
	mask-image: linear-gradient(to left, #000, transparent 70%);
	pointer-events: none;
}
.rokn-hero::after { content: ""; position: absolute; width: 620px; height: 620px; left: -360px; top: -300px; border-radius: 50%; background: rgba(37,99,235,.34); filter: blur(18px); }
.rokn-hero__inner { position: relative; z-index: 2; min-height: calc(100svh - 82px); }
.rokn-hero h1 { max-width: 760px; color: #fff; letter-spacing: -.04em; }
.rokn-hero h1 mark { color: var(--rokn-sky); background: transparent; }
.rokn-hero__lead { max-width: 700px; color: #becade; }
.rokn-hero__meta { direction: ltr; color: #a9b8cc; font-size: .62rem; font-weight: 800; letter-spacing: .11em; }

.rokn-system {
	position: relative;
	direction: ltr;
	min-height: 465px;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 24px;
	background: linear-gradient(150deg, rgba(31,46,72,.98), rgba(9,16,29,.98));
	box-shadow: 0 38px 90px rgba(0,0,0,.36);
}
.rokn-system::before { content: ""; position: absolute; right: 20px; top: 20px; width: 58px; height: 58px; border: 7px solid var(--rokn-sky); border-left: 0; border-bottom: 0; }
.rokn-system::after { content: ""; position: absolute; left: 20px; bottom: 20px; width: 34px; height: 34px; border: 6px solid var(--rokn-warm); border-right: 0; border-top: 0; }
.rokn-system__head { color: #91a1b8; font-size: .58rem; font-weight: 900; letter-spacing: .13em; }
.rokn-system__stages { direction: ltr; margin-block: 2rem; }
.rokn-system__stage { min-height: 108px; padding: 1rem; border-top: 2px solid var(--rokn-cobalt); border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035); }
.rokn-system__stage:last-child { border-top-color: var(--rokn-warm); }
.rokn-system__stage strong { color: #fff; font-size: .85rem; }
.rokn-system__stage small { color: #8291a7; font-size: .66rem; }
.rokn-system__outcome { padding: 1.15rem; border: 1px solid rgba(96,165,250,.22); border-radius: 14px; background: rgba(37,99,235,.16); color: #fff; }
.rokn-system__r { width: 64px; height: 64px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; background: var(--rokn-midnight); box-shadow: inset 4px 0 0 var(--rokn-cobalt), inset 0 -3px 0 var(--rokn-warm); font-size: 2rem; }

.rokn-grid { display: grid; gap: clamp(1rem, 2.5vw, 2rem); }
.rokn-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rokn-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rokn-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rokn-grid--hero { grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); align-items: center; }
.rokn-home h1 { margin-block: 1.25rem; font-size: clamp(2.65rem, 1.8rem + 3.5vw, 4.7rem); line-height: 1.05; }
.rokn-home h2 { margin-block: .9rem 1.25rem; font-size: clamp(2rem, 1.45rem + 2vw, 3.25rem); line-height: 1.13; }
.rokn-home h3 { margin-block: 1rem .65rem; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.7rem); }
.rokn-home p:empty, .rokn-header p:empty, .rokn-footer p:empty { display: none; }
.rokn-lead { max-width: 760px; font-size: clamp(1.03rem, .95rem + .3vw, 1.22rem); }
.rokn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-block: 2rem; }
.rokn-text-link { color: #fff; font-size: .82rem; font-weight: 900; text-decoration: none; }
.rokn-system__stage { display: grid; align-content: center; gap: .35rem; }
.rokn-system__outcome { display: flex; align-items: center; gap: 1rem; }
.rokn-section__intro { margin-bottom: clamp(2rem, 5vw, 3.6rem); }
.rokn-problem-list > div { display: grid; grid-template-columns: 40px 1fr; align-items: start; gap: .75rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--rokn-line); background: #fff; transition: transform 180ms ease, box-shadow 180ms ease; }
.rokn-problem-list > div:hover { transform: translateX(-5px); box-shadow: 0 12px 30px rgba(11,18,32,.07); }
.rokn-problem-list p { margin: 0; }

.rokn-trust { border-bottom: 1px solid var(--rokn-line); box-shadow: 0 15px 45px rgba(11,18,32,.05); }
.rokn-trust__item { min-height: 95px; display: grid; align-content: center; gap: .15rem; padding: 1.25rem; border-inline-start: 1px solid var(--rokn-line); }
.rokn-trust__item:first-child { border-top: 3px solid var(--rokn-cobalt); }
.rokn-trust__item small { color: var(--rokn-slate); }

.rokn-section { padding-block: clamp(4.75rem, 9vw, 7rem); }
.rokn-section--soft { background: var(--rokn-off-white); }
.rokn-section--dark { position: relative; overflow: hidden; background: var(--rokn-midnight); color: #fff; }
.rokn-section--dark h2, .rokn-section--dark h3 { color: #fff; }
.rokn-section__intro { max-width: 760px; }

.rokn-problem-list > .wp-block-group { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--rokn-line); background: #fff; transition: transform 180ms ease, box-shadow 180ms ease; }
.rokn-problem-list > .wp-block-group:hover { transform: translateX(-5px); box-shadow: 0 12px 30px rgba(11,18,32,.07); }
.rokn-index { color: var(--rokn-cobalt); font-size: .68rem; font-weight: 900; }

.rokn-method-card { min-height: 275px; padding: 1.9rem; border: 1px solid var(--rokn-line); border-top: 4px solid var(--rokn-cobalt); background: #fff; box-shadow: 0 12px 30px rgba(11,18,32,.07); }
.rokn-method-card:last-child { border-top-color: var(--rokn-warm); }
.rokn-method-card__number { width: 46px; height: 46px; display: grid; place-items: center; background: var(--rokn-midnight); color: #fff; font-size: .7rem; font-weight: 900; box-shadow: 8px 8px 0 #edf3ff; }
.rokn-method-card p, .rokn-track-card p { color: var(--rokn-slate); }

.rokn-track-card { position: relative; overflow: hidden; min-height: 340px; padding: clamp(1.6rem, 4vw, 2.4rem); border: 1px solid var(--rokn-line); border-top: 4px solid var(--rokn-cobalt); background: #fff; box-shadow: 0 12px 30px rgba(11,18,32,.07); }
.rokn-track-card--commerce { border-top-color: var(--rokn-warm); }
.rokn-chip { display: inline-block; padding: .3rem .65rem; border-radius: 30px; background: #edf3ff; color: var(--rokn-cobalt); font-size: .6rem; font-weight: 900; letter-spacing: .1em; }
.rokn-chip--warm { background: #fff0e9; color: #a43e18; }
.rokn-flow { color: var(--rokn-slate); font-size: .72rem; }

.rokn-offer-grid { position: relative; }
.rokn-offer-card { min-height: 470px; padding: 1.7rem; border: 1px solid rgba(255,255,255,.13); border-top: 3px solid var(--rokn-cobalt); background: rgba(255,255,255,.045); }
.rokn-offer-card--commerce { border-top-color: var(--rokn-warm); }
.rokn-offer-card p { color: #b7c3d6; }
.rokn-offer-card__price { margin-top: auto; padding-top: 1.35rem; border-top: 1px solid rgba(255,255,255,.1); }
.rokn-offer-card { display: flex; flex-direction: column; }
.rokn-offer-card h3 { color: #fff; }
.rokn-offer-card ul { padding-inline-start: 1.1rem; color: #b7c3d6; font-size: .83rem; }
.rokn-offer-card__price { display: grid; gap: .3rem; }
.rokn-offer-card__price small { color: #8291a7; }

.rokn-proof-card { overflow: hidden; padding: .75rem .75rem 1.7rem; border: 1px solid var(--rokn-line); background: #fff; box-shadow: 0 12px 30px rgba(11,18,32,.07); }
.rokn-proof-card__visual { min-height: 235px; padding: 1.5rem; background: var(--rokn-cobalt); color: #fff; }
.rokn-proof-card .wp-block-post-featured-image { margin: 0 0 1.25rem; }
.rokn-proof-card .wp-block-post-featured-image img { border-radius: 0; object-fit: cover; }
.rokn-proof-card .wp-block-post-title, .rokn-proof-card .wp-block-post-excerpt { padding-inline: 1rem; }
.rokn-soft-panel { margin-block: clamp(2.5rem, 6vw, 5rem); padding: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid var(--rokn-line); border-inline-start: 5px solid var(--rokn-cobalt); background: #edf3ff; }
.rokn-proof-card--dark .rokn-proof-card__visual { background: var(--rokn-midnight); }
.rokn-proof-card--warm .rokn-proof-card__visual { background: var(--rokn-warm); color: var(--rokn-midnight); }
.rokn-proof-card__mark { font-size: clamp(3rem, 7vw, 5rem); font-weight: 900; letter-spacing: -.08em; line-height: .9; }
.rokn-proof-card > :not(.rokn-proof-card__visual) { margin-inline: 1rem; }
.rokn-proof-card > .rokn-chip { margin-top: 1.2rem; }

.rokn-geography { position: relative; overflow: hidden; padding: clamp(2rem, 6vw, 3.6rem); background: var(--rokn-midnight); color: #fff; box-shadow: var(--rokn-shadow); }
.rokn-geography::after { content: ""; position: absolute; left: -80px; bottom: -80px; width: 170px; height: 170px; border: 22px solid var(--rokn-warm); }
.rokn-geography h2 { color: #fff; }
.rokn-sector { display: inline-block; padding: .5rem .8rem; border: 1px solid rgba(255,255,255,.14); border-radius: 30px; background: rgba(255,255,255,.06); font-size: .72rem; }
.rokn-sectors { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }

.rokn-faq details { padding: 1.25rem .25rem; border-bottom: 1px solid var(--rokn-line); }
.rokn-faq summary { cursor: pointer; font-weight: 800; }
.rokn-faq summary::marker { color: var(--rokn-cobalt); }

.rokn-final-cta { position: relative; overflow: hidden; padding-block: clamp(4rem, 8vw, 5.2rem); background: var(--rokn-cobalt); color: #fff; }
.rokn-final-cta::before { content: ""; position: absolute; right: 35px; top: 30px; width: 70px; height: 70px; border: 10px solid rgba(255,255,255,.38); border-left: 0; border-bottom: 0; }
.rokn-final-cta::after { content: ""; position: absolute; left: 35px; bottom: 30px; width: 42px; height: 42px; border: 8px solid var(--rokn-warm); border-right: 0; border-top: 0; }
.rokn-final-cta .rokn-layout { position: relative; z-index: 2; }
.rokn-final-cta h2 { max-width: 760px; color: #fff; }
.rokn-final-cta p { color: #dbe9ff; }

.rokn-footer { padding-block: 4.5rem 1.6rem; background: #070d17; color: #fff; }
.rokn-footer__logo img { width: 220px; height: auto; }
.rokn-footer a, .rokn-footer p { color: #9eacc0; }
.rokn-footer a:hover { color: #fff; }
.rokn-footer__bottom { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); color: #6f7c90; font-size: .62rem; letter-spacing: .09em; }
.rokn-footer .rokn-grid > div { display: grid; align-content: start; gap: .65rem; }
.rokn-footer .rokn-grid > div > strong { color: #fff; }
.rokn-footer a { text-decoration: none; }
.rokn-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; }

.rokn-page-hero { padding-block: clamp(5rem, 10vw, 7rem); background: var(--rokn-off-white); }
.rokn-content { padding-block: clamp(4rem, 8vw, 6rem); }
.rokn-content :where(h2, h3, h4) { margin-top: 1.7em; }
.rokn-content :where(p, li) { max-width: 760px; }

.is-style-rokn-midnight { background: var(--rokn-midnight); color: #fff; }
.is-style-rokn-soft { background: var(--rokn-off-white); }
.is-style-rokn-accent-line { border-top: 4px solid var(--rokn-cobalt); }

@media (max-width: 960px) {
	.rokn-header__inner { min-height: 72px; }
	.rokn-logo img { width: 158px; }
	.rokn-nav, .rokn-header-actions { display: none; }
	.rokn-mobile-menu { display: block; }
	.rokn-grid--hero { grid-template-columns: 1fr; }
	.rokn-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rokn-hero, .rokn-hero__inner { min-height: auto; }
	.rokn-hero__inner { padding-block: 5rem 2.5rem; }
	.rokn-trust__item { border-bottom: 1px solid var(--rokn-line); }
}

@media (max-width: 600px) {
	.rokn-layout { width: min(100% - 1.4rem, 1200px); }
	.rokn-grid--2, .rokn-grid--3, .rokn-grid--4 { grid-template-columns: 1fr; }
	.rokn-home h1 { font-size: clamp(2.35rem, 11vw, 3.3rem); }
	.rokn-system { min-height: 390px; padding: 1.15rem; }
	.rokn-system__stages { gap: .3rem !important; }
	.rokn-system__stage { padding: .65rem; }
	.rokn-system__stage strong { font-size: .68rem; }
	.rokn-system__stage small { font-size: .54rem; }
	.rokn-method-card, .rokn-track-card, .rokn-offer-card { min-height: auto; }
	.rokn-footer__bottom { flex-direction: column; }
	.rokn-final-cta .wp-block-buttons { width: 100%; }
	.rokn-final-cta .wp-block-button, .rokn-final-cta .wp-block-button__link { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
