/* Noventia Services — shared styles for /icr /sod /sfr /sis
   Aligned with /afe design language: sober, premium, operational. */

:root {
  --c-bg: #f6f4ef;
  --c-surface: #ffffff;
  --c-surface-2: #faf8f3;
  --c-ink: #0e1a2b;
  --c-ink-2: #2a3849;
  --c-muted: #6a7587;
  --c-line: #e3dfd6;
  --c-line-2: #d1ccc0;
  --c-navy: #0e1a2b;
  --c-navy-2: #1c2c45;
  --c-bronze: #a07a3c;
  --c-bronze-2: #c39a55;
  --c-gold: #d4ac61;
  --container: 1180px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(14,26,43,.05);
  --shadow: 0 6px 18px rgba(14,26,43,.08), 0 1px 3px rgba(14,26,43,.05);
  --shadow-lg: 0 22px 50px rgba(14,26,43,.14);
  --font-sans: "Inter","Helvetica Neue",Arial,"Segoe UI",system-ui,sans-serif;
  --font-serif: "Source Serif 4","Source Serif Pro",Georgia,"Times New Roman",serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--c-navy-2); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--c-bronze); }

h1,h2,h3,h4 {
  font-family: var(--font-serif);
  color: var(--c-navy);
  letter-spacing: -.01em;
  line-height: 1.18;
  margin: 0 0 .55em;
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1em; color: var(--c-ink-2); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--c-surface); }
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-bronze);
  margin-bottom: 12px;
}

/* Header */
.site-header {
  background: var(--c-navy);
  color: #f0ece2;
  border-bottom: 3px solid var(--c-bronze);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #f0ece2;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.brand:hover { color: #f0ece2; }
.brand-logo {
  width: 44px; height: 44px;
  object-fit: contain;
  border-radius: 6px;
  background: #000;
  padding: 4px;
  flex: 0 0 auto;
}
.brand-text { line-height: 1.1; }
.brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 500;
  color: var(--c-bronze-2);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-top: 2px;
}
.lang-switch {
  display: inline-flex;
  gap: 4px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 4px;
}
.lang-switch a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: #d8d3c5;
}
.lang-switch a.active { background: var(--c-bronze); color: #1a1300; }
.lang-switch a:hover:not(.active) { color: #fff; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(195,154,85,.18), transparent 60%),
    linear-gradient(180deg, #0e1a2b 0%, #14213a 100%);
  color: #f0ece2;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero h1 { color: #f5f1e6; max-width: 880px; }
.hero .lead {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-style: italic;
  color: #cfd5e1;
  max-width: 780px;
  margin-top: 16px;
}
.hero .desc {
  max-width: 760px;
  margin-top: 22px;
  color: #b9c0cf;
  font-size: 1.02rem;
}
.hero .cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: .92rem; letter-spacing: .02em;
  border: 1px solid transparent;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-bronze { background: linear-gradient(135deg, var(--c-bronze), var(--c-bronze-2)); color: #1a1300; }
.btn-bronze:hover { color: #1a1300; opacity: .94; }
.btn-outline {
  background: transparent; color: #f0ece2; border-color: rgba(240,236,226,.4);
}
.btn-outline:hover { color: #fff; border-color: var(--c-bronze-2); }
.btn-dark { background: var(--c-navy); color: #f0ece2; }
.btn-dark:hover { color: #fff; }

/* Generic content blocks */
.section-head { max-width: 820px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--c-muted); }

.positioning {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-bronze);
  padding: 28px 32px;
  border-radius: var(--radius);
  max-width: 880px;
  margin: -50px auto 0;
  position: relative;
  box-shadow: var(--shadow);
  font-family: var(--font-serif);
  font-size: 1.06rem;
  color: var(--c-ink-2);
  font-style: italic;
}

/* Grid lists */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--c-muted); margin: 0; font-size: .96rem; }

/* Service list (checked items) */
.svc-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 28px;
}
@media (max-width: 720px) { .svc-list { grid-template-columns: 1fr; } }
.svc-list li {
  position: relative;
  padding-left: 28px;
  color: var(--c-ink-2);
  font-size: .98rem;
  line-height: 1.55;
}
.svc-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 14px; height: 14px;
  background: var(--c-bronze);
  clip-path: polygon(14% 47%, 0 60%, 40% 100%, 100% 22%, 86% 9%, 39% 71%);
}

/* Pricing card */
.price-card {
  background: linear-gradient(180deg, #14213a, #0e1a2b);
  color: #f0ece2;
  border: 1px solid rgba(195,154,85,.25);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  max-width: 720px; margin: 0 auto;
  text-align: center;
}
.price-card .tag {
  display: inline-block;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-bronze-2);
  margin-bottom: 14px;
}
.price-card .price {
  font-family: var(--font-serif);
  font-size: 3.6rem; font-weight: 600; color: #fff;
  margin: 4px 0 6px; letter-spacing: -.02em;
}
.price-card .price small {
  display: block; font-size: .95rem; color: #b9c0cf; font-style: italic;
  font-weight: 400; margin-top: 6px;
}
.price-card ul {
  text-align: left; list-style: none; padding: 0;
  margin: 28px auto 0; max-width: 540px;
  display: grid; gap: 10px;
}
.price-card ul li {
  padding-left: 24px; position: relative; color: #d8dde7; font-size: .96rem;
}
.price-card ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 12px;
  background: var(--c-bronze);
  clip-path: polygon(14% 47%, 0 60%, 40% 100%, 100% 22%, 86% 9%, 39% 71%);
}

/* Add-on services table */
.addons {
  display: grid; gap: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-surface);
  max-width: 880px; margin: 0 auto;
}
.addons .row {
  display: grid; grid-template-columns: 1fr auto;
  gap: 16px; padding: 18px 24px;
  border-bottom: 1px solid var(--c-line);
  align-items: center;
}
.addons .row:last-child { border-bottom: 0; }
.addons .row .name { color: var(--c-ink); font-weight: 500; }
.addons .row .price { color: var(--c-bronze); font-weight: 600; font-family: var(--font-serif); }

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process-grid { grid-template-columns: 1fr; } }
.process-step {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}
.process-step .num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--c-bronze);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.process-step h4 { margin-bottom: 6px; }
.process-step p { color: var(--c-muted); font-size: .92rem; margin: 0; }

