/*
Theme Name: Orbits Creative Agency
Theme URI: https://orbits.agency
Author: Orbits Agency
Author URI: https://orbits.agency
Description: A premium multipage Creative Digital Agency WordPress theme. Black + White + Orange design with dynamic Services & Portfolio custom post types, animated sections, blog system, pricing, testimonials, and one-click demo import. Fully responsive and SEO-ready.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
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: orbits
Tags: agency, creative, portfolio, business, custom-post-types, custom-colors, custom-menu, featured-images, full-width-template, theme-options, threaded-comments, translation-ready, blog, two-columns, three-columns
*/

/* ==========================================================================
   Orbits Creative Agency - Main Stylesheet
   Black + White + Orange Premium Design
   ========================================================================== */

:root {
  /* Brand orange */
  --brand: #FF7A18;
  --brand-dark: #E8650A;
  --brand-light: #FFA64D;
  /* Ink (near-black) */
  --ink: #14141C;
  --ink-soft: #2A2A38;

  --bg: #ffffff;
  --fg: #14141C;
  --muted: #6B7280;
  --muted-bg: #F6F6F8;
  --border: #E8E8EC;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(20,20,28,.04), 0 12px 32px -12px rgba(20,20,28,.12);
  --shadow-lg: 0 1px 2px rgba(20,20,28,.05), 0 30px 60px -18px rgba(20,20,28,.22);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
::selection { background: var(--brand); color: #fff; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: all .3s;
  cursor: pointer;
  text-decoration: none;
  border: none;
  line-height: 1;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(255,122,24,.5); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-soft); color: #fff; transform: translateY(-1px); }
.btn-outline { border: 1.5px solid rgba(20,20,28,.15); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-light:hover { background: #f5f5f5; transform: translateY(-1px); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ---------- Eyebrow / Badge ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(255,122,24,.1);
  color: var(--brand);
  border: 1px solid rgba(255,122,24,.15);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.eyebrow-light { background: rgba(255,255,255,.1); color: var(--brand-light); border-color: rgba(255,255,255,.15); }

/* ---------- Section Heading ---------- */
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin-top: 20px; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.section-head .eyebrow { margin-bottom: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all .3s;
}
.site-header.scrolled { padding: 10px 0; }
.site-header.scrolled .header-inner {
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(20,20,28,.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  border-radius: 16px;
  transition: all .3s;
}
.site-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); }
.site-logo .logo-mark {
  width: 36px; height: 36px;
  background: var(--ink);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.site-logo .logo-mark span { width: 14px; height: 14px; background: var(--brand); border-radius: 3px; }
.site-logo .logo-mark::after { content:""; position:absolute; top:-2px; right:-2px; width:8px; height:8px; background:var(--brand-light); border-radius:50%; border:2px solid #fff; }
.site-logo .logo-text small { display:block; font-size:10px; font-weight:500; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); line-height:1; }
.site-logo .logo-text strong { line-height:1; }
.site-logo .logo-text strong b { color: var(--brand); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a.active { background: rgba(255,122,24,.1); border: 1px solid rgba(255,122,24,.2); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; width: 40px; height: 40px; align-items:center; justify-content:center; background: rgba(20,20,28,.05); border-radius: 11px; }
.menu-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 140px 0 64px; overflow: hidden; }
.hero::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background-image:
    linear-gradient(to right, rgba(20,20,28,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20,20,28,.05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero::after {
  content:""; position:absolute; left:-128px; top:40px; width:420px; height:420px;
  background: rgba(255,122,24,.15); border-radius:50%; filter: blur(120px); z-index:-1;
}
.hero-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.5vw, 68px); line-height: 1.05; margin-top: 20px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand), var(--brand-light));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero h1 .underline { position: relative; display: inline-block; }
.hero h1 .underline svg { position: absolute; bottom: -8px; left: 0; width: 100%; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin-top: 24px; }
.hero-actions { display:flex; flex-wrap:wrap; gap: 12px; margin-top: 32px; }
.hero-social { display:flex; flex-wrap:wrap; align-items:center; gap:24px; margin-top: 40px; }
.hero-social .avatars { display:flex; }
.hero-social .avatars span {
  width:38px; height:38px; border-radius:50%; margin-left:-12px;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:700; font-size:13px;
  border:2px solid #fff;
}
.hero-social .avatars span:first-child { margin-left:0; }
.hero-social .stars { color: var(--brand); }
.hero-social small { color: var(--muted); display:block; margin-top:4px; }

.hero-visual { position: relative; }
.hero-image-wrap {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--ink);
  aspect-ratio: 5/4;
}
.hero-image-wrap img { width:100%; height:100%; object-fit:cover; }
.hero-image-wrap::after { content:""; position:absolute; inset:0; background:linear-gradient(to top right, rgba(20,20,28,.5), transparent 40%, rgba(255,122,24,.2)); }
.float-card {
  position:absolute; background:#fff; border-radius:16px; padding:16px;
  box-shadow: var(--shadow-lg); display:flex; align-items:center; gap:12px;
}
.float-card.tl { top:32px; left:-16px; }
.float-card.br { bottom:-20px; right:-12px; }
.float-card .icon { width:40px; height:40px; border-radius:11px; display:flex; align-items:center; justify-content:center; background:rgba(255,122,24,.1); color:var(--brand); }
.float-card .icon.dark { background: var(--ink); color: var(--brand-light); }
.float-card strong { font-size:20px; color:var(--ink); display:block; }
.float-card small { color: var(--muted); font-size:12px; }

/* ---------- Brand Strip ---------- */
.brand-strip { border-top:1px solid rgba(20,20,28,.06); border-bottom:1px solid rgba(20,20,28,.06); background: var(--muted-bg); padding: 32px 0; }
.brand-strip p { text-align:center; font-size:11px; font-weight:600; letter-spacing:.22em; text-transform:uppercase; color:var(--muted); margin-bottom:24px; }
.marquee { overflow:hidden; position:relative; }
.marquee::before, .marquee::after { content:""; position:absolute; top:0; bottom:0; width:80px; z-index:2; }
.marquee::before { left:0; background:linear-gradient(to right, var(--muted-bg), transparent); }
.marquee::after { right:0; background:linear-gradient(to left, var(--muted-bg), transparent); }
.marquee-track { display:flex; gap:56px; width:max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-size:20px; font-weight:700; color: rgba(20,20,28,.4); display:flex; align-items:center; gap:8px; }
.marquee-item::before { content:""; width:10px; height:10px; background: rgba(255,122,24,.7); border-radius:2px; }
.marquee-item:hover { color: var(--ink); }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ---------- About Preview ---------- */
.about-preview .grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.about-visual { position:relative; }
.about-visual img { border-radius:24px; box-shadow:var(--shadow-lg); }
.about-visual .badge { position:absolute; bottom:-24px; right:-16px; background:var(--brand); color:#fff; padding:20px; border-radius:16px; box-shadow:var(--shadow-lg); }
.about-visual .badge strong { font-size:30px; display:block; line-height:1; }
.about-visual .badge small { font-size:11px; text-transform:uppercase; letter-spacing:.1em; opacity:.85; }
.about-content .points { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:32px; }
.about-content .point { display:flex; gap:12px; align-items:flex-start; background:var(--muted-bg); padding:14px; border-radius:12px; }
.about-content .point .check { width:20px; height:20px; border-radius:50%; background:var(--brand); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px; }
.about-content .point span { font-size:14px; font-weight:500; }
.about-content .stats { display:flex; flex-wrap:wrap; gap:32px; margin-top:40px; }
.about-content .stat { display:flex; align-items:center; gap:12px; }
.about-content .stat .ic { width:44px; height:44px; border-radius:12px; background:var(--ink); color:var(--brand-light); display:flex; align-items:center; justify-content:center; }
.about-content .stat strong { font-size:20px; color:var(--ink); }
.about-content .stat small { color:var(--muted); font-size:12px; }

/* ---------- Services Grid ---------- */
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.service-card {
  background:#fff; border:1px solid rgba(20,20,28,.08); border-radius:24px; padding:28px;
  box-shadow: var(--shadow); transition: all .3s; position:relative; overflow:hidden; display:flex; flex-direction:column;
  text-decoration:none; color:inherit;
}
.service-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:rgba(255,122,24,.3); }
.service-card .top { display:flex; align-items:center; justify-content:space-between; }
.service-card .icon-box { width:56px; height:56px; border-radius:16px; background:var(--ink); color:var(--brand-light); display:flex; align-items:center; justify-content:center; font-size:24px; transition:all .3s; }
.service-card:hover .icon-box { background:var(--brand); color:#fff; transform:rotate(-6deg); }
.service-card .arrow { width:36px; height:36px; border-radius:50%; background:rgba(20,20,28,.05); display:flex; align-items:center; justify-content:center; transition:all .3s; }
.service-card:hover .arrow { background:var(--brand); color:#fff; }
.service-card h3 { font-size:20px; margin-top:24px; }
.service-card .desc { color:var(--muted); font-size:14px; margin-top:10px; flex:1; }
.service-card .features { margin-top:20px; }
.service-card .features li { display:flex; align-items:center; gap:8px; font-size:14px; margin-bottom:8px; }
.service-card .features li::before { content:"✓"; color:var(--brand); font-weight:bold; }
.service-card .foot { display:flex; justify-content:space-between; align-items:center; border-top:1px solid rgba(20,20,28,.05); padding-top:16px; margin-top:20px; }
.service-card .foot .price small { font-size:12px; color:var(--muted); }
.service-card .foot .price strong { font-size:16px; color:var(--ink); }
.service-card .foot .more { color:var(--brand); font-size:14px; font-weight:600; }

/* ---------- Why Choose Us (dark) ---------- */
.why { background:var(--ink); color:#fff; position:relative; overflow:hidden; }
.why::before { content:""; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px); background-size:56px 56px; opacity:.4; }
.why::after { content:""; position:absolute; left:-96px; top:33%; width:400px; height:400px; background:rgba(255,122,24,.2); border-radius:50%; filter:blur(120px); }
.why .section-head h2 { color:#fff; }
.why .section-head p { color:rgba(255,255,255,.6); }
.why .section-head .eyebrow { background:rgba(255,255,255,.1); color:var(--brand-light); border-color:rgba(255,255,255,.15); }
.why-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; position:relative; }
.why-card { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.1); border-radius:24px; padding:28px; backdrop-filter:blur(8px); transition:all .3s; }
.why-card:hover { border-color:rgba(255,122,24,.4); background:rgba(255,255,255,.07); }
.why-card .icon-box { width:52px; height:52px; border-radius:16px; background:var(--brand); color:#fff; display:flex; align-items:center; justify-content:center; font-size:22px; transition:transform .3s; }
.why-card:hover .icon-box { transform:rotate(-6deg) scale(1.05); }
.why-card h3 { color:#fff; margin-top:20px; font-size:18px; }
.why-card p { color:rgba(255,255,255,.6); font-size:14px; margin-top:8px; }

/* ---------- Portfolio ---------- */
.portfolio-filters { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-bottom:48px; }
.portfolio-filters button {
  padding:10px 20px; border-radius:999px; font-size:14px; font-weight:500;
  background:var(--muted-bg); color:rgba(20,20,28,.7); transition:all .2s;
}
.portfolio-filters button:hover { background:rgba(20,20,28,.1); }
.portfolio-filters button.active { background:var(--ink); color:#fff; }
.portfolio-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.portfolio-item {
  position:relative; border-radius:24px; overflow:hidden; background:var(--ink);
  box-shadow:var(--shadow); transition:box-shadow .3s; cursor:pointer; display:block; color:inherit; text-decoration:none;
}
.portfolio-item:hover { box-shadow:var(--shadow-lg); }
.portfolio-item .img-wrap { aspect-ratio:4/3; overflow:hidden; }
.portfolio-item .img-wrap img { width:100%; height:100%; object-fit:cover; transition:transform .7s; }
.portfolio-item:hover .img-wrap img { transform:scale(1.1); }
.portfolio-item .overlay { position:absolute; inset:0; background:linear-gradient(to top, var(--ink) 0%, rgba(20,20,28,.4) 50%, transparent 100%); }
.portfolio-item .cat-badge { position:absolute; top:16px; left:16px; background:rgba(255,255,255,.15); backdrop-filter:blur(8px); color:#fff; padding:5px 12px; border-radius:999px; font-size:12px; font-weight:600; border:1px solid rgba(255,255,255,.2); }
.portfolio-item .featured-badge { position:absolute; top:16px; right:16px; background:var(--brand); color:#fff; padding:5px 12px; border-radius:999px; font-size:12px; font-weight:600; }
.portfolio-item .info { position:absolute; left:0; right:0; bottom:0; padding:20px; }
.portfolio-item .info small { color:var(--brand-light); font-size:11px; text-transform:uppercase; letter-spacing:.1em; }
.portfolio-item .info h3 { color:#fff; margin-top:4px; font-size:18px; }
.portfolio-item .info .hover-more { color:var(--brand); font-size:14px; margin-top:12px; max-height:0; overflow:hidden; opacity:0; transition:all .4s; }
.portfolio-item:hover .info .hover-more { max-height:40px; opacity:1; }

/* ---------- Video Popup ---------- */
.video-section { position:relative; }
.video-banner { position:relative; border-radius:32px; overflow:hidden; background:var(--ink); }
.video-banner .bg { position:absolute; inset:0; }
.video-banner .bg img { width:100%; height:100%; object-fit:cover; opacity:.5; }
.video-banner .overlay { position:absolute; inset:0; background:linear-gradient(to right, var(--ink), rgba(20,20,28,.8) 60%, rgba(20,20,28,.4)); }
.video-banner .content { position:relative; display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:center; padding:64px 40px; }
.video-banner h2 { color:#fff; font-size:clamp(28px,4vw,44px); margin-top:20px; }
.video-banner p { color:rgba(255,255,255,.7); margin-top:16px; }
.video-play-wrap { display:flex; justify-content:center; }
.video-play { position:relative; width:128px; height:128px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.video-play::before { content:""; position:absolute; inset:0; border-radius:50%; background:rgba(255,122,24,.4); animation:pulse-ring 2.4s infinite; }
.video-play::after { content:""; position:absolute; inset:8px; border-radius:50%; background:rgba(255,122,24,.3); }
.video-play .inner { position:relative; width:64px; height:64px; border-radius:50%; background:#fff; color:var(--ink); display:flex; align-items:center; justify-content:center; transition:transform .3s; }
.video-play:hover .inner { transform:scale(1.1); }
@keyframes pulse-ring { 0%{box-shadow:0 0 0 0 rgba(255,122,24,.5)} 70%{box-shadow:0 0 0 18px rgba(255,122,24,0)} 100%{box-shadow:0 0 0 0 rgba(255,122,24,0)} }

/* ---------- Testimonials ---------- */
.testimonials { background:var(--muted-bg); position:relative; overflow:hidden; }
.testimonials::after { content:""; position:absolute; left:50%; top:0; width:500px; height:500px; background:rgba(255,122,24,.1); border-radius:50%; filter:blur(140px); transform:translateX(-50%); }
.testimonial-card { background:#fff; border-radius:24px; padding:48px; box-shadow:var(--shadow-lg); border:1px solid rgba(20,20,28,.05); position:relative; max-width:900px; margin:0 auto; }
.testimonial-card .quote-mark { position:absolute; right:32px; top:32px; font-size:64px; color:rgba(255,122,24,.1); line-height:1; }
.testimonial-card .stars { color:var(--brand); }
.testimonial-card .text { font-size:20px; font-weight:500; color:var(--ink); margin-top:20px; line-height:1.6; }
.testimonial-card .author { display:flex; align-items:center; gap:16px; margin-top:28px; }
.testimonial-card .author .av { width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; background:linear-gradient(135deg,var(--brand),var(--brand-dark)); }
.testimonial-card .author strong { color:var(--ink); }
.testimonial-card .author small { color:var(--muted); }
.testimonial-controls { display:flex; justify-content:space-between; align-items:center; margin-top:28px; max-width:900px; margin-left:auto; margin-right:auto; }
.testimonial-dots { display:flex; gap:8px; }
.testimonial-dots button { width:8px; height:8px; border-radius:999px; background:rgba(20,20,28,.2); transition:all .3s; }
.testimonial-dots button.active { width:32px; background:var(--brand); }
.testimonial-arrows { display:flex; gap:8px; }
.testimonial-arrows button { width:44px; height:44px; border-radius:50%; border:1px solid rgba(20,20,28,.1); background:#fff; color:var(--ink); display:flex; align-items:center; justify-content:center; transition:all .2s; }
.testimonial-arrows button:hover { background:var(--brand); border-color:var(--brand); color:#fff; }

/* ---------- Pricing ---------- */
.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:start; }
.pricing-card { background:#fff; border:1px solid rgba(20,20,28,.08); border-radius:24px; padding:32px; box-shadow:var(--shadow); transition:all .3s; position:relative; }
.pricing-card:hover { transform:translateY(-8px); box-shadow:var(--shadow-lg); }
.pricing-card.popular { background:var(--ink); color:#fff; border:none; transform:translateY(-16px); box-shadow:var(--shadow-lg); }
.pricing-card.popular .popular-badge { position:absolute; top:-12px; left:50%; transform:translateX(-50%); background:var(--brand); color:#fff; padding:5px 16px; border-radius:999px; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; }
.pricing-card h3 { font-size:18px; }
.pricing-card.popular h3 { color:#fff; }
.pricing-card .desc { font-size:14px; color:var(--muted); margin-top:8px; }
.pricing-card.popular .desc { color:rgba(255,255,255,.6); }
.pricing-card .price { font-size:40px; font-weight:800; color:var(--ink); margin-top:24px; }
.pricing-card.popular .price { color:#fff; }
.pricing-card .price small { font-size:14px; font-weight:400; color:var(--muted); }
.pricing-card.popular .price small { color:rgba(255,255,255,.5); }
.pricing-card .features { margin-top:28px; }
.pricing-card .features li { display:flex; align-items:flex-start; gap:12px; font-size:14px; margin-bottom:12px; }
.pricing-card .features li::before { content:"✓"; width:20px; height:20px; border-radius:50%; background:rgba(255,122,24,.1); color:var(--brand); display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:bold; flex-shrink:0; margin-top:1px; }
.pricing-card.popular .features li { color:rgba(255,255,255,.85); }
.pricing-card.popular .features li::before { background:var(--brand); color:#fff; }
.pricing-card .btn { width:100%; margin-top:24px; }
.pricing-card.popular .btn { background:var(--brand); color:#fff; }
.pricing-card.popular .btn:hover { background:var(--brand-dark); }

/* ---------- CTA Banner ---------- */
.cta-banner { background:var(--brand); border-radius:32px; padding:56px 40px; position:relative; overflow:hidden; box-shadow:var(--shadow-lg); }
.cta-banner::before { content:""; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px); background-size:56px 56px; opacity:.2; }
.cta-banner::after { content:""; position:absolute; right:-64px; top:-64px; width:288px; height:288px; background:rgba(255,255,255,.15); border-radius:50%; filter:blur(48px); }
.cta-banner .content { position:relative; display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.cta-banner h2 { color:#fff; font-size:clamp(24px,3vw,36px); }
.cta-banner p { color:rgba(255,255,255,.85); margin-top:8px; }
.cta-banner .actions { display:flex; gap:12px; flex-wrap:wrap; }

/* ---------- Blog Section ---------- */
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.blog-card { background:#fff; border:1px solid rgba(20,20,28,.08); border-radius:24px; overflow:hidden; box-shadow:var(--shadow); transition:all .3s; display:flex; flex-direction:column; text-decoration:none; color:inherit; }
.blog-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.blog-card .img-wrap { aspect-ratio:16/10; overflow:hidden; background:var(--ink); position:relative; }
.blog-card .img-wrap img { width:100%; height:100%; object-fit:cover; transition:transform .7s; }
.blog-card:hover .img-wrap img { transform:scale(1.1); }
.blog-card .cat { position:absolute; top:16px; left:16px; background:rgba(255,255,255,.9); color:var(--ink); padding:5px 12px; border-radius:999px; font-size:12px; font-weight:600; }
.blog-card .body { padding:24px; display:flex; flex-direction:column; flex:1; }
.blog-card .meta { display:flex; gap:12px; font-size:12px; color:var(--muted); }
.blog-card h3 { font-size:18px; margin-top:12px; transition:color .2s; }
.blog-card:hover h3 { color:var(--brand); }
.blog-card .excerpt { color:var(--muted); font-size:14px; margin-top:8px; flex:1; }
.blog-card .author { display:flex; align-items:center; gap:12px; border-top:1px solid rgba(20,20,28,.05); padding-top:16px; margin-top:20px; }
.blog-card .author .av { width:32px; height:32px; border-radius:50%; background:linear-gradient(135deg,var(--brand),var(--brand-dark)); color:#fff; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; }
.blog-card .author span { font-size:14px; font-weight:500; }

/* ---------- Contact ---------- */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; }
.contact-info-card { display:flex; align-items:center; gap:16px; background:#fff; border:1px solid rgba(20,20,28,.08); border-radius:16px; padding:16px; box-shadow:var(--shadow); margin-bottom:16px; transition:all .2s; }
.contact-info-card:hover { transform:translateY(-2px); border-color:rgba(255,122,24,.3); }
.contact-info-card .ic { width:48px; height:48px; border-radius:12px; background:var(--ink); color:var(--brand-light); display:flex; align-items:center; justify-content:center; font-size:20px; }
.contact-info-card small { font-size:11px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); }
.contact-info-card strong { color:var(--ink); }
.contact-form-wrap { background:#fff; border-radius:24px; padding:32px; box-shadow:var(--shadow-lg); border:1px solid rgba(20,20,28,.05); }
.form-group { margin-bottom:20px; }
.form-group label { display:block; font-size:14px; font-weight:500; color:var(--ink); margin-bottom:8px; }
.form-group input, .form-group select, .form-group textarea {
  width:100%; padding:12px 14px; border:1px solid var(--border); border-radius:12px;
  background:var(--muted-bg); font-size:14px; transition:all .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline:none; border-color:var(--brand); background:#fff; box-shadow:0 0 0 3px rgba(255,122,24,.12);
}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.form-success { background:rgba(255,122,24,.1); border:1px solid rgba(255,122,24,.3); border-radius:16px; padding:24px; text-align:center; }
.form-success .ic { width:64px; height:64px; border-radius:50%; background:rgba(255,122,24,.15); color:var(--brand); display:flex; align-items:center; justify-content:center; margin:0 auto 16px; font-size:32px; }

/* ---------- FAQ ---------- */
.faq-list { max-width:760px; margin:0 auto; }
.faq-item { background:#fff; border:1px solid rgba(20,20,28,.08); border-radius:16px; margin-bottom:12px; overflow:hidden; box-shadow:var(--shadow); }
.faq-item summary { padding:20px; cursor:pointer; font-weight:600; color:var(--ink); display:flex; align-items:center; gap:12px; list-style:none; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; margin-left:auto; font-size:22px; color:var(--brand); transition:transform .2s; }
.faq-item[open] summary::after { transform:rotate(45deg); }
.faq-item .answer { padding:0 20px 20px; color:var(--muted); font-size:14px; line-height:1.7; }

/* ---------- Footer ---------- */
.site-footer { background:var(--ink); color:#fff; margin-top:auto; }
.footer-cta { border-bottom:1px solid rgba(255,255,255,.1); padding:40px 0; }
.footer-cta .content { display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.footer-cta h3 { color:#fff; font-size:28px; }
.footer-cta p { color:rgba(255,255,255,.6); margin-top:8px; }
.footer-main { padding:56px 0; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:40px; }
.footer-brand p { color:rgba(255,255,255,.6); font-size:14px; margin-top:16px; max-width:300px; }
.footer-newsletter { display:flex; gap:8px; margin-top:24px; max-width:380px; }
.footer-newsletter input { flex:1; padding:12px 16px; border:1px solid rgba(255,255,255,.15); border-radius:999px; background:rgba(255,255,255,.05); color:#fff; font-size:14px; }
.footer-newsletter input::placeholder { color:rgba(255,255,255,.4); }
.footer-newsletter input:focus { outline:none; border-color:var(--brand); }
.footer-newsletter button { width:44px; height:44px; border-radius:50%; background:var(--brand); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.footer-newsletter button:hover { background:var(--brand-dark); }
.footer-col h4 { font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.18em; color:rgba(255,255,255,.4); margin-bottom:16px; }
.footer-col ul li { margin-bottom:10px; }
.footer-col ul li a { color:rgba(255,255,255,.7); font-size:14px; }
.footer-col ul li a:hover { color:var(--brand); }
.footer-contact li { display:flex; gap:12px; color:rgba(255,255,255,.7); font-size:14px; margin-bottom:12px; align-items:flex-start; }
.footer-contact li .ic { color:var(--brand); flex-shrink:0; margin-top:3px; }
.footer-social { display:flex; gap:8px; margin-top:16px; }
.footer-social a { width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.7); transition:all .2s; }
.footer-social a:hover { background:var(--brand); color:#fff; border-color:var(--brand); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding:20px 0; }
.footer-bottom .content { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:12px; color:rgba(255,255,255,.5); }
.footer-bottom .links { display:flex; gap:20px; }
.footer-bottom .links a:hover { color:#fff; }

/* ---------- Page Header ---------- */
.page-header { position:relative; padding:140px 0 64px; overflow:hidden; }
.page-header::before { content:""; position:absolute; inset:0; z-index:-1; background-image:linear-gradient(rgba(20,20,28,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(20,20,28,.05) 1px,transparent 1px); background-size:56px 56px; opacity:.6; }
.page-header::after { content:""; position:absolute; left:25%; top:40px; width:380px; height:380px; background:rgba(255,122,24,.15); border-radius:50%; filter:blur(120px); z-index:-1; }
.breadcrumb { display:flex; align-items:center; gap:6px; font-size:14px; color:var(--muted); margin-bottom:20px; }
.breadcrumb a:hover { color:var(--brand); }
.breadcrumb .sep { opacity:.5; }
.page-header h1 { font-size:clamp(34px,5vw,60px); max-width:900px; }
.page-header .subtitle { font-size:18px; color:var(--muted); max-width:680px; margin-top:20px; }

/* ---------- Single Service ---------- */
.single-service-grid { display:grid; grid-template-columns:2fr 1fr; gap:40px; }
.single-service-banner { border-radius:24px; overflow:hidden; box-shadow:var(--shadow-lg); aspect-ratio:16/9; background:var(--ink); }
.single-service-banner img { width:100%; height:100%; object-fit:cover; }
.service-features-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:40px; }
.service-feature { display:flex; gap:12px; background:#fff; border:1px solid rgba(20,20,28,.08); border-radius:16px; padding:16px; box-shadow:var(--shadow); }
.service-feature .check { width:24px; height:24px; border-radius:50%; background:var(--brand); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px; }
.service-feature span { font-size:14px; font-weight:500; }
.service-sidebar { position:sticky; top:120px; }
.service-sidebar .price-card { background:#fff; border:1px solid rgba(20,20,28,.08); border-radius:24px; padding:28px; box-shadow:var(--shadow-lg); }
.service-sidebar .price-card .top { display:flex; align-items:center; gap:12px; }
.service-sidebar .price-card .icon-box { width:52px; height:52px; border-radius:16px; background:var(--brand); color:#fff; display:flex; align-items:center; justify-content:center; font-size:22px; }
.service-sidebar .price-card small { font-size:11px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); }
.service-sidebar .price-card strong { font-size:28px; color:var(--ink); display:block; }
.service-sidebar .price-card .btn { width:100%; margin-top:24px; }
.service-sidebar .price-card .meta { margin-top:20px; padding-top:20px; border-top:1px solid rgba(20,20,28,.05); }
.service-sidebar .price-card .meta li { display:flex; gap:8px; font-size:14px; margin-bottom:10px; color:rgba(20,20,28,.8); }
.service-sidebar .dark-card { background:var(--ink); color:#fff; border-radius:24px; padding:28px; margin-top:20px; }

/* ---------- Single Portfolio ---------- */
.portfolio-meta { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:32px; }
.portfolio-meta .meta-item { background:#fff; border:1px solid rgba(20,20,28,.08); border-radius:16px; padding:20px; box-shadow:var(--shadow); }
.portfolio-meta .meta-item small { font-size:11px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); }
.portfolio-meta .meta-item strong { color:var(--ink); display:block; margin-top:6px; font-size:16px; }
.portfolio-results { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.portfolio-result { background:var(--ink); color:#fff; border-radius:24px; padding:24px; }
.portfolio-result .val { font-size:30px; font-weight:800; color:var(--brand-light); margin-top:12px; }
.portfolio-result small { color:rgba(255,255,255,.6); }
.tech-tags { display:flex; flex-wrap:wrap; gap:8px; }
.tech-tags span { background:rgba(255,122,24,.1); color:var(--brand); padding:5px 12px; border-radius:999px; font-size:12px; font-weight:600; }

/* ---------- Blog single ---------- */
.blog-single { max-width:760px; margin:0 auto; }
.blog-single .meta { display:flex; align-items:center; gap:16px; padding-bottom:24px; border-bottom:1px solid rgba(20,20,28,.08); }
.blog-single .meta .author { display:flex; align-items:center; gap:12px; }
.blog-single .meta .author .av { width:48px; height:48px; border-radius:50%; background:linear-gradient(135deg,var(--brand),var(--brand-dark)); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; }
.blog-single .meta .author strong { color:var(--ink); }
.blog-single .meta .author small { color:var(--muted); font-size:12px; display:block; }
.blog-single .cover { border-radius:24px; overflow:hidden; margin:32px 0; box-shadow:var(--shadow-lg); }
.blog-single .cover img { width:100%; }
.blog-single .content { font-size:17px; line-height:1.8; color:rgba(20,20,28,.8); }
.blog-single .content p { margin-bottom:20px; }
.blog-single .tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:40px; padding-top:24px; border-top:1px solid rgba(20,20,28,.08); }
.blog-single .tags span { background:rgba(255,122,24,.1); color:var(--brand); padding:6px 14px; border-radius:999px; font-size:13px; font-weight:600; }
.author-card { display:flex; gap:16px; background:var(--muted-bg); border-radius:16px; padding:24px; margin-top:32px; }
.author-card .av { width:64px; height:64px; border-radius:50%; background:linear-gradient(135deg,var(--brand),var(--brand-dark)); color:#fff; display:flex; align-items:center; justify-content:center; font-size:20px; font-weight:700; flex-shrink:0; }
.author-card small { font-size:11px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); }
.author-card strong { font-size:18px; color:var(--ink); }
.author-card p { font-size:14px; color:var(--muted); margin-top:4px; }

/* ---------- 404 ---------- */
.error-404 { min-height:70vh; display:flex; align-items:center; justify-content:center; text-align:center; padding:120px 0 64px; position:relative; overflow:hidden; }
.error-404::before { content:""; position:absolute; inset:0; z-index:-1; background-image:linear-gradient(rgba(20,20,28,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(20,20,28,.05) 1px,transparent 1px); background-size:56px 56px; opacity:.6; }
.error-404 .big { font-size:clamp(120px,20vw,200px); font-weight:800; line-height:1; letter-spacing:-.05em; }
.error-404 .big .zero { background:linear-gradient(120deg,var(--brand),var(--brand-light)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }

/* ---------- Utility ---------- */
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mt-40{margin-top:40px}
.text-muted{color:var(--muted)}.text-brand{color:var(--brand)}.text-white{color:#fff}
.bg-ink{background:var(--ink);color:#fff}.bg-muted{background:var(--muted-bg)}
.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}
.gap-8{gap:8px}.gap-12{gap:12px}.gap-16{gap:16px}.gap-24{gap:24px}
.flex-wrap{flex-wrap:wrap}

/* ---------- WordPress core ---------- */
.alignwide { max-width: 1320px; }
.alignfull { max-width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); }
.sticky { display:block; }
.bypostauthor { display:block; }
.gallery-caption { font-size: 13px; color: var(--muted); }
img.aligncenter { display:block; margin:0 auto; }
img.alignleft { float:left; margin:0 16px 16px 0; }
img.alignright { float:right; margin:0 0 16px 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .about-preview .grid, .contact-grid, .single-service-grid, .video-banner .content { grid-template-columns: 1fr; }
  .services-grid, .portfolio-grid, .blog-grid, .why-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card.popular { transform:none; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .main-nav, .header-actions .btn { display:none; }
  .menu-toggle { display:flex; }
  .main-nav.mobile-open { display:flex; position:fixed; top:80px; left:16px; right:16px; background:#fff; flex-direction:column; padding:16px; border-radius:16px; box-shadow:var(--shadow-lg); z-index:99; gap:4px; }
  .main-nav.mobile-open a { width:100%; padding:14px 16px; }
  .services-grid, .portfolio-grid, .blog-grid, .why-grid, .pricing-grid, .about-content .points, .portfolio-meta, .portfolio-results { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner .content { flex-direction:column; text-align:center; }
  .float-card { display:none; }
  .testimonial-card { padding:32px 24px; }
  .testimonial-card .text { font-size:17px; }
}
@media (max-width: 480px) {
  .container, .container-wide { padding: 0 16px; }
  .hero { padding:120px 0 48px; }
  .btn-lg { padding:14px 28px; font-size:15px; }
}
