/*
Theme Name: Ajyad
Description: قالب أجياد الاحترافي للتوريدات العمومية والمقاولات والنقل والرحلات - بدون أي مصادر خارجية
Version: 3.0.0
Text Domain: ajyad
Language: ar
RTL: yes
License: GPLv2 or later
*/
:root {
  --navy: #0b1f3a; --navy-d: #071426; --navy-2: #13305a; --steel: #3d5a80;
  --silver: #8fa3bf; --mist: #f2f5f9; --white: #ffffff; --line: #e1e7f0;
  --text: #2b3a52; --muted: #5d6b82; --gold: #c9a24a;
  --radius: 18px; --shadow: 0 18px 40px rgba(11, 31, 58, .12); --shadow-lg: 0 30px 60px rgba(7, 20, 38, .25);
  --font: Tahoma, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.9; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s, background .25s, transform .25s, box-shadow .25s; }
svg.i { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1200px, 92%); margin-inline: auto; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 0; }
.brand img { height: 58px; width: auto; }
.main-nav ul { list-style: none; display: flex; gap: 6px; }
.main-nav a { font-weight: 700; color: var(--navy); padding: 8px 14px; border-radius: 999px; font-size: .95rem; }
.main-nav a:hover { background: var(--mist); color: var(--steel); }
.header-cta { background: var(--navy); color: var(--white) !important; padding: 11px 24px; border-radius: 999px; font-weight: 700; box-shadow: 0 8px 18px rgba(11,31,58,.22); }
.header-cta:hover { background: var(--steel); transform: translateY(-2px); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; color: var(--white); padding: 120px 0 190px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(143,163,191,.28), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(61,90,128,.55), transparent 60%),
    linear-gradient(135deg, var(--navy-d) 0%, var(--navy) 55%, var(--navy-2) 100%);
}
.hero::before { /* شبكة خفيفة بالـ CSS فقط */
  content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: linear-gradient(var(--silver) 1px, transparent 1px), linear-gradient(90deg, var(--silver) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: linear-gradient(to bottom, #000, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: .85rem; font-weight: 700; color: var(--silver); letter-spacing: .5px; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.3; font-weight: 800; margin: 22px 0; }
.hero h1 span { color: var(--silver); }
.hero p { font-size: 1.1rem; opacity: .9; max-width: 620px; margin-bottom: 36px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 999px; font-weight: 700; margin: 0 0 12px 12px; }
.btn-light { background: var(--white); color: var(--navy); box-shadow: var(--shadow-lg); }
.btn-light:hover { transform: translateY(-3px); }
.btn-line { border: 1.5px solid rgba(255,255,255,.4); color: var(--white); }
.btn-line:hover { background: rgba(255,255,255,.1); }
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px);
  border-radius: 24px; padding: 34px; box-shadow: var(--shadow-lg);
}
.hero-card h3 { font-size: 1.05rem; color: var(--silver); margin-bottom: 18px; font-weight: 700; }
.hero-card ul { list-style: none; display: grid; gap: 14px; }
.hero-card li { display: flex; align-items: center; gap: 14px; font-weight: 700; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.hero-card li:last-child { border: 0; padding: 0; }
.hero-card .ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: var(--white); flex: 0 0 46px; }

/* ===== Stats band (overlaps hero) ===== */
.stats { position: relative; z-index: 3; margin-top: -110px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 36px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 25%; height: 50%; width: 1px; background: var(--line); }
.stat strong { display: block; font-size: 2.5rem; font-weight: 800; color: var(--navy); line-height: 1.2; }
.stat span { color: var(--muted); font-weight: 700; font-size: .95rem; }

/* ===== Sections ===== */
.section { padding: 110px 0 0; }
.section:last-of-type { padding-bottom: 110px; }
.section.alt { background: var(--mist); padding-bottom: 110px; margin-top: 110px; }
.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.eyebrow { display: inline-block; color: var(--steel); font-weight: 800; font-size: .85rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.section-head h2, .split h2 { color: var(--navy); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; line-height: 1.35; }
.section-head p { color: var(--muted); margin-top: 14px; }

/* Activities */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { position: relative; background: var(--white); border-radius: var(--radius); padding: 40px 30px 34px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.card::after { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--mist); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card .ico { position: relative; z-index: 1; width: 62px; height: 62px; border-radius: 18px; background: linear-gradient(135deg, var(--navy), var(--steel)); color: var(--white); display: grid; place-items: center; margin-bottom: 26px; }
.card .num { position: absolute; inset-inline-start: 30px; top: 40px; font-size: .8rem; font-weight: 800; color: var(--silver); letter-spacing: 1px; }
.card h3 { position: relative; z-index: 1; color: var(--navy); font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.card p { position: relative; z-index: 1; color: var(--muted); font-size: .96rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split p { margin: 16px 0; color: var(--muted); font-size: 1.02rem; }
.checks { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 14px; font-weight: 700; color: var(--navy); }
.checks li .tick { width: 30px; height: 30px; border-radius: 50%; background: var(--mist); color: var(--navy); display: grid; place-items: center; flex: 0 0 30px; }
.checks svg.i { width: 16px; height: 16px; stroke-width: 2.6; }
.visual { position: relative; }
.visual .logo-card { background: var(--white); border-radius: 26px; padding: 50px 40px; box-shadow: var(--shadow); text-align: center; border: 1px solid var(--line); }
.visual .logo-card img { margin: 0 auto; max-height: 170px; width: auto; }
.visual .mini { position: absolute; inset-inline-end: -18px; bottom: -22px; background: var(--navy); color: var(--white); border-radius: 18px; padding: 22px 26px; box-shadow: var(--shadow-lg); }
.visual .mini strong { display: block; font-size: 2rem; line-height: 1.1; color: var(--gold); }
.visual .mini span { font-size: .9rem; font-weight: 700; opacity: .9; }

/* Products */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-group { background: var(--white); border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pg-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.pg-head .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--navy); color: var(--white); display: grid; place-items: center; flex: 0 0 54px; }
.pg-head h3 { font-size: 1.3rem; color: var(--navy); font-weight: 800; }
.pg-head small { color: var(--muted); font-weight: 700; }
.product-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-list li { background: var(--mist); border-radius: 12px; padding: 14px 16px; font-weight: 700; color: var(--navy); font-size: .95rem; display: flex; align-items: center; gap: 10px; }
.product-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: 0 0 8px; }

/* Goals */
.goals { list-style: none; display: grid; gap: 16px; counter-reset: g; }
.goals li { counter-increment: g; display: flex; align-items: center; gap: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; font-weight: 700; color: var(--navy); box-shadow: 0 6px 18px rgba(11,31,58,.05); transition: transform .25s, box-shadow .25s; }
.goals li:hover { transform: translateX(-6px); box-shadow: var(--shadow); }
.goals li::before { content: counter(g, decimal-leading-zero); flex: 0 0 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--steel)); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 1rem; }
.panel { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: var(--white); border-radius: 26px; padding: 56px 46px; box-shadow: var(--shadow-lg); }
.panel::after { content: ""; position: absolute; inset-inline-start: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255,255,255,.05); }
.panel .ico { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.12); display: grid; place-items: center; margin-bottom: 24px; }
.panel h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 14px; }
.panel p { opacity: .9; font-size: 1.05rem; }

