:root {
  --navy: #132638;
  --navy-soft: #1c374c;
  --cream: #f5f1e8;
  --paper: #fffdf8;
  --ink: #172735;
  --muted: #65727c;
  --lime: #d8f06d;
  --coral: #ff765c;
  --sky: #9bd7df;
  --line: rgba(23, 39, 53, 0.14);
  --shadow: 0 24px 60px rgba(12, 30, 43, 0.13);
  --radius: 28px;
  --font-sans: "Manrope", Arial, sans-serif;
  --font-display: "Unbounded", Arial, sans-serif;
}

body[data-theme="itelink"] {
  --navy: #071c2c;
  --navy-soft: #0d3049;
  --cream: #edf2f3;
  --paper: #f8fbfb;
  --ink: #102936;
  --muted: #5b6f78;
  --lime: #ffb000;
  --coral: #ff6534;
  --sky: #63c7d5;
  --radius: 12px;
  --font-display: "Manrope", Arial, sans-serif;
}
body[data-theme="itelink"] .hero,
body[data-theme="itelink"] .feedback-section { border-radius: 8px; }
body[data-theme="itelink"] .service-card { border-top: 5px solid var(--lime); }
body[data-theme="itelink"] .brand-mark { border-radius: 4px; }

body[data-theme="personal"] {
  --navy: #26211f;
  --navy-soft: #3a302c;
  --cream: #f3eee7;
  --paper: #fffaf3;
  --ink: #26211f;
  --muted: #746b65;
  --lime: #d5ff74;
  --coral: #a47be8;
  --sky: #a9d8d1;
  --radius: 4px;
  --font-display: Georgia, "Times New Roman", serif;
}
body[data-theme="personal"] .home-hero {
  color: var(--ink);
  background: #e4d9f4;
  grid-template-columns: 1.15fr .85fr;
}
body[data-theme="personal"] .hero .eyebrow,
body[data-theme="personal"] .home-hero h1 span { color: #5d377f; }
body[data-theme="personal"] .home-hero .hero-title { color: var(--ink); }
body[data-theme="personal"] .lede { color: rgba(38, 33, 31, .72); }
body[data-theme="personal"] .button { color: white; background: var(--navy); }
body[data-theme="personal"] .text-link:hover { color: #5d377f; }
body[data-theme="personal"] .brand-mark { border-radius: 50%; background: #e4d9f4; }
body[data-theme="personal"] .hero-badge { color: white; background: #5d377f; }
body[data-theme="personal"] .service-card { border-radius: 4px; box-shadow: 7px 7px 0 rgba(93, 55, 127, .12); }
body[data-theme="personal"] .service-card:hover { box-shadow: 10px 10px 0 rgba(93, 55, 127, .18); }

body[data-theme="blank"] {
  --navy: #3f4a54;
  --navy-soft: #56616b;
  --cream: #eef1f3;
  --paper: #fafbfc;
  --ink: #243038;
  --muted: #66737d;
  --lime: #8a9aa8;
  --coral: #8a9aa8;
  --sky: #b8c4ce;
  --radius: 16px;
  --font-display: "Manrope", Arial, sans-serif;
}
body[data-theme="blank"] .home-hero {
  color: var(--ink);
  background: linear-gradient(145deg, #e8ecef 0%, #dfe5ea 100%);
}
body[data-theme="blank"] .hero .eyebrow,
body[data-theme="blank"] .home-hero h1 span { color: var(--muted); }
body[data-theme="blank"] .home-hero .hero-title { color: var(--ink); }
body[data-theme="blank"] .lede { color: rgba(36, 48, 56, .72); }
body[data-theme="blank"] .button { color: white; background: var(--navy); }
body[data-theme="blank"] .button-secondary {
  color: var(--navy);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--navy) 35%, var(--line));
}
body[data-theme="blank"] .brand-mark { border-radius: 8px; background: #d5dde3; color: var(--navy); }
body[data-theme="blank"] .cookie-banner,
body[data-theme="blank"] .cookie-settings { display: none !important; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  --mega-top: 4.9rem;
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body.nav-open,
body.mega-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  border-radius: 10px;
  background: var(--paper);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }
.site-header, .site-footer, main {
  width: min(1220px, calc(100% - clamp(1.25rem, 4vw, 3rem)));
  margin-inline: auto;
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
}
.site-header {
  position: relative;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: max(1rem, env(safe-area-inset-top)) 0 1.4rem;
}
.site-header > .brand { order: 1; }
.site-header > nav { order: 2; }
.site-header > .lang-switcher { order: 3; }
.site-header > .nav-toggle { order: 4; }
@media (min-width: 900px) {
  .site-header > nav { margin-left: auto; }
  .site-header > .lang-switcher { margin-left: 0; }
}
.nav-mega-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.nav-mega-trigger.is-open,
.nav-mega-trigger[aria-expanded="true"] {
  color: var(--coral);
  box-shadow: inset 0 -2px 0 var(--coral);
}
.services-mega {
  position: absolute;
  z-index: 80;
  left: 0;
  right: 0;
  top: var(--mega-top, 4.75rem);
  padding: 0 clamp(1rem, 4vw, 1.5rem) 1.25rem;
  background: transparent;
}
.services-mega-shell {
  width: min(1220px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(12rem, 15rem) 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.services-mega-sidebar {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1rem .75rem;
  background: #f7f8fa;
  border-right: 1px solid var(--line);
}
.services-mega-group {
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  padding: .85rem .9rem;
  font: inherit;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
}
.services-mega-group.is-active,
.services-mega-group:hover {
  background: #fff;
  box-shadow: inset 3px 0 0 var(--coral);
}
.services-mega-content {
  padding: 1.35rem 1.5rem 1.5rem;
}
.services-mega-heading {
  margin-bottom: 1.2rem;
}
.services-mega-heading h2 {
  margin: 0 0 .35rem;
  font-size: 1.15rem;
}
.services-mega-heading p {
  margin: 0;
  color: var(--muted);
  max-width: 52rem;
}
.services-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}
.services-mega-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .85rem;
  align-items: start;
  padding: .85rem .9rem;
  border-radius: 14px;
  transition: background .15s ease;
}
.services-mega-item:hover {
  background: #f4f7f8;
}
.services-mega-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--sky) 45%, white);
  font-weight: 700;
  font-size: .95rem;
}
.services-mega-copy {
  display: grid;
  gap: .25rem;
}
.services-mega-copy strong {
  font-size: .98rem;
  line-height: 1.25;
}
.services-mega-copy span {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.4;
}
.services-mega-copy em {
  font-style: normal;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal-account-title {
  margin: .6rem 0 0;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
  font-weight: 700;
  grid-column: 1 / -1;
}
.legal-account-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
body.mega-open {
  /* handled with body.nav-open group */
}
@media (max-width: 1024px) {
  .services-mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .services-mega {
    position: fixed;
    inset: 0;
    top: 0;
    padding: max(4.5rem, env(safe-area-inset-top)) .75rem 1rem;
    background: rgba(10, 18, 24, .42);
  }
  .services-mega-shell {
    max-height: calc(100dvh - 5.5rem);
    overflow: auto;
    grid-template-columns: 1fr;
  }
  .services-mega-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    overflow-x: auto;
  }
  .services-mega-group { white-space: nowrap; }
  .services-mega-grid { grid-template-columns: 1fr; }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  font-weight: 600;
  min-width: 0;
}
.brand > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 50% 50% 50% 12%;
  color: var(--navy);
  background: var(--lime);
}
nav { display: flex; align-items: center; gap: 1.6rem; font-size: .92rem; font-weight: 600; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  margin-left: .5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
}
.nav-toggle-icon {
  display: block;
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.nav-open .nav-toggle-icon {
  box-shadow: none;
  transform: rotate(45deg);
}
.site-header.nav-open .nav-toggle-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-90deg);
}
.lang-switcher {
  display: inline-flex;
  gap: .35rem;
  margin-left: .4rem;
  padding: .25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
}
.site-header .lang-switcher { margin-left: auto; }
.site-header:not(:has(.lang-switcher)) .nav-toggle { margin-left: auto; }
.lang-switcher a {
  display: grid;
  min-width: 2rem;
  height: 1.9rem;
  place-items: center;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.lang-switcher a.is-active {
  color: white;
  background: var(--navy);
}
nav a:not(.nav-cta):hover { color: #b94431; }
.nav-cta {
  padding: .7rem 1rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  transition: background .2s, color .2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-cta:hover { color: white; background: var(--navy); }
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  color: white;
  background: var(--navy);
}
.home-hero {
  display: grid;
  min-height: 570px;
  grid-template-columns: 1.35fr .65fr;
  align-items: center;
  padding: clamp(2.25rem, 6vw, 5rem);
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 1rem;
  color: #44606d;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--lime); }
h1, h2 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 5vw, 4.7rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 3rem); letter-spacing: -.035em; }
h3 { margin: 0; line-height: 1.3; }
.home-hero h1 { max-width: 12ch; }
.home-hero h1 span { color: var(--lime); }
.home-hero h1 .hero-title { color: white; }
.lede { max-width: 650px; margin: 1.5rem 0 0; color: rgba(255,255,255,.75); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; flex-wrap: wrap; }
.button, button[type="submit"] {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: .9rem 1.35rem;
  min-height: 44px;
  color: var(--navy);
  background: var(--lime);
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, filter .2s;
}
.button:hover, button[type="submit"]:hover { filter: brightness(.96); transform: translateY(-2px); }
.text-link { font-weight: 700; }
.text-link:hover { color: var(--lime); }
.hero-visual { position: relative; min-height: 390px; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.orbit-one { inset: 8% -34% 8% 0; transform: rotate(-16deg); }
.orbit-two { inset: 22% -12% 20% 14%; transform: rotate(25deg); }
.hero-badge {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 38%;
  display: flex;
  width: 155px;
  height: 155px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 48% 52% 38% 62%;
  color: var(--navy);
  background: var(--coral);
  transform: translate(-50%, -50%) rotate(8deg);
}
.hero-badge strong { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; }
.hero-badge span { font-size: .8rem; font-weight: 700; }
.spark { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); }
.spark-one { top: 16%; right: 5%; }
.spark-two { bottom: 16%; left: 2%; width: 13px; height: 13px; background: var(--sky); }
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-heading { display: grid; grid-template-columns: 1fr .7fr; gap: 3rem; align-items: end; margin-bottom: 2.3rem; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); }
.carousel { overflow: visible; }
.carousel-viewport {
  overflow: hidden;
  touch-action: pan-y;
  padding-bottom: .85rem;
  margin-bottom: -.35rem;
}
.carousel-track {
  display: flex;
  align-items: stretch;
  margin: 0;
  transition: transform .45s cubic-bezier(.22,.8,.25,1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 33.333%;
  width: 33.333%;
  min-width: 33.333%;
  max-width: 33.333%;
  box-sizing: border-box;
  padding: 0 .55rem;
  display: flex;
  align-items: stretch;
}
.carousel-slide > .service-card {
  width: 100%;
  flex: 1 1 auto;
}
.service-card {
  display: flex;
  min-height: 390px;
  height: auto;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--paper);
  transition: box-shadow .2s, border-color .2s;
  overflow: hidden;
}
.service-card:has(.card-photo) {
  padding-top: 0;
}
.card-photo {
  margin: 0 -1.75rem 1.1rem;
  flex: 0 0 9.5rem;
  height: 9.5rem;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #e8f0f4;
}
.card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.service-card:hover {
  box-shadow: var(--shadow);
}
.service-card:nth-child(3n+2) .card-icon,
.carousel-slide:nth-child(3n+2) .card-icon { background: var(--sky); }
.service-card:nth-child(3n) .card-icon,
.carousel-slide:nth-child(3n) .card-icon { background: var(--coral); }
.card-icon { display: grid; width: 3.2rem; height: 3.2rem; place-items: center; border-radius: 17px; background: var(--lime); font-weight: 700; overflow: hidden; }
.card-icon-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 3.2rem;
  max-width: 6.5rem;
  height: 2.85rem;
  border-radius: 10px;
  background: #fff !important;
  border: 1px solid var(--line);
  padding: .3rem .45rem;
  overflow: hidden;
}
.card-icon-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.card-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 100%;
  min-height: 3.5rem;
}
.card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 5rem;
  max-width: calc(50% - .3rem);
  height: 3.5rem;
  padding: .35rem .55rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.card-logos:has(> :nth-child(3)) .card-logo {
  max-width: calc(50% - .3rem);
  min-width: 4.25rem;
}
.card-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.18);
}
.card-kind { margin: 1.4rem 0 .45rem; color: var(--muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.service-card h3 {
  font-size: 1.3rem;
  min-height: 2.6em;
}
.service-card p { margin: .8rem 0 1.2rem; color: var(--muted); }
.service-card .card-link { margin-top: auto; font-weight: 700; }
.service-card .card-link span { color: #c24936; }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; }
.carousel-dots { display: flex; align-items: center; gap: .55rem; }
.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 39, 53, .22);
  cursor: pointer;
  position: relative;
  transition: width .2s ease, background .2s ease, transform .2s ease;
}
.carousel-dot::before {
  content: "";
  position: absolute;
  inset: -10px;
}
.carousel-dot.is-active,
.carousel-dot[aria-current="true"],
.carousel-dot[aria-current="page"] {
  width: 30px;
  border-radius: 999px;
  background: var(--navy);
  transform: none;
}
body[data-theme="personal"] .carousel-dot.is-active,
body[data-theme="personal"] .carousel-dot[aria-current="true"],
body[data-theme="personal"] .carousel-dot[aria-current="page"] {
  background: #5d377f;
}
.carousel-arrows { display: flex; gap: .6rem; }
.icon-button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
}
.icon-button:hover { color: white; background: var(--navy); }
.icon-button:disabled { opacity: .35; cursor: not-allowed; }
.approach { display: grid; grid-template-columns: .75fr 1.25fr; gap: 5rem; border-top: 1px solid var(--line); }
.principles { margin: 0; padding: 0; list-style: none; }
.principles li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.principles li > span { color: #b94431; font-size: .78rem; font-weight: 700; }
.principles h3 { font-size: 1.15rem; }
.principles p { margin: .4rem 0 0; color: var(--muted); }
.feedback-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: 2rem;
  border-radius: 36px;
  padding-inline: clamp(1.5rem, 5vw, 4.5rem);
  color: white;
  background: var(--navy);
}
.feedback-intro .eyebrow { color: var(--lime); }
.feedback-intro > p:last-child { max-width: 480px; color: rgba(255,255,255,.68); }
.feedback-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; align-content: start; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label, .fieldset-label { font-size: .82rem; font-weight: 700; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;
  padding: .8rem .9rem;
  color: white;
  background: rgba(255,255,255,.08);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.48); }
