/*
Theme Name: Esy4u Genius Solutions
Theme URI: https://esy4u.online/
Author: Esy4u Genius Solutions
Author URI: https://esy4u.online/
Description: قالب ووردبريس كلاسيكي عربي (RTL) لشركة Esy4u Genius Solutions — تصميم وتطوير المواقع، SEO، Local SEO، AI Search Readiness، التحليلات والتتبع. سريع، متجاوب، مهيأ للتحويل عبر واتساب، وبدون اعتماد على page builders.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: esy4u
Tags: business, blog, one-column, two-columns, custom-logo, custom-menu, featured-images, rtl-language-support, translation-ready
*/

/* ==========================================================================
   1) DESIGN TOKENS (المتغيرات)
   ========================================================================== */
:root{
  /* Brand */
  --esy-blue:#0E8EE8;
  --esy-blue-light:#25A8F2;
  --esy-blue-dark:#0A6FB5;
  --esy-blue-050:#EAF5FE;
  --esy-navy:#07111F;
  --esy-navy-2:#0E1F33;
  --esy-white:#FFFFFF;
  --esy-gray:#F5F7FA;
  --esy-gray-2:#EDF1F6;
  --esy-border:#DFE5EC;
  --esy-text:#4B5563;
  --esy-heading:#07111F;
  --esy-wa:#25D366;
  --esy-wa-dark:#1DA851;

  /* Shape */
  --esy-radius-sm:10px;
  --esy-radius:16px;
  --esy-radius-lg:24px;

  /* Shadows */
  --esy-shadow-1:0 2px 10px rgba(7,17,31,.06);
  --esy-shadow-2:0 12px 30px rgba(7,17,31,.09);
  --esy-shadow-3:0 24px 60px rgba(7,17,31,.18);

  /* Layout */
  --esy-container:1180px;
  --esy-gutter:20px;
  --esy-section:64px;
  --esy-h:68px; /* ارتفاع الهيدر */

  /* Motion */
  --esy-t:.25s ease;

  /* Typography */
  --esy-font:"Tajawal","Segoe UI","Noto Kufi Arabic",Tahoma,system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
}
@media (min-width:768px){ :root{ --esy-section:88px; --esy-gutter:24px; --esy-h:76px; } }
@media (min-width:1200px){ :root{ --esy-section:104px; } }

/* ==========================================================================
   2) RESET
   ========================================================================== */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:calc(var(--esy-h) + 20px); }
body{
  margin:0;
  font-family:var(--esy-font);
  font-size:16px;
  line-height:1.9;
  color:var(--esy-text);
  background:var(--esy-white);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
img,svg,video,iframe{ max-width:100%; }
img,video{ height:auto; display:block; }
h1,h2,h3,h4,h5,h6{ margin:0 0 .6em; color:var(--esy-heading); font-weight:800; line-height:1.45; }
p{ margin:0 0 1em; }
ul,ol{ margin:0 0 1em; padding-inline-start:1.35em; }
li{ margin-bottom:.35em; }
a{ color:var(--esy-blue); text-decoration:none; transition:color var(--esy-t); }
a:hover{ color:var(--esy-blue-dark); }
button,input,select,textarea{ font:inherit; color:inherit; }
button{ cursor:pointer; background:none; border:0; }
table{ width:100%; border-collapse:collapse; }
th,td{ border:1px solid var(--esy-border); padding:10px; text-align:start; }
figure{ margin:0 0 1.5em; }
blockquote{
  margin:0 0 1.5em; padding:16px 20px; background:var(--esy-gray);
  border-inline-start:4px solid var(--esy-blue); border-radius:var(--esy-radius-sm);
}
code,pre{ background:var(--esy-gray-2); border-radius:8px; direction:ltr; }
code{ padding:2px 6px; }
pre{ padding:16px; overflow:auto; }
hr{ border:0; border-top:1px solid var(--esy-border); margin:32px 0; }

/* ==========================================================================
   3) TYPOGRAPHY SCALE
   ========================================================================== */
h1,.esy-h1{ font-size:clamp(1.85rem,1.2rem + 2.4vw,2.95rem); letter-spacing:-.2px; }
h2,.esy-h2{ font-size:clamp(1.5rem,1.15rem + 1.5vw,2.25rem); }
h3,.esy-h3{ font-size:clamp(1.15rem,1.05rem + .5vw,1.4rem); }
h4{ font-size:1.1rem; }
.esy-lead{ font-size:clamp(1rem,.96rem + .35vw,1.15rem); color:var(--esy-text); }
.esy-small{ font-size:.875rem; }
.esy-muted{ color:var(--esy-text); opacity:.85; }

/* ==========================================================================
   4) ACCESSIBILITY
   ========================================================================== */
.screen-reader-text{
  border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%);
  height:1px; width:1px; margin:-1px; overflow:hidden; padding:0;
  position:absolute !important; white-space:nowrap; word-wrap:normal;
}
.skip-link:focus{
  clip:auto !important; clip-path:none; height:auto; width:auto;
  inset-block-start:8px; inset-inline-start:8px; z-index:9999;
  background:var(--esy-white); color:var(--esy-navy);
  padding:12px 20px; border-radius:8px; box-shadow:var(--esy-shadow-2);
}
:focus-visible{ outline:3px solid var(--esy-blue-light); outline-offset:2px; border-radius:6px; }
a:focus:not(:focus-visible){ outline:none; }