/* Contact */
.contact { position: relative; background: var(--navy-d); color: #cfd8e6; padding: 110px 0; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 0%, rgba(143,163,191,.18), transparent 60%); }
.contact .section-head { position: relative; }
.contact .section-head h2 { color: var(--white); }
.contact .eyebrow { color: var(--silver); }
.contact-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 34px 28px; text-align: center; transition: background .25s, transform .25s; }
.contact-item:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.contact-item .ico { width: 58px; height: 58px; border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; margin: 0 auto 18px; }
.contact-item b { display: block; color: var(--silver); font-size: .9rem; margin-bottom: 6px; letter-spacing: .5px; }
.contact-item a, .contact-item span { color: var(--white); font-weight: 700; font-size: 1.05rem; direction: ltr; display: inline-block; }
.contact-item a:hover { color: var(--gold); }
.center { text-align: center; position: relative; }
.map-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; background: var(--white); color: var(--navy); padding: 15px 32px; border-radius: 999px; font-weight: 800; box-shadow: var(--shadow-lg); }
.map-link:hover { transform: translateY(-3px); }

/* Index */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; padding: 70px 0; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.post-card .body { padding: 24px; }
.post-card h2 { font-size: 1.15rem; color: var(--navy); margin-bottom: 6px; }
.post-card p { color: var(--muted); font-size: .92rem; }

