/*
Theme Name: AACC Corporate
Theme URI: https://ahamcc.com
Author: Ahmed Amin Customs Clearance
Description: قالب عربي احترافي لمؤسسة أحمد أمين للتخليص الجمركي.
Version: 2.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aacc
*/

:root {
  --navy: #071a2f;
  --navy-2: #0d2946;
  --blue: #0d6efd;
  --cyan: #26c6da;
  --gold: #f5b942;
  --paper: #f5f8fc;
  --white: #ffffff;
  --ink: #122033;
  --muted: #5d6b7c;
  --line: #dfe7f1;
  --shadow: 0 20px 60px rgba(7, 26, 47, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-soft { background: var(--paper); }
.eyebrow { color: var(--blue); font-weight: 800; font-size: .88rem; letter-spacing: .03em; }
.section-title { margin: 8px 0 14px; color: var(--navy); font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.25; }
.section-lead { max-width: 720px; margin: 0; color: var(--muted); font-size: 1.08rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: rgba(7, 26, 47, .96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 15px; font-size: .92rem; font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 30px rgba(13, 110, 253, .28);
}
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { font-size: .98rem; }
.brand-copy small { color: #b9c8d9; font-size: .7rem; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: .92rem; font-weight: 700; }
.nav-links a:hover { color: var(--cyan); }
.nav-toggle { display: none; border: 0; color: var(--white); background: transparent; font-size: 1.7rem; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 11px 22px; border: 1px solid transparent;
  border-radius: 14px; font-weight: 800; transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: linear-gradient(135deg, var(--blue), #0656c9); box-shadow: 0 14px 30px rgba(13,110,253,.25); }
.btn-outline { color: var(--white); border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.05); }
.btn-light { color: var(--navy); background: var(--white); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 24%, rgba(38,198,218,.2), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(13,110,253,.28), transparent 28%),
    linear-gradient(135deg, #061426 0%, #0a2745 62%, #0b3658 100%);
}
.hero::before, .hero::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.hero::before { width: 480px; height: 480px; left: -160px; bottom: -280px; }
.hero::after { width: 340px; height: 340px; right: -120px; top: 40px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 92px 0; }
.hero-badge { display: inline-flex; gap: 8px; padding: 7px 13px; border: 1px solid rgba(38,198,218,.38); border-radius: 99px; color: #bff7ff; background: rgba(38,198,218,.09); font-size: .82rem; font-weight: 800; }
.hero h1 { margin: 18px 0; max-width: 760px; font-size: clamp(2.45rem, 6vw, 5rem); line-height: 1.12; letter-spacing: -.03em; }
.hero h1 span { color: var(--cyan); }
.hero p { max-width: 690px; margin: 0 0 30px; color: #c4d1df; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-panel { padding: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: 28px; background: rgba(255,255,255,.07); box-shadow: 0 30px 80px rgba(0,0,0,.25); backdrop-filter: blur(18px); }
.hero-panel h2 { margin: 0 0 18px; font-size: 1.25rem; }
.route-list { display: grid; gap: 12px; }
.route-item { display: flex; align-items: center; gap: 12px; padding: 15px; border-radius: 15px; background: rgba(255,255,255,.07); }
.route-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: rgba(38,198,218,.14); font-size: 1.25rem; }
.route-item strong, .route-item small { display: block; }
.route-item small { color: #b8c7d7; }

.stats { position: relative; z-index: 2; margin-top: -44px; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 25px; text-align: center; border-inline-end: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat strong { display: block; color: var(--navy); font-size: 1.22rem; }
.stat span { color: var(--muted); font-size: .84rem; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.service-card { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); transition: .25s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(13,110,253,.35); box-shadow: var(--shadow); }
.service-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: #eaf2ff; color: var(--blue); font-size: 1.35rem; }
.service-card h3 { margin: 18px 0 8px; color: var(--navy); font-size: 1.08rem; line-height: 1.5; }
.service-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 44px; }
.step { position: relative; padding: 27px; border-radius: 20px; background: var(--white); box-shadow: 0 10px 30px rgba(7,26,47,.07); }
.step-number { display: grid; place-items: center; width: 38px; height: 38px; color: var(--white); background: var(--navy); border-radius: 12px; font-weight: 900; }
.step h3 { margin: 16px 0 7px; color: var(--navy); }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.about-visual { min-height: 410px; padding: 34px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 28px; color: var(--white); background: linear-gradient(145deg, #0d6efd, #07213b 72%); box-shadow: var(--shadow); }
.about-visual strong { font-size: 3.5rem; line-height: 1; }
.about-visual span { color: #c6d8ea; }
.check-list { display: grid; gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; }
.check-list li::before { content: "✓"; flex: 0 0 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--blue); font-size: .78rem; font-weight: 900; }

.cta { padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: 28px; color: var(--white); background: linear-gradient(135deg, var(--navy), var(--navy-2)); box-shadow: var(--shadow); }
.cta h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.cta p { margin: 0; color: #c2d0df; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.contact-card small { color: var(--muted); }
.contact-card strong { display: block; margin-top: 4px; color: var(--navy); font-size: 1.1rem; }

.site-footer { padding: 48px 0 24px; color: #b8c6d5; background: #051322; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.site-footer h3 { color: var(--white); margin-top: 0; }
.footer-links { display: grid; gap: 8px; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.floating-whatsapp { position: fixed; z-index: 90; left: 22px; bottom: 22px; width: 58px; height: 58px; display: grid; place-items: center; color: var(--white); background: #25d366; border-radius: 50%; box-shadow: 0 14px 34px rgba(37,211,102,.36); font-size: 1.65rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .services-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-panel { max-width: 620px; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; inset-inline: 18px; top: 78px; display: none; padding: 20px; flex-direction: column; align-items: stretch; border-radius: 18px; background: var(--navy); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .desktop-cta { display: none; }
}
@media (max-width: 680px) {
  .section { padding: 66px 0; }
  .hero { min-height: auto; }
  .hero-grid { padding: 72px 0 94px; gap: 34px; }
  .services-grid, .process-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-inline-end: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
  .brand-copy small { display: none; }
}

/* Version 2 — conversion-focused visual system */
body { font-family: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif; }
.utility-bar { color: #c9d8e8; background: #04101d; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .78rem; }
.utility-wrap { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.utility-links { display: flex; align-items: center; gap: 18px; }
.utility-links a:hover { color: var(--cyan); }
.status-dot { width: 7px; height: 7px; display: inline-block; margin-inline-end: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 5px rgba(74,222,128,.1); }
.site-header { box-shadow: 0 8px 30px rgba(1,12,24,.12); }
.nav-wrap { min-height: 82px; }
.brand-mark { position: relative; overflow: hidden; width: 52px; height: 52px; border-radius: 17px; }
.brand-mark { padding: 3px; background: #f6f8fb; box-shadow: 0 12px 30px rgba(13,110,253,.22); }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 14px; }
.brand-mark::after { content:""; position:absolute; width:28px; height:70px; top:-14px; left:-36px; transform:rotate(25deg); background:rgba(255,255,255,.3); animation: brandShine 5s ease-in-out infinite; }
@keyframes brandShine { 0%,55%{left:-36px} 70%,100%{left:80px} }

.hero { min-height: 760px; background: radial-gradient(circle at 80% 23%, rgba(38,198,218,.17), transparent 25%), radial-gradient(circle at 18% 24%, rgba(13,110,253,.23), transparent 27%), linear-gradient(135deg,#04111f 0%,#07233e 55%,#0a3b5d 100%); }
.hero-grid { grid-template-columns: 1.02fr .98fr; gap: 62px; padding: 82px 0 118px; }
.hero h1 { font-size: clamp(2.65rem,5.3vw,4.75rem); max-width: 780px; }
.hero h1 span { background: linear-gradient(90deg,#6ee7f2,#26c6da); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-proof { display:flex; flex-wrap:wrap; align-items:center; gap:15px; margin:22px 0 28px; }
.google-proof { display:inline-flex; align-items:center; gap:10px; padding:10px 14px; color:#fff; border:1px solid rgba(255,255,255,.14); border-radius:14px; background:rgba(255,255,255,.06); }
.google-proof .stars { color:#fbbf24; letter-spacing:1px; }
.google-proof small { color:#b9cadd; display:block; line-height:1.2; }
.mini-proof { display:flex; align-items:center; gap:7px; color:#bdd0e2; font-size:.84rem; }
.mini-proof b { color:#6ee7b7; }

.clearance-console { position:relative; padding:0; overflow:hidden; border:1px solid rgba(255,255,255,.14); border-radius:30px; background:rgba(255,255,255,.075); box-shadow:0 35px 100px rgba(0,0,0,.34); backdrop-filter:blur(22px); }
.console-head { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:20px 23px; border-bottom:1px solid rgba(255,255,255,.11); background:rgba(2,14,26,.28); }
.console-head strong { font-size:1.02rem; }
.live-pill { display:inline-flex; align-items:center; gap:7px; padding:6px 10px; border-radius:99px; color:#9ff2bc; background:rgba(34,197,94,.12); font-size:.72rem; font-weight:800; }
.live-pill::before { content:""; width:7px; height:7px; border-radius:50%; background:#4ade80; animation:pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow:0 0 0 8px rgba(74,222,128,0); } }
.console-body { padding:22px; }
.journey { display:grid; gap:11px; margin-bottom:20px; }
.journey-row { display:grid; grid-template-columns:42px 1fr auto; gap:12px; align-items:center; padding:13px 14px; border-radius:14px; background:rgba(255,255,255,.055); }
.journey-row .node { width:36px; height:36px; display:grid; place-items:center; border-radius:11px; color:#dffaff; background:rgba(38,198,218,.14); }
.journey-row strong,.journey-row small { display:block; }
.journey-row small { color:#9eb1c4; font-size:.75rem; }
.journey-status { color:#91e8b0; font-size:.72rem; font-weight:800; }
.journey-status.current { color:#8bddff; }

.quick-request { padding:18px; border:1px solid rgba(255,255,255,.1); border-radius:18px; background:rgba(2,14,26,.3); }
.quick-request h2 { margin:0 0 4px; font-size:1.05rem; }
.quick-request p { margin:0 0 13px; color:#9fb2c5; font-size:.78rem; }
.request-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.field { width:100%; min-height:46px; padding:9px 12px; color:#eef7ff; border:1px solid rgba(255,255,255,.14); border-radius:12px; outline:0; background:#0b2945; font:inherit; font-size:.82rem; }
.field:focus { border-color:#47d8e7; box-shadow:0 0 0 3px rgba(38,198,218,.1); }
.field option { color:#10243a; background:#fff; }
.request-submit { grid-column:1/-1; min-height:48px; border:0; border-radius:12px; color:#fff; background:linear-gradient(135deg,#1ebe5d,#128c3f); font:inherit; font-weight:800; cursor:pointer; transition:.2s ease; }
.request-submit:hover { transform:translateY(-2px); filter:brightness(1.05); }

.stats { margin-top:-58px; }
.stats-grid { border:0; box-shadow:0 28px 80px rgba(7,26,47,.14); }
.stat { position:relative; padding:27px 19px; }
.stat::after { content:""; position:absolute; inset-inline:18%; bottom:0; height:3px; border-radius:99px; background:linear-gradient(90deg,transparent,var(--cyan),transparent); opacity:0; transition:.2s ease; }
.stat:hover::after { opacity:1; }
.stat strong { font-size:1.32rem; }

.section-heading-row { display:flex; justify-content:space-between; align-items:end; gap:35px; }
.section-heading-row .section-lead { max-width:520px; }
.services-grid { gap:22px; }
.service-card { position:relative; overflow:hidden; min-height:260px; padding:28px; }
.service-card::before { content:""; position:absolute; width:110px; height:110px; inset-inline-end:-60px; top:-65px; border-radius:50%; background:#e9f3ff; transition:.25s ease; }
.service-card:hover::before { transform:scale(1.6); }
.service-icon { position:relative; width:56px; height:56px; border-radius:17px; }
.service-icon svg { width:27px; height:27px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.service-card h3 { font-size:1.13rem; }
.service-link { display:inline-flex; align-items:center; gap:6px; margin-top:16px; color:var(--blue); font-size:.82rem; font-weight:800; }

.reasons { padding:0; display:grid; grid-template-columns:1fr 1fr; overflow:hidden; border-radius:30px; background:var(--navy); box-shadow:var(--shadow); }
.reasons-copy { padding:55px; color:#fff; }
.reasons-copy .section-title { color:#fff; }
.reasons-copy .section-lead { color:#b9c9d9; }
.reason-list { display:grid; gap:12px; margin-top:28px; }
.reason-item { display:grid; grid-template-columns:44px 1fr; gap:13px; align-items:center; padding:14px; border:1px solid rgba(255,255,255,.1); border-radius:15px; background:rgba(255,255,255,.045); }
.reason-item b { display:block; }
.reason-item small { color:#aebfd0; }
.reason-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:12px; color:#dffbff; background:rgba(38,198,218,.13); }
.reason-visual { position:relative; min-height:520px; padding:46px; display:flex; flex-direction:column; justify-content:space-between; background:radial-gradient(circle at 70% 25%,rgba(38,198,218,.24),transparent 28%),linear-gradient(145deg,#0b4770,#0d6efd); }
.reason-visual::before { content:""; position:absolute; inset:40px; border:1px solid rgba(255,255,255,.18); border-radius:50%; }
.review-card { position:relative; z-index:1; width:min(100%,330px); padding:24px; border:1px solid rgba(255,255,255,.2); border-radius:22px; color:#fff; background:rgba(4,17,31,.34); backdrop-filter:blur(15px); }
.review-card .big-rating { font-size:3.7rem; line-height:1; font-weight:900; }
.review-card .stars { color:#ffd45a; font-size:1.25rem; letter-spacing:2px; }
.review-card small { display:block; margin-top:8px; color:#d5e7f7; }
.route-orbit { position:relative; z-index:1; align-self:end; width:190px; height:190px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.25); border-radius:50%; color:#fff; }
.route-orbit b { display:grid; place-items:center; width:94px; height:94px; border-radius:50%; background:rgba(4,17,31,.38); }
.route-orbit span { position:absolute; width:39px; height:39px; display:grid; place-items:center; border-radius:50%; background:#fff; color:#0d6efd; box-shadow:0 10px 25px rgba(0,0,0,.18); }
.route-orbit span:nth-child(2){top:-8px}.route-orbit span:nth-child(3){bottom:15px;right:-12px}.route-orbit span:nth-child(4){bottom:15px;left:-12px}

.faq-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:60px; align-items:start; }
.faq-list { display:grid; gap:12px; }
.faq-list details { border:1px solid var(--line); border-radius:17px; background:#fff; box-shadow:0 8px 25px rgba(7,26,47,.045); }
.faq-list summary { padding:19px 21px; color:var(--navy); cursor:pointer; font-weight:800; list-style:none; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary::after { content:"+"; float:left; color:var(--blue); font-size:1.3rem; }
.faq-list details[open] summary::after { content:"−"; }
.faq-list p { margin:0; padding:0 21px 20px; color:var(--muted); }

.mobile-action-bar { display:none; }
@media(max-width:960px){
  .hero-grid,.reasons,.faq-grid { grid-template-columns:1fr; }
  .reason-visual { min-height:430px; }
  .section-heading-row { align-items:start; flex-direction:column; }
}
@media(max-width:680px){
  .utility-wrap { justify-content:center; }
  .utility-links a:first-child { display:none; }
  .hero-grid { padding-top:58px; }
  .hero h1 { font-size:2.65rem; }
  .hero-proof { align-items:flex-start; flex-direction:column; }
  .request-grid { grid-template-columns:1fr; }
  .request-submit { grid-column:auto; }
  .reasons-copy,.reason-visual { padding:30px 22px; }
  .reason-visual { min-height:380px; }
  .route-orbit { width:155px; height:155px; }
  .mobile-action-bar { position:fixed; z-index:95; inset-inline:12px; bottom:12px; display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:8px; border:1px solid rgba(255,255,255,.22); border-radius:17px; background:rgba(5,19,34,.94); box-shadow:0 15px 45px rgba(0,0,0,.3); backdrop-filter:blur(14px); }
  .mobile-action-bar a { min-height:45px; display:grid; place-items:center; border-radius:11px; color:#fff; font-weight:800; font-size:.82rem; }
  .mobile-action-bar a:first-child { background:#25d366; }
  .mobile-action-bar a:last-child { background:#0d6efd; }
  .floating-whatsapp { display:none; }
  .site-footer { padding-bottom:88px; }
}
