/* ══════════════════════════════════
   INSENC.COM — Main Stylesheet
   Theme: Clean White + Bold Red
   Font: Plus Jakarta Sans + Fraunces
══════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #e8271c;
  --red-dark: #c41e14;
  --red-light: #fff0ef;
  --black: #0f0f0f;
  --text: #1a1a1a;
  --text-muted: #666;
  --text-light: #999;
  --bg: #ffffff;
  --bg-light: #f7f7f5;
  --bg-dark: #0f0f0f;
  --border: #e8e8e4;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-inner {
  display: flex; align-items: center;
  gap: 2rem; padding-top: 0; padding-bottom: 0;
  height: 72px;
}

.logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.4rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.logo-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--red); color: white;
  font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-style: italic;
}
.logo-text { color: var(--text); }

.nav-menu {
  display: flex; align-items: center; gap: 0.25rem; margin-left: auto;
}

.nav-item { position: relative; }

.nav-link {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem; font-weight: 500; color: var(--text);
  background: none; border: none; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--red); background: var(--red-light); }
.nav-link svg { transition: transform 0.2s; }
.has-dropdown:hover .nav-link svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 300px;
  padding: 0.5rem;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.dropdown-item {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.75rem 1rem; border-radius: 10px;
  transition: background 0.15s;
}
.dropdown-item:hover { background: var(--bg-light); }
.dropdown-item.active-item { background: var(--red); color: white; }
.dropdown-item.active-item span { color: rgba(255,255,255,0.8) !important; }

.di-icon { font-size: 1.1rem; flex-shrink: 0; }
.dropdown-item div { display: flex; flex-direction: column; }
.dropdown-item strong { font-size: 0.875rem; font-weight: 600; }
.dropdown-item span { font-size: 0.78rem; color: var(--text-muted); margin-top: 1px; }

.btn-nav {
  background: var(--red); color: white;
  padding: 0.55rem 1.25rem; border-radius: 8px;
  font-size: 0.875rem; font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap; flex-shrink: 0;
}
.btn-nav:hover { background: var(--red-dark); transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--red); color: white;
  padding: 0.8rem 2rem; border-radius: 8px;
  font-size: 0.95rem; font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  border: none;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--text);
  padding: 0.8rem 2rem; border-radius: 8px;
  font-size: 0.95rem; font-weight: 600;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 7rem 0 4rem;
  position: relative; overflow: hidden;
  background: var(--bg);
}

.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.shape {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,39,28,0.07) 0%, transparent 70%);
}
.s1 { width: 700px; height: 700px; top: -200px; right: -100px; }
.s2 { width: 400px; height: 400px; bottom: 0; left: 10%; background: radial-gradient(circle, rgba(232,39,28,0.04) 0%, transparent 70%); }
.s3 { width: 200px; height: 200px; top: 40%; right: 35%; background: radial-gradient(circle, rgba(232,39,28,0.03) 0%, transparent 70%); }

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--red-light); color: var(--red);
  padding: 0.4rem 1rem; border-radius: 2rem; border: 1px solid rgba(232,39,28,0.15);
  font-size: 0.82rem; font-weight: 600; margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.1; letter-spacing: -0.03em;
  color: var(--text); margin-bottom: 1.25rem;
}
.hero-title em { font-style: italic; color: var(--text-muted); }
.hero-title .highlight { color: var(--red); }

.hero-desc { font-size: 1rem; color: var(--text-muted); max-width: 480px; line-height: 1.8; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-trust {
  display: flex; align-items: center; gap: 2rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.trust-item { display: flex; flex-direction: column; gap: 0.2rem; }
.trust-item strong { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.trust-item span { font-size: 0.78rem; color: var(--text-muted); }
.trust-divider { width: 1px; height: 36px; background: var(--border); }

/* Hero Visual */
.hero-visual { position: relative; }
.hero-card {
  background: white; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.main-card { padding: 1.5rem; }
.card-header { display: flex; align-items: center; gap: 6px; margin-bottom: 1.25rem; }
.card-dot { width: 10px; height: 10px; border-radius: 50%; }
.card-dot.green { background: #34d399; }
.card-dot.amber { background: #fbbf24; }
.card-dot.red { background: var(--red); }
.card-metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.metric-box { background: var(--bg-light); border-radius: 10px; padding: 1rem; }
.metric-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.metric-value { font-size: 1.4rem; font-weight: 800; color: var(--text); }
.metric-value.red { color: var(--red); }
.mini-bar { height: 4px; background: var(--border); border-radius: 2px; margin-top: 0.5rem; overflow: hidden; }
.mini-fill { height: 100%; background: var(--red); border-radius: 2px; }
.card-chart { margin-bottom: 1rem; }
.card-row { display: flex; justify-content: space-between; align-items: center; }

.mini-card {
  position: absolute; padding: 0.85rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.85rem;
}
.mc1 { top: -1.5rem; right: -2rem; }
.mc2 { bottom: 2rem; right: -2.5rem; }
.mini-card strong { display: block; font-weight: 700; font-size: 0.875rem; }
.bold { font-weight: 800 !important; font-size: 1.1rem !important; color: var(--red); }

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  background: var(--red);
  padding: 0.8rem 0;
}
.marquee-track {
  display: flex; gap: 2rem; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap;
}
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── SECTIONS ── */
.section { padding: 6rem 0; }
.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--bg-dark); color: white; }

