/* ============================================
   Cercana — Brand Stylesheet v2.0
   ============================================ */

:root {
  --ink:        #0D1117;
  --ink-soft:   #1C2333;
  --orange:     #FF5C00;
  --orange-dim: #CC4A00;
  --teal:       #00C896;
  --cream:      #F5F2EC;
  --cream-dark: #EAE6DF;
  --white:      #FFFFFF;
  --muted:      #6E7A8A;
  --border:     #E2DDD6;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1160px;
  --header-h: 68px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --shadow: 0 2px 12px rgba(13,17,23,.08);
  --shadow-lg: 0 8px 40px rgba(13,17,23,.12);
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body { font-family:var(--font); color:var(--ink); background:var(--white); line-height:1.6; font-size:16px; }
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }
ul { list-style:none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }

.container { max-width:var(--max-w); margin:0 auto; padding:0 24px; }

/* ─── Buttons ── */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 24px; border-radius:var(--r-sm); font-weight:600; font-size:.95rem;
  transition:all .18s ease; white-space:nowrap; border:2px solid transparent;
}
.btn--primary { background:var(--orange); color:var(--white); }
.btn--primary:hover { background:var(--orange-dim); transform:translateY(-1px); box-shadow:0 4px 20px rgba(255,92,0,.35); }
.btn--outline { border-color:var(--ink); color:var(--ink); }
.btn--outline:hover { background:var(--ink); color:var(--white); }
.btn--outline-light { border-color:rgba(255,255,255,.35); color:var(--white); }
.btn--outline-light:hover { border-color:var(--white); background:rgba(255,255,255,.1); }
.btn--lg { padding:15px 32px; font-size:1rem; }
.btn--sm { padding:8px 16px; font-size:.875rem; }
.btn--block { width:100%; }

/* ─── Header ── */
.header {
  position:fixed; top:0; left:0; right:0; z-index:100; height:var(--header-h);
  background:rgba(13,17,23,.94); backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.header__inner {
  max-width:var(--max-w); margin:0 auto; padding:0 24px;
  height:100%; display:flex; align-items:center; gap:32px;
}
.header__logo { display:flex; align-items:center; flex-shrink:0; }
.header__nav { margin-left:auto; }
.header__nav-list { display:flex; gap:4px; }
.header__nav-link {
  padding:8px 14px; border-radius:var(--r-sm); font-size:.9rem; font-weight:500;
  color:rgba(255,255,255,.6); transition:all .15s;
}
.header__nav-link:hover,
.header__nav-link--active { color:var(--white); background:rgba(255,255,255,.08); }
.header__cta { margin-left:8px; }
.header__menu-btn {
  display:none; width:40px; height:40px; padding:8px; color:var(--white); border-radius:var(--r-sm);
}
.header__menu-btn svg { width:100%; height:100%; }
.header__menu-btn:hover { background:rgba(255,255,255,.1); }

/* ─── Mobile nav ── */
.mobile-nav {
  display:none; position:fixed; top:var(--header-h); left:0; right:0;
  background:var(--ink); z-index:99; border-bottom:1px solid rgba(255,255,255,.08);
  padding:16px 24px 24px;
}
.mobile-nav.is-open { display:block; }
.mobile-nav__list { display:flex; flex-direction:column; gap:4px; }
.mobile-nav__link {
  display:block; padding:12px 16px; border-radius:var(--r-sm);
  color:rgba(255,255,255,.7); font-weight:500; transition:.15s;
}
.mobile-nav__link:hover { color:var(--white); background:rgba(255,255,255,.08); }

/* ─── Hero ── */
.hero {
  min-height:100vh; background:var(--ink); color:var(--white);
  display:flex; align-items:center; padding-top:var(--header-h);
  position:relative; overflow:hidden;
}
.hero::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(ellipse 70% 60% at 65% 45%, rgba(255,92,0,.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 85%, rgba(0,200,150,.07) 0%, transparent 60%);
}
.hero__inner {
  position:relative; max-width:var(--max-w); margin:0 auto; padding:80px 24px;
  display:grid; grid-template-columns:1.1fr .9fr; gap:72px; align-items:center; width:100%;
}
.hero__label {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,92,0,.1); border:1px solid rgba(255,92,0,.22);
  color:var(--orange); padding:6px 14px; border-radius:var(--r-lg);
  font-size:.78rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
  margin-bottom:24px;
}
.hero__label::before {
  content:''; width:6px; height:6px; border-radius:50%; background:var(--orange);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; } 50% { opacity:.3; }
}
.hero h1 {
  font-size:clamp(2.6rem, 5vw, 4.2rem); font-weight:800; line-height:1.08;
  letter-spacing:-.03em; margin-bottom:22px;
}
.hero h1 em { font-style:normal; color:var(--orange); }
.hero__sub {
  font-size:1.1rem; color:rgba(255,255,255,.55); line-height:1.75;
  margin-bottom:40px; max-width:500px;
}
.hero__actions { display:flex; gap:12px; flex-wrap:wrap; }
.hero__stats {
  display:flex; gap:36px; margin-top:52px; padding-top:40px;
  border-top:1px solid rgba(255,255,255,.08);
}
.hero__stat-n { font-size:2rem; font-weight:800; color:var(--white); line-height:1; }
.hero__stat-n em { font-style:normal; color:var(--orange); }
.hero__stat-l { font-size:.78rem; color:rgba(255,255,255,.4); margin-top:4px; }

