/* =====================================================================
   sharepoint-archivelink.com — modern stylesheet (self-contained)
   CaRD GmbH · SharePoint + SAP ArchiveLink / CMIS connector
   No external resources. Fonts are self-hosted (Inter, woff2).
   ===================================================================== */

/* ---------- Self-hosted webfont (local only) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter/inter-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/inter/inter-latin-800-normal.woff2") format("woff2");
}

/* ---------- Design tokens ---------- */
:root {
  --c-navy:    #0b2741;
  --c-navy-2:  #0e3257;
  --c-brand:   #1666ac;
  --c-brand-d: #0f4c84;
  --c-brand-l: #2f86d4;
  --c-sp:      #128a8f;   /* SharePoint teal accent */
  --c-accent:  #ef6c1a;   /* CTA orange */
  --c-accent-d:#d65c10;

  --c-ink:   #15212e;
  --c-body:  #46586a;
  --c-muted: #6b7a89;
  --c-line:  #e3e9f1;
  --c-soft:  #f2f7fc;
  --c-soft-2:#e9f1f9;
  --c-white: #ffffff;

  --radius:   14px;
  --radius-sm:10px;
  --radius-lg:22px;
  --shadow-sm: 0 2px 10px rgba(11,39,65,.06);
  --shadow:    0 14px 40px rgba(11,39,65,.10);
  --shadow-lg: 0 30px 70px rgba(11,39,65,.18);
  --ring: 0 0 0 4px rgba(22,102,172,.18);

  --container: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-body);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-brand-d); }
h1, h2, h3, h4 { color: var(--c-ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section[id], [data-anchor] { scroll-margin-top: 88px; }
.section { padding: 92px 0; }
.section--soft { background: var(--c-soft); }
.section--tint {
  background: linear-gradient(180deg, #f5f9fd 0%, #eaf2fb 100%);
}
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section__head.left { margin-left: 0; text-align: left; }
.section__intro { color: var(--c-muted); font-size: 1.08rem; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--c-accent); border-radius: 2px; }
.section__head.center .eyebrow { }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--c-navy); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: .98rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-d) 100%);
  box-shadow: 0 10px 24px rgba(239,108,26,.32);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(239,108,26,.42); }