.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3.5rem; gap: 2rem;
}
.section-header.center { flex-direction: column; align-items: center; text-align: center; }

.label-tag {
  display: inline-flex; align-items: center;
  background: var(--red-light); color: var(--red);
  padding: 0.3rem 0.85rem; border-radius: 2rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.label-tag.light { background: rgba(232,39,28,0.15); color: #ff7b73; }

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2; letter-spacing: -0.02em;
}
.section-title em { font-style: italic; color: var(--text-muted); }
.section-title.light { color: white; }
.section-title.light em { color: rgba(255,255,255,0.5); }
.section-desc { color: var(--text-muted); font-size: 1rem; max-width: 520px; margin-top: 0.75rem; line-height: 1.7; }

/* ── SERVICES ── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { border-color: var(--red); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card.sc-featured { background: var(--red); color: white; border-color: var(--red); }
.service-card.sc-featured .sc-link { color: rgba(255,255,255,0.8); }
.service-card.sc-featured p { color: rgba(255,255,255,0.8); }
.sc-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; }
.service-card p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.25rem; }
.sc-link { font-size: 0.875rem; font-weight: 600; color: var(--red); }
.sc-link:hover { text-decoration: underline; }

/* ── WHY US ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 1.25rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.wi-icon {
  width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0;
  background: var(--red); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.why-item strong { font-size: 0.95rem; font-weight: 700; display: block; margin-bottom: 0.2rem; }
.why-item p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }

.stats-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.stat-item {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  text-align: center;
}
.stat-big { font-family: 'Fraunces', serif; font-size: 2.8rem; font-weight: 700; line-height: 1; }
.stat-lbl { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.4rem; }
.red { color: var(--red) !important; }

.award-badge {
  display: flex; align-items: center; gap: 1rem;
  background: var(--red); color: white;
  padding: 1rem 1.5rem; border-radius: var(--radius-lg);
  font-size: 1.5rem;
}
.award-badge div { display: flex; flex-direction: column; }
.award-badge strong { font-size: 0.95rem; font-weight: 700; }
.award-badge span { font-size: 0.8rem; opacity: 0.8; margin-top: 2px; }

/* ── INDUSTRIES ── */
.industries-grid {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 1rem;
  margin-top: 2.5rem;
}
.industry-card {
  background: var(--bg-light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 0.75rem;
  text-align: center; display: flex; flex-direction: column; gap: 0.5rem;
  align-items: center; cursor: default;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.industry-card:hover { background: var(--red-light); border-color: var(--red); transform: translateY(-3px); }
.industry-card span { font-size: 1.6rem; }
.industry-card p { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }

/* ── CASE STUDIES ── */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.case-card:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-3px); }
.case-tag {
  font-size: 0.75rem; font-weight: 700; color: var(--red); letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 0.75rem; font-family: 'Plus Jakarta Sans', sans-serif;
}
.case-card h3 { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; line-height: 1.4; }
.case-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; margin-bottom: 1.5rem; }
.case-metrics { display: flex; gap: 1.5rem; border-top: 1px solid var(--border); padding-top: 1.25rem; }
.case-metrics div { display: flex; flex-direction: column; gap: 0.15rem; }
.case-metrics strong { font-size: 1.4rem; font-weight: 800; font-family: 'Fraunces', serif; }
.case-metrics span { font-size: 0.72rem; color: var(--text-muted); }