/* Tag chips (sectors, audience) */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip-row .chip {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .92rem;
  color: var(--c-ink-2);
  font-weight: 500;
}

/* Callout */
.callout {
  background: var(--c-surface-2);
  border-left: 4px solid var(--c-bronze);
  border-radius: var(--radius);
  padding: 28px 32px;
  max-width: 880px; margin: 0 auto;
}
.callout h3 { color: var(--c-navy); margin-bottom: 8px; }
.callout p { color: var(--c-ink-2); margin: 0; }

/* Form */
.form-section {
  background:
    linear-gradient(180deg, var(--c-surface) 0%, var(--c-surface-2) 100%);
  border-top: 1px solid var(--c-line);
}
.form-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 760px; margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
@media (max-width: 720px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label {
  font-size: .82rem; font-weight: 600; color: var(--c-ink); letter-spacing: .02em;
}
.field label .req { color: var(--c-bronze); margin-left: 2px; }
.field input, .field textarea, .field select {
  background: #fff;
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: inherit; font-size: 1rem; color: var(--c-ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--c-bronze);
  box-shadow: 0 0 0 3px rgba(195,154,85,.15);
}
.field textarea { min-height: 120px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }

.disclaimer-box {
  margin-top: 22px;
  padding: 18px 22px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-bronze);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--c-muted);
  font-style: italic;
  line-height: 1.55;
}