.btn--brand {
  color: #fff; background: linear-gradient(135deg, var(--c-brand-l) 0%, var(--c-brand-d) 100%);
  box-shadow: 0 10px 24px rgba(15,76,132,.30);
}
.btn--brand:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(15,76,132,.4); }
.btn--ghost { color: var(--c-brand-d); background: #fff; border-color: var(--c-line); }
.btn--ghost:hover { color: var(--c-brand-d); border-color: var(--c-brand-l); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--light { color: #0b2741; background: #fff; }
.btn--light:hover { color: #0b2741; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(0,0,0,.2); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.btn--outline-light:hover { color: #0b2741; background: #fff; border-color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11,39,65,.08); border-bottom-color: var(--c-line); background: rgba(255,255,255,.94); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 76px; }
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { height: 34px; width: auto; max-width: none; display: block; }
.nav__menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__cta-mobile { display: none; }   /* shown only inside the mobile menu */
.nav__link {
  display: inline-block; padding: 10px 9px; border-radius: 8px;
  color: var(--c-ink); font-weight: 600; font-size: .94rem;
  white-space: nowrap;
}
.nav__desktop-cta { padding: 11px 17px; font-size: .9rem; }
.nav__link:hover { color: var(--c-brand); background: var(--c-soft); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__lang { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 700; color: var(--c-muted); }
.nav__lang a { color: var(--c-muted); padding: 4px 5px; border-radius: 6px; }
.nav__lang a:hover { color: var(--c-brand); background: var(--c-soft); }
.nav__lang a.is-active { color: var(--c-brand-d); background: var(--c-soft-2); }
.nav__lang span { opacity: .4; }
.nav__toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--c-line); border-radius: 12px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--c-ink);
}
.nav__toggle svg { width: 24px; height: 24px; }
.nav__toggle .icon-close { display: none; }
body.nav-open .nav__toggle .icon-open { display: none; }
body.nav-open .nav__toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #eaf2fb;
  padding: 150px 0 100px;
  background:
    radial-gradient(1100px 540px at 82% -8%, rgba(47,134,212,.42), transparent 60%),
    radial-gradient(820px 520px at 6% 108%, rgba(239,108,26,.22), transparent 60%),
    linear-gradient(135deg, #0b2741 0%, #103a63 52%, #0d2c4c 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 75%);
          mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 75%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero__pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  color: #d6e6f7; font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff8a3d; box-shadow: 0 0 0 4px rgba(255,138,61,.25); }
.hero__title {
  color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.07; margin: 0 0 20px;
  letter-spacing: -.025em;
}
.hero__title .hl { color: #ff8a3d; }
.hero__title .hl-2 { color: #ff8a3d; }
.hero__lead { color: #c2d6ea; font-size: 1.16rem; max-width: 560px; margin: 0 0 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero__trust img { height: 38px; width: auto; background: #fff; padding: 5px 9px; border-radius: 8px; }
.hero__trust .t-item { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; color: #b9cfe6; font-weight: 500; }
.hero__trust .t-item svg { width: 18px; height: 18px; color: #ff8a3d; }

/* Hero media — screenshot in app frame */
.hero__media { position: relative; }
.frame {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.5);
  transform: perspective(1600px) rotateY(-7deg) rotateX(2deg);
  transition: transform .5s ease;
}
.hero__media .frame:hover { transform: perspective(1600px) rotateY(-2deg) rotateX(0deg); }
.frame__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #eef3f8; border-bottom: 1px solid #e1e8f0; }
.frame__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ccd6e0; display: block; }
.frame__bar i:nth-child(1) { background: #ff5f57; }
.frame__bar i:nth-child(2) { background: #febc2e; }
.frame__bar i:nth-child(3) { background: #ef6c1a; }
.frame__bar .frame__title { margin-left: 10px; font-size: .76rem; color: #7c8a99; font-weight: 600; }
.frame img { width: 100%; display: block; }
.hero__media .float-card {
  position: absolute; left: -26px; bottom: 26px; z-index: 3;
  background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; border: 1px solid var(--c-line);
}
.hero__media .float-card .ic { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg,#ff8a3d,#ef6c1a); color:#fff; display:flex; align-items:center; justify-content:center; }
.hero__media .float-card .ic svg { width: 20px; height: 20px; }
.hero__media .float-card b { color: var(--c-ink); font-size: .92rem; display: block; line-height: 1.2; }
.hero__media .float-card span { color: var(--c-muted); font-size: .78rem; }

/* ---------- Stats bar ---------- */
.stats { position: relative; z-index: 5; margin-top: -42px; }
.stats__inner {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat { padding: 30px 26px; text-align: center; border-right: 1px solid var(--c-line); }
.stat:last-child { border-right: 0; }
.stat__num { font-size: 2.2rem; font-weight: 800; color: var(--c-brand-d); letter-spacing: -.02em; line-height: 1; }
.stat__num span { color: var(--c-accent); }
.stat__label { margin-top: 8px; font-size: .92rem; color: var(--c-muted); font-weight: 500; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--c-brand-l), var(--c-accent)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d4e2f1; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card__icon {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e9f2fb, #d8e9f8); color: var(--c-brand-d);
}
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: 9px; }
.feature-card p { margin: 0; font-size: .98rem; color: var(--c-body); }
.feature-card.is-highlight { background: linear-gradient(160deg, #0e3257, #0b2741); border-color: transparent; }
.feature-card.is-highlight h3 { color: #fff; }
.feature-card.is-highlight p { color: #c2d6ea; }
.feature-card.is-highlight .feature-card__icon { background: rgba(255,255,255,.12); color: #ff8a3d; }

/* ---------- Media blocks (alternating) ---------- */
.media-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.media-block + .media-block { margin-top: 96px; }
.media-block--reverse .media-block__media { order: 2; }
.media-block__media { position: relative; }
.shot {
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--c-line); background: #fff;
}
.shot img { width: 100%; display: block; }
.media-block__media .glow { position: absolute; inset: -8% -6% auto; height: 60%; z-index: -1;
  background: radial-gradient(60% 60% at 50% 40%, rgba(47,134,212,.22), transparent 70%); filter: blur(8px); }
.feature-list { list-style: none; margin: 22px 0 0; display: grid; gap: 18px; }
.feature-list__item { display: flex; gap: 14px; }
.feature-list__item .fi {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(135deg,#e9f2fb,#dbeaf7); color: var(--c-brand-d);
  display: flex; align-items: center; justify-content: center;
}
.feature-list__item .fi svg { width: 21px; height: 21px; }
.feature-list__item h3 { margin: 2px 0 4px; }
.feature-list__item p { margin: 0; font-size: .96rem; }

/* ---------- Compatibility band ---------- */
.compat { color: #e7f0fa; position: relative; overflow: hidden;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(239,108,26,.22), transparent 60%),
    linear-gradient(135deg, #0c2c4c 0%, #0b2741 100%);
}
.compat .section__head h2 { color: #fff; }
.compat .section__intro { color: #b9cfe6; }
.compat .eyebrow { color: #ff8a3d; }
.compat__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.compat__col {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 28px 26px; backdrop-filter: blur(4px);
}
.compat__col h3 { color: #fff; display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.compat__col h3 svg { width: 24px; height: 24px; color: #ff8a3d; flex: 0 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #dcebf8; font-size: .86rem; font-weight: 500; padding: 7px 13px; border-radius: 999px;
}
.chip svg { width: 14px; height: 14px; color: #ff8a3d; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card__icon {
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, var(--c-brand-l), var(--c-brand-d));
}
.service-card:nth-child(2) .service-card__icon { background: linear-gradient(135deg, #4a9be0, #1d62a8); }
.service-card:nth-child(3) .service-card__icon { background: linear-gradient(135deg, #f59140, var(--c-accent-d)); }
.service-card__icon svg { width: 28px; height: 28px; }
.service-card p { margin: 0; font-size: .98rem; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 60px; align-items: center; }
.about__media { position: relative; }
.about__media .shot { max-width: 420px; margin: 0 auto; }
.about__badge {
  position: absolute; right: 4px; bottom: -22px;
  background: linear-gradient(135deg, var(--c-brand-l), var(--c-brand-d)); color: #fff;
  border-radius: 16px; padding: 18px 24px; box-shadow: var(--shadow-lg); text-align: center;
}
.about__badge b { display: block; font-size: 2.1rem; font-weight: 800; line-height: 1; }
.about__badge span { font-size: .8rem; opacity: .9; letter-spacing: .04em; text-transform: uppercase; }
.about__points { list-style: none; margin: 22px 0 0; display: grid; gap: 12px; }
.about__points li { display: flex; gap: 11px; align-items: flex-start; color: var(--c-body); }
.about__points li svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--c-accent); margin-top: 2px; }
.heart-ic { display: inline-block; width: .82em; height: .82em; vertical-align: -0.04em; margin: 0 .06em; color: var(--c-accent); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 48px; align-items: start; }
.contact__info h2 { margin-bottom: 14px; }
.contact__info > p { color: var(--c-muted); }
.contact__list { list-style: none; margin: 26px 0 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .ci {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
  background: var(--c-soft-2); color: var(--c-brand-d); display: flex; align-items: center; justify-content: center;
}
.contact__list .ci svg { width: 22px; height: 22px; }
.contact__list b { color: var(--c-ink); display: block; font-size: .95rem; }
.contact__list a, .contact__list span { color: var(--c-body); font-size: .98rem; }
.contact__list a:hover { color: var(--c-brand); }

.contact-form {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--c-ink); }
.field label .req { color: var(--c-accent); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--c-ink);
  padding: 13px 15px; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
  background: #fbfdff; transition: border-color .2s ease, box-shadow .2s ease; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-brand-l); box-shadow: var(--ring); background: #fff;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa8b6; }
.hp-field { position: absolute !important; left: -9999px !important; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .9rem; color: var(--c-muted); }
.consent input { width: 19px; height: 19px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--c-brand); }
.consent a { font-weight: 600; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-note { font-size: .82rem; color: var(--c-muted); }
.form-status { font-size: .95rem; font-weight: 500; border-radius: var(--radius-sm); padding: 0; margin: 0; }
.form-status.show { padding: 13px 16px; margin-top: 4px; }
.form-status.ok { background: #e7f7ee; color: #176b3a; border: 1px solid #b9e6cb; }
.form-status.err { background: #fdeceb; color: #a02520; border: 1px solid #f3c4c0; }
.field-error { border-color: #e0584f !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-navy); color: #aebfd1; padding: 70px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
.footer__brand img { height: 40px; width: auto; max-width: none; display: block; margin-bottom: 18px; }
.footer__brand p { color: #93a7bd; font-size: .95rem; max-width: 360px; }
.footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.footer__links { list-style: none; display: grid; gap: 12px; }
.footer__links a { color: #aebfd1; font-size: .95rem; }
.footer__links a:hover { color: #fff; }
.footer__links small { display: block; color: #6f86a0; font-size: .8rem; }
.footer__contact { list-style: none; display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; }
.footer__contact svg { flex: 0 0 auto; width: 19px; height: 19px; color: #ff8a3d; margin-top: 3px; }
.footer__contact a { color: #aebfd1; }
.footer__contact a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.10); padding: 22px 0; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__legal { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .9rem; }
.footer__legal a { color: #c4d3e4; }
.footer__legal a:hover { color: #fff; }
.footer__legal .sep { opacity: .35; }
.footer__copy { font-size: .9rem; color: #8ca0b8; }
.trademarks { border-top: 1px solid rgba(255,255,255,.07); padding: 16px 0 26px; }
.trademarks p { margin: 0; font-size: .76rem; color: #6f86a0; line-height: 1.7; text-align: center; }

/* ---------- Partners / platforms strip ---------- */
.partners { background: var(--c-soft); border-top: 1px solid var(--c-line); padding: 54px 0; }
.partners__title { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); margin: 0 0 28px; }
.partner-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.partner-logo {
  background: #fff; border: 1px solid var(--c-line); border-radius: 14px;
  padding: 14px 22px; height: 78px; min-width: 140px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.partner-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.partner-logo img { height: 42px; width: auto; max-width: 168px; object-fit: contain; display: block; }
.partner-logo--sap img { height: 54px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(8,24,40,.62); backdrop-filter: blur(3px); animation: fade .2s ease; }
.modal__dialog {
  position: relative; z-index: 2; background: #fff; max-width: 820px; width: calc(100% - 40px);
  margin: 6vh auto; max-height: 88vh; overflow-y: auto; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 40px clamp(22px, 4vw, 46px); animation: pop .25s ease;
}
.modal__close {
  position: sticky; top: 0; float: right; margin: -16px -12px 0 0;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--c-line);
  background: #fff; color: var(--c-ink); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.modal__close:hover { background: var(--c-soft); color: var(--c-brand-d); }
.modal__close svg { width: 22px; height: 22px; }
.legal h2 { font-size: 1.7rem; margin-bottom: 6px; }
.legal h3 { color: var(--c-brand-d); font-size: 1.05rem; margin: 26px 0 8px; }
.legal p { font-size: .96rem; color: var(--c-body); margin: 0 0 12px; }
.legal a { font-weight: 600; }
.legal .muted { color: var(--c-muted); font-size: .9rem; }
.legal hr { border: 0; border-top: 1px solid var(--c-line); margin: 26px 0; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__media { max-width: 540px; }
  .frame { transform: none; }
  .media-block, .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .media-block--reverse .media-block__media { order: 0; }
  .compat__grid, .feature-grid, .service-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--c-line); }
}
@media (max-width: 1120px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 14px 20px 22px; border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease; max-height: calc(100vh - 76px); overflow-y: auto;
  }
  body.nav-open .nav__menu { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 13px 12px; border-radius: 10px; font-size: 1.02rem; }
  .nav__cta-mobile { display: block; margin-top: 10px; }
  .nav__menu .btn { width: 100%; }
  .nav__desktop-cta { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 124px 0 80px; }
  .feature-grid, .service-grid, .compat__grid, .footer__grid, .stats__inner, .form-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--c-line); }
  .stat:last-child { border-bottom: 0; }
  .hero__media .float-card { left: 8px; bottom: 8px; padding: 11px 14px; }
  .about__badge { position: static; display: inline-block; margin-top: 18px; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .modal__dialog { margin: 0; width: 100%; min-height: 100%; border-radius: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .frame { transform: none; }
}
