/*
Theme Name:   Applied Research Center
Theme URI:    https://appliedresearchcenter.uz
Description:  Custom theme for Applied Research Center
Author:       Applied Research Center
Author URI:   https://appliedresearchcenter.uz
Version:      1.0.0
Text Domain:  arc-theme
Tags:         custom, professional, consulting
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --navy:      #1a3a5c;
  --navy-dark: #122840;
  --navy-mid:  #2c5282;
  --accent:    #848540;
  --accent-l:  #9a9b4f;
  --white:     #ffffff;
  --light:     #f7f8fa;
  --border:    #dde3ea;
  --text:      #1a202c;
  --muted:     #64748b;
  --muted-l:   #94a3b8;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text); background: var(--white); font-size: 15px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); }

/* ── TOP BAR ── */
.arc-topbar { background: var(--navy-dark); padding: 7px 0; font-size: 12.5px; }
.arc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.arc-topbar-inner { display: flex; justify-content: flex-end; align-items: center; gap: 24px; }
.arc-topbar a { color: rgba(255,255,255,0.65); text-decoration: none; display: flex; align-items: center; gap: 6px; transition: color .2s; }
.arc-topbar a:hover { color: #fff; }
.arc-topbar-sep { color: rgba(255,255,255,0.2); }

/* ── HEADER ── */
.arc-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 8px rgba(0,0,0,.06); }
.arc-header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.arc-logo img { height: 42px; width: auto; display: block; }
.arc-logo a { display: flex; align-items: center; text-decoration: none; }
.arc-logo-text { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; color: var(--navy); }
.arc-nav { display: flex; align-items: center; gap: 2px; }
.arc-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; padding: 0; margin: 0; }
.arc-nav ul li a { padding: 8px 15px; font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: none; border-radius: 4px; transition: color .15s; display: block; }
.arc-nav ul li a:hover, .arc-nav ul li.current-menu-item > a, .arc-nav ul li.current_page_item > a { color: var(--navy); }
.arc-nav ul li.current-menu-item > a, .arc-nav ul li.current_page_item > a { font-weight: 600; }
/* Polylang language switcher in nav */
.arc-nav .lang-item a { font-size: 11px !important; font-weight: 700; letter-spacing: .5px; color: var(--muted-l) !important; }
.arc-nav .lang-item.current-lang > a { color: var(--navy) !important; background: var(--light); border-radius: 3px; }

