/* ==========================================================================
   GR Soft — gr-soft.net
   Corporate light theme. Black type, white ground, ochre #9F6C00 accent
   taken from the company mark. No external fonts or third-party requests.
   ========================================================================== */

:root {
  --ochre:       #9F6C00;
  --ochre-dark:  #7C5400;
  --ochre-tint:  #FBF6EC;
  /* Lifted ochre for dark grounds: #9F6C00 only reaches 4.19:1 on --ink,
     which fails AA for small text. This one reaches 6.03:1. */
  --ochre-light: #C08600;
  --ink:         #101010;
  --ink-2:       #3A3A3A;
  --ink-3:       #6B6B6B;
  --rule:        #E2E0DC;
  --rule-soft:   #EFEDE9;
  --paper:       #FFFFFF;
  --paper-2:     #F7F6F3;
  --ilean:       #172D52;
  --carmen:      #545454;

  --wrap:   1140px;
  --gap:    clamp(1.5rem, 4vw, 3rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 4px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;

  --shadow: 0 1px 2px rgba(16, 16, 16, .04), 0 8px 24px -12px rgba(16, 16, 16, .12);
}

/* ----------------------------------------------------------------- reset -- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  /* Keep in-page anchors clear of the sticky header. */
  scroll-margin-top: 6rem;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.021em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.35rem); }
h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.32rem); }

p, ul, ol { margin: 0 0 1.1em; }
ul, ol    { padding-left: 1.2em; }
li        { margin-bottom: .35em; }

a { color: var(--ochre-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }

img, svg { max-width: 100%; height: auto; }

strong { color: var(--ink); font-weight: 650; }

hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
  border-radius: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .75rem 1rem;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------- layout -- */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.section      { padding-block: var(--section); }
.section-tint { background: var(--paper-2); border-block: 1px solid var(--rule-soft); }
.section-ink  { background: var(--ink); color: #C9C7C3; }
.section-ink h2, .section-ink h3, .section-ink strong { color: #fff; }
.section-ink .eyebrow { color: var(--ochre-light); }
.section-ink .stat strong { color: var(--ochre-light); }

.section-head { max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p:last-child { margin-bottom: 0; }

.eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: .9rem;
}

.lede {
  font-size: clamp(1.09rem, 1rem + .45vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.muted { color: var(--ink-3); }
.small { font-size: .92rem; }

.grid { display: grid; gap: var(--gap); }
@media (min-width: 640px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid-3 { grid-template-columns: repeat(3, 1fr); }
                             .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------- header -- */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.head-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 74px;
}

.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--ink); flex-shrink: 0;
}
.brand-mark {
  display: block;
  height: 34px; width: fit-content; max-width: 100%;
  object-fit: contain; object-position: left center;
  color: var(--ink);
}
.brand-text { display: grid; line-height: 1.2; }
.brand-text strong { font-size: 1.06rem; letter-spacing: -.01em; }
.brand-text span   { font-size: .74rem; color: var(--ink-3); letter-spacing: .01em; }
@media (max-width: 480px) { .brand-text span { display: none; } }

.nav ul {
  display: flex; align-items: center; gap: .35rem;
  list-style: none; margin: 0; padding: 0;
}
.nav a {
  display: block; padding: .5rem .7rem;
  font-size: .95rem; font-weight: 550;
  color: var(--ink-2); text-decoration: none; border-radius: var(--radius);
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ochre); }
.nav-cta { margin-left: .4rem; }
.nav-cta a:hover { background: var(--ochre-dark); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--rule); border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; margin-inline: auto;
  background: var(--ink); content: ""; transition: transform .18s ease, opacity .18s ease;
}
.nav-toggle-bars::before { transform: translateY(-6px); }
.nav-toggle-bars::after  { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-2px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    display: none; box-shadow: var(--shadow);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; }
  .nav a { padding: .8rem .25rem; border-bottom: 1px solid var(--rule-soft); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--ochre-dark); }
  .nav-cta { margin: .9rem 0 0; }
  .nav-cta a { text-align: center; border-bottom: 0; }
}