/* Hero screen mockup */
.hero__visual { position:relative; display:flex; justify-content:center; }
.hero__screen {
  width:100%; max-width:440px; border-radius:var(--r-lg);
  overflow:hidden; box-shadow:0 40px 100px rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.08);
}
.hero__screen-bar {
  background:#161C27; padding:12px 16px;
  display:flex; align-items:center; gap:8px;
}
.hero__screen-dot { width:10px; height:10px; border-radius:50%; }
.hero__screen-url {
  flex:1; background:rgba(255,255,255,.05); border-radius:4px;
  padding:5px 10px; font-size:.73rem; color:rgba(255,255,255,.35); font-family:monospace;
}
.hero__screen-body {
  background:#111827; padding:24px;
  min-height:240px;
}
.hero__scan-line {
  height:10px; background:rgba(255,255,255,.06); border-radius:4px; margin-bottom:10px;
}
.hero__scan-line--short { width:65%; }
.hero__scan-line--med { width:82%; }
.hero__scan-dots {
  display:flex; gap:10px; margin-bottom:20px;
}
.hero__scan-dot {
  width:36px; height:36px; border-radius:8px; background:rgba(255,255,255,.05);
}
.hero__scan-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:10px;
}
.hero__scan-card {
  background:rgba(255,255,255,.04); border-radius:8px; padding:12px;
  border:1px solid rgba(255,255,255,.06);
}
.hero__scan-card-bar {
  height:8px; background:rgba(255,255,255,.08); border-radius:4px; margin-bottom:6px;
}
.hero__scan-card-bar--s { width:55%; }
.hero__scan-badge {
  position:absolute; bottom:-16px; right:20px;
  background:var(--teal); color:var(--ink); padding:10px 18px;
  border-radius:var(--r-lg); font-size:.8rem; font-weight:700;
  box-shadow:0 8px 28px rgba(0,200,150,.35);
  display:flex; align-items:center; gap:8px;
}
.hero__scan-badge svg { width:14px; height:14px; }

/* ─── Section base ── */
.section { padding:96px 0; }
.section--dark { background:var(--ink); color:var(--white); }
.section--cream { background:var(--cream); }
.section--alt { background:var(--cream); }

.section__label {
  font-size:.75rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--orange); margin-bottom:12px;
}
.section h2 {
  font-size:clamp(1.9rem, 3.5vw, 2.9rem); font-weight:800;
  letter-spacing:-.025em; line-height:1.12; margin-bottom:16px;
}
.section__sub { font-size:1.05rem; color:var(--muted); max-width:560px; line-height:1.7; }
.section__header { margin-bottom:56px; }
.section__header--center { text-align:center; }
.section__header--center .section__sub { margin:0 auto; }

