:root {
  color-scheme: light;
  --ink: #1d1a2b;
  --muted: #555164;
  --violet: #5b2bd6;
  --violet-dark: #4520a9;
  --lavender: #f6f4fb;
  --lavender-strong: #eee8fb;
  --line: #e7e2ef;
  --white: #fff;
  --shadow: 0 24px 60px rgba(52, 31, 109, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; line-height: 1.5; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a883ff; outline-offset: 4px; }
::selection { background: #e6dafa; color: var(--ink); }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding-block: clamp(76px, 8vw, 116px); }
section[id], header[id], article[id] { scroll-margin-top: 100px; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 16px; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 12px; }

/* Navigation */
.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; color: var(--ink); text-decoration: none; font-size: 1.08rem; font-weight: 680; letter-spacing: -.03em; white-space: nowrap; }
.brand picture, .brand img { width: 48px; height: 34px; object-fit: contain; }
.brand strong { color: var(--violet); font-weight: 750; }
.desktop-nav, .header-actions, .language-switch { display: flex; align-items: center; }
.desktop-nav { gap: clamp(14px, 2vw, 30px); }
.desktop-nav a { text-decoration: none; font-size: .9rem; font-weight: 620; color: var(--muted); white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--violet); }
.header-actions { gap: 15px; }
.language-switch { gap: 2px; padding: 3px; background: #f2eff9; border-radius: 10px; }
.language-switch a { min-width: 30px; padding: 5px 6px; border-radius: 7px; text-decoration: none; text-align: center; color: #504a63; font-size: .75rem; font-weight: 700; }
.language-switch a[aria-current="page"] { background: var(--white); color: var(--violet-dark); box-shadow: 0 1px 4px rgba(36,25,73,.1); }
.language-switch a:hover { color: var(--violet); }
.mobile-nav { display: none; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 12px; text-decoration: none; text-align: center; font-size: .94rem; line-height: 1.25; font-weight: 700; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--violet); color: var(--white); box-shadow: 0 10px 20px rgba(91,43,214,.16); }
.button-primary:hover { background: var(--violet-dark); color: var(--white); box-shadow: 0 14px 26px rgba(91,43,214,.23); }
.button-outline { color: var(--violet-dark); border-color: #c8b7ee; background: rgba(255,255,255,.72); }
.button-outline:hover { background: var(--white); }
.button-light { background: var(--white); color: var(--violet-dark); }
.button-light:hover { background: #eee8fb; color: var(--violet-dark); }
.button-small { min-height: 40px; padding: 9px 14px; font-size: .78rem; white-space: nowrap; }

/* First screen */
.hero { overflow: hidden; background: radial-gradient(circle at 76% 23%, #ece5fc 0, transparent 43%), linear-gradient(180deg, #fff 0%, var(--lavender) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr); align-items: center; gap: clamp(36px, 5vw, 72px); min-height: 650px; padding-block: 86px 100px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-kicker { margin: 0 0 20px; color: var(--violet-dark); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 680px; font-size: clamp(3.15rem, 5.2vw, 5.3rem); line-height: 1.06; letter-spacing: -.065em; font-weight: 760; }
.hero h1 span { display: block; }
.hero h1 .accent, .period { color: var(--violet); }
.hero-subtitle { max-width: 530px; margin: 28px 0 0; color: #444052; font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.65; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-visual { position: relative; overflow: hidden; border: 1px solid #e8e1f4; border-radius: 30px; background: var(--lavender); box-shadow: var(--shadow); }
.hero-visual::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); pointer-events: none; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* Factual strip and introduction */
.facts-strip { background: #252137; color: var(--white); }
.facts-strip ul { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 25px; align-items: center; margin: 0; padding: 23px 0; list-style: none; }
.facts-strip li { display: flex; align-items: center; gap: 12px; color: #f1edfb; font-size: .84rem; font-weight: 650; }
.facts-strip li::before { content: ""; display: block; width: 6px; height: 6px; flex: none; border-radius: 50%; background: #a482fa; }
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 7vw, 110px); align-items: start; }
.about h2, .section-heading h2, .request h2, .contact h2 { margin: 0; font-size: clamp(2.45rem, 4vw, 3.7rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 750; }
.about-copy { margin: 7px 0 0; max-width: 720px; color: #3c384a; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.55; letter-spacing: -.025em; }

/* Services */
.services { background: var(--lavender); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px; }
.section-heading .section-kicker { margin-bottom: 16px; }
.section-heading > p { max-width: 360px; margin: 0 0 4px; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { display: flex; flex-direction: column; min-width: 0; min-height: 490px; padding: clamp(24px, 2.5vw, 34px); border: 1px solid #e6e1ed; border-radius: 22px; background: var(--white); box-shadow: 0 12px 30px rgba(36,22,82,.045); }
.service-icon { display: grid; place-items: center; width: 64px; height: 64px; flex: none; margin-bottom: 30px; border-radius: 16px; background: #eee7fd; color: var(--violet); }
.service-icon svg { width: 32px; height: 32px; }
.service-card h3 { margin: 0 0 14px; font-size: clamp(1.23rem, 1.75vw, 1.5rem); line-height: 1.25; letter-spacing: -.035em; }
.service-card p { margin: 0 0 22px; color: var(--muted); font-size: .96rem; line-height: 1.6; }
.service-points { display: grid; gap: 9px; margin: 0 0 24px; padding: 0; list-style: none; }
.service-points li { position: relative; padding-left: 18px; color: #383447; font-size: .86rem; line-height: 1.5; }
.service-points li::before { content: ""; position: absolute; top: .52em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.text-link { align-self: flex-start; margin-top: auto; color: var(--violet-dark); font-size: .9rem; font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Process */
.process .section-heading { margin-bottom: 48px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { counter-increment: step; padding-top: 21px; border-top: 2px solid #dad0ed; }
.step::before { content: "0" counter(step); display: block; margin-bottom: 28px; color: var(--violet); font-size: .9rem; font-weight: 800; letter-spacing: .04em; }
.step h3 { margin: 0 0 12px; font-size: 1.2rem; line-height: 1.3; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.6; }

/* Inquiry guide */
.request { padding-top: 20px; }
.request-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 85px); align-items: center; padding: clamp(32px, 5vw, 66px); border-radius: 28px; background: radial-gradient(circle at 100% 0, #3e306f 0, transparent 50%), #221e35; color: var(--white); }
.request .section-kicker { color: #cbbaff; }
.request h2 { max-width: 520px; }
.request .period { color: #ae8cff; }
.request-copy > p:not(.section-kicker) { margin: 24px 0 30px; color: #e2dcea; font-size: 1rem; line-height: 1.6; }
.request-list { margin: 0; padding: 0; list-style: none; }
.request-list li { position: relative; padding: 17px 0 17px 30px; border-bottom: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 1rem; font-weight: 570; }
.request-list li:last-child { border-bottom: none; }
.request-list li::before { content: "✓"; position: absolute; left: 0; color: #c6acff; font-weight: 800; }

/* Contact and footer */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(40px, 8vw, 110px); }
.contact-lead > p:not(.section-kicker) { margin: 25px 0 30px; color: var(--muted); font-size: 1.12rem; }
.contact-email, .contact-phone { display: block; width: fit-content; text-decoration: none; font-weight: 700; letter-spacing: -.03em; }
.contact-email { margin-bottom: 8px; color: var(--violet-dark); font-size: clamp(1.3rem, 2vw, 1.7rem); }
.contact-phone { color: var(--ink); font-size: 1.13rem; }
.contact-email:hover, .contact-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-lead .button { margin-top: 32px; }
.contact-details { padding: clamp(28px, 3.5vw, 46px); border: 1px solid var(--line); border-radius: 24px; background: #faf9fd; }
.contact-details h3 { margin: 0 0 24px; color: var(--muted); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.legal-name { margin: 0 0 13px; font-size: 1.16rem; font-weight: 800; }
.legal-ids { display: flex; gap: 28px; margin: 0 0 30px; }
.legal-ids div { display: flex; gap: 6px; }
.legal-ids dt { color: var(--muted); }
.legal-ids dd { margin: 0; font-weight: 700; }
.address { padding-top: 19px; border-top: 1px solid var(--line); }
.address + .address { margin-top: 19px; }
.address h4 { margin: 0 0 6px; color: #3f3a51; font-size: .9rem; font-weight: 740; }
.address p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.site-footer { background: #1c192a; color: #efecf8; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 98px; padding-block: 22px; }
.footer-inner p { margin: 0; font-size: .8rem; line-height: 1.6; }
.footer-inner p span { display: block; color: #c6c0d5; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 13px; }
.site-footer a { color: #efecf8; font-size: .8rem; font-weight: 650; text-decoration: none; }
.site-footer a[aria-current="page"] { color: #c7aaff; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.back-top { white-space: nowrap; }

@media (max-width: 980px) {
  .desktop-nav, .header-actions { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); cursor: pointer; font-size: .86rem; font-weight: 700; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 18px; height: 2px; background: var(--violet); border-radius: 2px; }
  .menu-lines { position: relative; }
  .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
  .menu-lines::before { top: -6px; }
  .menu-lines::after { top: 6px; }
  .mobile-panel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 55; width: min(360px, calc(100vw - 24px)); display: grid; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
  .mobile-panel nav:first-child { display: grid; gap: 4px; }
  .mobile-panel nav:first-child a { padding: 8px 0; color: var(--ink); text-decoration: none; font-weight: 650; }
  .mobile-languages { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 16px; border-top: 1px solid var(--line); }
  .mobile-languages a { padding: 7px 10px; border-radius: 8px; background: var(--lavender); color: var(--ink); text-decoration: none; font-size: .82rem; font-weight: 700; }
  .mobile-languages a[aria-current="page"] { background: var(--violet); color: var(--white); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; min-height: 0; padding-block: 80px; }
  .hero-copy { max-width: 680px; }
  .hero h1 { font-size: clamp(3.5rem, 8vw, 5.2rem); }
  .hero-visual { max-width: 760px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:last-child { grid-column: span 2; min-height: 0; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
  .request-panel { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 64px; }
  .brand { gap: 7px; font-size: .98rem; }
  .brand picture, .brand img { width: 40px; height: 29px; }
  .hero-grid { gap: 34px; padding-block: 58px 68px; }
  .hero h1 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .hero-subtitle { margin-top: 22px; font-size: 1rem; }
  .hero-buttons { display: grid; grid-template-columns: 1fr; margin-top: 28px; }
  .hero-visual { border-radius: 18px; }
  .facts-strip ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-block: 20px; }
  .facts-strip li { font-size: .72rem; line-height: 1.35; }
  .section-pad { padding-block: 72px; }
  .about h2, .section-heading h2, .request h2, .contact h2 { font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .about-copy { font-size: 1.18rem; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > p { margin-top: 16px; }
  .service-grid, .steps-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:last-child { grid-column: auto; min-height: 0; }
  .service-card { padding: 28px; }
  .service-icon { margin-bottom: 24px; }
  .process .section-heading { margin-bottom: 34px; }
  .steps-grid { gap: 28px; }
  .step::before { margin-bottom: 14px; }
  .request { padding-top: 0; }
  .request-panel { width: 100%; border-radius: 0; padding: 58px 16px; }
  .request-list li { font-size: .95rem; }
  .contact-grid { gap: 42px; }
  .contact-details { padding: 28px; }
  .footer-inner { display: grid; grid-template-columns: 1fr; gap: 15px; padding-block: 28px; }
  .site-footer nav { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