/* -------------------------------------------------------------- buttons -- */

.btn {
  display: inline-block;
  padding: .8rem 1.5rem;
  background: var(--ochre); color: #fff;
  font-size: 1rem; font-weight: 600; line-height: 1.2;
  border: 1px solid var(--ochre); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--ochre-dark); border-color: var(--ochre-dark); color: #fff; }
.btn-sm { padding: .5rem 1rem; font-size: .93rem; }

.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--rule);
}
.btn-ghost:hover { background: var(--paper-2); border-color: var(--ink-3); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ----------------------------------------------------------------- hero -- */

.hero { padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem); }
.hero-inner { max-width: 46rem; }
.hero h1 { margin-bottom: .55em; }
.hero .rule {
  width: 84px; height: 4px; background: var(--ochre);
  margin: 0 0 1.6rem; border: 0;
}

.page-head {
  padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(1.75rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rule-soft);
}
.page-head h1 { max-width: 20ch; }
.page-head .lede { max-width: 46rem; margin-bottom: 0; }

/* ---------------------------------------------------------------- cards -- */

.card {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.card h3 { margin-bottom: .45em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-num {
  display: block; font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; color: var(--ochre); margin-bottom: .8rem;
}

/* brand cards ------------------------------------------------------------ */

.brand-card {
  display: flex; flex-direction: column;
  padding: clamp(1.6rem, 3.5vw, 2.5rem);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent, var(--ochre));
  border-radius: var(--radius);
}
.brand-card--ilean  { --accent: var(--ilean); }
.brand-card--carmen { --accent: var(--carmen); }

/* Block-level replaced boxes stretch to the container, so pin the box to the
   artwork instead of relying on `width: auto`. */
.brand-card-logo {
  display: block;
  height: 54px; width: fit-content; max-width: 100%;
  object-fit: contain; object-position: left center;
  margin-bottom: 1.5rem;
}
.brand-card .role {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: .6rem;
}
.brand-card .btn-row { margin-top: auto; padding-top: 1.5rem; }

/* tag list --------------------------------------------------------------- */

.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.tags li {
  margin: 0;
  padding: .35rem .7rem;
  font-size: .88rem;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-2);
}
.section-ink .tags li { background: #1D1D1D; border-color: #2E2E2E; color: #C9C7C3; }

/* stats ------------------------------------------------------------------ */

.stats { display: grid; gap: var(--gap); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat strong {
  display: block;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  line-height: 1; letter-spacing: -.03em;
  color: var(--ochre);
}
.stat span { display: block; margin-top: .5rem; font-size: .97rem; }

/* feature list with ochre ticks ------------------------------------------ */

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li {
  position: relative; padding-left: 1.7rem; margin-bottom: .6rem;
}
.ticks li::before {
  position: absolute; left: 0; top: .12em;
  content: ""; width: .95rem; height: .55rem;
  border-left: 2.5px solid var(--ochre); border-bottom: 2.5px solid var(--ochre);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------- pricing -- */

.plans { display: grid; gap: var(--gap); align-items: start; }
@media (min-width: 800px) { .plans { grid-template-columns: repeat(3, 1fr); } }

.plan {
  display: flex; flex-direction: column; height: 100%;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.plan--featured {
  border-color: var(--ochre);
  box-shadow: var(--shadow);
}
.plan-flag {
  display: inline-block; align-self: flex-start;
  padding: .2rem .6rem; margin-bottom: .9rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ochre-dark); background: var(--ochre-tint);
  border: 1px solid #EADFC6; border-radius: 999px;
}
.plan h3 { margin-bottom: .3em; }
.plan .tagline { color: var(--ink-3); font-size: .96rem; margin-bottom: 1.3rem; }
.plan-price {
  display: flex; align-items: baseline; gap: .45rem;
  padding-block: .9rem 1.1rem; margin-bottom: 1.2rem;
  border-block: 1px solid var(--rule-soft);
}
.plan-price b {
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.5rem);
  line-height: 1; letter-spacing: -.03em; color: var(--ink); font-weight: 700;
}
.plan-price span { font-size: .9rem; color: var(--ink-3); }
/* Words instead of a figure: the display size meant for "€39.00" is far too
   large for "On request", which would wrap and dwarf the plan name. Flex items
   shrink by default, so the label also needs protecting from mid-phrase wraps. */
.plan-price--words {
  flex-wrap: wrap;
  row-gap: .2rem;
}
.plan-price--words b {
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  white-space: nowrap;
  flex-shrink: 0;
}
.plan .ticks { margin-bottom: 1.5rem; }
.plan .btn-row { margin-top: auto; }
.plan .btn-row .btn { width: 100%; text-align: center; }

.price-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--ochre);
  border-radius: var(--radius);
}
.price-note h3 { font-size: 1.05rem; }
.price-note p:last-child, .price-note ul:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------- prose -- */