/* ── PROCESS ── */
.process-row { display: flex; align-items: flex-start; gap: 0; margin-top: 1rem; }
.process-step { flex: 1; padding: 2rem 1.5rem; }
.ps-arrow { font-size: 1.5rem; color: var(--red); margin-top: 2.5rem; opacity: 0.4; flex-shrink: 0; }
.ps-num {
  font-family: 'Fraunces', serif; font-size: 2.5rem; font-weight: 700;
  color: var(--red); opacity: 0.15; line-height: 1; margin-bottom: 0.75rem;
}
.process-step h3 { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.process-step p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.65; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi-card {
  background: #1a1a1a; border: 1px solid #2a2a2a;
  border-radius: var(--radius-lg); padding: 2rem;
}
.stars { font-size: 1rem; color: #f59e0b; margin-bottom: 1rem; letter-spacing: 2px; }
.testi-card p { color: #ccc; font-size: 0.9rem; line-height: 1.75; font-style: italic; margin-bottom: 1.5rem; }
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.author-av {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--red); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem;
}
.testi-author strong { display: block; font-size: 0.875rem; color: white; font-weight: 700; }
.testi-author span { font-size: 0.78rem; color: #888; }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--red); color: white;
  padding: 4rem 0;
}
.cta-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.cta-section h2 { font-family: 'Fraunces', serif; font-size: 2rem; margin-bottom: 0.5rem; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1rem; line-height: 1.7; }
.cta-form { display: flex; flex-direction: column; gap: 0.75rem; }
.cta-form input {
  padding: 0.85rem 1.1rem; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1); color: white;
  font-family: inherit; font-size: 0.9rem;
  outline: none; transition: border-color 0.2s;
}
.cta-form input::placeholder { color: rgba(255,255,255,0.55); }
.cta-form input:focus { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.15); }
.cta-form .btn-primary {
  background: white; color: var(--red);
  font-size: 0.95rem; justify-content: center;
}
.cta-form .btn-primary:hover { background: #f0f0f0; }

/* ── FOOTER ── */
.footer { background: #111; color: #ccc; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-col p { font-size: 0.875rem; color: #888; line-height: 1.7; margin: 0.75rem 0 1.25rem; }
.footer-brand-col .logo { color: white; }

.social-row { display: flex; gap: 0.6rem; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid #2a2a2a; background: #1a1a1a;
  display: flex; align-items: center; justify-content: center;
  color: #888; transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-btn:hover { border-color: var(--red); color: var(--red); background: rgba(232,39,28,0.08); }

.footer-col h5 {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #888; margin-bottom: 1.25rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.875rem; color: #aaa; transition: color 0.2s; }
.footer-col a:hover { color: white; }

.contact-info { display: flex; flex-direction: column; gap: 0.85rem; }
.ci-row { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: #aaa; }
.ci-row span:first-child { font-size: 1rem; flex-shrink: 0; }
.ci-row a { color: #aaa; transition: color 0.2s; }
.ci-row a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid #1f1f1f; padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.8rem; color: #555; }
.footer-links-row { display: flex; gap: 1.5rem; }
.footer-links-row a { font-size: 0.8rem; color: #555; transition: color 0.2s; }
.footer-links-row a:hover { color: #aaa; }

/* ── INNER PAGE HERO ── */
.page-hero {
  background: var(--bg-light); padding: 7rem 0 4rem;
  border-bottom: 1px solid var(--border);
}
.page-hero .breadcrumb { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: var(--red); }
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 1rem;
}
.page-hero p { font-size: 1.05rem; color: var(--text-muted); max-width: 580px; line-height: 1.8; }

/* ── FADE UP ANIMATION ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-row { flex-wrap: wrap; }
  .ps-arrow { display: none; }
  .process-step { min-width: 48%; }
}

@media (max-width: 768px) {
  .nav-menu, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 4rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .stats-box { grid-template-columns: 1fr 1fr; }
  .hero-trust { gap: 1.5rem; }
  .hero-btns { flex-direction: column; }
}

@media (max-width: 480px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-trust { flex-wrap: wrap; gap: 1rem; }
}
