:root {
  --brand: #17106f;
  --brand-deep: #0c0a3e;
  --brand-soft: #342da0;
  --accent: #92d63b;
  --accent-dark: #5e991c;
  --ink: #15162a;
  --muted: #62657a;
  --line: #e4e5ed;
  --surface: #f6f7fb;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(21, 22, 42, .12);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--brand); color: white; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.surface { background: var(--surface); }
.dark { background: var(--brand-deep); color: var(--white); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--brand); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 30px; height: 3px; border-radius: 3px; background: var(--accent); }
.dark .eyebrow { color: #d8d7ff; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 920px; font-size: clamp(2.6rem, 6vw, 5.5rem); }
h2 { max-width: 820px; font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.34rem; letter-spacing: -.02em; }
.dark h1, .dark h2, .dark h3 { color: white; }
.lead { max-width: 760px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.dark .lead { color: #d5d6e7; }
.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 48px; }
.section-head p { max-width: 500px; margin: 0; color: var(--muted); }
.accent { color: var(--accent-dark); }

.site-header { position: relative; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 0; padding: 34px 0 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: min(520px, 72vw); max-height: 90px; object-fit: contain; object-position: center; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 12px; }
.main-nav a { padding: 10px 16px; border-radius: 8px; color: #5a5c6b; font-size: .91rem; font-weight: 650; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: #464b63; color: white; }
.main-nav .nav-cta { margin-left: 8px; padding-inline: 18px; background: var(--brand); color: white; }
.main-nav .nav-cta:hover, .main-nav .nav-cta[aria-current="page"] { background: var(--brand-soft); color: white; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--surface); color: var(--brand); cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; transition: .2s ease; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; overflow: hidden; padding: 116px 0 92px; background: linear-gradient(145deg, #fafaff 0%, #f4f5fb 55%, #eef6e4 100%); }
.hero::after { content: ""; position: absolute; width: 680px; height: 680px; right: -280px; top: -250px; border: 1px solid rgba(23,16,111,.12); border-radius: 50%; box-shadow: 0 0 0 90px rgba(23,16,111,.025), 0 0 0 180px rgba(146,214,59,.035); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 72px; align-items: center; }
.hero-home { min-height: 660px; display: grid; align-items: center; padding: 120px 0; background: var(--brand-deep); color: white; }
.hero-home::after { inset: 0; width: auto; height: auto; right: 0; top: 0; border: 0; border-radius: 0; box-shadow: none; background: linear-gradient(180deg, rgba(8,8,35,.42) 0%, rgba(9,8,46,.9) 100%); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; filter: saturate(.72) contrast(1.08); }
.hero-center { position: relative; z-index: 2; max-width: 1040px; text-align: center; }
.hero-center .eyebrow { justify-content: center; color: #e7e7f2; }
.hero-center h1 { max-width: none; color: white; font-size: clamp(3.1rem, 7vw, 6.1rem); }
.hero.hero-home .hero-center h1 strong { color: var(--accent); }
.hero-center .lead { max-width: 820px; margin-inline: auto; color: #e3e3ed; }
.hero-center .hero-actions { justify-content: center; }
.hero-specialties { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; margin: 38px 0 0; padding: 0; list-style: none; }
.hero-specialties li { padding: 8px 13px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: white; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(8px); }
.hero h1 strong { color: var(--brand); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 1px solid transparent; border-radius: 12px; background: var(--brand); color: white; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--brand-soft); }
.button-outline { background: transparent; border-color: #c7c8d7; color: var(--brand); }
.button-outline:hover { background: white; }
.button-light { background: white; color: var(--brand); }
.button-light:hover { background: var(--accent); color: var(--brand-deep); }
.hero-panel { position: relative; padding: 30px; border: 1px solid rgba(255,255,255,.85); border-radius: 28px; background: rgba(255,255,255,.8); box-shadow: var(--shadow); }
.hero-panel::before { content: ""; position: absolute; width: 96px; height: 5px; left: 30px; top: 0; background: var(--accent); border-radius: 0 0 4px 4px; }
.hero-panel img { width: 92px; }
.hero-panel h2 { margin-top: 28px; font-size: 1.6rem; }
.hero-panel p { margin: 14px 0 0; color: var(--muted); }
.hero-visual { position: relative; min-height: 580px; margin: 0; overflow: hidden; border-radius: 30px; background: var(--brand-deep); box-shadow: var(--shadow); }
.hero-visual > img { display: block; width: 100%; height: 580px; object-fit: cover; object-position: 56% center; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(9,8,46,.88) 100%); }
.hero-visual-caption { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; color: white; }
.hero-visual-caption strong { display: block; max-width: 360px; font-size: 1.25rem; line-height: 1.25; }
.hero-visual-caption span { display: block; margin-top: 8px; color: #d8d8e8; font-size: .88rem; }
.signal-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.signal-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: .95rem; font-weight: 700; }
.signal-list li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e6f6d2; color: var(--accent-dark); font-size: .8rem; }
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 26px 24px; border-right: 1px solid var(--line); }
.trust-item:first-child { border-left: 1px solid var(--line); }
.trust-item strong { display: block; color: var(--brand); font-size: 1.04rem; }
.trust-item span { color: var(--muted); font-size: .88rem; }
.regulatory-spotlight { padding: 88px 0; background: linear-gradient(145deg, var(--brand-deep) 0%, var(--brand) 100%); color: white; }
.regulatory-head { display: flex; justify-content: space-between; gap: 48px; align-items: end; margin-bottom: 40px; }
.regulatory-head .eyebrow { color: #deddf5; }
.regulatory-head h2 { color: white; }
.regulatory-head > p { max-width: 500px; margin: 0; color: #d7d7e7; }
.regulatory-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.regulatory-card { min-height: 260px; padding: 27px 24px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: rgba(255,255,255,.075); color: white; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.regulatory-card:hover { transform: translateY(-5px); border-color: rgba(146,214,59,.8); background: rgba(255,255,255,.12); }
.regulatory-card span { display: block; min-height: 38px; color: var(--accent); font-size: .74rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.regulatory-card strong { display: block; margin-top: 22px; font-size: 1.48rem; line-height: 1.1; letter-spacing: -.025em; }
.regulatory-card p { margin: 18px 0 0; color: #d8d8e8; font-size: .92rem; }
.regulatory-button { margin-top: 30px; }
.regulatory-callout { background: #eef5e5; }
.regulatory-callout .lead { margin-top: 0; }
.regulatory-callout .button { margin-top: 24px; }
.regulatory-feature-card { background: linear-gradient(145deg, #fff 0%, #f4f8ee 100%); }
.regulation-detail { scroll-margin-top: 110px; }
.regulation-detail .card-index { margin-bottom: 20px; }
.regulation-detail h2 { font-size: clamp(2rem, 4vw, 3rem); }
.regulation-detail .lead { max-width: none; }
.deliverables-grid { margin-top: 42px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.card { position: relative; min-height: 100%; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
a.card { display: block; color: inherit; text-decoration: none; }
.card:hover { transform: translateY(-5px); border-color: #c9c7ec; box-shadow: 0 18px 45px rgba(21,22,42,.09); }
.card-index { display: block; margin-bottom: 34px; color: var(--brand); font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.card h3 { margin-bottom: 14px; }
.card p { margin: 0; color: var(--muted); }
.card-link { display: inline-block; margin-top: 24px; color: var(--brand); font-weight: 800; }
.card-feature { padding-top: 34px; border-top: 5px solid var(--accent); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.pill-list li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: white; color: #42445c; font-size: .88rem; font-weight: 700; }
.split { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 80px; align-items: center; }
.check-list { display: grid; gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; color: var(--muted); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 16px; border: 4px solid #dff3c6; border-radius: 50%; background: var(--accent-dark); }
.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.process-step { counter-increment: step; padding: 26px; border-top: 1px solid #4c4a78; }
.process-step::before { content: "0" counter(step); display: block; margin-bottom: 28px; color: var(--accent); font-weight: 900; }
.process-step p { color: #cfd0e0; }
.proof { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: start; }
.proof-number { color: var(--brand); font-size: clamp(4.5rem, 10vw, 8rem); font-weight: 900; line-height: .85; letter-spacing: -.07em; }
.proof-label { max-width: 260px; margin-top: 20px; color: var(--muted); font-weight: 700; }
.qualiopi-section { background: linear-gradient(180deg, #f7f8fc 0%, #fff 100%); }
.qualiopi-panel { display: grid; grid-template-columns: minmax(270px, .8fr) minmax(0, 1.2fr); gap: 58px; align-items: center; padding: 46px 52px; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: 0 20px 55px rgba(21,22,42,.08); }
.qualiopi-logo { display: grid; place-items: center; min-height: 190px; padding: 26px; border: 1px solid #e8e9f0; border-radius: 20px; background: white; }
.qualiopi-logo img { display: block; width: 100%; height: auto; }
.qualiopi-copy h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
.qualiopi-copy .lead { margin-top: 18px; font-size: 1.08rem; }
.qualiopi-copy strong { color: var(--brand); }
.qualiopi-note { margin: 14px 0 0; color: var(--muted); font-size: .9rem; }
.text-link { display: inline-flex; gap: 8px; margin-top: 20px; color: var(--brand); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.quote { margin: 0; padding: 34px; border-left: 5px solid var(--accent); background: var(--surface); font-size: 1.24rem; font-weight: 700; }
.photo-break { padding: 38px 0 0; background: linear-gradient(180deg, #f0f1f8 0%, white 100%); }
.photo-frame { position: relative; min-height: 440px; margin: 0; overflow: hidden; border-radius: 28px; background: var(--brand-deep); box-shadow: var(--shadow); }
.photo-frame img { display: block; width: 100%; height: 440px; object-fit: cover; }
.photo-frame figcaption { position: absolute; left: 18px; bottom: 18px; max-width: calc(100% - 36px); padding: 10px 14px; border-radius: 10px; background: rgba(9,8,46,.84); color: white; font-size: .8rem; backdrop-filter: blur(8px); }
.photo-frame-server img { object-position: center 52%; }
.photo-frame-ai img { object-position: 48% center; }
.visual-showcase { padding: 18px 0 96px; background: white; }
.visual-grid { display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: repeat(2, 255px); gap: 18px; }
.visual-tile { position: relative; min-height: 0; overflow: hidden; border-radius: 24px; background: var(--brand-deep); color: white; text-decoration: none; }
.visual-tile-main { grid-row: 1 / 3; }
.visual-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.visual-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(9,8,46,.88) 100%); }
.visual-tile:hover img { transform: scale(1.035); }
.visual-tile > span { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 24px; font-size: 1.18rem; font-weight: 800; line-height: 1.2; }
.visual-tile-main > span { font-size: clamp(1.4rem, 3vw, 2.2rem); }
.visual-tile small { display: block; margin-bottom: 9px; color: var(--accent); font-size: .69rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.image-band { padding: 22px 0 86px; background: white; }
.image-band-dark { padding-top: 70px; background: var(--brand-deep); }
.image-band figure { position: relative; min-height: 460px; margin: 0; overflow: hidden; border-radius: 28px; background: var(--brand-deep); box-shadow: var(--shadow); }
.image-band img { display: block; width: 100%; height: 460px; object-fit: cover; object-position: center; }
.image-band figcaption { position: absolute; left: 28px; right: 28px; bottom: 26px; max-width: 720px; padding: 16px 20px; border-radius: 14px; background: rgba(9,8,46,.86); color: #e8e8f1; backdrop-filter: blur(8px); }
.image-band figcaption strong { color: white; }
.photo-gallery { padding: 22px 0 86px; background: white; }
.ambient-visual { padding: 0 0 78px; background: #f6f7fb; }
.ambient-visual figure { position: relative; height: clamp(330px, 40vw, 540px); margin: 0; overflow: hidden; border-radius: 28px; background: var(--brand-deep); box-shadow: 0 24px 64px rgba(15, 14, 77, .16); }
.ambient-visual figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 14, 77, .02), rgba(15, 14, 77, .18)); pointer-events: none; }
.ambient-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-gallery-dark { padding-top: 70px; background: var(--brand-deep); }
.photo-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.photo-gallery-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-gallery figure { position: relative; min-height: 360px; margin: 0; overflow: hidden; border-radius: 24px; background: var(--brand-deep); box-shadow: 0 18px 48px rgba(21,22,42,.1); }
.photo-gallery-pair figure { min-height: 420px; }
.photo-gallery img { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; transition: transform .45s ease; }
.photo-gallery figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(9,8,46,.9) 100%); }
.photo-gallery figure:hover img { transform: scale(1.035); }
.photo-gallery figcaption { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; color: white; }
.photo-gallery figcaption strong { display: block; font-size: 1.12rem; }
.photo-gallery figcaption span { display: block; margin-top: 5px; color: #d8d8e8; font-size: .86rem; }

.page-hero { position: relative; padding: 112px 0 96px; background: linear-gradient(180deg, #fff 0%, #f6f7fb 100%); text-align: center; }
.page-hero::before { content: ""; position: absolute; top: 0; left: 50%; width: 100px; height: 5px; transform: translateX(-50%); background: var(--accent); }
.page-hero .container { max-width: 1060px; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { max-width: none; }
.page-hero .lead { max-width: 830px; margin-inline: auto; }
.breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 34px; color: var(--muted); font-size: .87rem; }
.breadcrumb a { color: var(--brand); }
.detail-band { padding: 30px; border-radius: 20px; background: var(--brand); color: white; }
.detail-band h3 { color: white; }
.detail-band p { color: #d7d7e8; }
.list-clean { padding: 0; margin: 20px 0 0; list-style: none; }
.list-clean li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.list-clean li:last-child { border-bottom: 0; }
.list-clean strong { color: var(--brand); }
.cta { position: relative; overflow: hidden; padding: 54px; border-radius: 30px; background: var(--brand); color: white; }
.cta::after { content: ""; position: absolute; right: -130px; top: -180px; width: 400px; height: 400px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 60px rgba(146,214,59,.08); }
.cta h2 { position: relative; z-index: 1; color: white; }
.cta p { position: relative; z-index: 1; max-width: 720px; color: #d8d8e8; }
.cta .button { position: relative; z-index: 1; margin-top: 18px; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.contact-list { display: grid; gap: 20px; margin-top: 34px; }
.contact-item { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.contact-item span { display: block; color: var(--muted); font-size: .86rem; }
.contact-item a, .contact-item strong { color: var(--brand); font-weight: 800; text-decoration: none; }
.form-card { padding: 38px; border-radius: 24px; background: var(--surface); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 15px; border: 1px solid #cfd1dd; border-radius: 10px; background: white; color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { margin: 18px 0 0; color: var(--muted); font-size: .82rem; }
.legal { max-width: 860px; }
.legal h2 { margin-top: 48px; font-size: 1.8rem; }
.legal h3 { margin-top: 30px; }
.legal p, .legal li { color: #4d5065; }

.site-footer { padding: 68px 0 24px; background: #09082e; color: #d5d5e2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 70px; }
.footer-brand img { width: 270px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { max-width: 470px; }
.site-footer h2 { color: white; font-size: 1rem; letter-spacing: 0; }
.footer-links { display: grid; gap: 10px; margin-top: 18px; }
.footer-links a { color: #d5d5e2; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 54px; padding-top: 22px; border-top: 1px solid #292853; color: #9d9daf; font-size: .82rem; }
.back-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--brand); color: white; box-shadow: 0 10px 30px rgba(12,10,62,.25); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s ease; }
.back-top.visible { opacity: 1; pointer-events: auto; transform: none; }

@media (max-width: 980px) {
  .site-header { position: sticky; top: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(16px); }
  .nav-wrap { min-height: 78px; padding: 10px 0; flex-direction: row; justify-content: space-between; }
  .brand img { width: 260px; max-height: 54px; object-position: left center; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 76px; display: none; align-items: stretch; flex-direction: column; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav .nav-cta { margin-left: 0; text-align: center; }
  .hero-grid, .split, .proof, .contact-grid, .qualiopi-panel { grid-template-columns: 1fr; gap: 50px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .regulatory-grid { grid-template-columns: repeat(2, 1fr); }
  .regulatory-head { align-items: start; flex-direction: column; }
  .trust-item:nth-child(3) { border-left: 1px solid var(--line); }
  .visual-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 420px 260px; }
  .visual-tile-main { grid-column: 1 / -1; grid-row: auto; }
  .photo-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-gallery-grid figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  .hero { padding: 78px 0 64px; }
  .hero-home { min-height: 620px; padding: 90px 0 74px; }
  .hero-center h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .hero-specialties { margin-top: 28px; }
  .brand img { width: 206px; }
  .nav-wrap { min-height: 74px; padding: 8px 0; }
  .main-nav { top: 68px; left: 14px; right: 14px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-panel { padding: 24px; }
  .hero-visual, .hero-visual > img { min-height: 450px; height: 450px; }
  .photo-frame, .photo-frame img { min-height: 330px; height: 330px; }
  .visual-showcase { padding-bottom: 72px; }
  .visual-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .visual-tile, .visual-tile-main { grid-column: auto; grid-row: auto; min-height: 270px; }
  .image-band { padding: 12px 0 66px; }
  .image-band-dark { padding-top: 56px; }
  .image-band figure, .image-band img { min-height: 330px; height: 330px; }
  .image-band figcaption { left: 14px; right: 14px; bottom: 14px; padding: 12px 14px; font-size: .86rem; }
  .ambient-visual { padding-bottom: 58px; }
  .ambient-visual figure { height: 300px; border-radius: 20px; }
  .photo-gallery { padding: 12px 0 66px; }
  .photo-gallery-dark { padding-top: 56px; }
  .photo-gallery-grid, .photo-gallery-pair { grid-template-columns: 1fr; }
  .photo-gallery-grid figure:last-child:nth-child(odd) { grid-column: auto; }
  .photo-gallery figure, .photo-gallery-pair figure { min-height: 310px; }
  .grid-2, .grid-3, .grid-4, .process, .trust-grid, .form-grid, .footer-grid, .regulatory-grid { grid-template-columns: 1fr; }
  .regulatory-spotlight { padding: 68px 0; }
  .regulatory-card { min-height: 0; }
  .trust-item, .trust-item:nth-child(3) { border-left: 1px solid var(--line); }
  .section-head { align-items: start; flex-direction: column; }
  .cta { padding: 34px 26px; border-radius: 22px; }
  .qualiopi-panel { padding: 26px 22px; gap: 28px; border-radius: 22px; }
  .qualiopi-logo { min-height: 0; padding: 18px; }
  .form-card { padding: 24px; }
  .footer-brand, .field-full { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  .site-header, .back-top, .hero-actions, .site-footer { display: none; }
  .section, .page-hero { padding: 30px 0; }
  body { color: black; background: white; }
}