/* ==========================================================================
   5) LAYOUT
   ========================================================================== */
.esy-container{
  width:100%; max-width:var(--esy-container);
  margin-inline:auto; padding-inline:var(--esy-gutter);
}
.esy-main{ display:block; }
.esy-section{ padding-block:var(--esy-section); position:relative; }
.esy-section--alt{ background:var(--esy-gray); }
.esy-section--navy{ background:var(--esy-navy); color:#C7D3E0; }
.esy-section--navy h1,.esy-section--navy h2,.esy-section--navy h3{ color:var(--esy-white); }
.esy-section--tight{ padding-block:calc(var(--esy-section) * .6); }

.esy-section__head{ max-width:720px; margin-inline:auto; text-align:center; margin-bottom:40px; }
.esy-section__head--start{ margin-inline:0; text-align:start; }
.esy-eyebrow{
  display:inline-block; font-size:.8rem; font-weight:700; letter-spacing:.4px;
  color:var(--esy-blue-dark); background:var(--esy-blue-050);
  padding:6px 14px; border-radius:999px; margin-bottom:14px;
}
.esy-section--navy .esy-eyebrow{ background:rgba(37,168,242,.15); color:var(--esy-blue-light); }
.esy-section__head p{ margin-bottom:0; }

.esy-grid{ display:grid; gap:20px; }
.esy-grid--2{ grid-template-columns:1fr; }
.esy-grid--3{ grid-template-columns:1fr; }
.esy-grid--4{ grid-template-columns:1fr; }
@media (min-width:600px){
  .esy-grid--2,.esy-grid--3,.esy-grid--4{ grid-template-columns:repeat(2,1fr); }
}
@media (min-width:992px){
  .esy-grid{ gap:24px; }
  .esy-grid--3{ grid-template-columns:repeat(3,1fr); }
  .esy-grid--4{ grid-template-columns:repeat(4,1fr); }
}
.esy-split{ display:grid; gap:32px; align-items:center; }
@media (min-width:992px){ .esy-split{ grid-template-columns:1fr 1fr; gap:48px; } }

/* Reveal on scroll (يُفعّل بالجافاسكربت فقط) */
.js-reveal .esy-reveal{ opacity:0; transform:translateY(16px); }
.js-reveal .esy-reveal.is-visible{ opacity:1; transform:none; transition:opacity .6s ease, transform .6s ease; }

/* ==========================================================================
   6) ICONS
   ========================================================================== */
.esy-icon{ width:24px; height:24px; flex:0 0 auto; }
.esy-icon--sm{ width:18px; height:18px; }

/* ==========================================================================
   7) BUTTONS
   ========================================================================== */
.esy-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 24px; border-radius:999px; font-weight:700; font-size:.98rem;
  line-height:1.2; border:2px solid transparent; text-align:center;
  transition:transform var(--esy-t), background var(--esy-t), color var(--esy-t), box-shadow var(--esy-t), border-color var(--esy-t);
  cursor:pointer;
}
.esy-btn:hover{ transform:translateY(-2px); }
.esy-btn:active{ transform:translateY(0); }
.esy-btn .esy-icon{ width:20px; height:20px; }

.esy-btn--primary{ background:var(--esy-blue); color:var(--esy-white); box-shadow:0 8px 20px rgba(14,142,232,.28); }
.esy-btn--primary:hover{ background:var(--esy-blue-dark); color:var(--esy-white); }

.esy-btn--wa{ background:var(--esy-wa); color:var(--esy-white); box-shadow:0 8px 20px rgba(37,211,102,.28); }
.esy-btn--wa:hover{ background:var(--esy-wa-dark); color:var(--esy-white); }

.esy-btn--ghost{ background:transparent; color:var(--esy-navy); border-color:var(--esy-border); }
.esy-btn--ghost:hover{ border-color:var(--esy-blue); color:var(--esy-blue); background:var(--esy-blue-050); }

.esy-btn--light{ background:var(--esy-white); color:var(--esy-navy); }
.esy-btn--light:hover{ color:var(--esy-blue-dark); }

.esy-btn--outline-light{ background:transparent; color:var(--esy-white); border-color:rgba(255,255,255,.35); }
.esy-btn--outline-light:hover{ background:rgba(255,255,255,.1); color:var(--esy-white); border-color:var(--esy-white); }

.esy-btn--sm{ padding:10px 18px; font-size:.9rem; }
.esy-btn--block{ display:flex; width:100%; }

.esy-btns{ display:flex; flex-wrap:wrap; gap:12px; }
.esy-btns--center{ justify-content:center; }

/* رابط نصي مع سهم */
.esy-link{ display:inline-flex; align-items:center; gap:6px; font-weight:700; font-size:.95rem; }
.esy-link .esy-icon{ width:18px; height:18px; transition:transform var(--esy-t); }
.esy-link:hover .esy-icon{ transform:translateX(-4px); }
html[dir="ltr"] .esy-link:hover .esy-icon{ transform:translateX(4px) rotate(180deg); }
html[dir="ltr"] .esy-link .esy-icon{ transform:rotate(180deg); }

