/*
Theme Name: EAI – El Abyad International
Theme URI: https://elabyad.com
Author: El Abyad International Ltd W.L.L
Description: Refined corporate theme for El Abyad International (EAI), Bahrain.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: eai
*/

:root {
    --navy: #0b1a3a;
    --navy-2: #102552;
    --navy-3: #16306b;
    --blue: #2f6bff;
    --blue-2: #1d4fd8;
    --indigo: #2a2fd8;
    --amber: #f59e0b;
    --red: #e03a3a;
    --ink: #17203a;
    --muted: #5d6882;
    --line: #e3e8f2;
    --soft: #f4f6fc;
    --white: #fff;
    --font: "Poppins", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(11, 26, 58, .12);
    --shadow-sm: 0 8px 24px rgba(11, 26, 58, .08);
    --header-h: 76px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.7; font-weight: 400; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; line-height: 1.18; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.015em; }
p { margin: 0 0 1.1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--blue); color: #fff; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 48px); }
.center { text-align: center; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 8px; }

.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--soft { background: var(--soft); }

/* Typography */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow--dark { color: var(--blue); }
.section-title { font-size: clamp(30px, 3.8vw, 48px); }
.section-sub { max-width: 620px; color: var(--muted); font-size: 18px; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .section-sub { margin-inline: auto; }
.lead { font-size: 19px; color: #2c3552; }
.prose > * + * { margin-top: 1em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 999px; border: 2px solid transparent; font-size: 15px; font-weight: 600; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 26px rgba(47, 107, 255, .3); }
.btn--primary:hover { background: var(--blue-2); box-shadow: 0 14px 32px rgba(47, 107, 255, .4); }
.btn--accent { background: var(--amber); color: #1b1300; box-shadow: 0 10px 26px rgba(245, 158, 11, .3); }
.btn--accent:hover { box-shadow: 0 14px 34px rgba(245, 158, 11, .45); }
.btn--outline { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--block { width: 100%; }

/* Top bar & header */
.topbar { background: var(--navy); color: #b8c4e0; font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; }
.topbar__group { margin: 0; color: var(--amber); font-weight: 500; }
.topbar__list { display: flex; gap: 24px; }
.topbar__list a { display: inline-flex; align-items: center; gap: 8px; }
.topbar__list a:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(11, 26, 58, .1); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; }
/* The logo is the original image file: only its height is set, so it is never stretched, recoloured or restyled. */
.brand img { height: 46px; width: auto; max-width: 100%; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu__item { position: relative; display: flex; align-items: center; }
.menu__item > a { display: block; padding: 28px 0; font-size: 15px; font-weight: 500; color: var(--ink); position: relative; transition: color .3s; }
.menu__item > a::after { content: ""; position: absolute; left: 0; bottom: 20px; width: 0; height: 3px; border-radius: 3px; background: var(--blue); transition: width .3s var(--ease); }
.menu__item:hover > a, .menu__item.is-current > a { color: var(--blue); }
.menu__item:hover > a::after, .menu__item.is-current > a::after { width: 100%; }
.sub-toggle { display: none; }
.has-sub > a { padding-right: 18px; }
.has-sub > a::before { content: ""; position: absolute; right: 2px; top: 50%; width: 6px; height: 6px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.submenu { position: absolute; top: 100%; left: -40px; width: 380px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu__link { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; transition: background .2s; }
.submenu__link:hover { background: var(--soft); }
.submenu__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #e9efff; color: var(--blue); font-size: 20px; flex: none; }
.submenu__link strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.submenu__link small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.submenu__cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; padding: 12px 14px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 500; }
.submenu__cta:hover { background: var(--blue); }
.nav-cta { padding: 11px 22px; font-size: 14px; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; }
.nav-toggle__bars { display: block; width: 26px; height: 18px; position: relative; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 8px; }
.nav-toggle__bars span:nth-child(3) { top: 16px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero slider */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding-top: 34px; }
.hero__bg { position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(47, 107, 255, .35), transparent 45%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.hero__orb--1 { width: 380px; height: 380px; right: -80px; top: -60px; background: var(--blue); }
.hero__orb--2 { width: 300px; height: 300px; left: -80px; bottom: -80px; background: var(--indigo); opacity: .4; }
.hero__top, .hero__stage, .hero__controls { position: relative; z-index: 2; }
.hero__top .eyebrow { margin: 0; }

.hero__stage { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(30px); transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s; padding: clamp(36px, 6vw, 80px) 0 clamp(36px, 5vw, 60px); }
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.slide__tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-size: 13.5px; font-weight: 500; color: #dbe6ff; margin-bottom: 22px; }
.slide__title { color: #fff; font-size: clamp(36px, 5.2vw, 68px); max-width: 15ch; margin-bottom: 20px; font-weight: 700; }
.slide__text { max-width: 540px; color: #c3d0ee; font-size: clamp(16px, 1.5vw, 19px); margin-bottom: 32px; }
.slide__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.slide__art { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; justify-self: center; }
.slide__badge { position: absolute; inset: 24%; display: grid; place-items: center; border-radius: 32%; font-size: clamp(54px, 7vw, 92px); color: #fff; background: linear-gradient(145deg, var(--blue), var(--indigo)); box-shadow: 0 30px 70px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .3); animation: float 6s ease-in-out infinite; }
.slide--amber .slide__badge { background: linear-gradient(145deg, #ffb52e, #e67e00); }
.slide--indigo .slide__badge { background: linear-gradient(145deg, #6a5cff, var(--indigo)); }
.slide__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); }
.slide__ring--1 { inset: 6%; border-style: dashed; animation: spin 50s linear infinite; }
.slide__ring--2 { inset: -6%; border-color: rgba(255, 255, 255, .1); }
.slide__chip { position: absolute; width: 18px; height: 18px; border-radius: 6px; background: var(--amber); animation: float 5s ease-in-out infinite; }
.slide__chip--a { top: 10%; right: 12%; }
.slide__chip--b { bottom: 14%; left: 8%; width: 12px; height: 12px; border-radius: 50%; background: #7fa6ff; animation-delay: -2s; }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__controls { display: flex; justify-content: space-between; align-items: center; padding-bottom: 40px; }
.dots { display: flex; gap: 10px; }
.dot { width: 40px; height: 4px; padding: 0; border: 0; background: rgba(255, 255, 255, .25); border-radius: 4px; position: relative; overflow: hidden; }
.dot span { position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.dot.is-active span { animation: fill 6.5s linear forwards; }
.hero.is-paused .dot.is-active span { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.arrows { display: flex; gap: 10px; }
.arrow-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #fff; display: grid; place-items: center; transition: background .3s, color .3s; }
.arrow-btn:hover { background: #fff; color: var(--navy); }
.arrow-btn--prev .ico { transform: rotate(180deg); }

/* Intro */
.intro { padding: clamp(56px, 7vw, 90px) 0; }
.intro__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.intro .section-title { margin: 0; }
.intro__actions { margin: 0; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfdcff; }
.service > a { display: flex; flex-direction: column; height: 100%; padding: 30px 26px; }
.service__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #e9efff; color: var(--blue); font-size: 26px; margin-bottom: 20px; transition: background .3s, color .3s; }
.service:hover .service__ico { background: var(--blue); color: #fff; }
.service__title { font-size: 19px; font-weight: 600; color: var(--navy); line-height: 1.3; margin-bottom: 8px; }
.service__text { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.service__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--blue); }
.service--cta { background: linear-gradient(150deg, var(--navy), var(--navy-3)); border-color: var(--navy); }
.service--cta .service__title { color: #fff; font-size: 22px; }
.service--cta .service__text { color: #b8c6e6; }
.service--cta .service__more { color: var(--amber); }

/* Why EAI */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: linear-gradient(180deg, #f8f9ff, #eef1fb); border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.why__grid::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, #1d2bff, var(--red)); }
.why__item { padding: 44px 28px 52px; text-align: center; border-left: 1px solid var(--line); }
.why__item:first-child { border-left: 0; }
.why__ico { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; color: #fff; font-size: 34px; background: linear-gradient(150deg, var(--indigo), #1a1fa0); box-shadow: 0 0 0 9px rgba(42, 47, 216, .1), 0 12px 26px rgba(42, 47, 216, .3); margin-bottom: 24px; transition: transform .4s var(--ease); }
.why__item:hover .why__ico { transform: translateY(-5px) scale(1.05); }
.why__item h3 { font-size: 22px; margin-bottom: 12px; }
.why__rule { display: block; width: 46px; height: 3px; border-radius: 3px; background: var(--red); margin: 0 auto 16px; }
.why__item p { color: var(--muted); font-size: 15.5px; margin: 0; max-width: 240px; margin-inline: auto; }

/* CEO message */
.ceo { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: clamp(64px, 8vw, 110px) 0; }
.ceo__bg { position: absolute; inset: 0; background: radial-gradient(circle at 12% 95%, rgba(47, 107, 255, .35), transparent 38%), radial-gradient(circle at 100% 0, rgba(255, 255, 255, .08), transparent 30%), linear-gradient(160deg, #0b1a3a, #0e2150); }
.ceo__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 26px 26px; }
.ceo__inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.ceo__bar { display: block; width: 70px; height: 4px; border-radius: 4px; background: var(--amber); margin-bottom: 26px; }
.ceo .eyebrow { margin-bottom: 22px; }
.ceo .eyebrow::before { display: none; }
.ceo__title { color: #fff; font-size: clamp(34px, 4.6vw, 58px); font-weight: 700; margin-bottom: 24px; max-width: 14ch; }
.ceo__title em { font-style: normal; color: var(--blue); }
.ceo__text { color: #d4def2; font-size: clamp(17px, 1.6vw, 20px); max-width: 580px; margin-bottom: 30px; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.pills li { padding: 10px 24px; border: 2px solid var(--blue); border-radius: 999px; font-weight: 500; color: #fff; transition: background .3s; }
.pills li:hover { background: var(--blue); }
.ceo__sign { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .25); max-width: 260px; }
.ceo__name { font-size: 26px; font-weight: 600; color: #fff; margin: 0 0 2px; }
.ceo__role { margin: 0; color: var(--amber); font-weight: 500; font-size: 17px; }
.ceo__photo { position: relative; margin: 0; max-width: 440px; justify-self: center; width: 100%; }
.ceo__photo::before { content: ""; position: absolute; inset: 40px -28px -28px 40px; background: var(--blue-2); border-radius: 40px; }
.ceo__photo img { position: relative; width: 100%; aspect-ratio: 450 / 610; object-fit: cover; border-radius: 40px; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.ceo__dot { position: absolute; z-index: 2; left: -42px; bottom: -34px; width: 92px; height: 92px; border-radius: 50%; background: var(--amber); }

/* Workflow */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, #c5d3ff 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step__num { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); color: var(--blue); font-size: 20px; font-weight: 700; margin-bottom: 22px; box-shadow: 0 0 0 8px #fff, var(--shadow-sm); transition: background .3s, color .3s, transform .3s var(--ease); }
.step:hover .step__num { background: var(--blue); color: #fff; transform: translateY(-4px); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }

/* Video */
.video { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: var(--navy); }
.video iframe, .video__play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { padding: 0; background: none; border: 0; }
.video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .6s var(--ease), opacity .3s; }
.video__play:hover img { transform: scale(1.04); opacity: 1; }
.video__btn { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 12px rgba(245, 158, 11, .25); }
.video__btn::after { content: ""; position: absolute; inset: 0; margin: auto; left: 4px; width: 0; height: 0; border-left: 24px solid #1b1300; border-top: 15px solid transparent; border-bottom: 15px solid transparent; }

/* Clients */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; gap: 16px; padding-right: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client { flex: none; display: flex; align-items: center; justify-content: center; width: 170px; height: 112px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .3s, transform .3s, border-color .3s; }
.client img { max-height: 76px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .4s, opacity .4s; }
.client:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); border-color: #cfdcff; }
.client:hover img { filter: none; opacity: 1; }

/* CTA */
.cta { padding: 0 0 clamp(64px, 8vw, 100px); }
.cta__panel { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(34px, 5vw, 60px); border-radius: 28px; background: linear-gradient(120deg, var(--navy), var(--navy-3)); color: #fff; box-shadow: var(--shadow); }
.cta__panel::before { content: ""; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 107, 255, .55), transparent 70%); }
.cta__panel > * { position: relative; }
.cta__panel h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 8px; }
.cta__panel p { color: #c3d0ee; margin: 0; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Inner pages */
.page-hero { position: relative; background: var(--navy); color: #fff; padding: clamp(60px, 8vw, 110px) 0 clamp(50px, 6vw, 80px); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background: radial-gradient(circle at 85% 10%, rgba(47, 107, 255, .4), transparent 45%), linear-gradient(160deg, var(--navy), var(--navy-2)); }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 26px 26px; }
.page-hero__inner { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(38px, 5vw, 64px); margin: 0; }
.breadcrumb { font-size: 14px; color: #9fb0d6; margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; }
.breadcrumb span[aria-current] { margin: 0; color: #fff; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillars li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 26px; text-align: center; transition: transform .4s var(--ease), box-shadow .4s; }
.pillars li:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillars h3 { font-size: 21px; }
.pillars p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* Contact & forms */
.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.info-list { margin: 30px 0; display: grid; gap: 14px; }
.info-list li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--soft); border-radius: 16px; }
.info-list__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue); color: #fff; font-size: 22px; flex: none; }
.info-list small { display: block; color: var(--muted); font-size: 13px; line-height: 1.2; }
.info-list a { font-weight: 600; color: var(--navy); font-size: 17px; }
.info-list a:hover { color: var(--blue); }

.form-card { padding: clamp(26px, 4vw, 42px); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 28px; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--soft); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 16px; transition: border-color .25s, background .25s, box-shadow .25s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 107, 255, .12); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; margin: 0 0 22px; border-radius: 12px; font-size: 15px; }
.notice--ok { background: #e8f8ef; color: #12603a; }
.notice--err { background: #fdeceb; color: #8a2222; }

/* Footer */
.site-footer { background: var(--navy); color: #a9b7d6; font-size: 15.5px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: clamp(28px, 4vw, 60px); padding-block: clamp(50px, 6vw, 80px); }
.site-footer p { margin-top: 18px; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 18px; margin-bottom: 18px; }
.site-footer li { padding: 5px 0; }
.site-footer a:hover { color: var(--amber); }
.site-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: 14px; }
.site-footer__bar { text-align: center; }
.site-footer__bar p { margin: 0 auto; max-width: none; text-align: center; }
.footer-logo { display: inline-block; background: #fff; padding: 8px 14px; border-radius: 12px; }
.footer-logo img { height: 44px; width: auto; }
.footer-name { color: #fff; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .28); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.1); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .why__grid { grid-template-columns: repeat(2, 1fr); }
    .why__item:nth-child(3) { border-left: 0; }
    .why__item:nth-child(n+3) { border-top: 1px solid var(--line); }
    .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
    .steps::before { display: none; }
    .pillars { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .menu { gap: 20px; }
}

@media (max-width: 960px) {
    :root { --header-h: 68px; }
    .nav-toggle { display: block; }
    .primary-nav { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 10px 24px 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; }
    .admin-bar .primary-nav { top: calc(var(--header-h) + 46px); }
    .primary-nav.is-open { transform: none; visibility: visible; }
    .menu { flex-direction: column; align-items: stretch; gap: 0; }
    .menu__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .menu__item > a { padding: 18px 0; flex: 1; font-size: 17px; }
    .menu__item > a::after, .has-sub > a::before { display: none; }
    .has-sub > a { padding-right: 0; }
    .sub-toggle { display: block; width: 52px; height: 52px; background: none; border: 0; position: relative; }
    .sub-toggle span { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translate(-50%, -70%) rotate(45deg); transition: transform .3s; }
    .sub-toggle[aria-expanded="true"] span { transform: translate(-50%, -30%) rotate(-135deg); }
    .submenu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 12px; display: none; }
    .has-sub.is-open .submenu { display: block; }
    .nav-cta { margin-top: 22px; padding: 16px; }
    .topbar__group { display: none; }
    .topbar__inner { justify-content: center; }

    .slide__inner, .intro__inner, .ceo__inner, .split, .contact-layout { grid-template-columns: 1fr; }
    .slide__art { max-width: 260px; order: -1; justify-self: start; }
    .ceo__photo { max-width: 340px; order: -1; margin-bottom: 26px; }
    .ceo__photo::before { inset: 26px -16px -16px 26px; }
    .ceo__dot { left: -20px; width: 64px; height: 64px; }
}

@media (max-width: 680px) {
    body { font-size: 16px; }
    .topbar__list { gap: 16px; flex-wrap: wrap; justify-content: center; }
    .service-grid, .pillars { grid-template-columns: 1fr; }
    .why__grid { grid-template-columns: 1fr; }
    .why__item { border-left: 0 !important; border-top: 1px solid var(--line); }
    .why__item:first-child { border-top: 0; }
    .steps { grid-template-columns: 1fr 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .client { width: 140px; height: 94px; }
    .cta__actions .btn { flex: 1 1 100%; }
    .slide__actions .btn { flex: 1 1 100%; }
    .founder { flex-direction: column; text-align: center; }
    .container { width: calc(100% - 36px); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
    .marquee__track { animation: none; }
    .marquee { overflow-x: auto; }
}


/* ---- Service pages, hosting, offers, about ---- */
.service-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.service-main .lead { margin-top: 0; }
.highlights { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }
.highlights li { padding: 16px 22px; border-radius: 16px; background: #eef3ff; border: 1px solid #d6e2ff; min-width: 170px; }
.highlights small { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.highlights strong { display: block; font-size: 19px; color: var(--navy); line-height: 1.3; }
.subhead { font-size: 26px; margin: 34px 0 16px; }
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 28px; }
.check-list--single { grid-template-columns: 1fr; }
.check-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.check-list__ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 15px; flex: none; }
.service-figure { margin: 28px 0; }
.service-figure img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.service-figure--side { margin-top: 0; }
.service-banner { margin: 0 0 40px; }
.closing { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; color: var(--blue); margin: 30px 0 10px; }
.service-note { color: var(--muted); }
.service-note a { color: var(--blue); font-weight: 500; }
.catalog { margin-top: 24px; padding: 24px; background: var(--soft); border-radius: var(--radius); }
.service-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.admin-bar .service-aside { top: calc(var(--header-h) + 56px); }
.contact-card { padding: 26px; border-radius: var(--radius); background: linear-gradient(150deg, var(--navy), var(--navy-3)); color: #fff; box-shadow: var(--shadow); }
.contact-card h3 { color: #fff; font-size: 22px; }
.contact-card ul { margin: 0 0 18px; }
.contact-card li a { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: #dbe6ff; }
.contact-card li a:hover { color: var(--amber); }
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-block; padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.split--hosting { grid-template-columns: 1.1fr .9fr; align-items: center; }

.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.offer a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.offer a:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.offer img { width: 100%; height: auto; }

.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.founder { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.founder:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.founder img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top center; }
.founder figcaption { padding: 18px 20px 22px; }
.founder h3 { font-size: 19px; margin: 0 0 2px; }
.founder p { margin: 0; color: var(--blue); font-weight: 500; font-size: 14.5px; }
.founder-note { text-align: center; color: var(--muted); font-size: 18px; margin: 44px 0 0; }

@media (max-width: 960px) {
    .service-layout, .split--hosting { grid-template-columns: 1fr; }
    .service-aside { position: static; }
}
@media (max-width: 680px) {
    .check-list, .offer-grid, .founders { grid-template-columns: 1fr; }
    .brand img { height: 40px; }
}


/* ---- v1.1: text logo fallback ---- */
.text-logo { display: inline-flex; flex-direction: column; line-height: 1; color: var(--navy); }
.text-logo strong { font-size: 30px; font-weight: 700; letter-spacing: .06em; color: var(--blue); }
.text-logo small { margin-top: 4px; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.text-logo--footer { padding: 10px 16px; border-radius: 12px; background: #fff; }

/* ---- v1.1: mobile menu fix (a blurred header traps the fixed menu panel inside it) ---- */
@media (max-width: 960px) {
    .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
    .primary-nav { top: var(--nav-top, var(--header-h)); }
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }

/* ---- v1.1: official EAI logo (shown as supplied; size only) ---- */
.brand img { height: 56px; width: auto; }
.footer-logo img { height: 56px; width: auto; }
@media (max-width: 960px) { .brand img { height: 44px; } }