/* ─── Services ── */
.services-list {
  display:grid; grid-template-columns:repeat(2, 1fr); gap:1px;
  background:var(--border); border-radius:var(--r-lg); overflow:hidden;
  border:1px solid var(--border);
}
.service-item { background:var(--white); padding:32px 36px; transition:.2s; }
.service-item:hover { background:var(--cream); }
.service-item__num {
  font-size:.72rem; font-weight:700; color:var(--orange);
  letter-spacing:.06em; text-transform:uppercase; margin-bottom:12px;
}
.service-item h3 { font-size:1.1rem; font-weight:700; margin-bottom:8px; }
.service-item p { font-size:.9rem; color:var(--muted); line-height:1.65; }

/* ─── Process ── */
.process-track {
  display:grid; grid-template-columns:repeat(4, 1fr); gap:0;
  position:relative;
}
.process-track::before {
  content:''; position:absolute; top:27px; left:calc(12.5% + 14px); right:calc(12.5% + 14px);
  height:2px; background:linear-gradient(to right, var(--orange), var(--teal));
  opacity:.3;
}
.process-node { padding:0 16px; text-align:center; }
.process-node__num {
  width:54px; height:54px; border-radius:50%;
  background:var(--ink); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-size:1.15rem; font-weight:800; margin:0 auto 20px;
  position:relative; z-index:1;
  border:3px solid var(--white); box-shadow:0 0 0 2px var(--cream-dark);
  transition:.2s;
}
.process-node--hi .process-node__num {
  background:var(--orange); box-shadow:0 0 0 2px var(--orange), 0 6px 20px rgba(255,92,0,.3);
}
.process-node h3 { font-size:.95rem; font-weight:700; margin-bottom:8px; }
.process-node p { font-size:.85rem; color:var(--muted); line-height:1.6; }
.process-node__chip {
  display:inline-block; background:var(--cream-dark); border-radius:var(--r-sm);
  padding:3px 10px; font-size:.72rem; font-weight:700; color:var(--ink-soft); margin-top:10px;
}
.process-node--hi .process-node__chip { background:rgba(255,92,0,.12); color:var(--orange); }

/* ─── Projects ── */
.projects-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.project-card {
  border-radius:var(--r-lg); overflow:hidden; background:var(--cream);
  transition:transform .2s, box-shadow .2s;
}
.project-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.project-card--wide { grid-column:1 / -1; display:grid; grid-template-columns:3fr 2fr; }
.project-card__img {
  aspect-ratio:16/9; background:var(--cream-dark); overflow:hidden; position:relative;
}
.project-card--wide .project-card__img { aspect-ratio:auto; }
.project-card__img img { width:100%; height:100%; object-fit:cover; }
.project-card__placeholder {
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  font-size:.8rem; color:var(--muted);
}
.project-card__body { padding:28px 30px; display:flex; flex-direction:column; justify-content:center; }
.project-card__tag {
  display:inline-block; padding:4px 12px; border-radius:var(--r-sm);
  font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
  margin-bottom:12px; width:fit-content;
  background:rgba(255,92,0,.1); color:var(--orange);
}
.project-card h3 { font-size:1.2rem; font-weight:700; margin-bottom:8px; }
.project-card p { font-size:.875rem; color:var(--muted); line-height:1.65; }
.project-card__kpi { margin-top:16px; font-size:1.8rem; font-weight:800; color:var(--orange); line-height:1; }
.project-card__kpi span { display:block; font-size:.78rem; font-weight:500; color:var(--muted); margin-top:4px; }

