/* IDC – Info Dynamic Consulting
   Brand colours taken from the IDC monogram (red I, blue C/D). */
:root {
  --navy-900: #070e22;
  --navy-800: #0b1530;
  --navy-700: #13224a;
  --blue: #1f4fd8;
  --blue-300: #8aa8ff;
  --red: #e1251b;
  --red-600: #c41d14;
  --ink: #0f172a;
  --muted: #55607a;
  --line: #e3e7f0;
  --tint: #f4f6fb;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 17px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 3px; border-radius: 6px; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--red); margin-bottom: 1rem; }
.accent { color: var(--red); }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font-weight: 650; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; font-family: inherit; }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-600); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn--outline { border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--sm { padding: .55em 1.1em; font-size: .92rem; }
.link-arrow { font-weight: 650; color: var(--blue); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow::after { content: " →"; }

/* Navigation: white, sticks to the top (logo shown in its original colours) */
.nav { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-800); }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1.2rem; letter-spacing: .04em; }
.brand__text small { font-size: .74rem; color: var(--muted); letter-spacing: .02em; }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__menu a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav__menu a:not(.btn):hover { color: var(--navy-800); }
.nav__menu > a[aria-current="page"]:not(.btn) { color: var(--navy-800); border-bottom-color: var(--red); }
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.nav__menu .lang a { padding: 4px 9px; border: 0; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.nav__menu .lang a[aria-current="true"] { background: var(--navy-800); color: var(--white); }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--navy-800); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dark backgrounds shared by hero & page headers */
.dark-bg { position: relative; overflow: hidden; color: var(--white); background:
  radial-gradient(900px 500px at 85% 0%, rgba(31,79,216,.42), transparent 60%),
  radial-gradient(700px 420px at 0% 100%, rgba(225,37,27,.16), transparent 60%),
  linear-gradient(180deg, var(--navy-900), var(--navy-800)); }
.dark-bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 65% 20%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse at 65% 20%, #000 15%, transparent 70%); pointer-events: none; }
.dark-bg > .container { position: relative; }
.dark-bg .eyebrow { color: var(--blue-300); }

/* Home hero */
.hero { padding: 110px 0 80px; }
.hero .lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: rgba(255,255,255,.78); max-width: 640px; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__pillars { list-style: none; padding: 0; margin: 72px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.hero__pillars li { padding: 22px 20px 0 0; display: flex; flex-direction: column; gap: 2px; }
.hero__pillars strong { font-size: 1.15rem; }
.hero__pillars span { color: rgba(255,255,255,.6); font-size: .9rem; }

/* Inner page header */
.page-hero { padding: 84px 0 72px; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 760px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.12rem; max-width: 680px; margin: 0; }

/* Sections */
.section { padding: 96px 0; }
.section--dark { background: var(--navy-800); color: var(--white); }
.section--dark .eyebrow { color: var(--blue-300); }
.section--tint { background: var(--tint); }
.section__head { max-width: 680px; margin-bottom: 52px; }
.section__head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section--dark .section__head p:last-child { color: rgba(255,255,255,.7); }
.section__foot { margin-top: 40px; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(31,79,216,.12), rgba(225,37,27,.1)); margin-bottom: 20px; }
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Service detail rows (services page) */
.service { display: grid; grid-template-columns: 64px 1fr 1fr; gap: 32px; padding: 44px 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service .card__icon { margin: 0; }
.service h2 { font-size: 1.55rem; }
.service p { color: var(--muted); margin: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 2px; background: var(--red); }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
.sector { background: var(--navy-800); padding: 32px 24px 28px; transition: background .2s; }
.sector:hover { background: var(--navy-700); }
.sector__num { display: block; font-weight: 800; color: var(--red); margin-bottom: 40px; font-size: .9rem; letter-spacing: .1em; }
.sector p { color: rgba(255,255,255,.7); font-size: .96rem; margin: 0; }

/* Sector detail (sectors page) */
.sector-detail { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--line); }
.sector-detail:last-child { border-bottom: 1px solid var(--line); }
.sector-detail .sector__num { margin-bottom: 12px; }
.sector-detail h2 { font-size: 1.7rem; }
.sector-detail p { color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--red)); opacity: .25; }
.step { position: relative; }
.step__dot { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--blue); color: var(--blue); font-weight: 800; margin-bottom: 22px; position: relative; }
.step:last-child .step__dot { border-color: var(--red); color: var(--red); }
.section--tint .step__dot { background: var(--tint); }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Split layout (about / home intro) */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.split__text > p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { padding-left: 34px; position: relative; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.panel { background: var(--white); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--navy-700); }
.section--tint .chips li { background: var(--white); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.stat { border-left: 3px solid var(--red); padding: 4px 0 4px 18px; }
.stat strong { display: block; font-size: 2.2rem; line-height: 1.1; letter-spacing: -.02em; color: var(--navy-800); }
.stat span { color: var(--muted); font-size: .95rem; }

/* CTA band */
.cta { padding: 72px 0; }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { margin: 0 0 .3em; }
.cta p { margin: 0; color: rgba(255,255,255,.75); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact__intro > p { color: var(--muted); }
.contact__mail { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 1.1rem; }
.contact__mail svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; }
.contact__mail a { font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--line); }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.form input, .form textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--tint); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; resize: vertical; transition: border-color .2s; }
.form input:focus, .form textarea:focus { border-color: var(--blue); outline: none; background: var(--white); }
.form .btn { justify-self: start; }
.form__note { margin: 0; font-size: .9rem; color: var(--blue); min-height: 1.4em; }

/* Footer (light, so the logo appears exactly as in the header) */
.footer { background: var(--tint); color: var(--muted); padding: 56px 0 32px; font-size: .92rem; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h4 { color: var(--navy-800); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover, .footer .linklike:hover { color: var(--navy-800); }
.footer__about p { margin: 14px 0 0; max-width: 320px; }
.footer__copy { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; }

/* Stats stacked in a panel */
.stats--stack { grid-template-columns: 1fr; gap: 26px; }
.panel--logo img { width: 150px; height: auto; margin: 0 auto 28px; }

/* Footer link-styled button (cookie settings) */
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }

/* Consent banner */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 640px; margin: 0 auto; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(15,23,42,.18); padding: 20px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; font-size: .92rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 300px; color: var(--muted); }
.consent a { color: var(--blue); }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Legal page */
.legal { padding: 72px 0 80px; }
.legal .container { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); }
.legal__updated { margin-top: 2.5em; font-size: .9rem; }

/* Responsive */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .sector:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .split, .contact, .sector-detail { grid-template-columns: 1fr; gap: 32px; }
  .service { grid-template-columns: 56px 1fr; }
  .service .ticks { grid-column: 2; }
  .hero__pillars { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav__toggle { display: block; }
  .nav__menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15,23,42,.08); }
  .nav.is-open .nav__menu { display: flex; }
  .nav__menu > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__menu > a[aria-current="page"]:not(.btn) { border-bottom-color: var(--line); box-shadow: inset 3px 0 0 var(--red); padding-left: 12px; }
  .nav__menu .btn { margin-top: 16px; }
  .lang { align-self: center; margin-top: 16px; }
  .hero { padding: 72px 0 60px; }
  .page-hero { padding: 56px 0 48px; }
  .section { padding: 64px 0; }
  .cards, .sectors, .steps, .stats { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 16px; }
  .service .ticks { grid-column: auto; }
  .form__row { grid-template-columns: 1fr; }
  .form, .panel { padding: 22px; }
  .footer__inner { grid-template-columns: 1fr; }
}