/* ── BUTTONS ── */
.btn { padding: 13px 30px; border-radius: 3px; font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: none; letter-spacing: .3px; display: inline-flex; align-items: center; gap: 7px; transition: all .2s; border: none; }
.btn-gold { background: var(--accent); color: #fff; }
.btn-gold:hover { background: var(--accent-l); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-mid); color: #fff; transform: translateY(-1px); }

/* ── HOME: HERO ── */
.arc-hero { background: var(--navy); padding: 96px 0 88px; }
.arc-hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.arc-hero-eyebrow { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 2.5px; color: var(--accent); text-transform: uppercase; margin-bottom: 18px; }
.arc-hero h1 { font-size: 48px; font-weight: 700; line-height: 1.12; color: #fff; margin-bottom: 20px; letter-spacing: -.5px; }
.arc-hero-sub { font-size: 16.5px; color: rgba(255,255,255,.62); line-height: 1.72; margin-bottom: 36px; font-weight: 300; }
.arc-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.arc-hero-stats { display: flex; flex-direction: column; gap: 14px; }
.arc-stat { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1); border-left: 3px solid var(--accent); border-radius: 5px; padding: 20px 22px; }
.arc-stat-num { font-size: 30px; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 5px; }
.arc-stat-label { font-size: 12.5px; color: rgba(255,255,255,.5); }
.arc-accent-bar { height: 3px; background: var(--accent); }

/* ── HOME: ABOUT ── */
.arc-about { background: var(--light); border-bottom: 1px solid var(--border); padding: 60px 0; }
.arc-about-inner { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.arc-section-label { font-size: 10.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.arc-section-heading { font-size: 28px; font-weight: 700; line-height: 1.22; color: var(--navy); letter-spacing: -.3px; }
.arc-about-text { font-size: 15px; color: var(--muted); line-height: 1.78; }
.arc-about-text p + p { margin-top: 14px; }
.arc-about-text strong { color: var(--text); font-weight: 600; }

/* ── HOME: SERVICES ── */
.arc-services { padding: 80px 0; background: #fff; }
.arc-services-hdr { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.arc-link-text { font-size: 13px; color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--navy); padding-bottom: 1px; }
.arc-services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; }
.arc-col-label { font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.arc-svc-list { list-style: none; padding: 0; }
.arc-svc-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); font-weight: 500; transition: color .15s; }
.arc-svc-item:last-child { border-bottom: none; }
.arc-svc-item:hover { color: var(--navy); }
.arc-svc-ico { width: 34px; height: 34px; background: var(--light); border: 1px solid var(--border); border-radius: 5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--navy); }
.arc-svc-ico svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.arc-svc-arrow { margin-left: auto; color: var(--muted-l); }
.arc-svc-arrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── HOME: WHY US ── */
.arc-why { background: var(--navy); padding: 80px 0; }
.arc-why-hdr { margin-bottom: 44px; }
.arc-why-hdr .arc-section-heading { color: #fff; }
.arc-why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.arc-why-card { padding: 26px; border: 1px solid rgba(255,255,255,.09); border-top: 3px solid var(--accent); border-radius: 5px; background: rgba(255,255,255,.035); }
.arc-why-ico { width: 40px; height: 40px; background: rgba(255,255,255,.08); border-radius: 5px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--accent); }
.arc-why-ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.arc-why-card h3 { font-size: 15.5px; font-weight: 600; color: #fff; margin-bottom: 9px; }
.arc-why-card p { font-size: 13px; color: rgba(255,255,255,.52); line-height: 1.65; }

/* ── HOME: CTA ── */
.arc-cta { background: var(--light); border-top: 1px solid var(--border); padding: 72px 0; text-align: center; }
.arc-cta-inner { max-width: 580px; margin: 0 auto; }
.arc-cta h2 { font-size: 30px; font-weight: 700; color: var(--navy); margin-bottom: 13px; }
.arc-cta p { font-size: 15.5px; color: var(--muted); margin-bottom: 30px; line-height: 1.6; }

/* ── INNER PAGES ── */
.arc-page-hero { background: var(--navy); padding: 56px 0; }
.arc-page-hero h1 { font-size: 38px; font-weight: 700; color: #fff; margin-bottom: 12px; letter-spacing: -.3px; line-height: 1.15; }
.arc-page-hero p { font-size: 16px; color: rgba(255,255,255,.6); font-weight: 300; max-width: 560px; }
.arc-page-content { padding: 64px 0; }
.arc-page-content .entry-content h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin: 32px 0 16px; }
.arc-page-content .entry-content h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin: 24px 0 12px; }
.arc-page-content .entry-content p { font-size: 15px; color: var(--muted); line-height: 1.78; margin-bottom: 16px; }
.arc-page-content .entry-content ul, .arc-page-content .entry-content ol { padding-left: 24px; margin-bottom: 16px; color: var(--muted); }

/* ── BLOG / ANALYTICS ── */
.arc-archive { padding: 60px 0; }
.arc-archive-header { margin-bottom: 40px; }
.arc-posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 24px; }
.arc-post-card { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: box-shadow .2s; }
.arc-post-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.arc-post-thumb { width: 100%; height: 180px; background: var(--light); overflow: hidden; }
.arc-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.arc-post-body { padding: 20px; }
.arc-post-cat { font-size: 11px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.arc-post-body h2 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.arc-post-body h2 a { color: inherit; text-decoration: none; }
.arc-post-body h2 a:hover { color: var(--navy-mid); }
.arc-post-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.arc-post-meta { font-size: 12px; color: var(--muted-l); }

/* ── SINGLE POST ── */
.arc-single { padding: 60px 0; }
.arc-single-inner { max-width: 740px; margin: 0 auto; }
.arc-single h1 { font-size: 34px; font-weight: 700; color: var(--navy); margin-bottom: 16px; line-height: 1.2; }
.arc-single .arc-post-meta { margin-bottom: 32px; }
.arc-single .entry-content h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin: 28px 0 14px; }
.arc-single .entry-content h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 22px 0 10px; }
.arc-single .entry-content p { font-size: 15px; color: #374151; line-height: 1.8; margin-bottom: 16px; }
.arc-single .entry-content ul, .arc-single .entry-content ol { padding-left: 24px; margin-bottom: 16px; color: #374151; line-height: 1.8; }
.arc-single .entry-content blockquote { border-left: 3px solid var(--accent); padding-left: 20px; color: var(--muted); font-style: italic; margin: 20px 0; }
.arc-single .entry-content img { border-radius: 6px; margin: 16px 0; }

/* ── FOOTER ── */
.arc-footer { background: var(--navy-dark); padding: 52px 0 26px; }
.arc-footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.09); margin-bottom: 22px; }
.arc-footer-logo { margin-bottom: 12px; }
.arc-footer-logo img { height: 32px; filter: brightness(0) invert(1); opacity: .85; }
.arc-footer-logo-text { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: rgba(255,255,255,.7); }
.arc-footer-desc { font-size: 12.5px; color: rgba(255,255,255,.4); line-height: 1.65; max-width: 210px; }
.arc-footer-col h4 { font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 14px; }
.arc-footer-col ul { list-style: none; padding: 0; }
.arc-footer-col li { margin-bottom: 8px; }
.arc-footer-col a { font-size: 13px; color: rgba(255,255,255,.58); text-decoration: none; transition: color .15s; }
.arc-footer-col a:hover { color: #fff; }
.arc-footer-bottom { display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(255,255,255,.28); }

/* ── RESPONSIVE ── */
@media(max-width:960px){
  .arc-wrap { padding: 0 20px; }
  .arc-hero-inner, .arc-about-inner, .arc-services-grid, .arc-why-grid { grid-template-columns: 1fr; }
  .arc-footer-top { grid-template-columns: 1fr 1fr; }
  .arc-hero { padding: 60px 0; }
  .arc-hero h1 { font-size: 34px; }
  .arc-nav { display: none; }
}
@media(max-width:640px){
  .arc-footer-top, .arc-why-grid { grid-template-columns: 1fr; }
}