/* Footer */
.site-footer { background: var(--navy-d); color: var(--silver); padding: 70px 0 26px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 40px; }
.footer-grid img { height: 70px; width: auto; background: var(--white); border-radius: 14px; padding: 8px 14px; margin-bottom: 18px; }
.site-footer h4 { color: var(--white); margin-bottom: 14px; font-size: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.copy { text-align: center; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; font-size: .88rem; }

/* Entrance animation (CSS only) */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-grid > * { animation: rise .8s ease both; }
.hero-grid > .hero-card { animation-delay: .15s; }

/* Responsive */
@media (max-width: 1000px) {
  .main-nav { display: none; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 50px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: 1fr; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .hero { padding: 80px 0 170px; }
  .grid-4, .product-list { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd)::before { display: none; }
  .btn { margin-inline-start: 0; }
  .visual .mini { position: static; margin-top: 16px; }
}

/* ===== Trust strip ===== */
.clients { background: var(--white); border-bottom: 1px solid var(--line); padding: 26px 0; }
.clients-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.clients-row span { font-weight: 800; color: var(--silver); font-size: .95rem; letter-spacing: .5px; }
.clients-label { text-align: center; color: var(--muted); font-size: .85rem; font-weight: 700; margin-bottom: 14px; }

/* ===== Projects ===== */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 260px; padding: 28px; color: var(--white); display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, var(--navy) 0%, var(--steel) 100%); box-shadow: var(--shadow); }
.project:nth-child(3n+2) { background: linear-gradient(160deg, var(--navy-d) 0%, var(--navy-2) 100%); }
.project::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px); pointer-events: none; }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project .tag { position: relative; z-index: 1; align-self: flex-start; background: rgba(255,255,255,.15); padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.project .ico { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.14); display: grid; place-items: center; margin-top: 30px; }
.project h3 { position: relative; z-index: 1; font-size: 1.3rem; font-weight: 800; margin-top: 18px; }
.project small { position: relative; z-index: 1; opacity: .8; font-weight: 700; }

/* ===== Testimonials ===== */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); position: relative; }
.quote::before { content: "“"; position: absolute; inset-inline-end: 24px; top: 6px; font-size: 5rem; line-height: 1; color: var(--mist); font-weight: 800; }
.quote p { position: relative; font-size: 1.12rem; color: var(--navy); font-weight: 700; margin-bottom: 18px; }
.quote b { color: var(--muted); font-weight: 700; font-size: .92rem; }