/* ─── Packages ── */
.packages { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; align-items:start; }
.package {
  border:1px solid var(--border); border-radius:var(--r-lg); padding:28px 24px;
  background:var(--white); position:relative;
  display:flex; flex-direction:column; gap:20px;
}
.package--featured {
  border-color:var(--orange); background:var(--ink); color:var(--white);
  box-shadow:0 12px 48px rgba(255,92,0,.18);
}
.package__badge {
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:var(--orange); color:var(--white); padding:4px 14px;
  border-radius:var(--r-lg); font-size:.72rem; font-weight:700; white-space:nowrap;
}
.package__name { font-size:1.25rem; font-weight:800; }
.package__desc { font-size:.875rem; color:var(--muted); line-height:1.5; }
.package--featured .package__desc { color:rgba(255,255,255,.5); }
.package__features { display:flex; flex-direction:column; gap:9px; flex:1; }
.package__feature {
  font-size:.875rem; display:flex; align-items:flex-start; gap:8px;
}
.package--featured .package__feature { color:rgba(255,255,255,.8); }
.package__feature::before {
  content:''; flex-shrink:0; width:16px; height:16px; margin-top:2px;
  background:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5L13 4.5' stroke='%2300C896' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ─── Testimonials ── */
.testimonials-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.testimonial {
  background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg);
  padding:28px; display:flex; flex-direction:column; gap:20px;
}
.testimonial__quote { font-size:.95rem; line-height:1.75; color:var(--ink-soft); flex:1; }
.testimonial__mark { color:var(--orange); font-size:2.5rem; line-height:.4; display:block; margin-bottom:10px; }
.testimonial__author { display:flex; align-items:center; gap:12px; }
.testimonial__avatar {
  width:42px; height:42px; border-radius:50%; background:var(--ink); color:var(--white);
  display:flex; align-items:center; justify-content:center; font-size:.75rem; font-weight:700;
}
.testimonial__name { font-size:.9rem; font-weight:600; }
.testimonial__role { font-size:.78rem; color:var(--muted); }

/* ─── FAQ ── */
.faq { display:flex; flex-direction:column; gap:8px; }
.faq-item {
  border:1px solid var(--border); border-radius:var(--r-md); overflow:hidden; background:var(--white);
}
.faq-item__q {
  width:100%; padding:20px 24px; display:flex; justify-content:space-between; align-items:center;
  font-size:.95rem; font-weight:600; text-align:left; gap:16px; transition:.15s;
}
.faq-item__q:hover { background:var(--cream); }
.faq-item__icon { flex-shrink:0; width:20px; height:20px; color:var(--muted); transition:transform .2s; }
.faq-item.is-open .faq-item__icon { transform:rotate(45deg); color:var(--orange); }
.faq-item__a { padding:0 24px 20px; font-size:.9rem; color:var(--muted); line-height:1.7; display:none; }
.faq-item.is-open .faq-item__a { display:block; }

/* ─── CTA Banner ── */
.cta-banner {
  background:var(--ink); color:var(--white); border-radius:var(--r-lg);
  padding:64px 56px; display:grid; grid-template-columns:1fr auto; gap:48px; align-items:center;
}
.cta-banner h2 { font-size:clamp(1.7rem,3vw,2.5rem); font-weight:800; line-height:1.15; margin-bottom:12px; }
.cta-banner p { color:rgba(255,255,255,.5); }
.cta-banner__actions { display:flex; flex-direction:column; gap:10px; align-items:flex-end; }

/* ─── Footer ── */
.footer {
  background:var(--ink-soft); color:rgba(255,255,255,.4);
  padding:40px 0; border-top:1px solid rgba(255,255,255,.06);
}
.footer__inner {
  max-width:var(--max-w); margin:0 auto; padding:0 24px;
  display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap;
}
.footer__links { display:flex; gap:24px; }
.footer__link { font-size:.85rem; transition:.15s; }
.footer__link:hover { color:var(--white); }
.footer__copy { font-size:.78rem; }

/* ─── Responsive ── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns:1fr; }
  .hero__visual { display:none; }
  .packages { grid-template-columns:repeat(2,1fr); }
  .services-list { grid-template-columns:1fr; }
}
@media (max-width: 768px) {
  .section { padding:64px 0; }
  .header__nav, .header__cta { display:none; }
  .header__menu-btn { display:flex; margin-left:auto; }
  .hero h1 { font-size:2.2rem; }
  .hero__stats { gap:20px; flex-wrap:wrap; }
  .process-track { grid-template-columns:1fr 1fr; gap:32px; }
  .process-track::before { display:none; }
  .projects-grid { grid-template-columns:1fr; }
  .project-card--wide { grid-column:auto; grid-template-columns:1fr; }
  .testimonials-grid { grid-template-columns:1fr; }
  .packages { grid-template-columns:1fr; }
  .cta-banner { grid-template-columns:1fr; padding:40px 28px; }
  .cta-banner__actions { align-items:flex-start; flex-direction:row; flex-wrap:wrap; }
}
@media (max-width: 480px) {
  .process-track { grid-template-columns:1fr; }
  .hero__actions { flex-direction:column; }
  .hero__actions .btn { width:100%; justify-content:center; }
}
