/* =============================================
   DIGITAL IMPRESSIO — SHARED DESIGN SYSTEM
   ============================================= */

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

:root {
  --brand:      #0A1628;
  --brand-mid:  #162840;
  --accent:     #FF4D00;
  --accent2:    #00C4A1;
  --light-bg:   #F7F5F0;
  --white:      #ffffff;
  --text-dark:  #0A1628;
  --text-mid:   #4A5568;
  --text-light: #8A94A6;
  --border:     rgba(10,22,40,0.1);
  --nav-h:      76px;
  --radius:     10px;
  --radius-lg:  16px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--text-dark); overflow-x: hidden; }

/* ---- FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;900&display=swap');

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 28px rgba(10,22,40,0.09); }
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 900; color: var(--brand);
  text-decoration: none; letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  text-decoration: none; transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-links a.active { font-weight: 700; }
.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  padding: 10px 22px !important; border-radius: 6px !important;
  font-weight: 600 !important; transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--brand); border-radius: 2px; display: block; transition: 0.3s; }

/* ---- PAGE WRAPPER ---- */
.page-content { padding-top: var(--nav-h); }

/* ---- HERO VARIANTS ---- */
.hero-dark {
  background: var(--brand); min-height: 92vh;
  display: flex; align-items: center;
  padding: 80px 5vw 80px; position: relative; overflow: hidden;
}
.hero-light {
  background: var(--light-bg); min-height: 56vh;
  display: flex; align-items: center;
  padding: 80px 5vw 80px; position: relative; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; width: 100%; max-width: 1200px; }
.hero-grid-full { max-width: 700px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,77,0,0.15); color: var(--accent);
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
  border: 1px solid rgba(255,77,0,0.3);
}
.hero-eyebrow-light {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,77,0,0.08); color: var(--accent);
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
  border: 1px solid rgba(255,77,0,0.2);
}
.hero-eyebrow::before, .hero-eyebrow-light::before {
  content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%;
}

.h1-dark {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5.5vw, 72px); font-weight: 900; color: #fff;
  line-height: 1.08; letter-spacing: -1px; margin-bottom: 22px;
}
.h1-dark em { color: var(--accent); font-style: normal; }
.h1-dark .teal { color: var(--accent2); }

.h1-light {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4.5vw, 58px); font-weight: 900; color: var(--brand);
  line-height: 1.1; letter-spacing: -0.8px; margin-bottom: 22px;
}
.h1-light em { color: var(--accent); font-style: normal; }

.hero-sub-dark { font-size: 17px; color: rgba(255,255,255,0.62); line-height: 1.72; margin-bottom: 36px; max-width: 520px; }
.hero-sub-light { font-size: 17px; color: var(--text-mid); line-height: 1.72; margin-bottom: 36px; max-width: 520px; }