.field textarea { resize: vertical; }
.contact-options { display: flex; gap: 1rem; flex-wrap: wrap; }
.radio-label, .consent-label { display: flex; align-items: flex-start; gap: .55rem; font-size: .83rem; cursor: pointer; }
.radio-label input, .consent-label input { margin-top: .2rem; accent-color: var(--lime); }
.consent-label a { color: var(--lime); text-decoration: underline; }
.feedback-form button[type="submit"] { margin-top: .2rem; }
button:disabled { opacity: .55; cursor: wait; transform: none; }
.form-status { min-height: 1.4rem; margin: 0; font-size: .85rem; }
.form-status.ok { color: var(--lime); }
.form-status.err { color: #ffb3a4; }
.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1.5rem;
  row-gap: .75rem;
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: .85rem;
}
.site-footer > .brand {
  justify-self: start;
}
.site-footer > p {
  margin: 0;
  text-align: center;
  line-height: 1.4;
  min-width: 0;
}
.footer-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0 .95rem;
  margin: 0;
  max-width: 100%;
}
.footer-links a,
.footer-links .cookie-settings {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  min-height: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.footer-links a:hover,
.footer-links .cookie-settings:hover {
  color: var(--ink);
  text-decoration: underline;
}
.footer-links > span {
  white-space: nowrap;
  line-height: 1.35;
}
.muted { color: var(--muted); }
.loading { width: 100%; padding: 2rem !important; }
.loading-panel { min-height: 55vh; }

/* ITELINK equipment brands */
.brands-section,
.service-brands-section { border-top: 1px solid var(--line); }
.service-brands-section .brand-grid { margin-top: 1.5rem; }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 1rem;
}
.brand-grid-empty { max-width: 42rem; }
.brand-grid-placeholder { padding: 0; }
.brand-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.brand-card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}
.brand-card img {
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .82;
  transition: filter .2s ease, opacity .2s ease;
}
.brand-card:hover img { filter: grayscale(0); opacity: 1; }
.brand-name {
  font-size: .95rem;
  font-weight: 700;
  text-align: center;
  color: var(--muted);
}
.brand-card-link {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

/* ITELINK portfolio */
.portfolio-section { border-top: 1px solid var(--line); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.portfolio-card, .portfolio-empty {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.portfolio-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.portfolio-card-body { display: flex; min-height: 280px; flex-direction: column; padding: 1.5rem; }
.portfolio-card-body > p:not(.card-kind) { color: var(--muted); }
.portfolio-card-body .card-link { margin-top: auto; font-weight: 700; }
.portfolio-empty { grid-column: 1 / -1; padding: clamp(2rem, 5vw, 4rem); border-style: dashed; }
.portfolio-empty > span { color: #b94431; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.portfolio-empty h3 { margin-top: .7rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.portfolio-empty p, .project-scale { color: var(--muted); white-space: pre-wrap; }
.project-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.project-gallery img { width: 100%; aspect-ratio: 4 / 3; border-radius: 10px; object-fit: cover; }

.cookie-banner {
  position: fixed;
  z-index: 40;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: max(1rem, env(safe-area-inset-left));
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  color: var(--ink);
  background: rgba(255, 253, 248, .96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.cookie-banner strong { display: block; margin-bottom: .35rem; font-family: var(--font-display); }
.cookie-banner p { margin: 0; color: var(--muted); font-size: .92rem; }
.cookie-banner a { color: inherit; text-decoration: underline; }
.cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.cookie-actions button {
  border: 0;
  border-radius: 999px;
  padding: .7rem 1rem;
  min-height: 44px;
  color: var(--navy);
  background: var(--lime);
  font-weight: 700;
  cursor: pointer;
}
.cookie-actions .cookie-secondary {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

/* Service page */
.service-hero { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 520px; margin-top: 1rem; }
.service-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.2rem, 5vw, 4.5rem); }
.back-link { margin-bottom: 2rem; color: rgba(255,255,255,.7); font-size: .85rem; font-weight: 700; }
.back-link:hover { color: var(--lime); }
.service-hero h1 { max-width: 13ch; font-size: clamp(2rem, 4.4vw, 4rem); }
.service-hero .button { margin-top: 2rem; }
.service-cover { position: relative; min-height: 350px; overflow: hidden; background: var(--navy-soft); }
.service-cover img { width: 100%; height: 100%; object-fit: cover; }
.service-cover-logo {
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.08), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,.05), transparent 40%),
    var(--navy-soft);
}
.service-cover-logo img {
  width: auto;
  height: auto;
  max-width: min(72%, 320px);
  max-height: 140px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.service-cover-logos {
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.08), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,.05), transparent 40%),
    var(--navy-soft);
}
.service-cover-logo-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-cover-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 4.25rem;
  padding: .55rem .65rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  background: #fff;
}
.service-cover-logo-item img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.service-cover-photo > img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
}
.service-cover-logo-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: .55rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
}
.legal-page .narrow { max-width: 760px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 1.5rem); }
.legal-page .wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.legal-card {
  margin-top: 2rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.legal-list {
  display: grid;
  gap: 1rem 1.5rem;
  margin: 0;
}
.legal-row {
  display: grid;
  grid-template-columns: minmax(9rem, 12rem) 1fr;
  gap: .75rem 1.25rem;
}
.legal-row dt {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
}
.legal-row dd {
  margin: 0;
  font-weight: 600;
  word-break: break-word;
}
.legal-note {
  margin: 1.4rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .92rem;
}
@media (max-width: 699px) {
  .legal-row { grid-template-columns: 1fr; gap: .25rem; }
}
.service-cover-placeholder { display: grid; width: 100%; height: 100%; min-height: 350px; place-items: center; background: radial-gradient(circle, var(--coral) 0 16%, transparent 16.5%), radial-gradient(circle at 68% 35%, var(--lime) 0 7%, transparent 7.5%), var(--navy-soft); }
.service-cover-placeholder span { display: grid; width: 190px; height: 190px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 42% 58% 62% 38%; font-family: var(--font-display); font-size: 4rem; }
.content-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 7vw, 7rem); border-bottom: 1px solid var(--line); }
.content-section > header p { margin: 1rem 0 0; color: var(--muted); }
.task-grid, .benefit-grid, .related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.info-card { border: 1px solid var(--line); border-radius: 20px; padding: 1.35rem; background: var(--paper); }
.info-card .number { display: block; margin-bottom: 2rem; color: #b94431; font-size: .75rem; font-weight: 700; }
.info-card h3 { font-size: 1.05rem; }
.info-card p { margin: .6rem 0 0; color: var(--muted); }
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; display: grid; width: 1.35rem; height: 1.35rem; place-items: center; border-radius: 50%; color: var(--navy); background: var(--lime); font-size: .72rem; font-weight: 700; }
.plans-section { border-bottom: 1px solid var(--line); }
.plans-section > header { max-width: 650px; margin-bottom: 2rem; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.plan-card { display: flex; min-height: 390px; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; background: var(--paper); }
.plan-card.featured { color: white; background: var(--navy); transform: translateY(-8px); }
.plan-card .plan-label { color: #b94431; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.plan-card.featured .plan-label { color: var(--lime); }
.plan-card h3 { margin-top: .7rem; font-size: 1.35rem; }
.plan-card > p { color: var(--muted); }
.plan-card.featured > p { color: rgba(255,255,255,.68); }
.plan-price { margin-top: auto !important; color: inherit !important; font-size: 1.15rem; font-weight: 700; }
.process-list { display: grid; margin: 2.2rem 0 0; padding: 0; list-style: none; counter-reset: process; }
.process-list li { display: grid; grid-template-columns: 4rem 1fr; padding: 1.5rem 0; border-top: 1px solid var(--line); counter-increment: process; }
.process-list li::before { content: "0" counter(process); color: #b94431; font-size: .78rem; font-weight: 700; }
.process-list p { margin: .35rem 0 0; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; font-weight: 700; cursor: pointer; list-style: none; min-height: 44px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 760px; margin: -.35rem 0 1.3rem; color: var(--muted); }
.related-card { display: block; border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem; background: var(--paper); }
.related-card:hover { box-shadow: var(--shadow); }
.related-card p { color: var(--muted); }
.service-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-radius: var(--radius); padding: clamp(2rem, 5vw, 4rem); color: white; background: var(--navy); }
.service-cta h2 { max-width: 720px; }
.legacy-content { white-space: pre-wrap; color: var(--muted); }
.error-panel { min-height: 55vh; text-align: center; }
.error-panel .button { margin-top: 1rem; color: white; background: var(--navy); }

@media (max-width: 1024px) {
  .home-hero { min-height: 520px; grid-template-columns: 1fr .55fr; }
  .carousel-slide {
    flex-basis: 50%;
    width: 50%;
    min-width: 50%;
    max-width: 50%;
  }
  .section-heading, .approach, .feedback-section, .content-section { grid-template-columns: 1fr; gap: 2rem; }
  .service-hero { grid-template-columns: 1fr; }
  .service-cover { min-height: 300px; }
  .plans-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card { min-height: 0; }
  .plan-card.featured { transform: none; }
  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .site-footer > .brand,
  .site-footer > p {
    justify-self: center;
  }
  .site-footer p { margin: 0; }
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: .45rem;
  }
}

@media (max-width: 899px) {
  .site-header {
    flex-wrap: wrap;
    align-items: center;
  }
  .site-header > .brand { order: 1; flex: 1 1 auto; min-width: 0; }
  .site-header > .lang-switcher { order: 2; margin-left: auto; }
  .site-header > .nav-toggle { order: 3; display: grid; }
  .site-header > nav {
    order: 4;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: .5rem;
    border-top: 1px solid var(--line);
  }
  .site-header.nav-open > nav { display: flex; }
  .site-header nav a:not(.nav-cta) {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: .55rem 0;
    border-bottom: 1px solid var(--line);
  }
  .site-header nav .nav-cta {
    width: 100%;
    margin-top: .75rem;
    text-align: center;
  }
  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: clamp(1.5rem, 5vw, 2.5rem);
  }
  .home-hero h1, .service-hero h1 { max-width: none; }
  body[data-theme="personal"] .home-hero { grid-template-columns: 1fr; }
  .hero-visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 320px);
    min-height: 220px;
    margin: 1.5rem auto 0;
    opacity: 1;
  }
  .hero-copy { align-self: start; padding-top: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: center; min-height: 44px; display: inline-flex; align-items: center; }
  .carousel-slide {
    flex-basis: 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
  .service-card { min-height: 300px; }
  .service-card h3 { min-height: 0; }
  .feedback-section { padding-block: 2.5rem; }
  .feedback-form, .task-grid, .benefit-grid, .related-grid, .check-list { grid-template-columns: 1fr; }
  .portfolio-grid, .project-gallery { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .field input, .field textarea, .field select { font-size: 16px; }
  .service-hero-copy { padding: 1.6rem; }
  .service-cover, .service-cover-placeholder { min-height: 240px; }
  .service-cta { align-items: flex-start; flex-direction: column; }
  .service-cta .button { width: 100%; }
  .process-list li { grid-template-columns: 2.5rem 1fr; }
  .brand-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .carousel-controls { gap: 1rem; flex-wrap: wrap; }
  .carousel-arrows { margin-left: auto; }
  .section { padding: clamp(2.5rem, 8vw, 4rem) 0; }
  .section-heading { gap: 1rem; margin-bottom: 1.5rem; }
  .contact-options { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .radio-label, .consent-label { min-height: 44px; align-items: center; }
}

@media (max-width: 480px) {
  .site-header, .site-footer, main { width: min(100% - 1rem, 1220px); }
  h1 { font-size: clamp(1.85rem, 9vw, 2.5rem); }
  h2 { font-size: clamp(1.45rem, 6.5vw, 2rem); }
  .hero-badge { width: 120px; height: 120px; }
  .hero-badge strong { font-size: 2.4rem; }
  .service-card { padding: 1.35rem; min-height: 280px; }
  .portfolio-card-body { min-height: 0; }
  .cookie-banner { padding: 1rem; }
  .cookie-actions { flex-direction: column; }
  .cookie-actions button { width: 100%; }
}

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