/* IDRA DiGIS - site styles (Bootstrap 5 + brand layer) */
:root {
  --ink: #14222c;
  --ink-2: #1d3140;
  --slate: #5c7d95;
  --slate-dark: #3e5a6e;
  --orange: #f26f26;
  --orange-text: #b84a0c;
  --mist: #eef2f5;
  --line: #d9e1e7;
  --text: #26343f;
  --bs-body-font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--text);
  --display: "Bricolage Grotesque", "Public Sans", system-ui, sans-serif;
}
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { font-size: 1.0625rem; line-height: 1.6; }
h1, h2, h3, .h4 { font-family: var(--display); color: var(--ink); letter-spacing: -.01em; }
a { color: var(--slate-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 2000; }
.skip-link:focus { left: 0; }

/* buttons */
.btn-brand { background: var(--orange); border-color: var(--orange); color: var(--ink); font-weight: 600; }
.btn-brand:hover, .btn-brand:focus-visible { background: #ff8340; border-color: #ff8340; color: var(--ink); }
.btn-outline-ink { border: 2px solid var(--ink); color: var(--ink); font-weight: 600; }
.btn-outline-ink:hover { background: var(--ink); color: #fff; }

/* header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); z-index: 1030; }
.navbar-brand img { height: 38px; width: auto; }
.nav-link { color: var(--ink); font-weight: 500; padding: .6rem .9rem !important; }
.nav-link:hover { color: var(--orange-text); }
.nav-cta { border: 2px solid var(--orange); border-radius: .4rem; margin-left: .5rem; }
@media (max-width: 991.98px) { .nav-cta { margin: .4rem 0 .6rem; display: inline-block; } }

/* hero */
.hero { position: relative; background: #dfe8ea; overflow: hidden; }
.hero__img { display: block; width: 100%; height: 260px; object-fit: cover; object-position: 78% center; }
.hero__inner { position: relative; padding-top: 2rem; padding-bottom: 3rem; }
.hero__title { font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.12; font-weight: 700; margin-bottom: 1.25rem; }
.hero__lead { font-size: 1.15rem; max-width: 34rem; margin-bottom: 1.75rem; }
@media (min-width: 992px) {
  .hero { min-height: min(78vh, 640px); display: flex; align-items: center; }
  .hero__img { position: absolute; inset: 0; height: 100%; object-position: right center; }
  .hero::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(232,240,242,.96) 0%, rgba(232,240,242,.88) 40%, rgba(232,240,242,0) 68%); }
  .hero__inner { z-index: 1; padding-top: 4rem; padding-bottom: 4rem; }
}

/* sections */
.section { padding: 4.5rem 0; }
.section--tint { background: var(--mist); }
.section--ink { background: var(--ink); color: #dbe5eb; }
.section--ink h2 { color: #fff; }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 700; margin-bottom: .5rem; }
.section-head p { margin: 0; color: #4b5d6a; }
@media (max-width: 575.98px) { .section { padding: 3.25rem 0; } }

/* latest cards */
.latest-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: .5rem; overflow: hidden; }
.latest-card__btn { all: unset; box-sizing: border-box; display: flex; flex-direction: column; height: 100%; width: 100%; cursor: pointer; }
.latest-card__btn:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.latest-card__img { display: block; background: var(--mist); aspect-ratio: 5 / 4; overflow: hidden; }
.latest-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .35s ease; }
.latest-card__btn:hover .latest-card__img img { transform: scale(1.03); }
.latest-card__body { display: flex; flex-direction: column; gap: .2rem; padding: 1.25rem 1.25rem 1.4rem; flex: 1; }
.year { font-weight: 600; color: var(--orange-text); font-size: .95rem; }
.latest-card__title { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.latest-card__client { color: #4b5d6a; font-size: .95rem; }
.latest-card__more { margin-top: auto; padding-top: .9rem; font-weight: 600; color: var(--slate-dark); }
.latest-card__btn:hover .latest-card__more { color: var(--orange-text); }

/* services */
.service { border-top: 3px solid var(--slate); padding-top: 1.1rem; height: 100%; }
.service i { font-size: 1.9rem; color: var(--slate-dark); }
.service h3 { font-size: 1.35rem; font-weight: 700; margin: .5rem 0 .4rem; }
.service p { margin: 0; max-width: 34rem; }

/* archive list */
.archive { border-top: 1px solid var(--line); margin: 0; padding: 0; }
.archive-row { border-bottom: 1px solid var(--line); }
.archive-row button { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 7.5rem 96px 1fr auto; align-items: center; gap: 1.25rem; width: 100%; padding: .9rem .25rem; cursor: pointer; }
.archive-row button:hover { background: var(--mist); }
.archive-row button:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.archive-row__year { font-family: var(--display); font-weight: 700; color: var(--slate-dark); }
.archive-row img { width: 96px; height: 76px; object-fit: cover; object-position: top; border-radius: .3rem; border: 1px solid var(--line); background: #fff; }
.archive-row__text { display: flex; flex-direction: column; min-width: 0; }
.archive-row__title { font-weight: 600; color: var(--ink); line-height: 1.3; }
.archive-row__client { font-size: .93rem; color: #4b5d6a; }
.archive-row__icon { color: var(--orange-text); padding-right: .5rem; }
@media (max-width: 575.98px) {
  .archive-row button { grid-template-columns: 72px 1fr auto; gap: .9rem; }
  .archive-row__year { grid-column: 2 / 3; grid-row: 1; font-size: .9rem; }
  .archive-row img { grid-column: 1; grid-row: 1 / span 2; width: 72px; height: 58px; }
  .archive-row__text { grid-column: 2; grid-row: 2; }
  .archive-row__icon { grid-column: 3; grid-row: 1 / span 2; }
}

/* clients */
.client-logos li { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: .4rem; padding: .25rem; }
.client-logos img { max-width: 100%; height: auto; }
.client-logos { --bs-gutter-x: .75rem; }

/* contact */
.lead-on-dark { font-size: 1.15rem; max-width: 28rem; }
.contact-address { font-style: normal; }
.contact-address p { display: flex; gap: .9rem; margin-bottom: 1rem; }
.contact-address i { color: var(--orange); font-size: 1.25rem; line-height: 1.5; }
.contact-address a { color: #fff; }
.social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid #3b5668; border-radius: 50%; color: #fff; font-size: 1.15rem; text-decoration: none; }
.social a:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }

/* footer */
.site-footer { background: #0e1920; color: #a9bac6; padding: 1.5rem 0; font-size: .92rem; }
.site-footer a { color: #fff; }

/* modal */
.modal-meta { color: var(--orange-text); font-weight: 600; font-size: .95rem; }
.project-detail h3 { font-size: 1.1rem; font-weight: 700; margin-top: 1.25rem; }
.project-detail ul { padding-left: 1.2rem; }
.project-detail li { margin-bottom: .35rem; }

/* language switch */
.nav-lang { color: var(--slate-dark) !important; }
.nav-lang .bi { margin-right: .15rem; }

/* cookie banner */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1080; background: var(--ink); color: #e6eef3;
  padding: 1rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25); padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
.cookie-banner p { margin: 0; max-width: 46rem; font-size: .95rem; }
.cookie-banner a { color: #fff; }
.cookie-banner__btns { display: flex; gap: .5rem; }
.cookie-banner .btn { min-width: 6.5rem; }
.linklike { background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; font: inherit; cursor: pointer; }

/* policy page */
.policy { max-width: 46rem; }
.policy h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 700; }
.policy h2 { font-size: 1.3rem; font-weight: 700; margin-top: 2.2rem; }
.policy .meta { color: #4b5d6a; }
.policy table { font-size: .95rem; }
.policy th { background: var(--mist); }
.policy .todo { background: #fff3cd; padding: 0 .25rem; border-radius: .2rem; }
.table-wrap { overflow-x: auto; }
