/* AutoKlar — an editorial system for direct, personal automotive consultancy. */
:root {
  color-scheme: light;
  --paper: #f5f4f0;
  --surface: #fff;
  --soft: #eaece8;
  --ink: #14202d;
  --muted: #53616d;
  --line: #cfd4d5;
  --blue: #264af4;
  --blue-hover: #1838d4;
  --blue-soft: #e8edff;
  --glass: rgba(247, 248, 244, .88);
  --glass-border: rgba(255, 255, 255, .72);
  --footer: #e9ece8;
  --shadow: 0 12px 42px rgba(13, 27, 39, .12);
  --ease: cubic-bezier(.2, .75, .25, 1);
  --section-space: clamp(76px, 7.65vw, 110px);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #101820;
  --surface: #17222e;
  --soft: #1b2733;
  --ink: #f0f3f5;
  --muted: #b3c0ca;
  --line: #344452;
  --blue: #7193ff;
  --blue-hover: #9ab1ff;
  --blue-soft: #233553;
  --glass: rgba(20, 31, 42, .91);
  --glass-border: rgba(206, 223, 239, .16);
  --footer: #0c131b;
  --shadow: 0 16px 48px rgba(0, 0, 0, .24);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 126px; }
html.motion-on { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-feature-settings: "ss01" on; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
h1, h2 { letter-spacing: -.045em; }
h1 { font-size: clamp(48px, 5.65vw, 82px); line-height: 1.055; }
h2 { font-size: clamp(34px, 4.18vw, 60px); line-height: 1.1; }
h3 { font-size: clamp(23px, 2.15vw, 30px); line-height: 1.25; letter-spacing: -.025em; }
p { text-wrap: pretty; }
strong { font-weight: 650; }
::selection { background: #264af4; color: white; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 3px; }
button:disabled { cursor: wait; opacity: .7; }
.wrap { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 15px; z-index: 200; padding: 12px 20px; color: white; background: #14202d; border-radius: 5px; transform: translateY(-160%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* A visible glass navigation bar, independent of the image below it. */
.header { position: fixed; z-index: 100; top: 18px; left: 24px; right: 24px; height: 76px; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 9px; box-shadow: var(--shadow); -webkit-backdrop-filter: blur(24px) saturate(1.1); backdrop-filter: blur(24px) saturate(1.1); transition: background .3s ease, box-shadow .3s ease; }
.header.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: 1580px; margin: auto; padding: 0 24px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; line-height: 1; }
.brand img { width: 43px; height: auto; object-fit: contain; }
.brand strong { display: block; font-size: 23px; line-height: 1; font-weight: 750; letter-spacing: .025em; }
.brand small { display: block; margin-top: 7px; font-size: 10px; font-weight: 500; letter-spacing: .015em; white-space: nowrap; }
.nav { display: flex; align-items: center; justify-content: center; gap: clamp(17px, 1.65vw, 28px); }
.nav a { position: relative; display: inline-block; padding: 10px 0; font-size: 14px; line-height: 1.25; font-weight: 600; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.theme-toggle, .menu-toggle { min-height: 40px; padding: 9px 12px; font-size: 13px; font-weight: 600; line-height: 1.1; border-radius: 5px; border: 1px solid var(--line); background: transparent; white-space: nowrap; transition: border-color .25s, background .25s; }
.theme-toggle:hover, .menu-toggle:hover { border-color: var(--ink); background: var(--blue-soft); }
.portal-link { display: inline-flex; align-items: center; min-height: 42px; padding: 10px 15px; font-size: 13px; font-weight: 650; line-height: 1.15; white-space: nowrap; border-radius: 5px; color: white; background: #264af4; transition: background .25s; }
.portal-link:hover { background: #1838d4; }
.menu-toggle, .nav .mobile-portal { display: none; }

/* Controls share the same restraint and rhythm across every page. */
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.actions .actions { margin-top: 0; }
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 16px 25px; overflow: hidden; isolation: isolate; border: 1px solid #264af4; border-radius: 5px; color: white; background: #264af4; font-size: 16px; line-height: 1.25; font-weight: 600; text-align: center; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .35s var(--ease), box-shadow .35s var(--ease); }
.button::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -30%; width: 24%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent); transform: skewX(-22deg); transition: left .65s var(--ease); }
.button:hover { background: #1838d4; border-color: #1838d4; box-shadow: 0 7px 20px rgba(38,74,244,.15); transform: translateY(-2px); }
.button:hover::after { left: 110%; }
.button.outline, .button.secondary { color: var(--ink); background: transparent; border-color: var(--line); }
.button.outline:hover, .button.secondary:hover { color: var(--ink); background: var(--blue-soft); border-color: var(--blue); box-shadow: none; }
.button.glass, .photo-hero .button.secondary, .photo-hero .button.outline, .photo-section .button.secondary, .photo-section .button.outline { color: white; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.09); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.button.glass:hover, .photo-hero .button.secondary:hover, .photo-hero .button.outline:hover, .photo-section .button.secondary:hover, .photo-section .button.outline:hover { color: white; background: rgba(255,255,255,.2); border-color: white; }
.inline-link { font-size: 16px; font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.inline-link:hover { text-decoration-thickness: 2px; }

/* Full-width photography, with type set in quiet areas of each scene. */
.photo-hero { position: relative; display: flex; align-items: center; min-height: max(800px, 90svh); isolation: isolate; overflow: hidden; color: #fff; background: #111b25; }
.hero-image { position: absolute; z-index: -3; inset: -3%; transform: translateY(var(--parallax, 0px)) scale(1.035); }
.hero-image > img, .gallery-slide > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5,13,22,.83) 0%, rgba(5,13,22,.58) 42%, rgba(5,13,22,.1) 100%), linear-gradient(180deg, rgba(5,13,22,.35), transparent 35%, rgba(5,13,22,.32)); }
.hero-content { position: relative; z-index: 2; padding-top: 170px; padding-bottom: 150px; }
.hero-content h1 { max-width: 930px; }
.hero-lead { max-width: 605px; margin-top: 28px; color: rgba(255,255,255,.92); font-size: clamp(19px, 1.52vw, 22px); line-height: 1.55; font-weight: 450; }
.hero-content > .button { margin-top: 30px; margin-right: 10px; vertical-align: top; }
.hero-content .actions { margin-top: 32px; }
.hero-scroll { display: inline-flex; align-items: center; gap: 13px; color: white; font-size: 13px; font-weight: 600; letter-spacing: .015em; }
.photo-hero > .hero-scroll { position: absolute; bottom: 45px; left: max(56px, calc((100vw - 1320px) / 2)); z-index: 3; }
.hero-scroll > span { position: relative; display: block; width: 16px; height: 31px; overflow: hidden; border: 1px solid rgba(255,255,255,.6); border-radius: 10px; }
.hero-scroll > span::after { content: ""; position: absolute; top: 6px; left: 6px; width: 2px; height: 7px; background: white; border-radius: 2px; }
.motion-on .hero-scroll > span::after { animation: scroll-cue 2.6s var(--ease) infinite; }
.home-hero { min-height: max(780px, 100svh); }
.home-hero .hero-content h1 { max-width: 1000px; font-size: clamp(52px, 5.85vw, 84px); }
.home-hero h1 > span { display: block; }
.home-hero .hero-lead { max-width: 610px; }
.home-hero .hero-content { padding-bottom: 170px; }
.hero-bottom { position: absolute; z-index: 3; left: 0; right: 0; bottom: 38px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.gallery-stage { overflow: hidden; }
.gallery-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.3s ease, visibility 1.3s; }
.gallery-slide.is-active { opacity: 1; visibility: visible; }
.gallery-slide img { transform: scale(1.025); }
.motion-on .gallery-slide.is-active img { animation: photo-drift 13s ease-out both; }
.gallery-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; width: min(510px, 55%); }
.gallery-controls button { position: relative; display: flex; align-items: center; gap: 10px; min-height: 51px; padding: 9px 0 18px; color: rgba(255,255,255,.65); background: none; border: 0; border-bottom: 2px solid rgba(255,255,255,.25); font-size: 14px; font-weight: 500; text-align: left; transition: color .25s; }
.gallery-controls button > span { color: inherit; font-size: 11px; font-weight: 600; opacity: .75; }
.gallery-controls button i { position: absolute; right: 0; bottom: -2px; left: 0; height: 2px; transform: scaleX(0); transform-origin: left; background: white; }
.gallery-controls button.is-active { color: white; }
.gallery-controls button.is-active i { transform: scaleX(var(--gallery-progress, 0)); }
.gallery-controls button:hover { color: white; }
.about-hero { background: #10161d; }
.about-hero .hero-image { left: 34%; }
.about-hero .hero-image img { object-position: 47% center; }
.about-hero .hero-shade { background: linear-gradient(90deg, #10161d 0%, rgba(16,22,29,.94) 29%, rgba(16,22,29,.5) 49%, rgba(16,22,29,.02) 78%), linear-gradient(0deg,rgba(16,22,29,.5),transparent 40%); }
.about-hero h1 { max-width: 710px; font-size: clamp(48px, 5.2vw, 75px); }
.about-hero .hero-lead { max-width: 540px; }
.contact-hero .hero-shade { background: linear-gradient(90deg, rgba(5,13,22,.88), rgba(5,13,22,.55) 55%, rgba(5,13,22,.2)); }

/* Editorial spacing, clean dividers and useful emphasis. */
.service-nav { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.service-nav a { position: relative; padding: 29px 30px; }
.service-nav a:first-child { padding-left: 0; }
.service-nav a + a { border-left: 1px solid var(--line); }
.service-nav a::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-nav a:hover::after { transform: scaleX(1); }
.service-nav span { display: block; font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; }
.service-nav small { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.section { padding-block: var(--section-space); }
.soft-section { background: var(--soft); }
.dark-section { color: #eef3f7; background: #111d29; --ink: #eef3f7; --muted: #b6c4cf; --line: #3a4b5a; --blue: #9cb4ff; --blue-soft: #243655; --surface: #1a2937; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: clamp(40px, 6vw, 90px); margin-bottom: 58px; }
.section-heading h2:only-child { grid-column: 1 / -1; max-width: 930px; }
.section-heading > p { max-width: 580px; padding-bottom: 4px; font-size: 20px; line-height: 1.65; color: var(--muted); }
#piattaforma .section-heading { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
#piattaforma .section-heading > h2, #piattaforma .section-heading > p { min-width: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 7vw, 100px); align-items: start; }
.editorial-copy { min-width: 0; }
.editorial-copy h2 { margin-bottom: 27px; }
.editorial-copy h3 { margin-bottom: 18px; }
.editorial-copy p { max-width: 650px; color: var(--muted); font-size: 20px; line-height: 1.65; }
.editorial-copy p + p { margin-top: 20px; }
.editorial-copy p strong { color: var(--ink); }
.editorial-copy > .button { margin-top: 28px; }
.steps, .benefits, .purchase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; }
.step, .benefit, .purchase-grid article { min-width: 0; padding-top: 27px; border-top: 1px solid var(--line); }
.step-number { display: block; margin-bottom: 30px; font-size: 15px; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--blue); }
.step h3, .benefit h3, .purchase-grid h3 { margin-bottom: 17px; font-size: 25px; }
.step p, .benefit p, .purchase-grid p { font-size: 18px; line-height: 1.65; color: var(--muted); }
.section-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 50px; }
.section-bottom p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.detail-note { margin-top: 25px; font-size: 15px !important; line-height: 1.65; color: var(--muted); }
.photo-section { position: relative; display: flex; align-items: center; min-height: 650px; overflow: hidden; isolation: isolate; color: #fff; background: #121c26; }
.photo-section > img { position: absolute; z-index: -3; inset: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; object-position: center; transform: translateY(var(--parallax, 0px)) scale(1.035); }
.photo-overlay { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(5,13,22,.84), rgba(5,13,22,.58) 49%, rgba(5,13,22,.09)); }
.photo-section > .wrap { position: relative; z-index: 2; padding-block: 100px; }
.photo-overlay > .wrap { display: flex; align-items: center; position: relative; height: 100%; padding-block: 75px; }
.photo-section .editorial-copy { max-width: 650px; }
.photo-section h2 { max-width: 620px; }
.photo-section .editorial-copy p { color: rgba(255,255,255,.89); font-size: 21px; }
.photo-section .editorial-copy strong { color: white; }
.personal-layout { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(60px, 7vw, 100px); align-items: center; }
.portrait-frame { height: 570px; overflow: hidden; border-radius: 5px; background: #101821; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.personal-layout .editorial-copy h2 { max-width: 600px; }
.quote { max-width: 1100px; margin: auto; }
.quote blockquote { font-size: clamp(35px, 4vw, 57px); line-height: 1.25; letter-spacing: -.035em; font-weight: 500; text-wrap: balance; }
.quote p { margin-top: 30px; color: var(--muted); font-size: 16px; }
.closing { border-top: 1px solid var(--line); }
.closing .split { grid-template-columns: 1fr 1fr; align-items: center; }
.closing h2 { max-width: 620px; }

/* Product demonstration: a stable interface, readable chapters and clear controls. */
.demo-section { background: var(--surface); }
.demo-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 24px; }
.demo-heading h3 { font-size: 24px; }
.demo-heading > .button { flex-shrink: 0; min-height: 44px; padding: 12px 19px; font-size: 14px; }
.demo-module { min-width: 0; }
.video-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #111c29; box-shadow: 0 18px 55px rgba(10,25,40,.08); }
.video-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 19px; color: #e7eff9; background: #17283a; font-size: 12px; line-height: 1.4; }
.video-top > span:first-child { display: inline-flex; gap: 9px; align-items: center; }
.video-top i { width: 6px; height: 6px; background: #88a8ff; border-radius: 50%; }
.video-frame video { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: contain; background: #111c29; }
.video-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; }
.video-tools button { background: none; border: 0; font-size: 14px; line-height: 1.3; font-weight: 600; padding: 7px 0; text-decoration: underline; text-underline-offset: 5px; }
.video-tools .video-play { color: var(--blue); }
.video-tools p { margin-right: auto; color: var(--muted); font-size: 13px; }
.video-tools button:hover { text-decoration-thickness: 2px; }
.video-status { margin: 12px 0 0; padding: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.chapters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.chapters:has(.chapter:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chapter { position: relative; display: flex; gap: 14px; align-items: start; width: 100%; padding: 22px 3px 20px; overflow: hidden; background: transparent; border: 0; border-top: 1px solid var(--line); text-align: left; }
.chapter-number { padding-top: 3px; color: var(--muted); font-size: 12px; font-weight: 650; line-height: 1.5; }
.chapter strong { display: block; font-size: 17px; font-weight: 600; line-height: 1.35; }
.chapter small { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.chapter > i { position: absolute; top: 0; right: 0; left: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.chapter.is-active > i { transform: scaleX(var(--chapter-progress, 0)); }
.chapter.is-active strong, .chapter:hover strong { color: var(--blue); }
.after-demo { display: flex; align-items: center; justify-content: space-between; gap: 60px; margin-top: 38px; padding-top: 32px; border-top: 1px solid var(--line); }
.after-demo > p { max-width: 760px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.after-demo strong { color: var(--ink); }
.after-demo > .button { flex-shrink: 0; }
.sim-feature { display: grid; grid-template-columns: 1fr 1.08fr; gap: 60px; align-items: center; padding: 55px 0 0; margin-top: 65px; border-top: 1px solid var(--line); }
.section-heading + .sim-feature { margin-top: 0; padding-top: 0; border-top: 0; }
.functional-label { margin-bottom: 16px; color: var(--blue) !important; font-size: 14px !important; line-height: 1.3 !important; font-weight: 600; }
.sim-feature h3 { max-width: 500px; margin-bottom: 20px; font-size: clamp(30px, 2.9vw, 41px); line-height: 1.15; letter-spacing: -.035em; }
.sim-feature .editorial-copy > p:not(.functional-label) { font-size: 18px; }
.sim-preview { padding: 29px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--surface); box-shadow: 0 16px 35px rgba(10,25,40,.04); }
.sim-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.4; color: var(--muted); }
.live-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #2d9a77; }
.sim-comparison { display: grid; gap: 24px; padding-top: 25px; }
.sim-comparison > div > span { display: block; margin-bottom: 9px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.sim-comparison strong { position: relative; display: block; height: 1.15em; overflow: hidden; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.15; font-weight: 600; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.sim-comparison strong > span { display: block; white-space: nowrap; }
.margin-demo { color: var(--blue); }
.motion-on .sim-comparison strong > span { animation: demo-value 8s var(--ease) infinite; }
.sim-bars { display: flex; align-items: end; gap: 8px; height: 51px; margin-top: 24px; }
.sim-bars > span { width: 100%; height: 72%; border-radius: 2px 2px 0 0; background: var(--blue); opacity: .3; transform-origin: bottom; }
.sim-bars > span:nth-child(2n) { height: 91%; opacity: .45; }
.sim-bars > span:nth-child(3n) { height: 60%; opacity: .6; }
.motion-on .sim-bars > span { animation: demo-bar 8s var(--ease) infinite; }
.sim-preview > p { max-width: 470px; margin-top: 20px; font-size: 12px; line-height: 1.55; color: var(--muted); }

/* FAQ and message form stay readable rather than becoming ornamental cards. */
.faq-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: 100px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 25px 0; cursor: pointer; list-style: none; font-size: 21px; font-weight: 550; line-height: 1.4; letter-spacing: -.015em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { position: relative; display: block; width: 18px; height: 18px; flex-shrink: 0; }
.faq-list summary > span::before, .faq-list summary > span::after { content: ""; position: absolute; top: 8px; left: 1px; width: 16px; height: 1.5px; border-radius: 1px; background: currentColor; }
.faq-list summary > span::after { transform: rotate(90deg); transition: transform .3s; }
.faq-list details[open] summary > span::after { transform: rotate(0deg); }
.faq-list details > p { max-width: 680px; padding: 0 46px 26px 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.faq-list summary:hover { color: var(--blue); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.contact-intro h2 { max-width: 460px; }
.contact-intro p { font-size: 20px; }
.contact-person { display: flex; align-items: center; gap: 16px; margin-top: 35px; }
.contact-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.contact-person strong, .contact-person span { display: block; }
.contact-person strong { font-size: 16px; }
.contact-person span { margin-top: 3px; color: var(--muted); font-size: 14px; }
.contact-direct { display: grid; justify-items: start; gap: 10px; margin-top: 25px; }
.contact-direct a { font-size: 18px; font-weight: 550; overflow-wrap: anywhere; }
.contact-direct a:hover { color: var(--blue); }
.form-shell { min-width: 0; }
#richiesta { scroll-margin-top: 0; }
.request-section .contact-intro { position: sticky; top: 132px; }
.request-section .form-shell { padding: 34px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.form-group { min-width: 0; padding: 0; margin: 0; border: 0; }
.form-group + .form-group { margin-top: 34px; }
.form-group > legend { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; margin-bottom: 26px; color: var(--ink); font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.form-group + .form-group > legend { padding-top: 29px; border-top: 1px solid var(--line); }
.form-step-number { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 31px; height: 31px; border-radius: 50%; color: var(--blue); background: var(--blue-soft); font-size: 11px; font-weight: 650; letter-spacing: .015em; font-variant-numeric: tabular-nums; }
.form-review-intro { max-width: 520px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.form-review > .button { margin-top: 22px; }
.form-review .request-result { margin-top: 28px; padding-top: 25px; }
.form-review .request-result h3 { font-size: 23px; }
.form-review .request-result .actions { gap: 12px; }
.form-review .request-result .button { min-height: 48px; padding-inline: 20px; font-size: 14px; }
.request-section .field input, .request-section .field select, .request-section .field textarea { background: var(--paper); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.field { min-width: 0; }
.field.full, .conditional { grid-column: 1 / -1; }
.conditional { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.field label { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.optional { color: var(--muted); font-size: 12px; font-weight: 400; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 55px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--ink); font-size: 16px; line-height: 1.5; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.form-shell form > .button { margin-top: 25px; }
.form-foot, .form-help { margin-top: 19px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.form-foot a { text-decoration: underline; text-underline-offset: 3px; }
.request-result { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.request-result h3 { font-size: 26px; }
#message-preview { overflow-wrap: anywhere; white-space: pre-wrap; margin: 24px 0; padding: 20px; background: var(--soft); border-radius: 5px; color: var(--ink); font: inherit; font-size: 15px; line-height: 1.6; }
.copy-button { border: 0; background: none; padding: 12px 0; color: var(--blue); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.copy-status { margin-top: 15px; color: var(--muted); font-size: 14px; }

/* A compact footer: useful paths first, company information in one quiet row. */
.footer { padding: 48px 0 24px; border-top: 1px solid var(--line); background: var(--footer); }
.footer-main { display: grid; grid-template-columns: 1.1fr 1.2fr .8fr; gap: 65px; align-items: start; }
.footer .brand img { width: 38px; }
.footer .brand strong { font-size: 22px; }
.footer .brand small { font-size: 9px; }
.footer-main > div:first-child > p { max-width: 270px; margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-main nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 25px; }
.footer-main nav a, .footer-contacts a { font-size: 14px; font-weight: 500; line-height: 1.5; }
.footer-main nav a:hover, .footer-contacts a:hover { color: var(--blue); }
.footer-contacts { display: grid; gap: 15px; justify-items: start; min-width: 0; padding-left: 28px; border-left: 1px solid var(--line); }
.footer-contact { display: grid; gap: 3px; max-width: 100%; min-width: 0; color: var(--ink); }
.footer-contact > span { color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: .035em; }
.footer-contact > strong { font-size: 16px; font-weight: 650; line-height: 1.4; letter-spacing: -.015em; overflow-wrap: anywhere; }
.footer-contacts .footer-whatsapp { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; max-width: 100%; padding: 8px 14px; border: 1px solid var(--line); border-radius: 5px; font-size: 13px; font-weight: 600; line-height: 1.4; transition: color .25s, background .25s, border-color .25s; }
.footer-contacts .footer-whatsapp:hover { color: var(--ink); border-color: var(--blue); background: var(--blue-soft); }
.company-details { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 34px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }
.company-details p, .company-details address { font-size: 12px; line-height: 1.6; font-style: normal; }
.company-details p:first-child strong { display: inline-block; margin-right: 13px; color: var(--ink); font-weight: 600; }
.company-details p:first-child span { white-space: normal; }
.company-details p:last-child { white-space: nowrap; }
.company-details p:last-child strong { font-weight: 500; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 19px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.footer-bottom > div { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.footer-bottom a:hover, .motion-toggle:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.motion-toggle { padding: 0; color: inherit; background: none; border: 0; font-size: inherit; line-height: inherit; }
.error-page { min-height: 70vh; padding-top: 200px; }
.error-page h1 { max-width: 900px; margin-bottom: 35px; }

/* Readable legal pages share the site navigation and theme. */
.legal-page { padding-top: clamp(150px, 14vw, 210px); }
.legal-document { max-width: 840px; margin-inline: auto; }
.legal-document h1 { font-size: clamp(40px, 5.2vw, 64px); margin-bottom: 24px; }
.legal-document h2 { font-size: clamp(25px, 3vw, 34px); line-height: 1.25; margin-top: 44px; margin-bottom: 18px; letter-spacing: -.025em; }
.legal-document h3 { font-size: 22px; margin-top: 26px; margin-bottom: 12px; }
.legal-document p, .legal-document li { font-size: 18px; line-height: 1.75; color: var(--muted); }
.legal-document p + p { margin-top: 16px; }
.legal-document ul { padding-left: 24px; margin-block: 18px; }
.legal-document a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.legal-document .legal-date { font-size: 15px; margin-bottom: 28px; }

/* Elements arrive like a sheet settling into place. No cards tilt on hover. */
.motion-on .reveal-ready { opacity: 0; transform: perspective(1200px) translateY(32px) rotateX(5deg); transform-origin: center bottom; transition: opacity .8s var(--ease) var(--reveal-delay, 0ms), transform .8s var(--ease) var(--reveal-delay, 0ms); }
.motion-on .reveal-ready.is-visible { opacity: 1; transform: none; }
.motion-paused .reveal-ready { opacity: 1; transform: none; transition: none; }
.motion-paused .hero-image, .motion-paused .photo-section > img { transform: scale(1.035); }
.motion-paused .gallery-slide, .motion-paused .button { transition-duration: .01ms; }
.motion-paused .gallery-slide img, .motion-paused .sim-comparison strong > span, .motion-paused .sim-bars > span, .motion-paused .hero-scroll > span::after { animation: none; }
@keyframes photo-drift { from { transform: scale(1.025); } to { transform: scale(1.095); } }
@keyframes scroll-cue { 0%, 15% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 65%, 100% { transform: translateY(10px); opacity: 0; } }
@keyframes demo-value { 0%, 37%, 100% { transform: translateY(0); } 48%, 87% { transform: translateY(-100%); } }
@keyframes demo-bar { 0%, 37%, 100% { transform: scaleY(1); } 48%, 87% { transform: scaleY(.7); } }
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) { scroll-behavior: auto; }
  html:not(.motion-on) *, html:not(.motion-on) *::before, html:not(.motion-on) *::after { animation: none !important; transition-duration: .01ms !important; }
  html:not(.motion-on) .reveal-ready { opacity: 1; transform: none; }
}

@media (min-width: 1800px) {
  .header { left: max(24px, calc((100vw - 1720px) / 2)); right: max(24px, calc((100vw - 1720px) / 2)); }
  .hero-content h1 { font-size: 88px; }
  .home-hero .hero-content h1 { font-size: 92px; }
  .photo-section { min-height: 760px; }
}
@media (max-width: 1270px) and (min-width: 1161px) {
  .header-inner { padding-inline: 17px; gap: 19px; }
  .brand { gap: 9px; }
  .brand img { width: 38px; }
  .brand strong { font-size: 21px; }
  .brand small { font-size: 9px; }
  .nav { gap: 17px; }
  .nav a { font-size: 13px; }
  .header-actions { gap: 8px; }
  .portal-link { padding-inline: 12px; }
}
@media (max-width: 1160px) {
  .wrap { width: calc(100% - 80px); }
  .header { left: 20px; right: 20px; }
  .header-inner { padding-inline: 22px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 10px); grid-template-columns: 1fr 1fr; gap: 0 30px; padding: 22px 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
  .nav.open { display: grid; }
  .nav a { padding: 16px 0; font-size: 17px; }
  .nav a::after { bottom: 9px; }
  .nav .mobile-portal { display: block; color: var(--blue); }
  .hero-content h1 { max-width: 850px; }
  .hero-lead { max-width: 600px; }
  .photo-hero > .hero-scroll { left: 40px; }
  .section-heading { gap: 50px; }
  .section-heading > p { font-size: 19px; }
  .steps, .benefits, .purchase-grid { gap: 28px; }
  .step h3, .benefit h3, .purchase-grid h3 { font-size: 23px; }
  .split { gap: 50px; }
  .personal-layout { gap: 55px; }
  .portrait-frame { height: 520px; }
  .faq-layout { gap: 60px; }
  .contact-layout { gap: 55px; }
  .sim-feature { gap: 40px; }
  .sim-preview { padding: 24px; }
  .sim-comparison strong { font-size: 28px; }
  .footer-main { gap: 35px; grid-template-columns: 1fr 1.1fr .9fr; }
  .footer-main nav { grid-template-columns: 1fr; gap: 6px; }
  .footer-contacts { gap: 14px; padding-left: 23px; }
  .company-details { align-items: start; gap: 18px; }
  .company-details p:first-child strong { display: block; margin-right: 0; }
}
@media (max-width: 900px) {
  .photo-hero { min-height: max(780px, 90svh); }
  .home-hero { min-height: max(800px, 100svh); }
  .hero-content { padding-top: 155px; padding-bottom: 150px; }
  .hero-shade { background: linear-gradient(90deg,rgba(5,13,22,.85),rgba(5,13,22,.5) 70%,rgba(5,13,22,.25)); }
  .home-hero .hero-content h1 { font-size: clamp(48px, 6.5vw, 66px); }
  .hero-content h1 { font-size: clamp(47px, 6.7vw, 68px); max-width: 760px; }
  .hero-bottom { gap: 30px; }
  .gallery-controls { width: 60%; gap: 13px; }
  .gallery-controls button { gap: 6px; font-size: 12px; }
  .service-nav a { padding-inline: 20px; }
  .service-nav span { font-size: 18px; }
  .service-nav small { font-size: 12px; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; margin-bottom: 45px; }
  #piattaforma .section-heading { grid-template-columns: 1fr; }
  .section-heading h2 { max-width: 740px; }
  .section-heading > p { max-width: 700px; padding-bottom: 0; }
  .steps, .benefits, .purchase-grid { gap: 22px; }
  .step h3, .benefit h3, .purchase-grid h3 { font-size: 22px; }
  .step p, .benefit p, .purchase-grid p { font-size: 16px; }
  .step-number { margin-bottom: 22px; }
  .photo-section { min-height: 600px; }
  .photo-section .editorial-copy { max-width: 600px; }
  .photo-section .editorial-copy p { font-size: 20px; }
  .photo-overlay { background: linear-gradient(90deg,rgba(5,13,22,.87),rgba(5,13,22,.6) 70%,rgba(5,13,22,.25)); }
  .editorial-copy p { font-size: 18px; }
  .personal-layout { grid-template-columns: .85fr 1fr; gap: 40px; }
  .portrait-frame { height: 470px; }
  .personal-layout h2 { font-size: 39px; }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-list summary { font-size: 21px; }
  .sim-feature { grid-template-columns: 1fr; gap: 35px; }
  .sim-feature .editorial-copy { max-width: 680px; }
  .sim-feature h3 { max-width: 650px; }
  .sim-preview { max-width: 700px; }
  .sim-comparison { grid-template-columns: 1fr 1.1fr; gap: 20px; }
  .sim-comparison strong { font-size: 27px; }
  .sim-bars { height: 40px; }
  .after-demo { gap: 30px; }
  .after-demo .button { max-width: 210px; }
  .chapters { gap: 15px; }
  .chapter { gap: 9px; }
  .chapter strong { font-size: 16px; }
  .chapter small { font-size: 13px; }
  .chapters:has(.chapter:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; gap: 50px; }
  .contact-intro { max-width: 650px; }
  .request-section .contact-intro { position: static; }
  .form-shell { max-width: 760px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 45px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-main > div:first-child > p { max-width: 600px; margin-top: 12px; }
  .footer-main nav { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
  .company-details { flex-wrap: wrap; justify-content: start; gap: 12px 30px; }
  .footer-bottom { align-items: start; }
  .footer-bottom > div { justify-content: end; gap: 13px 20px; }
}
@media (max-width: 650px) {
  :root { --section-space: 70px; }
  body { font-size: 17px; }
  .wrap { width: calc(100% - 40px); }
  h1 { font-size: clamp(40px, 9vw, 52px); }
  h2 { font-size: clamp(33px, 7.8vw, 44px); }
  h3 { font-size: 23px; }
  html { scroll-padding-top: 100px; }
  .header { top: 12px; left: 12px; right: 12px; height: 65px; border-radius: 7px; }
  .header-inner { padding-inline: 13px; gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 32px; }
  .brand strong { font-size: 21px; letter-spacing: .015em; }
  .header .brand small { display: none; }
  .header-actions { gap: 6px; }
  .theme-toggle, .menu-toggle { padding: 9px 10px; min-height: 37px; font-size: 12px; }
  .header .portal-link { display: none; }
  .nav { grid-template-columns: 1fr; top: calc(100% + 8px); padding: 12px 22px; max-height: calc(100svh - 105px); overflow-y: auto; }
  .nav a { padding: 14px 0; font-size: 17px; }
  .photo-hero { min-height: 800px; }
  .home-hero { min-height: max(800px, 100svh); }
  .hero-content { padding-top: 140px; padding-bottom: 125px; }
  .hero-content h1, .home-hero .hero-content h1 { max-width: 100%; font-size: clamp(40px, 9.8vw, 61px); line-height: 1.07; letter-spacing: -.045em; }
  .home-hero h1 > span { display: inline; }
  .home-hero h1 > span + span::before { content: " "; }
  .hero-lead { max-width: 520px; margin-top: 24px; font-size: 18px; line-height: 1.6; }
  .hero-lead br { display: none; }
  .hero-content .actions { gap: 11px; margin-top: 27px; }
  .hero-content > .button { margin-top: 23px; margin-right: 6px; }
  .hero-content > .button + .button { margin-top: 12px; }
  .button { min-height: 52px; padding: 14px 20px; font-size: 15px; }
  .hero-content .button { max-width: 100%; }
  .photo-hero > .hero-scroll { left: 20px; bottom: 32px; }
  .hero-scroll { font-size: 12px; }
  .home-hero .hero-content { padding-bottom: 175px; }
  .hero-bottom { bottom: 29px; display: block; }
  .hero-bottom > .hero-scroll { display: none; }
  .gallery-controls { width: 100%; max-width: 550px; gap: 16px; }
  .gallery-controls button { min-height: 49px; gap: 7px; padding-bottom: 15px; font-size: 12px; }
  .gallery-controls button > span { font-size: 10px; }
  .hero-image { inset: -2%; }
  .hero-image img { object-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg,rgba(5,13,22,.78),rgba(5,13,22,.38)),linear-gradient(0deg,rgba(5,13,22,.72),transparent 60%); }
  .about-hero { min-height: 980px; display: block; }
  .about-hero .hero-image { left: -3%; right: -3%; top: 0; bottom: auto; height: 620px; }
  .about-hero .hero-image img { object-position: center 25%; }
  .about-hero .hero-shade { background: linear-gradient(0deg,#10161d 5%,rgba(16,22,29,.95) 35%,rgba(16,22,29,.15) 70%); }
  .about-hero .hero-content { padding-top: 430px; padding-bottom: 125px; }
  .about-hero h1 { font-size: clamp(38px, 9.5vw, 58px); }
  .about-hero .hero-lead { font-size: 17px; }
  .service-nav { grid-template-columns: 1fr; }
  .service-nav a, .service-nav a:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 22px 0; }
  .service-nav a + a { border-top: 1px solid var(--line); border-left: 0; }
  .service-nav span { font-size: 18px; }
  .service-nav small { width: 44%; margin: 0; font-size: 12px; }
  .section-heading { gap: 24px; margin-bottom: 36px; }
  .section-heading > p { font-size: 18px; line-height: 1.65; }
  .steps, .benefits, .purchase-grid { grid-template-columns: 1fr; gap: 30px; }
  .step, .benefit, .purchase-grid article { padding-top: 23px; }
  .step-number { margin-bottom: 18px; font-size: 13px; }
  .step h3, .benefit h3, .purchase-grid h3 { margin-bottom: 12px; font-size: 25px; }
  .step p, .benefit p, .purchase-grid p { font-size: 18px; }
  .split { grid-template-columns: 1fr; gap: 22px; }
  .editorial-copy h2 { margin-bottom: 22px; }
  .split > .editorial-copy:first-child h2 { margin-bottom: 0; }
  .editorial-copy p { font-size: 18px; line-height: 1.65; }
  .section-bottom { align-items: start; flex-direction: column; gap: 22px; margin-top: 34px; }
  .section-bottom p { font-size: 14px; }
  .photo-section { min-height: 660px; }
  .photo-section > img { object-position: 58% center; }
  .photo-section > .wrap { padding-block: 80px; }
  .photo-overlay > .wrap { padding-block: 60px; }
  .photo-overlay { background: linear-gradient(90deg,rgba(5,13,22,.81),rgba(5,13,22,.56)),linear-gradient(0deg,rgba(5,13,22,.5),transparent); }
  .photo-section .editorial-copy p { font-size: 18px; }
  .photo-section h2 { max-width: 100%; }
  .personal-layout { grid-template-columns: 1fr; gap: 36px; }
  .portrait-frame { height: min(110vw, 550px); }
  .personal-layout h2 { font-size: clamp(34px, 8vw, 45px); }
  .quote blockquote { font-size: clamp(30px, 7.2vw, 43px); line-height: 1.3; }
  .quote p { font-size: 14px; }
  .closing .split { grid-template-columns: 1fr; gap: 25px; }
  .closing .actions { align-items: start; }
  .demo-heading { display: block; margin-bottom: 20px; }
  .demo-heading h3 { margin-bottom: 12px; font-size: 22px; }
  .demo-heading .inline-link { font-size: 14px; }
  .video-top { padding: 10px 12px; font-size: 10px; gap: 8px; }
  .video-top > span:last-child { white-space: nowrap; }
  .video-frame { border-radius: 8px; }
  .video-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; padding: 15px 0 20px; }
  .video-tools button { text-align: left; font-size: 13px; }
  .video-tools p { grid-column: 1 / -1; grid-row: 2; margin: 0; font-size: 12px; }
  .video-tools button[data-fullscreen] { text-align: right; }
  .chapters, .chapters:has(.chapter:nth-child(4)) { grid-template-columns: 1fr; gap: 0; }
  .chapter { padding: 17px 0; gap: 13px; }
  .chapter strong { font-size: 17px; }
  .chapter small { margin-top: 4px; font-size: 13px; }
  .chapter-number { font-size: 11px; }
  .after-demo { align-items: start; flex-direction: column; gap: 22px; margin-top: 24px; padding-top: 26px; }
  .after-demo > p { font-size: 17px; }
  .after-demo .button { max-width: none; }
  .sim-feature { gap: 30px; margin-top: 44px; padding-top: 40px; }
  .sim-feature h3 { font-size: 32px; }
  .sim-preview { padding: 21px; }
  .sim-preview-head { font-size: 11px; padding-bottom: 18px; }
  .sim-comparison { grid-template-columns: 1fr; gap: 21px; padding-top: 21px; }
  .sim-comparison strong { font-size: 29px; }
  .sim-comparison > div > span { font-size: 12px; }
  .sim-bars { height: 40px; gap: 7px; }
  .sim-preview > p { font-size: 12px; }
  .faq-layout { gap: 32px; }
  .faq-list summary { gap: 20px; padding-block: 23px; font-size: 19px; }
  .faq-list details > p { padding-right: 15px; font-size: 17px; }
  .contact-layout { gap: 38px; }
  .request-section .form-shell { padding: 24px 20px; border-radius: 7px; }
  .form-group > legend { gap: 10px; margin-bottom: 23px; font-size: 20px; }
  .form-group + .form-group { margin-top: 29px; }
  .form-group + .form-group > legend { padding-top: 25px; }
  .form-step-number { flex-basis: 28px; height: 28px; font-size: 10px; }
  .form-review-intro { font-size: 15px; }
  .form-review .request-result h3 { font-size: 21px; }
  .contact-person { margin-top: 26px; }
  .contact-direct a { font-size: 17px; }
  .form-grid, .conditional { grid-template-columns: 1fr; gap: 22px; }
  .field label { font-size: 14px; }
  .field input, .field select, .field textarea { padding-inline: 13px; }
  .form-foot { font-size: 12px; }
  .request-result h3 { font-size: 24px; }
  #message-preview { padding: 16px; font-size: 14px; }
  .footer { padding-block: 38px 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-main > div:first-child { grid-column: auto; }
  .footer .brand img { width: 34px; }
  .footer .brand strong { font-size: 22px; }
  .footer .brand small { font-size: 9px; }
  .footer-main nav { grid-template-columns: 1fr 1fr; gap: 11px 20px; }
  .footer-main nav a, .footer-contacts a { font-size: 14px; }
  .footer-contacts { gap: 15px; padding-top: 24px; padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .company-details { display: grid; gap: 11px; margin-top: 27px; padding-block: 20px; }
  .company-details p, .company-details address { font-size: 12px; }
  .company-details p:first-child strong { margin-bottom: 4px; }
  .footer-bottom { display: block; font-size: 11px; }
  .footer-bottom > div { justify-content: start; gap: 15px 20px; margin-top: 19px; }
  .error-page { min-height: 65vh; padding-top: 150px; }
  .motion-on .reveal-ready { transform: perspective(1200px) translateY(24px) rotateX(3deg); }
  .motion-on .reveal-ready.is-visible { transform: none; }
}
@media (max-width: 370px) {
  .header-inner { padding-inline: 10px; gap: 7px; }
  .header .brand { gap: 6px; }
  .header .brand img { width: 27px; }
  .header .brand strong { font-size: 18px; }
  .theme-toggle, .menu-toggle { padding-inline: 8px; font-size: 11px; }
  .header-actions { gap: 5px; }
  .hero-content h1, .home-hero .hero-content h1 { font-size: 39px; }
  .hero-lead { font-size: 17px; }
  .home-hero { min-height: 840px; }
  .gallery-controls { gap: 10px; }
  .gallery-controls button { font-size: 11px; gap: 5px; }
  .hero-content .button { padding-inline: 16px; font-size: 14px; }
  .service-nav span { font-size: 17px; }
  .service-nav small { font-size: 11px; }
  .video-top > span:last-child { display: none; }
  .sim-comparison strong { font-size: 26px; }
}
@media (min-width: 901px) and (max-height: 780px) {
  .photo-hero { min-height: 730px; }
  .home-hero { min-height: 740px; }
  .hero-content { padding-top: 145px; padding-bottom: 125px; }
  .home-hero .hero-content { padding-bottom: 145px; }
  .hero-content h1, .home-hero .hero-content h1 { font-size: clamp(54px, 5.15vw, 74px); }
  .hero-lead { margin-top: 22px; font-size: 19px; max-width: 590px; }
  .hero-content .actions { margin-top: 26px; }
  .hero-bottom { bottom: 28px; }
}

/* Movement remains a visible choice in the first screen. */
.hero-motion{position:absolute;z-index:3;right:max(56px,calc((100vw - 1320px)/2));bottom:47px;color:#fff;font-size:13px}
.hero-motion-inline{color:#fff;font-size:13px;white-space:nowrap;align-self:end;padding-bottom:5px}
.photo-hero .motion-toggle:hover{color:#fff}
@media(max-width:900px){.hero-motion-inline{position:absolute;left:0;bottom:65px}.hero-motion{right:40px}}
@media(max-width:650px){.hero-motion{right:20px;bottom:36px;font-size:12px}.hero-motion-inline{left:0;bottom:66px;font-size:12px}}

.video-frame{scroll-margin-top:0}
@media(min-width:900px) and (min-height:650px){.video-frame{width:min(100%,calc((100svh - 210px)*1.6));margin-inline:auto}}
html[data-theme="dark"] .brand img{filter:brightness(0) invert(1)}
.header .brand{color:var(--ink)}
.motion-on .hero-content h1{animation:hero-arrival .9s var(--ease) both}
.motion-on .hero-content .hero-lead{animation:hero-arrival .9s var(--ease) .12s both}
.motion-on .hero-content .actions{animation:hero-arrival .9s var(--ease) .22s both}
@keyframes hero-arrival{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