/* Footer */
.site-footer {
  background: var(--c-navy);
  color: #b9c0cf;
  padding: 46px 0 36px;
  border-top: 3px solid var(--c-bronze);
}
.site-footer .container {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between;
}
.footer-brand {
  display: flex; align-items: center; gap: 12px;
  color: #f0ece2; font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600;
}
.footer-brand img { width: 36px; height: 36px; border-radius: 6px; background: #000; padding: 3px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footer-links a { color: #cfd5e1; font-size: .92rem; }
.footer-links a:hover { color: var(--c-bronze-2); }
.footer-meta { width: 100%; text-align: center; font-size: .8rem; color: #6a7587; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }

/* Responsive paddings */
@media (max-width: 600px) {
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
  .form-card { padding: 26px 22px; }
  .price-card { padding: 32px 24px; }
  .price-card .price { font-size: 2.8rem; }
  .positioning { margin-top: -30px; padding: 22px 24px; }
}

/* ===== Enhanced sections (added v2) ===== */

/* Hero with image */
.hero.hero-image {
  background:
    linear-gradient(180deg, rgba(14,26,43,.82) 0%, rgba(14,26,43,.92) 100%),
    var(--hero-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 110px 0 96px;
}
.hero.hero-image .container { position: relative; z-index: 1; }
.hero.hero-image::after {
  content:""; position:absolute; inset:0;
  background: radial-gradient(700px 360px at 90% 10%, rgba(195,154,85,.20), transparent 60%);
  pointer-events:none;
}

/* Split image+text */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.split.reverse .split-media { order: 2; }
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
}
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-line);
  aspect-ratio: 4/3;
}
.split-media img { width:100%; height:100%; object-fit: cover; display:block; }
.split-text h2 { margin-top:0; }
.split-text .eyebrow { display:inline-block; }

/* Stat band */
.stat-band {
  background: linear-gradient(180deg, #14213a, #0e1a2b);
  color: #f0ece2;
  padding: 56px 0;
  border-top: 1px solid rgba(195,154,85,.2);
  border-bottom: 1px solid rgba(195,154,85,.2);
}
.stat-band .grid {
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align:center;
}
@media (max-width: 800px){ .stat-band .grid { grid-template-columns: repeat(2,1fr);} }
.stat-band .stat-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--c-bronze-2);
  font-weight: 600;
  letter-spacing:-.02em;
  display:block;
}
.stat-band .stat-label {
  font-size:.8rem; letter-spacing:.16em; text-transform:uppercase;
  color:#cfd5e1; margin-top:6px;
}

/* Image strip */
.image-strip {
  display:grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 700px){ .image-strip { grid-template-columns: 1fr; } }
.image-strip figure {
  margin:0; border-radius: var(--radius-lg); overflow:hidden;
  border:1px solid var(--c-line); box-shadow: var(--shadow);
  aspect-ratio: 16/10;
}
.image-strip img { width:100%; height:100%; object-fit:cover; display:block; }

/* Highlight (info notice) */
.notice {
  background: var(--c-surface);
  border:1px solid var(--c-line);
  border-top: 3px solid var(--c-bronze);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  max-width: 920px; margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.notice h3 { color: var(--c-navy); margin-bottom: 10px; }
.notice p { color: var(--c-ink-2); margin: 0 0 .6em; }
.notice p:last-child { margin: 0; }

/* Pillars */
.pillars {
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px){ .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--c-surface);
  border:1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
}
.pillar .num {
  font-family: var(--font-serif); font-size: 1.4rem;
  color: var(--c-bronze); font-weight:600; display:block; margin-bottom:8px;
}
.pillar h3 { margin-bottom:8px; }
.pillar p { color: var(--c-muted); margin:0; font-size:.96rem; }

/* Footer phone block */
.footer-links a.footer-phone { font-weight:600; color:#f0ece2; }

/* Cleanup: unwrapped split (image removed) */
.split-unwrapped { display:block; max-width: 880px; margin: 0 auto; }
.split-unwrapped .split-text { max-width: 100%; }


/* === Balanced media sizing (v3 fix) === */
.hero.hero-image { padding: 88px 0 72px; min-height: 0; }
.split { gap: 48px; align-items: center; }
.split-media { aspect-ratio: 16/11; max-width: 520px; margin: 0 auto; width: 100%; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .split-media { max-width: 460px; aspect-ratio: 16/10; }
}