/* ===== Quote form ===== */
.quote-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.quote-info h2 { color: var(--navy); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.35; margin: 8px 0 16px; }
.quote-info p { color: var(--muted); margin-bottom: 26px; }
.steps { list-style: none; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: center; font-weight: 700; color: var(--navy); }
.steps li span { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; flex: 0 0 36px; font-size: .9rem; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 40px; box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; color: var(--navy); font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .98rem; color: var(--text); background: var(--mist); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 16px; outline: none; transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--steel); background: var(--white); }
.field textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { width: 100%; border: 0; cursor: pointer; background: var(--navy); color: var(--white); padding: 16px; border-radius: 12px; font: inherit; font-weight: 800; font-size: 1.05rem; margin-top: 18px; box-shadow: 0 10px 22px rgba(11,31,58,.25); }
.submit:hover { background: var(--steel); transform: translateY(-2px); }
.notice { padding: 14px 18px; border-radius: 12px; font-weight: 700; margin-bottom: 20px; font-size: .95rem; }
.notice.ok { background: #e7f5ec; color: #17633a; }
.notice.err { background: #fdecec; color: #8a1f1f; }

/* ===== Floating WhatsApp ===== */
.wa-float { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.wa-float:hover { transform: scale(1.08); }

/* ===== Responsive additions ===== */
@media (max-width: 1000px) {
  .projects { grid-template-columns: repeat(2, 1fr); }
  .quote-wrap { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 620px) {
  .projects, .quotes, .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px; }
}

/* ===== Animated hero slider (CSS only, 3 sections, 15s loop) ===== */
.slider { position: relative; min-height: 640px; overflow: hidden; background: linear-gradient(135deg, var(--navy-d), var(--navy) 55%, var(--navy-2)); color: var(--white); }
.slider::before { content: ""; position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(var(--silver) 1px, transparent 1px), linear-gradient(90deg, var(--silver) 1px, transparent 1px); background-size: 56px 56px; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; animation: slideFade 15s infinite; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }
@keyframes slideFade {
  0% { opacity: 0; transform: translateY(14px); }
  4% { opacity: 1; transform: none; }
  30% { opacity: 1; }
  36%, 100% { opacity: 0; }
}
.slide .wrap { position: relative; width: min(1200px, 92%); margin-inline: auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.slide h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.35; font-weight: 800; margin: 16px 0; }
.slide p { font-size: 1.1rem; opacity: .9; margin-bottom: 30px; max-width: 580px; }
.slide .visual-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 26px; padding: 30px; display: grid; place-items: center; }
.bus { width: 100%; max-width: 420px; height: auto; }
.bus-stage { background: rgba(255,255,255,.04); border-radius: 22px; padding: 26px; }
.slider-dots { position: absolute; bottom: 28px; inset-inline: 0; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.slider-dots span { width: 34px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.slider-dots span::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: right; animation: bar 15s infinite; }
.slider-dots span:nth-child(2)::after { animation-delay: 5s; }
.slider-dots span:nth-child(3)::after { animation-delay: 10s; }
@keyframes bar { 0% { transform: scaleX(0); } 33% { transform: scaleX(1); } 100% { transform: scaleX(1); } }
.slide .cta { display: inline-flex; gap: 10px; align-items: center; background: var(--white); color: var(--navy); padding: 14px 28px; border-radius: 999px; font-weight: 800; }

/* ===== Page hero (inner pages) ===== */
.page-hero { background: linear-gradient(135deg, var(--navy-d), var(--navy) 60%, var(--navy-2)); color: var(--white); padding: 90px 0 80px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 800; margin: 12px 0; }
.page-hero p { opacity: .9; max-width: 640px; font-size: 1.08rem; }
.crumb { font-size: .9rem; color: var(--silver); font-weight: 700; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.jump a { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem; }
.jump a:hover { background: var(--white); color: var(--navy); }

/* ===== Products page ===== */
.cat-block { margin-bottom: 70px; scroll-margin-top: 100px; }
.cat-head { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.cat-head .ico { width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(135deg, var(--navy), var(--steel)); color: var(--white); display: grid; place-items: center; flex: 0 0 60px; }
.cat-head h2 { font-size: 1.8rem; color: var(--navy); font-weight: 800; }
.item-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; box-shadow: 0 8px 22px rgba(11,31,58,.06); transition: transform .25s, box-shadow .25s; }
.item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.item b { display: block; color: var(--navy); font-weight: 800; margin-bottom: 4px; }
.item small { color: var(--muted); font-size: .85rem; font-weight: 700; }
.note-box { background: var(--mist); border-inline-start: 5px solid var(--gold); border-radius: 14px; padding: 22px 26px; color: var(--navy); font-weight: 700; margin-top: 10px; }

/* ===== Activities page ===== */
.act-list { display: grid; gap: 26px; }
.act { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 34px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 38px; box-shadow: var(--shadow); }
.act .big { font-size: 3rem; font-weight: 800; color: var(--silver); line-height: 1; }
.act h2 { font-size: 1.6rem; color: var(--navy); font-weight: 800; margin-bottom: 10px; }
.act p { color: var(--muted); }
.act ul { list-style: none; display: grid; gap: 10px; }
.act li { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--navy); }
.act li::before { content: ""; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; flex: 0 0 8px; }

/* ===== Contact page ===== */
.contact-page { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.info-stack { display: grid; gap: 18px; }
.info-card { display: flex; gap: 18px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 8px 22px rgba(11,31,58,.06); }
.info-card .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--navy); color: var(--white); display: grid; place-items: center; flex: 0 0 52px; }
.info-card b { display: block; color: var(--muted); font-size: .85rem; }
.info-card span, .info-card a { color: var(--navy); font-weight: 800; font-size: 1.05rem; direction: ltr; display: inline-block; }
.map-frame { width: 100%; height: 420px; border: 0; border-radius: 22px; box-shadow: var(--shadow); margin-top: 30px; display: block; }
.map-empty { margin-top: 30px; background: var(--mist); border-radius: 22px; padding: 40px; text-align: center; color: var(--muted); font-weight: 700; }

@media (prefers-reduced-motion: reduce) { .slide, .slider-dots span::after { animation: none; } .slide:first-child { opacity: 1; } }
@media (max-width: 1000px) { .item-grid { grid-template-columns: repeat(2, 1fr); } .act { grid-template-columns: 1fr; } .contact-page, .slide .wrap { grid-template-columns: 1fr; } .slider { min-height: 760px; } }
@media (max-width: 620px) { .item-grid { grid-template-columns: 1fr; } }
.btn-dark { background: var(--navy); color: var(--white); padding: 14px 30px; border-radius: 999px; font-weight: 800; display: inline-block; box-shadow: var(--shadow); }
.btn-dark:hover { background: var(--steel); transform: translateY(-2px); }

/* ===== Homepage slider (no JavaScript: radio + labels) ===== */
.hslider { position: relative; height: 680px; overflow: hidden; background: var(--navy-d); color: var(--white); }
.hs-r { position: absolute; opacity: 0; pointer-events: none; }
.hs-track { position: absolute; inset: 0; }
.hs-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; background: linear-gradient(120deg, #eef2f7 0%, #d5dde9 45%, #8fa3bf 100%); }
#hs1:checked ~ .hs-track .hs-s1, #hs2:checked ~ .hs-track .hs-s2, #hs3:checked ~ .hs-track .hs-s3 { opacity: 1; visibility: visible; }
.hs-s1 .hs-bg { background: linear-gradient(120deg, #f2f5f9, #c8d3e2); }
.hs-s2 .hs-bg { background: linear-gradient(120deg, #e6ecf4, #9fb2cc); }
.hs-s3 .hs-bg { background: linear-gradient(120deg, #0b1f3a, #3d5a80); }
.hs-bg { position: absolute; inset: 0; overflow: hidden; animation: hsZoom 18s ease-in-out infinite alternate; }
@keyframes hsZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hs-art { position: absolute; left: 6%; bottom: 0; width: min(520px, 46%); height: auto; opacity: .95; }
.hs-busbox { position: absolute; left: 8%; top: 50%; transform: translateY(-50%); width: min(480px, 46%); }
.hs-s1 .hs-art, .hs-s2 .hs-art { }
.hs-content { position: relative; height: 100%; display: flex; align-items: center; padding-bottom: 0; }
.hs-text { max-width: 560px; margin-inline-start: auto; padding-inline-end: 20px; color: var(--navy); }
.hs-s3 .hs-text { color: var(--white); }
.hs-s3 .pill { color: var(--silver); border-color: rgba(255,255,255,.3); }
.hs-text h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1.4; margin: 16px 0; }
.hs-text p { font-size: 1.05rem; margin-bottom: 26px; color: var(--muted); }
.hs-s3 .hs-text p { color: #cfd8e6; }
.hs-s1 .pill, .hs-s2 .pill { color: var(--steel); border-color: var(--steel); }
.hs-s1 .pill::before, .hs-s2 .pill::before { background: var(--navy); }
.hs-s3 .cta { background: var(--white); color: var(--navy); }
.hs-s1 .cta, .hs-s2 .cta { background: var(--navy); color: var(--white); }
.hs-s1 .cta:hover, .hs-s2 .cta:hover { background: var(--steel); }
.hs-arrows { position: absolute; bottom: 60px; inset-inline-start: 6%; display: flex; gap: 10px; z-index: 4; }
.hs-arrows .arr { width: 50px; height: 50px; display: grid; place-items: center; background: var(--white); color: var(--navy); font-size: 1.8rem; line-height: 1; border-radius: 6px; cursor: pointer; box-shadow: 0 8px 20px rgba(11,31,58,.18); transition: background .2s, color .2s; user-select: none; }
.hs-arrows .arr:hover { background: var(--navy); color: var(--white); }
.hs-dots { position: absolute; bottom: 30px; inset-inline-start: 6%; display: flex; gap: 8px; z-index: 4; }
.hs-dots label { width: 28px; height: 4px; border-radius: 4px; background: rgba(11,31,58,.25); cursor: pointer; }
#hs1:checked ~ .hs-dots label:nth-child(1), #hs2:checked ~ .hs-dots label:nth-child(2), #hs3:checked ~ .hs-dots label:nth-child(3) { background: var(--navy); width: 44px; }
.hs-form { position: absolute; z-index: 5; inset-inline-end: 6%; bottom: 0; width: min(380px, 90%); background: var(--white); padding: 28px 26px 30px; box-shadow: var(--shadow-lg); border-radius: 6px 6px 0 0; color: var(--text); }
.hs-form h3 { color: var(--navy); font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }
.hs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hs-grid .full { grid-column: 1 / -1; }
.hs-form .field label { font-size: .85rem; margin-bottom: 4px; }
.hs-form .field input, .hs-form .field select { padding: 10px 12px; font-size: .9rem; background: var(--white); border: 1px solid var(--line); }
.hs-form .field textarea { min-height: 60px; padding: 10px 12px; font-size: .9rem; background: var(--white); border: 1px solid var(--line); }
.hs-form .submit { margin-top: 12px; padding: 13px; font-size: .98rem; border-radius: 6px; }
@media (max-width: 1000px) {
  .hslider { height: auto; min-height: 0; padding-bottom: 0; }
  .hs-track { position: relative; height: 560px; }
  .hs-form { position: relative; inset: auto; width: 100%; border-radius: 0; box-shadow: none; }
  .hs-text { max-width: 100%; margin: 0; padding: 20px; }
  .hs-art, .hs-busbox { width: 60%; opacity: .25; }
  .hs-arrows { inset-inline-start: 20px; bottom: 20px; }
  .hs-dots { display: none; }
}