.prose { max-width: 44rem; }
.prose h2 { margin-top: 2.4em; font-size: clamp(1.3rem, 1.1rem + .9vw, 1.6rem); }
.prose h3 { margin-top: 1.9em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose table {
  width: 100%; border-collapse: collapse; margin-bottom: 1.4em; font-size: .96rem;
}
.prose th, .prose td {
  padding: .65rem .8rem; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--rule);
}
.prose th { color: var(--ink); font-weight: 650; background: var(--paper-2); }
.table-scroll { overflow-x: auto; }

.legal-meta {
  padding: .9rem 1.1rem; margin-bottom: 2.5rem;
  font-size: .93rem; color: var(--ink-3);
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius);
}

.identity-box {
  padding: 1.25rem 1.4rem; margin-bottom: 2rem;
  background: var(--ochre-tint); border: 1px solid #EADFC6; border-radius: var(--radius);
  font-size: .97rem;
}
.identity-box p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ form -- */

.form { display: grid; gap: 1.1rem; max-width: 36rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .93rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: .7rem .85rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule); border-radius: var(--radius);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--ochre); outline: 2px solid rgba(159, 108, 0, .18); outline-offset: 0;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field .hint { font-size: .85rem; color: var(--ink-3); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; }
.check input { width: auto; margin-top: .25rem; flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }

.notice {
  padding: .9rem 1.1rem; margin-bottom: 1.5rem;
  border: 1px solid var(--rule); border-left: 3px solid var(--ochre);
  border-radius: var(--radius); background: var(--paper-2); font-size: .96rem;
}
.notice--ok  { border-left-color: #2E7D32; }
.notice--bad { border-left-color: #B3261E; }
.notice p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- contact -- */

.contact-grid { display: grid; gap: var(--gap); }
#contact { scroll-margin-top: 6rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr .9fr; } }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 1.2rem; }
.contact-list dt, .contact-list .k {
  display: block; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: .2rem;
}
.contact-list .v { font-size: 1.05rem; color: var(--ink); }

/* ---------------------------------------------------------------- footer -- */

.site-foot {
  margin-top: var(--section);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  font-size: .95rem;
}

.foot-grid { display: grid; gap: var(--gap); }
@media (min-width: 700px)  { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.foot-id .brand-mark { height: 38px; margin-bottom: 1rem; }
.foot-legal { color: var(--ink-2); line-height: 1.6; }

.foot-col h2 {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: .9rem;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: .5rem; }
.foot-col a { color: var(--ink-2); text-decoration: none; }
.foot-col a:hover { color: var(--ochre-dark); text-decoration: underline; }

.foot-base {
  display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-block: 1.4rem;
  border-top: 1px solid var(--rule);
  font-size: .88rem; color: var(--ink-3);
}
.foot-base p { margin: 0; }

/* ----------------------------------------------------------------- misc -- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-head, .site-foot, .btn-row, .skip { display: none; }
  body { color: #000; font-size: 11pt; }
}