/* ---- BUTTONS ---- */
.btn-primary {
  background: var(--accent); color: #fff;
  padding: 13px 30px; border-radius: 6px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-ghost-dark {
  background: transparent; color: rgba(255,255,255,0.8);
  padding: 13px 30px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.22);
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost-dark:hover { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-ghost-light {
  background: transparent; color: var(--brand);
  padding: 13px 30px; border-radius: 6px; border: 1.5px solid var(--brand);
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-ghost-light:hover { background: var(--brand); color: #fff; }
.btn-white {
  background: #fff; color: var(--accent);
  padding: 13px 30px; border-radius: 6px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-white:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- SECTION BASE ---- */
section { padding: 88px 5vw; }
.section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.section-eyebrow-teal { color: var(--accent2); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3.6vw, 48px); font-weight: 900;
  line-height: 1.12; color: var(--brand); margin-bottom: 16px; letter-spacing: -0.4px;
}
.section-title-white { color: #fff; }
.section-sub { font-size: 16px; color: var(--text-mid); line-height: 1.72; max-width: 580px; }
.section-sub-white { color: rgba(255,255,255,0.58); }
.section-header-row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 52px; }

/* ---- CLIENTS BAR ---- */
.clients-bar { background: var(--light-bg); padding: 26px 5vw; border-bottom: 1px solid var(--border); }
.clients-bar-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.clients-label { font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--text-light); font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.clients-logos { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.client-pill { font-size: 13px; font-weight: 700; color: var(--text-mid); opacity: 0.55; transition: opacity 0.2s; cursor: default; letter-spacing: 0.3px; }
.client-pill:hover { opacity: 1; }

/* ---- CARDS ---- */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; transition: box-shadow 0.22s, transform 0.22s; }
.card:hover { box-shadow: 0 10px 36px rgba(10,22,40,0.08); transform: translateY(-2px); }
.card-dark { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 32px 28px; transition: background 0.22s, transform 0.22s; }
.card-dark:hover { background: rgba(255,255,255,0.09); transform: translateY(-2px); }

/* ---- SERVICE CARD ---- */
.service-icon { width: 48px; height: 48px; border-radius: 10px; background: rgba(255,77,0,0.08); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; transition: background 0.22s; }
.service-card-wrap { position: relative; }
.service-card-wrap:hover .service-icon { background: var(--accent); }
.service-num-tag { position: absolute; top: 16px; right: 20px; font-size: 11px; font-weight: 700; color: var(--border); font-family: 'Playfair Display', serif; }
.service-title { font-size: 19px; font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.service-desc { font-size: 14px; color: var(--text-mid); line-height: 1.65; margin-bottom: 20px; }
.service-link { font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.service-link:hover { gap: 10px; }

/* ---- STATS ROW ---- */
.stats-row { display: flex; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.stat-item { flex: 1; padding: 28px 24px; text-align: center; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 900; color: var(--brand); line-height: 1; }
.stat-num span { color: var(--accent); }
.stat-label { font-size: 12px; color: var(--text-light); margin-top: 6px; font-weight: 500; }

/* ---- HERO DECORATION ---- */
.hero-dots-grid { position: absolute; right: 4%; top: 15%; display: grid; grid-template-columns: repeat(8,1fr); gap: 16px; opacity: 0.1; pointer-events: none; }
.hero-dots-grid span { width: 4px; height: 4px; background: #fff; border-radius: 50%; display: block; }
.hero-blob { position: absolute; border-radius: 50%; opacity: 0.06; pointer-events: none; }

/* ---- CTA BANNER ---- */
.cta-banner { background: var(--accent); padding: 72px 5vw; text-align: center; }
.cta-banner h2 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3.5vw, 44px); font-weight: 900; color: #fff; margin-bottom: 14px; letter-spacing: -0.4px; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.78); margin-bottom: 36px; max-width: 460px; margin-left: auto; margin-right: auto; }

/* ---- FORM ---- */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--brand); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 6px;
  font-size: 14px; font-family: 'Inter', sans-serif; color: var(--brand);
  background: var(--white); outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---- FOOTER ---- */
footer { background: var(--brand); color: rgba(255,255,255,0.55); padding: 64px 5vw 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 12px; text-decoration: none; display: block; }
.footer-logo span { color: var(--accent); }
.footer-about { font-size: 14px; line-height: 1.7; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.65); display: flex; align-items: center; justify-content: center; font-size: 13px; text-decoration: none; font-weight: 700; transition: background 0.2s, color 0.2s; }
.social-btn:hover { background: var(--accent); color: #fff; }
.footer-col-title { font-size: 12px; font-weight: 700; color: #fff; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.48); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; flex-wrap: wrap; gap: 8px; }

/* ---- BREADCRUMB ---- */
.breadcrumb { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---- TAGS / BADGES ---- */
.tag { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.tag-accent { background: rgba(255,77,0,0.1); color: var(--accent); }
.tag-teal { background: rgba(0,196,161,0.1); color: var(--accent2); }
.tag-dark { background: rgba(10,22,40,0.07); color: var(--brand); }

/* ---- DIVIDER ---- */
.divider { height: 1px; background: var(--border); margin: 0; }
.divider-white { height: 1px; background: rgba(255,255,255,0.08); margin: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: #fff; padding: 16px 5vw;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(10,22,40,0.1);
    z-index: 199;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open li a { padding: 12px 0; display: block; font-size: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open li:last-child a { border-bottom: none; }
  .stats-row { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 64px 5vw; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
