/* ICO SWISS · September 2026. Shared readability and navigation refinements. */
:root { --line: #dce5e1; --reading-width: 65ch; }
[data-theme="dark"] { --line: #34433d; }
html { scrollbar-width: thin; scrollbar-color: #78958a var(--bg); scroll-padding-top: calc(var(--header-height, 80px) + 20px); }
html::-webkit-scrollbar { display: block; width: 8px; }
html::-webkit-scrollbar-thumb { background: #78958a; border-radius: 8px; }
body { -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
section[id] { scroll-snap-stop: normal; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 11000; padding: 12px 20px; background: var(--card); color: var(--ink); border-radius: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.header-wrap { width: min(1320px, 100%); gap: 24px; padding: 14px 28px; }
.site-header .logo { width: auto; height: 38px; flex-shrink: 0; }
.site-header .main-nav { align-items: center; gap: clamp(12px, 1.4vw, 22px); }
.site-header .main-nav a { font-size: 14px; white-space: nowrap; padding: 12px 0; }
.site-header .main-nav a[aria-current] { color: var(--green); }
.site-header .main-nav a[aria-current]::after { width: 100%; }
.site-header .lang-switcher { margin: 0; padding: 2px; gap: 0; }
.site-header .lang-btn { min-width: 36px; height: 40px; padding: 8px; }
.site-header .theme-toggle { margin: 0; }
.main-nav a[data-i18n="nav.contact"] { border: 1px solid var(--line); padding: 10px 16px; border-radius: 10px; }
section.fullpage-section { padding-block: clamp(64px, 8vw, 112px); }
.hero.fullpage-section { min-height: calc(100svh - var(--header-height, 80px)); padding: 48px 24px 64px; }
.hero .hero-inner { width: min(100%, 1040px); max-width: 1040px; padding: clamp(24px, 4vw, 52px); background: rgba(255,255,255,.9); }
.hero h1 { max-width: 23ch; margin: 8px auto 24px; font-size: clamp(30px, 4.1vw, 56px); line-height: 1.13; letter-spacing: -.035em; text-wrap: balance; }
.hero .lead { max-width: 58ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; }
.hero .logo-hero { height: 66px; width: auto; }
.hero .eyebrow { margin-top: 18px; font-size: 12px; letter-spacing: .06em; }
.hero-parallax { opacity: .52; }
.cta { min-height: 48px; border-radius: 12px; font-weight: 650; }
.cta-wrap { align-items: stretch; }
.cta-wrap .cta { font-size: 15px; padding: 14px 22px; }
.cta.cta--ghost { box-shadow: none; }
.section-head { margin-bottom: 36px; }
.section-head h2, .catalog-title { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.18; letter-spacing: -.025em; text-wrap: balance; }
.section-sub { max-width: var(--reading-width); margin-inline: auto; line-height: 1.7; font-size: 17px; }
.services .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 24px; }
.services .card { display: flex; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 24px rgba(20,45,35,.05); }
.services .card__media { height: 200px; flex-shrink: 0; }
.services .card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 26px; text-align: left; }
.services .card__body h3 { line-height: 1.3; font-size: 23px; }
.services .card__body p { font-size: 16px; line-height: 1.7; margin-bottom: 20px; max-width: 52ch; }
.services .card__body .link { margin-top: auto; padding-block: 8px; }
.ico-packages-grid { align-items: stretch; }
.ico-packages-features { text-align: left; line-height: 1.65; }
.ico-packages-accordion-content[hidden] { display: none; }
.ico-packages-accordion-content { overflow: visible; }
.quick-paths { padding-block: 36px 12px; }
.quick-title { font-size: 14px; font-weight: 650; color: var(--muted); margin-bottom: 16px; text-align: left; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.quick-link { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.quick-link:hover { transform: translateY(-3px); border-color: var(--green); }
.quick-link strong { font-size: 17px; line-height: 1.35; padding-right: 8px; }
.quick-link > span:not(.quick-number):not(.quick-arrow) { font-size: 14px; line-height: 1.6; color: var(--muted); }
.quick-number { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.quick-arrow { position: absolute; right: 18px; top: 18px; font-size: 20px; color: var(--green); }
.gadget-section { padding: 56px 0 72px; }
.gadget-section .section-head { margin-bottom: 24px; }
.catalog-title { margin-bottom: 16px; }
.catalog-steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; counter-reset: step; padding: 0; margin: 24px auto 12px; }
.catalog-steps li { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 14px; counter-increment: step; }
.catalog-steps li::before { content: counter(step); display: grid; place-items: center; width: 26px; height: 26px; background: var(--card); border: 1px solid var(--line); border-radius: 50%; font-size: 12px; font-weight: 700; color: var(--green); }
.catalog-tool-link { text-align: center; margin: 0 0 26px; color: var(--muted); font-size: 14px; }
.catalog-tool-link a { color: var(--green); font-weight: 650; text-underline-offset: 4px; }
.gsearch-box, #gq { min-width: 0; }
.gadget-search { max-width: 960px; }
.gproduct { align-items: stretch; }
.gproduct__body { align-items: stretch; text-align: left; padding: 18px; }
.gproduct__name { font-size: 15px; line-height: 1.45; }
.gproduct__code { font-size: 12px; }
.gproduct__meta { gap: 10px; flex-wrap: wrap; }
.gproduct__detail-link { color: var(--green); font-size: 12px; font-weight: 650; margin-top: 8px; }
.gcat, .gclear, .gmodal-x { min-height: 44px; }
.gclear, .gmodal-x { min-width: 44px; }
.gclear[hidden] { display: none; }
.gmodal-card { overscroll-behavior: contain; }
.gmodal-x { position: sticky; top: 12px; float: right; margin: 12px 14px -56px 0; background: var(--card); border: 1px solid var(--line); box-shadow: 0 2px 8px var(--shadow); }
.gdet-info h3 { padding-right: 28px; }
.gdet-desc { line-height: 1.65; }
.cookie-banner { z-index: 10010; }
.cookie-buttons .cookie-btn { min-height: 44px; }
.privacy-content { max-width: 760px; padding-block: 64px 80px; }
.privacy-content h1 { font-size: clamp(32px, 5vw, 48px); }
.privacy-content section { padding: 28px 0; border-top: 1px solid var(--line); }
.privacy-content h2 { font-size: 23px; line-height: 1.35; margin-bottom: 12px; }
.privacy-content p { line-height: 1.8; color: var(--muted); margin-bottom: 16px; }
.privacy-content a { color: var(--green); text-underline-offset: 4px; }
[data-theme="dark"] .hero .hero-inner { background: rgba(24,29,29,.94); }
[data-theme="dark"] .quick-title, [data-theme="dark"] .catalog-tool-link { color: #bcc8c3; }
[data-theme="dark"] .hero .lead, [data-theme="dark"] .section-sub, [data-theme="dark"] .services .card p { color: #c0cbc6; }
[data-theme="dark"] .cta:not(.cta--ghost) { color: #082915; }

@media (max-width: 1180px) {
  .header-wrap { padding: 10px 24px; }
  .site-header .mobile-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; }
  .site-header .main-nav { position: fixed; top: var(--header-height, 64px); left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 24px 24px; max-height: calc(100dvh - var(--header-height, 64px)); overflow-y: auto; overscroll-behavior: contain; background: var(--card); border-bottom: 1px solid var(--line); z-index: 1000; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .site-header .main-nav.active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .site-header .main-nav a { text-align: left; font-size: 16px; min-height: 44px; padding: 10px 16px; border-radius: 8px; }
  .site-header .main-nav a[aria-current] { background: rgba(27,142,45,.09); }
  .site-header .main-nav a::after { display: none; }
  .site-header .lang-switcher { align-self: flex-start; margin: 0 0 8px 8px; }
  .site-header .theme-toggle { align-self: flex-start; margin-left: 8px; }
  .nav-overlay { position: fixed; inset: 0; z-index: 900; background: rgba(9,22,17,.4); visibility: hidden; opacity: 0; transition: opacity .2s; }
  .nav-overlay.active { visibility: visible; opacity: 1; }
  body.menu-open { overflow: hidden; touch-action: auto; }
  [data-theme="dark"] .site-header .main-nav { background: #1e2422; }
}
@media (max-width: 768px) {
  .container { width: calc(100% - 40px); padding-inline: 0; }
  .header-wrap { width: 100%; padding-inline: 20px; }
  section.fullpage-section { min-height: auto; padding: 56px 0; }
  .hero.fullpage-section { padding: 28px 20px 40px; min-height: auto; }
  .hero .hero-inner { width: 100%; padding: 28px 20px; }
  .hero h1 { font-size: clamp(28px, 7.1vw, 40px); }
  .hero .logo-hero { height: 54px; }
  .hero .lead { font-size: 16px; margin-bottom: 22px; }
  .hero .cta-wrap { width: 100%; gap: 10px; margin-top: 0; }
  .hero .cta-wrap .cta { width: 100%; }
  .hero .scroll-indicator { display: none; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .quick-link { padding: 18px 16px; }
  .quick-link strong { font-size: 16px; }
  .quick-link > span:not(.quick-number):not(.quick-arrow) { font-size: 13px; }
  .services .grid { grid-template-columns: 1fr; gap: 20px; }
  .services .card__body { padding: 22px; }
  .gadget-section { padding-top: 32px; }
  .catalog-steps { flex-direction: column; align-items: flex-start; width: fit-content; gap: 8px; }
  .catalog-title { font-size: 30px; }
  .gadget-cats { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
  .gcat { flex-shrink: 0; }
  .gadget-grid { gap: 12px; }
  .gproduct__body { padding: 12px; }
  .gproduct__name { font-size: 14px; }
  .gmodal { padding: 10px; }
  .gmodal-card { max-height: calc(100dvh - 20px); }
  .gdet-info, .gdet-designer, .gdet-quote { padding: 22px 18px; }
  .cookie-banner { padding: 18px; width: calc(100% - 24px); bottom: 12px; }
  .cookie-buttons { justify-content: stretch; gap: 8px; }
  .cookie-buttons .cookie-btn { flex: 1 1 auto; text-align: center; }
}
@media (max-width: 360px) { .quick-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-anim] { opacity: 1 !important; transform: none !important; }
}