/* ==========================================================================
   8) HEADER + NAV
   ========================================================================== */
.esy-topbar{
  display:none; background:var(--esy-navy); color:#9FB3C8; font-size:.82rem;
}
.esy-topbar__inner{ display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:40px; }
.esy-topbar a{ color:#C7D3E0; }
.esy-topbar a:hover{ color:var(--esy-blue-light); }
.esy-topbar__list{ display:flex; align-items:center; gap:20px; list-style:none; margin:0; padding:0; }
.esy-topbar__list li{ display:flex; align-items:center; gap:6px; margin:0; }
.esy-topbar .esy-icon{ width:16px; height:16px; color:var(--esy-blue-light); }
@media (min-width:992px){ .esy-topbar{ display:block; } }

.esy-header{
  position:sticky; inset-block-start:0; z-index:100;
  background:rgba(255,255,255,.94);
  backdrop-filter:saturate(180%) blur(10px);
  -webkit-backdrop-filter:saturate(180%) blur(10px);
  border-block-end:1px solid var(--esy-border);
  transition:box-shadow var(--esy-t);
}
.esy-header.is-scrolled{ box-shadow:var(--esy-shadow-1); }
.esy-header__inner{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  min-height:var(--esy-h);
}
.esy-brand{ display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.esy-brand img,.esy-brand .custom-logo{ max-height:42px; width:auto; }
.esy-brand__text{ font-weight:800; color:var(--esy-navy); font-size:1.05rem; line-height:1.2; }
.esy-brand__text span{ display:block; font-size:.72rem; font-weight:500; color:var(--esy-text); }

/* زر القائمة */
.esy-toggle{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:12px; border:1px solid var(--esy-border);
  background:var(--esy-white); flex:0 0 auto;
}
.esy-toggle__bars{ position:relative; display:block; width:20px; height:2px; background:var(--esy-navy); border-radius:2px; transition:var(--esy-t); }
.esy-toggle__bars::before,.esy-toggle__bars::after{
  content:""; position:absolute; inset-inline-start:0; width:20px; height:2px; background:var(--esy-navy); border-radius:2px; transition:var(--esy-t);
}
.esy-toggle__bars::before{ inset-block-start:-6px; }
.esy-toggle__bars::after{ inset-block-start:6px; }
.esy-toggle[aria-expanded="true"] .esy-toggle__bars{ background:transparent; }
.esy-toggle[aria-expanded="true"] .esy-toggle__bars::before{ inset-block-start:0; transform:rotate(45deg); }
.esy-toggle[aria-expanded="true"] .esy-toggle__bars::after{ inset-block-start:0; transform:rotate(-45deg); }

/* لوحة التنقل (موبايل) */
.esy-nav{
  position:fixed; inset-inline:0; inset-block-start:var(--esy-h);
  background:var(--esy-white);
  border-block-start:1px solid var(--esy-border);
  box-shadow:var(--esy-shadow-2);
  padding:14px var(--esy-gutter) 26px;
  max-height:calc(100vh - var(--esy-h)); overflow-y:auto;
  opacity:0; visibility:hidden; pointer-events:none; transform:translateY(-10px);
  transition:opacity .22s ease, transform .22s ease, visibility .22s;
  z-index:99;
}
.esy-nav.is-open{ opacity:1; visibility:visible; pointer-events:auto; transform:none; }
body.esy-nav-open{ overflow:hidden; }

.esy-menu{ list-style:none; margin:0 0 18px; padding:0; }
.esy-menu li{ margin:0; position:relative; }
.esy-menu > li > a,
.esy-menu .sub-menu a{
  display:block; padding:12px 6px; font-weight:700; color:var(--esy-navy);
  border-block-end:1px solid var(--esy-gray-2);
}
.esy-menu a:hover,.esy-menu .current-menu-item > a,.esy-menu .current_page_item > a{ color:var(--esy-blue); }
.esy-menu .sub-menu{ display:none; list-style:none; margin:0; padding:0 14px 6px; }
.esy-menu .sub-menu a{ font-weight:500; font-size:.95rem; color:var(--esy-text); }
.esy-menu .menu-item-has-children.is-open > .sub-menu{ display:block; }
.esy-submenu-toggle{
  position:absolute; inset-block-start:6px; inset-inline-end:0;
  width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; border-radius:8px;
}
.esy-submenu-toggle::before{
  content:""; width:9px; height:9px; border-inline-end:2px solid var(--esy-navy); border-block-end:2px solid var(--esy-navy);
  transform:rotate(45deg); transition:transform var(--esy-t); margin-block-start:-4px;
}
.esy-submenu-toggle[aria-expanded="true"]::before{ transform:rotate(-135deg); margin-block-start:2px; }
.esy-nav__cta{ display:flex; flex-direction:column; gap:10px; }

@media (min-width:992px){
  .esy-toggle{ display:none; }
  .esy-nav{
    position:static; opacity:1; visibility:visible; pointer-events:auto; transform:none;
    max-height:none; overflow:visible; box-shadow:none; border:0; padding:0; background:transparent;
    display:flex; align-items:center; flex:1 1 auto; justify-content:center;
  }
  .esy-nav__cta{ display:none; }
  .esy-menu{ display:flex; align-items:center; gap:4px; margin:0; }
  .esy-menu > li > a{ padding:10px 14px; border:0; border-radius:10px; font-size:.97rem; }
  .esy-menu > li > a:hover{ background:var(--esy-blue-050); }
  .esy-menu .menu-item-has-children > a{ padding-inline-end:26px; }
  .esy-menu .menu-item-has-children > a::after{
    content:""; position:absolute; inset-inline-end:10px; inset-block-start:50%;
    width:7px; height:7px; margin-block-start:-5px;
    border-inline-end:2px solid currentColor; border-block-end:2px solid currentColor;
    transform:rotate(45deg); opacity:.6;
  }
  .esy-menu .sub-menu{
    display:block; position:absolute; inset-block-start:calc(100% + 6px); inset-inline-start:0;
    min-width:240px; background:var(--esy-white); border:1px solid var(--esy-border);
    border-radius:14px; box-shadow:var(--esy-shadow-2); padding:8px;
    opacity:0; visibility:hidden; transform:translateY(8px);
    transition:opacity .2s ease, transform .2s ease, visibility .2s; z-index:60;
  }
  .esy-menu > li:hover > .sub-menu,
  .esy-menu > li:focus-within > .sub-menu{ opacity:1; visibility:visible; transform:none; }
  .esy-menu .sub-menu a{ border:0; border-radius:10px; padding:10px 12px; }
  .esy-menu .sub-menu a:hover{ background:var(--esy-blue-050); color:var(--esy-blue); }
  .esy-submenu-toggle{ display:none; }
}
.esy-header__actions{ display:none; gap:10px; flex:0 0 auto; }
@media (min-width:992px){ .esy-header__actions{ display:flex; align-items:center; } }
@media (max-width:1100px){ .esy-header__actions .esy-btn--ghost{ display:none; } }

/* شريط أدوات ووردبريس */
body.admin-bar .esy-header{ inset-block-start:32px; }
body.admin-bar .esy-nav{ inset-block-start:calc(var(--esy-h) + 32px); }
@media (max-width:782px){
  body.admin-bar .esy-header{ inset-block-start:46px; }
  body.admin-bar .esy-nav{ inset-block-start:calc(var(--esy-h) + 46px); }
}

/* ==========================================================================
   9) HERO
   ========================================================================== */
.esy-hero{
  position:relative; overflow:hidden;
  background:
    radial-gradient(1000px 500px at 100% 0%, rgba(37,168,242,.16), transparent 60%),
    radial-gradient(800px 400px at 0% 20%, rgba(14,142,232,.10), transparent 60%),
    var(--esy-white);
  padding-block:48px var(--esy-section);
}
@media (min-width:992px){ .esy-hero{ padding-block:64px var(--esy-section); } }
.esy-hero__inner{ display:grid; gap:36px; align-items:center; }
@media (min-width:992px){ .esy-hero__inner{ grid-template-columns:1.05fr .95fr; gap:48px; } }
.esy-hero h1{ margin-bottom:18px; }
.esy-hero h1 mark{ background:linear-gradient(180deg,transparent 62%, rgba(37,168,242,.35) 62%); color:inherit; padding:0 2px; }
.esy-hero__text{ font-size:1.06rem; max-width:600px; margin-bottom:26px; }
.esy-hero__chips{ list-style:none; margin:26px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:10px; }
.esy-hero__chips li{
  display:flex; align-items:center; gap:6px; margin:0;
  background:var(--esy-white); border:1px solid var(--esy-border);
  border-radius:999px; padding:7px 14px; font-size:.85rem; font-weight:600; color:var(--esy-navy);
  box-shadow:var(--esy-shadow-1);
}
.esy-hero__chips .esy-icon{ width:16px; height:16px; color:var(--esy-blue); }
.esy-hero__caption{ font-size:.78rem; text-align:center; margin:14px 0 0; opacity:.75; }

/* الواجهة التوضيحية */
.esy-mock{
  background:var(--esy-white); border:1px solid var(--esy-border);
  border-radius:var(--esy-radius-lg); box-shadow:var(--esy-shadow-3); overflow:hidden;
}
.esy-mock__top{
  display:flex; align-items:center; gap:6px; padding:12px 16px;
  background:var(--esy-gray); border-block-end:1px solid var(--esy-border);
}
.esy-mock__top span{ width:10px; height:10px; border-radius:50%; background:#CBD5E1; }
.esy-mock__top span:first-child{ background:#F87171; }
.esy-mock__top span:nth-child(2){ background:#FBBF24; }
.esy-mock__top span:nth-child(3){ background:#34D399; }
.esy-mock__top em{
  margin-inline-start:auto; font-style:normal; font-size:.72rem; color:var(--esy-text);
  background:var(--esy-white); border:1px solid var(--esy-border); border-radius:999px; padding:3px 12px; direction:ltr;
}
.esy-mock__body{ padding:16px; }
.esy-mock__cards{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.esy-mock__card{
  background:var(--esy-gray); border:1px solid var(--esy-gray-2);
  border-radius:var(--esy-radius); padding:14px;
}
.esy-mock__card--wide{ grid-column:1 / -1; }
.esy-mock__card .esy-icon{ width:20px; height:20px; color:var(--esy-blue); margin-bottom:8px; }
.esy-mock__card b{ display:block; font-size:.82rem; color:var(--esy-navy); margin-bottom:10px; direction:ltr; text-align:start; }
.esy-mock__bar{ display:block; height:8px; border-radius:999px; background:var(--esy-gray-2); overflow:hidden; }
.esy-mock__bar::after{
  content:""; display:block; height:100%; width:var(--w,60%);
  border-radius:999px; background:linear-gradient(90deg,var(--esy-blue),var(--esy-blue-light));
}

/* ==========================================================================
   10) CARDS
   ========================================================================== */
.esy-card{
  background:var(--esy-white); border:1px solid var(--esy-border);
  border-radius:var(--esy-radius); padding:26px 22px; height:100%;
  display:flex; flex-direction:column;
  transition:transform var(--esy-t), box-shadow var(--esy-t), border-color var(--esy-t);
}
.esy-card:hover{ transform:translateY(-4px); box-shadow:var(--esy-shadow-2); border-color:#C9E3F8; }
.esy-card__icon{
  width:52px; height:52px; border-radius:14px; display:inline-flex; align-items:center; justify-content:center;
  background:var(--esy-blue-050); color:var(--esy-blue); margin-bottom:16px;
}
.esy-card h3{ margin-bottom:10px; font-size:1.12rem; }
.esy-card p{ font-size:.95rem; margin-bottom:16px; }
.esy-card__foot{ margin-top:auto; display:flex; flex-wrap:wrap; align-items:center; gap:14px; }
.esy-card__wa{ display:inline-flex; align-items:center; gap:6px; font-size:.88rem; font-weight:700; color:var(--esy-wa-dark); }
.esy-card__wa .esy-icon{ width:16px; height:16px; }

.esy-card--plain{ background:var(--esy-gray); border-color:transparent; }
.esy-card--plain:hover{ transform:none; box-shadow:none; }

/* ==========================================================================
   11) LISTS (مشاكل / حلول)
   ========================================================================== */
.esy-list{ list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.esy-list li{
  display:flex; align-items:flex-start; gap:10px; margin:0;
  font-size:.98rem; color:var(--esy-text);
}
.esy-list .esy-icon{ width:22px; height:22px; margin-block-start:4px; }
.esy-list--check .esy-icon{ color:var(--esy-blue); }
.esy-list--x .esy-icon{ color:#EF4444; }
.esy-list--cols{ gap:12px; }
@media (min-width:768px){ .esy-list--cols{ grid-template-columns:repeat(2,1fr); column-gap:28px; } }
.esy-section--navy .esy-list li{ color:#C7D3E0; }
.esy-section--navy .esy-list--check .esy-icon{ color:var(--esy-blue-light); }

.esy-panel{
  background:var(--esy-white); border:1px solid var(--esy-border);
  border-radius:var(--esy-radius-lg); padding:28px 24px; box-shadow:var(--esy-shadow-1);
}
.esy-panel--soft{ background:var(--esy-gray); border-color:transparent; box-shadow:none; }
.esy-panel h3{ margin-bottom:16px; }

/* ==========================================================================
   12) PROCESS / STEPS
   ========================================================================== */
.esy-steps{ list-style:none; margin:0; padding:0; display:grid; gap:18px; counter-reset:esy-step; }
@media (min-width:768px){ .esy-steps{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1100px){ .esy-steps{ grid-template-columns:repeat(5,1fr); gap:16px; } }
.esy-step{
  position:relative; background:var(--esy-white); border:1px solid var(--esy-border);
  border-radius:var(--esy-radius); padding:24px 20px 20px; margin:0;
}
.esy-step__num{
  position:absolute; inset-block-start:-16px; inset-inline-start:20px;
  width:38px; height:38px; border-radius:12px;
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--esy-blue); color:var(--esy-white); font-weight:800; font-size:.95rem;
  box-shadow:0 6px 16px rgba(14,142,232,.35);
}
.esy-step h3{ font-size:1.02rem; margin:10px 0 8px; }
.esy-step p{ font-size:.9rem; margin:0; }
.esy-section--alt .esy-step{ background:var(--esy-white); }

/* ==========================================================================
   13) PRICING
   ========================================================================== */
.esy-plans{ display:grid; gap:22px; align-items:stretch; }
@media (min-width:992px){ .esy-plans{ grid-template-columns:repeat(3,1fr); } }
.esy-plan{
  position:relative; display:flex; flex-direction:column;
  background:var(--esy-white); border:1px solid var(--esy-border);
  border-radius:var(--esy-radius-lg); padding:30px 24px;
  transition:transform var(--esy-t), box-shadow var(--esy-t);
}
.esy-plan:hover{ transform:translateY(-4px); box-shadow:var(--esy-shadow-2); }
.esy-plan--featured{ border-color:var(--esy-blue); box-shadow:var(--esy-shadow-2); }
.esy-plan__tag{
  position:absolute; inset-block-start:-13px; inset-inline-start:50%; transform:translateX(50%);
  background:var(--esy-blue); color:var(--esy-white); font-size:.75rem; font-weight:700;
  padding:5px 16px; border-radius:999px; white-space:nowrap;
}
html[dir="ltr"] .esy-plan__tag{ transform:translateX(-50%); }
.esy-plan h3{ font-size:1.3rem; margin-bottom:6px; }
.esy-plan__for{ font-size:.9rem; margin-bottom:18px; min-height:52px; }
.esy-plan__price{
  display:flex; align-items:baseline; gap:6px; flex-wrap:wrap;
  padding-block:16px; border-block:1px solid var(--esy-border); margin-bottom:20px;
}
.esy-plan__price strong{ font-size:1.5rem; color:var(--esy-navy); font-weight:800; }
.esy-plan__price span{ font-size:.85rem; }
.esy-plan .esy-list{ margin-bottom:24px; }
.esy-plan .esy-list li{ font-size:.92rem; }
.esy-plan .esy-btn{ margin-top:auto; }
.esy-note{
  background:var(--esy-blue-050); border:1px dashed #B8DDF7; border-radius:var(--esy-radius);
  padding:16px 18px; font-size:.9rem; margin-top:28px; color:var(--esy-navy);
}

/* ==========================================================================
   14) PORTFOLIO
   ========================================================================== */
.esy-work{
  background:var(--esy-white); border:1px solid var(--esy-border);
  border-radius:var(--esy-radius); overflow:hidden; height:100%;
  display:flex; flex-direction:column;
  transition:transform var(--esy-t), box-shadow var(--esy-t);
}
.esy-work:hover{ transform:translateY(-4px); box-shadow:var(--esy-shadow-2); }
.esy-work__thumb{
  position:relative; aspect-ratio:16/10; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--esy-navy) 0%, var(--esy-blue-dark) 100%);
  color:rgba(255,255,255,.55); font-weight:800; letter-spacing:1px; font-size:.9rem;
}
.esy-work__thumb .esy-icon{ width:34px; height:34px; }
.esy-work__body{ padding:20px; display:flex; flex-direction:column; flex:1; }
.esy-work h3{ font-size:1.05rem; margin-bottom:8px; }
.esy-work p{ font-size:.92rem; margin-bottom:14px; }
.esy-badge{
  display:inline-flex; align-items:center; gap:6px; align-self:flex-start;
  background:var(--esy-gray-2); color:var(--esy-text);
  font-size:.72rem; font-weight:700; padding:4px 12px; border-radius:999px; margin-bottom:12px;
}
.esy-badge--soon{ background:#FEF3C7; color:#92400E; }
.esy-badge--demo{ background:var(--esy-blue-050); color:var(--esy-blue-dark); }
.esy-work__foot{ margin-top:auto; }

/* ==========================================================================
   15) FAQ
   ========================================================================== */
.esy-faq{ max-width:860px; margin-inline:auto; display:grid; gap:12px; }
.esy-faq__item{
  background:var(--esy-white); border:1px solid var(--esy-border);
  border-radius:var(--esy-radius); overflow:hidden;
}
.esy-faq__item.is-open{ border-color:#BFE0F8; box-shadow:var(--esy-shadow-1); }
.esy-faq__h{ margin:0; font-size:1rem; }
.esy-faq__q{
  display:flex; align-items:center; justify-content:space-between; gap:14px; width:100%;
  padding:18px 20px; text-align:start; font-weight:700; color:var(--esy-navy);
  font-size:1rem; line-height:1.6;
}
.esy-faq__q:hover{ color:var(--esy-blue); }
.esy-faq__ico{
  position:relative; flex:0 0 auto; width:26px; height:26px; border-radius:8px;
  background:var(--esy-blue-050);
}
.esy-faq__ico::before,.esy-faq__ico::after{
  content:""; position:absolute; inset-block-start:50%; inset-inline-start:50%;
  background:var(--esy-blue); border-radius:2px; transform:translate(50%,-50%);
}
html[dir="ltr"] .esy-faq__ico::before,html[dir="ltr"] .esy-faq__ico::after{ transform:translate(-50%,-50%); }
.esy-faq__ico::before{ width:12px; height:2px; }
.esy-faq__ico::after{ width:2px; height:12px; transition:transform var(--esy-t), opacity var(--esy-t); }
.esy-faq__q[aria-expanded="true"] .esy-faq__ico::after{ opacity:0; }
.esy-faq__a{ padding:0 20px 20px; }
.esy-faq__a p:last-child{ margin-bottom:0; }
.esy-faq__a[hidden]{ display:none; }

/* ==========================================================================
   16) CTA
   ========================================================================== */
.esy-cta{ position:relative; overflow:hidden; }
.esy-cta--navy{
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(37,168,242,.22), transparent 60%),
    var(--esy-navy);
  color:#C7D3E0;
}
.esy-cta--blue{ background:linear-gradient(135deg,var(--esy-blue),var(--esy-blue-light)); color:rgba(255,255,255,.92); }
.esy-cta--blue h2,.esy-cta--navy h2{ color:var(--esy-white); }
.esy-cta--light{ background:var(--esy-gray); }
.esy-cta__inner{ text-align:center; max-width:760px; margin-inline:auto; }
.esy-cta__inner p{ font-size:1.05rem; margin-bottom:26px; }
.esy-cta__note{ font-size:.85rem; margin:20px 0 0; opacity:.8; }

/* ==========================================================================
   17) FORMS
   ========================================================================== */
.esy-form{ display:grid; gap:16px; }
.esy-field{ display:grid; gap:7px; }
.esy-field label{ font-weight:700; font-size:.9rem; color:var(--esy-navy); }
.esy-field label .req{ color:#EF4444; }
.esy-field input,.esy-field select,.esy-field textarea,
input[type="text"],input[type="email"],input[type="tel"],input[type="search"],input[type="url"],textarea,select{
  width:100%; padding:12px 14px; border:1px solid var(--esy-border);
  border-radius:12px; background:var(--esy-white); color:var(--esy-navy);
  transition:border-color var(--esy-t), box-shadow var(--esy-t);
}
.esy-field input:focus,.esy-field select:focus,.esy-field textarea:focus,
input:focus,textarea:focus,select:focus{
  outline:none; border-color:var(--esy-blue); box-shadow:0 0 0 4px rgba(14,142,232,.14);
}
.esy-field textarea{ min-height:130px; resize:vertical; }
.esy-form__hint{ font-size:.83rem; margin:0; }
.esy-form__status{ font-size:.9rem; font-weight:700; margin:0; min-height:1px; }
.esy-form__status.is-error{ color:#B91C1C; }
.esy-form__status.is-ok{ color:var(--esy-wa-dark); }
@media (min-width:768px){ .esy-form__row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; } }

.esy-contact-list{ list-style:none; margin:0 0 24px; padding:0; display:grid; gap:16px; }
.esy-contact-list li{ display:flex; align-items:flex-start; gap:12px; margin:0; }
.esy-contact-list .esy-icon{
  width:42px; height:42px; padding:9px; border-radius:12px;
  background:var(--esy-blue-050); color:var(--esy-blue); flex:0 0 auto;
}
.esy-contact-list b{ display:block; color:var(--esy-navy); font-size:.9rem; }
.esy-contact-list span{ font-size:.95rem; word-break:break-word; }

/* ==========================================================================
   18) BLOG
   ========================================================================== */
.esy-posts{ display:grid; gap:24px; }
@media (min-width:700px){ .esy-posts{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1000px){ .esy-posts{ grid-template-columns:repeat(3,1fr); } }
.esy-post-card{
  display:flex; flex-direction:column; background:var(--esy-white);
  border:1px solid var(--esy-border); border-radius:var(--esy-radius);
  overflow:hidden; height:100%; transition:transform var(--esy-t), box-shadow var(--esy-t);
}
.esy-post-card:hover{ transform:translateY(-4px); box-shadow:var(--esy-shadow-2); }
.esy-post-card__thumb{ display:block; aspect-ratio:16/9; overflow:hidden; background:var(--esy-gray-2); }
.esy-post-card__thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.esy-post-card:hover .esy-post-card__thumb img{ transform:scale(1.05); }
.esy-post-card__thumb--empty{
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--esy-navy),var(--esy-blue-dark)); color:rgba(255,255,255,.5);
}
.esy-post-card__body{ padding:20px; display:flex; flex-direction:column; flex:1; }
.esy-post-card h2,.esy-post-card h3{ font-size:1.08rem; margin-bottom:10px; }
.esy-post-card h2 a,.esy-post-card h3 a{ color:var(--esy-navy); }
.esy-post-card h2 a:hover,.esy-post-card h3 a:hover{ color:var(--esy-blue); }
.esy-post-card p{ font-size:.93rem; margin-bottom:16px; }
.esy-post-card .esy-link{ margin-top:auto; }
.esy-meta{ display:flex; flex-wrap:wrap; gap:12px; font-size:.8rem; color:var(--esy-text); margin-bottom:10px; }
.esy-meta .esy-icon{ width:15px; height:15px; }
.esy-meta span{ display:inline-flex; align-items:center; gap:5px; }

.esy-page-hero{
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(37,168,242,.16), transparent 60%),
    var(--esy-gray);
  padding-block:52px;
  border-block-end:1px solid var(--esy-border);
}
@media (min-width:768px){ .esy-page-hero{ padding-block:72px; } }
.esy-page-hero__inner{ max-width:820px; }
.esy-page-hero h1{ margin-bottom:16px; }
.esy-page-hero p{ font-size:1.05rem; margin-bottom:0; }
.esy-page-hero .esy-btns{ margin-top:26px; }

.esy-prose{ max-width:800px; margin-inline:auto; }
.esy-prose h2{ margin-top:1.6em; }
.esy-prose h3{ margin-top:1.4em; }
.esy-prose img{ border-radius:var(--esy-radius); }
.esy-prose ul li{ margin-bottom:.5em; }

.esy-single__thumb{ margin-bottom:28px; }
.esy-single__thumb img{ width:100%; border-radius:var(--esy-radius-lg); }
.esy-tags{ display:flex; flex-wrap:wrap; gap:8px; margin:28px 0 0; padding:0; list-style:none; }
.esy-tags a{
  display:inline-block; background:var(--esy-gray); border:1px solid var(--esy-border);
  border-radius:999px; padding:5px 14px; font-size:.82rem; color:var(--esy-text);
}
.esy-tags a:hover{ background:var(--esy-blue-050); color:var(--esy-blue-dark); }

.esy-pagination{ margin-top:44px; display:flex; justify-content:center; }
.esy-pagination .page-numbers{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:42px; height:42px; padding:0 12px; margin:0 3px;
  border:1px solid var(--esy-border); border-radius:12px;
  color:var(--esy-navy); font-weight:700; background:var(--esy-white);
}
.esy-pagination .page-numbers:hover{ border-color:var(--esy-blue); color:var(--esy-blue); }
.esy-pagination .page-numbers.current{ background:var(--esy-blue); border-color:var(--esy-blue); color:var(--esy-white); }

/* ==========================================================================
   19) 404
   ========================================================================== */
.esy-404{ text-align:center; padding-block:calc(var(--esy-section) + 20px); }
.esy-404__code{
  font-size:clamp(4rem,3rem + 8vw,8rem); font-weight:800; line-height:1;
  background:linear-gradient(135deg,var(--esy-blue),var(--esy-blue-light));
  -webkit-background-clip:text; background-clip:text; color:transparent; margin-bottom:10px;
}
.esy-404 p{ max-width:520px; margin-inline:auto; }

/* ==========================================================================
   20) FOOTER
   ========================================================================== */
.esy-footer{ background:var(--esy-navy); color:#9FB3C8; padding-block:56px 0; font-size:.95rem; }
.esy-footer__grid{ display:grid; gap:36px; }
@media (min-width:700px){ .esy-footer__grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1000px){ .esy-footer__grid{ grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; } }
.esy-footer h3{ color:var(--esy-white); font-size:1rem; margin-bottom:18px; }
.esy-footer a{ color:#9FB3C8; }
.esy-footer a:hover{ color:var(--esy-blue-light); }
.esy-footer__brand img{ max-height:44px; width:auto; margin-bottom:16px; background:rgba(255,255,255,.06); border-radius:10px; padding:6px 10px; }
.esy-footer__brand p{ font-size:.93rem; line-height:1.9; }
.esy-footer__list{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.esy-footer__list li{ margin:0; }
.esy-footer__list a{ display:inline-block; }
.esy-footer .esy-contact-list{ gap:12px; margin-bottom:18px; }
.esy-footer .esy-contact-list .esy-icon{ background:rgba(37,168,242,.14); color:var(--esy-blue-light); width:36px; height:36px; padding:8px; }
.esy-footer .esy-contact-list b{ color:var(--esy-white); }
.esy-footer .esy-contact-list span{ font-size:.9rem; }
.esy-social{ display:flex; gap:10px; list-style:none; margin:18px 0 0; padding:0; }
.esy-social li{ margin:0; }
.esy-social a{
  width:38px; height:38px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); font-size:.75rem; font-weight:700;
}
.esy-social a:hover{ background:var(--esy-blue); color:var(--esy-white); border-color:var(--esy-blue); }
.esy-footer__bottom{
  margin-top:44px; padding-block:22px; border-block-start:1px solid rgba(255,255,255,.08);
  display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; font-size:.85rem;
}
.esy-footer__bottom ul{ display:flex; gap:18px; list-style:none; margin:0; padding:0; flex-wrap:wrap; }
.esy-footer__bottom li{ margin:0; }

/* ==========================================================================
   21) FLOATING WHATSAPP
   ========================================================================== */
.esy-wa-float{
  position:fixed; inset-block-end:20px; inset-inline-start:20px; z-index:95;
  display:inline-flex; align-items:center; gap:10px;
  background:var(--esy-wa); color:var(--esy-white);
  padding:12px 16px; border-radius:999px; font-weight:700; font-size:.9rem;
  box-shadow:0 12px 30px rgba(37,211,102,.4);
  transition:transform var(--esy-t), background var(--esy-t);
}
.esy-wa-float:hover{ background:var(--esy-wa-dark); color:var(--esy-white); transform:translateY(-3px); }
.esy-wa-float .esy-icon{ width:24px; height:24px; }
.esy-wa-float span{ display:none; }
@media (min-width:768px){ .esy-wa-float span{ display:inline; } }
@media (max-width:767px){ .esy-wa-float{ padding:14px; inset-block-end:16px; inset-inline-start:16px; } }

/* ==========================================================================
   22) WORDPRESS CORE CLASSES
   ========================================================================== */
.alignright{ float:right; margin:0 0 1em 1.5em; }
.alignleft{ float:left; margin:0 1.5em 1em 0; }
.aligncenter{ display:block; margin-inline:auto; }
.alignwide,.alignfull{ max-width:100%; }
.wp-caption{ max-width:100%; }
.wp-caption-text,.wp-block-image figcaption{ font-size:.85rem; text-align:center; color:var(--esy-text); margin-top:8px; }
.sticky .esy-post-card{ border-color:var(--esy-blue); }
.gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:24px; }
.gallery-item img{ border-radius:12px; }
.wp-block-button__link{ border-radius:999px; }
.esy-clear::after{ content:""; display:table; clear:both; }

/* ==========================================================================
   23) MOTION / PRINT
   ========================================================================== */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
  .js-reveal .esy-reveal{ opacity:1 !important; transform:none !important; }
}
@media print{
  .esy-header,.esy-footer,.esy-wa-float,.esy-cta,.esy-nav{ display:none !important; }
  body{ color:#000; }
}