/* Base */
:root {
  --qv_bg: #EEF4F9;
  --qv_surface: #FFFFFF;
  --qv_text: #0B1B2B;
  --qv_muted: #3F5468;
  --qv_accent: #005E9C;
  --qv_accent_text: #FFFFFF;
  --qv_plate_bg: #0B1B2B;
  --qv_plate_text: #EEF4F9;
  --qv_line: #C7D6E2;
  --qv_font_head: Optima, Candara, 'Segoe UI', 'Noto Sans', sans-serif;
  --qv_font_body: Georgia, Cambria, 'Times New Roman', serif;
  --qv_radius_card: 20px;
  --qv_radius_btn: 999px;
  --qv_shadow: 0 1px 2px rgb(11 27 43 / .06), 0 12px 32px rgb(11 27 43 / .08);
  --qv_gap: clamp(16px, 4vw, 40px);
  --qv_section: clamp(64px, 6vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--qv_font_body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--qv_text);
  background-color: var(--qv_bg);
  background-image:
    radial-gradient(1200px 700px at 12% -10%, rgb(255 255 255 / .85), rgb(255 255 255 / 0) 60%),
    linear-gradient(170deg, var(--qv_bg) 0%, #F7FAFD 45%, #E3EDF6 100%);
  background-attachment: fixed, fixed;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--qv_font_head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--qv_text);
}

h1 { font-size: clamp(2.4rem, 4.6vw + 0.6rem, 4.4rem); line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 2.6vw + 0.8rem, 2.9rem); line-height: 1.15; }
h3 { font-size: clamp(1.2rem, 1vw + 0.7rem, 1.5rem); }

p { max-width: 68ch; }

a { color: var(--qv_accent); }
a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--qv_accent); outline-offset: 2px; }

/* Layout */
.qv_wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--qv_gap);
}

.qv_block { padding: var(--qv_section) 0; position: relative; scroll-margin-top: 96px; }
.qv_block:nth-of-type(even) { background-color: rgb(255 255 255 / .45); }

.qv_block_title { margin: 0 0 16px; }

.qv_copy { color: var(--qv_muted); margin: 0 0 24px; }
.qv_copy:last-child { margin-bottom: 0; }

/* Skip link */
.qv_skip_link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 60;
  background: var(--qv_plate_bg);
  color: var(--qv_plate_text);
  padding: 12px 20px;
  border-radius: var(--qv_radius_btn);
  text-decoration: none;
  transition: top 0.2s ease;
}
.qv_skip_link:focus { top: 12px; }

/* Header */
.qv_topbar {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.qv_topbar_inner {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 860px;
  background: var(--qv_surface);
  border: 1px solid var(--qv_line);
  border-radius: var(--qv_radius_btn);
  box-shadow: var(--qv_shadow);
  padding: 8px 10px;
  min-height: 64px;
}

.qv_mark {
  font-family: var(--qv_font_head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--qv_text);
  text-decoration: none;
  text-align: center;
  justify-self: center;
}
.qv_mark:hover { color: var(--qv_accent); }

.qv_topbar_cta { justify-self: end; }

.qv_menu_btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--qv_font_head);
  font-size: 1rem;
  color: var(--qv_text);
  padding: 10px 14px;
  border-radius: var(--qv_radius_btn);
}

.qv_menu_btn_bar, .qv_menu_btn_bar::before, .qv_menu_btn_bar::after {
  width: 20px;
  height: 2px;
  background: var(--qv_text);
  border-radius: 2px;
  content: "";
  display: block;
}
.qv_menu_btn_bar { position: relative; }
.qv_menu_btn_bar::before { position: absolute; top: -6px; left: 0; }
.qv_menu_btn_bar::after { position: absolute; top: 6px; left: 0; }

/* Nav overlay */
.qv_menu_layer {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--qv_plate_bg);
  color: var(--qv_plate_text);
  display: flex;
  align-items: center;
  padding: 96px var(--qv_gap) 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}
.qv_menu_layer.is_menu_shown { opacity: 1; visibility: visible; }

.qv_menu_layer .qv_wrap { display: grid; gap: 32px; align-content: center; }

.qv_menu_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.qv_menu_entry {
  display: block;
  font-family: var(--qv_font_head);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  color: var(--qv_plate_text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 14px;
  opacity: 0;
  transform: translateY(14px);
}
.is_menu_shown .qv_menu_entry {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.is_menu_shown .qv_menu_list li:nth-child(1) .qv_menu_entry { transition-delay: 0.05s; }
.is_menu_shown .qv_menu_list li:nth-child(2) .qv_menu_entry { transition-delay: 0.11s; }
.is_menu_shown .qv_menu_list li:nth-child(3) .qv_menu_entry { transition-delay: 0.17s; }
.is_menu_shown .qv_menu_list li:nth-child(4) .qv_menu_entry { transition-delay: 0.23s; }
.is_menu_shown .qv_menu_list li:nth-child(5) .qv_menu_entry { transition-delay: 0.29s; }
.is_menu_shown .qv_menu_list li:nth-child(6) .qv_menu_entry { transition-delay: 0.35s; }
.qv_menu_entry:hover, .qv_menu_entry:focus-visible { color: var(--qv_plate_text); background: rgb(238 244 249 / .12); }

.qv_menu_side { font-size: 0.95rem; color: var(--qv_line); }
.qv_menu_side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.qv_menu_side a { color: var(--qv_plate_text); }

body.is_menu_shown { overflow: hidden; }

/* Buttons */
.qv_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 2px solid var(--qv_text);
  border-radius: var(--qv_radius_btn);
  background: transparent;
  color: var(--qv_text);
  font-family: var(--qv_font_head);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.qv_btn:hover { background-color: var(--qv_text); color: var(--qv_bg); text-decoration: none; }
.qv_btn:focus-visible { outline: 3px solid var(--qv_accent); outline-offset: 3px; }
.qv_btn:active { transform: scale(0.96); }

.qv_btn_solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 2px solid var(--qv_accent);
  border-radius: var(--qv_radius_btn);
  background: var(--qv_accent);
  color: var(--qv_accent_text);
  font-family: var(--qv_font_head);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.qv_btn_solid:hover { background: var(--qv_text); border-color: var(--qv_text); color: var(--qv_bg); text-decoration: none; }
.qv_btn_solid:focus-visible { outline: 3px solid var(--qv_accent); outline-offset: 3px; }
.qv_btn_solid:active { transform: scale(0.96); }

/* Hero */
.qv_hero { padding-top: calc(var(--qv_section) + 56px); }

.qv_hero_grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
  align-items: end;
}

.qv_hero_title {
  margin: 0 0 20px;
  line-height: 1.15;
  max-width: 18ch;
  text-wrap: balance;
}

.qv_hero_lead { font-size: clamp(1.05rem, 0.6vw + 0.85rem, 1.3rem); color: var(--qv_muted); margin: 0 0 28px; }

.qv_hero_collage {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
}
.qv_hero_photo_tall { aspect-ratio: 3 / 4; }
.qv_hero_photo_square { aspect-ratio: 1 / 1; }

.qv_hero_photo { margin: 0; overflow: hidden; border-radius: var(--qv_radius_card); box-shadow: var(--qv_shadow); background: var(--qv_surface); }
.qv_hero_photo img { width: 100%; height: 100%; object-fit: cover; }

.qv_hero_photo_tall img { animation: qv_herosettle 0.8s ease both; }

@keyframes qv_herosettle {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

/* Arch crop for vertical photos */
.qv_hero_photo_tall { border-radius: 130px 130px var(--qv_radius_card) var(--qv_radius_card); }

/* Steps */
.qv_steps_list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 960px;
}

.qv_tile {
  background: var(--qv_surface);
  border: 1px solid var(--qv_line);
  border-radius: var(--qv_radius_card);
  box-shadow: var(--qv_shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.qv_tile:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgb(11 27 43 / .07), 0 18px 40px rgb(11 27 43 / .12); }

.qv_step_tile { padding: 14px 20px; border-radius: 14px; }

.qv_step_head {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 54px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--qv_font_head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--qv_text);
  text-align: left;
}
.qv_step_head:hover { color: var(--qv_accent); }

.qv_step_num {
  font-family: var(--qv_font_head);
  color: var(--qv_accent);
  font-weight: 700;
  flex: 0 0 auto;
  width: 2.5ch;
}

.qv_step_body { padding: 0 0 18px calc(2.5ch + 34px); }

/* Accordion */
.qv_accordion { display: grid; gap: 14px; max-width: 820px; }

.qv_acc_row {
  background: var(--qv_surface);
  border: 1px solid var(--qv_line);
  border-radius: var(--qv_radius_card);
  transition: transform 0.25s ease;
}
.qv_acc_row:hover { transform: translateY(-3px); }

.qv_acc_head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: transparent;
  border: 0;
  padding: 20px 26px;
  font-family: var(--qv_font_head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--qv_text);
  cursor: pointer;
  text-align: left;
}
.qv_acc_head::after {
  content: "+";
  color: var(--qv_accent);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}
.qv_acc_head[aria-expanded="true"]::after { content: "\2212"; }
.qv_acc_head:hover { color: var(--qv_accent); }

.qv_acc_body { padding: 0 26px 22px; }

/* Gallery */
.qv_gallery_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.qv_gallery_item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--qv_radius_card);
  background: var(--qv_surface);
}
.qv_gallery_item img { width: 100%; height: 100%; object-fit: cover; }

.qv_gallery_wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.qv_gallery_square { aspect-ratio: 1 / 1; }
.qv_gallery_landscape { aspect-ratio: 1 / 1; }
.qv_gallery_tall {
  aspect-ratio: 3 / 4;
  border-radius: 120px 120px var(--qv_radius_card) var(--qv_radius_card);
}

/* FAQ */
.qv_qa_list { display: grid; gap: 12px; max-width: 760px; }

.qv_qa_item {
  background: var(--qv_surface);
  border: 1px solid var(--qv_line);
  border-radius: var(--qv_radius_card);
  padding: 4px 22px;
}
.qv_qa_item summary {
  cursor: pointer;
  font-family: var(--qv_font_head);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 16px 0;
  list-style-position: inside;
  color: var(--qv_text);
}
.qv_qa_item summary:hover { color: var(--qv_accent); }
.qv_qa_item[open] summary { color: var(--qv_accent); }

/* Form */
.qv_form_box { max-width: 760px; }
form.qv_form_box { background: var(--qv_surface); border: 1px solid var(--qv_line); border-radius: var(--qv_radius_card); box-shadow: var(--qv_shadow); padding: clamp(20px, 4vw, 36px); }

.qv_field_row { display: grid; gap: 6px; margin-bottom: 18px; }

.qv_field_tag {
  font-family: var(--qv_font_head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--qv_text);
}

.qv_input_line {
  width: 100%;
  border: 1px solid var(--qv_line);
  border-radius: 12px;
  background: var(--qv_bg);
  color: var(--qv_text);
  font: inherit;
  padding: 12px 14px;
  min-height: 48px;
}
.qv_input_line::placeholder { color: var(--qv_muted); opacity: 1; }
.qv_input_line:focus { outline: 3px solid var(--qv_accent); outline-offset: 1px; }

.qv_input_area { resize: vertical; min-height: 120px; }

.qv_field_row.is_invalid .qv_input_line { border-color: #A3352B; }

.qv_check_row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: var(--qv_muted);
}
.qv_check_row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--qv_accent); }

.qv_form_submit { width: 100%; }
form.is_sending .qv_form_submit { opacity: 0.6; pointer-events: none; }

.qv_form_hint { font-size: 0.9rem; color: var(--qv_muted); margin-top: 14px; }
form .qv_form_hint { margin-top: 0; margin-bottom: 18px; }

/* Dark strip / plate */
.qv_dark_strip {
  background: var(--qv_plate_bg);
  color: var(--qv_plate_text);
  border-radius: var(--qv_radius_card);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--qv_shadow);
}
.qv_dark_strip p { max-width: none; }
.qv_dark_strip ul { list-style: none; margin: 16px 0 0; padding: 0; }
.qv_dark_strip ul li span { color: #A9BECF; margin-right: 6px; }
.qv_dark_strip a { color: #FFFFFF; }

.qv_ink_spot {
  font-family: var(--qv_font_head);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw + 0.5rem, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--qv_plate_text);
  margin: 0 0 12px;
}

.qv_strip_copy { color: #C4D3DF; max-width: 60ch; }

/* Floating panel */
.qv_float_panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, var(--qv_bg) 60%, rgb(238 244 249 / 0));
}
.qv_float_cta { width: 100%; }

/* Footer */
.qv_base {
  background: var(--qv_plate_bg);
  color: #C4D3DF;
  padding: clamp(48px, 7vw, 80px) 0 24px;
  margin-top: var(--qv_section);
}

.qv_base_grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 32px;
}

.qv_mark_footer { color: var(--qv_plate_text); justify-self: start; }

.qv_base_note { font-size: 0.95rem; color: #A9BECF; }

.qv_base_heading {
  color: var(--qv_plate_text);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 14px;
}

.qv_base_links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qv_base_links a { color: #C4D3DF; text-decoration: none; font-size: 0.95rem; }
.qv_base_links a:hover { color: #FFFFFF; text-decoration: underline; }

.qv_base address { font-style: normal; }
.qv_base address p { margin: 0 0 6px; font-size: 0.95rem; }
.qv_base ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qv_base ul li span { color: #A9BECF; margin-right: 6px; font-size: 0.95rem; }
.qv_base ul a { color: #C4D3DF; font-size: 0.95rem; }

.qv_base_rule {
  border-top: 1px solid rgb(238 244 249 / .18);
  margin-top: 40px;
  padding-top: 20px;
}

.qv_base_copy { font-size: 0.9rem; color: #A9BECF; margin: 0; }

/* Inner pages */
.qv_page_head { padding-top: calc(var(--qv_section) + 56px); padding-bottom: 24px; }
.qv_page_head h1 { margin: 0 0 18px; }
.qv_page_head .qv_copy { font-size: clamp(1.05rem, 0.6vw + 0.85rem, 1.25rem); }

.qv_copy h2 { margin: 40px 0 14px; }
.qv_copy h3 { margin: 32px 0 12px; }
.qv_copy ol, .qv_copy ul { max-width: 68ch; padding-left: 24px; color: var(--qv_muted); }
.qv_copy li { margin-bottom: 8px; }
.qv_copy a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.qv_copy table { width: 100%; border-collapse: collapse; background: var(--qv_surface); border-radius: var(--qv_radius_card); overflow: hidden; font-size: 0.95rem; }
.qv_copy th, .qv_copy td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--qv_line); color: var(--qv_text); }
.qv_copy th { font-family: var(--qv_font_head); background: var(--qv_bg); }

.qv_copy ul li span { color: var(--qv_text); }

/* Reveal */
html.is_js_on .qv_fadein {
  opacity: 0;
  transform: translateY(18px);
  visibility: hidden;
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
}
html.is_js_on .qv_fadein.is_shown {
  opacity: 1;
  transform: none;
  visibility: visible;
}

/* Breakpoints */
@media (max-width: 1280px) {
  .qv_hero_grid { gap: 28px 36px; }
}

@media (max-width: 1024px) {
  .qv_hero_text { grid-column: 1 / 7; }
  .qv_hero_collage { grid-column: 7 / 13; gap: 14px; }
  .qv_base_grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .qv_hero_grid { grid-template-columns: 1fr; }
  .qv_hero_text, .qv_hero_collage { grid-column: 1 / -1; }
  .qv_hero_collage { grid-template-columns: 55fr 45fr; gap: 12px; min-height: 0; }
  .qv_hero_photo_tall, .qv_hero_photo_square { aspect-ratio: auto; height: 240px; }
  .qv_float_panel { display: block; }
  body { padding-bottom: 84px; }
  .qv_gallery_grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  .qv_topbar_cta { display: none; }
  .qv_topbar_inner { grid-template-columns: auto 1fr; }
  .qv_menu_btn { justify-self: end; }
  .qv_mark { justify-self: center; order: 0; }
  .qv_topbar_inner { grid-template-columns: 1fr auto 1fr; }
  .qv_gallery_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
  .qv_gallery_wide { grid-column: 1 / -1; }
  .qv_gallery_tall { max-width: none; }
  .qv_steps_list { grid-template-columns: 1fr; max-width: 560px; }
  .qv_step_body { padding-left: 0; }
  .qv_base_grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .qv_menu_btn_text { display: none; }
  .qv_dark_strip { text-align: left; }
}

@media (max-height: 600px) {
  .qv_hero { min-height: auto; padding-top: calc(var(--qv_section) + 40px); }
  .qv_menu_layer { padding-top: 72px; align-items: flex-start; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.is_js_on .qv_fadein { opacity: 1; transform: none; visibility: visible; }
  .qv_hero_photo_tall img { animation: none; }
}

/* Hero columns */
@media (min-width: 1025px) {
  .qv_hero_text { grid-column: 2 / 7; }
  .qv_hero_collage { grid-column: 8 / 13; }
}

.qv_hero_photo, .qv_gallery_item, .qv_tile, .qv_hero_text, .qv_hero_collage { min-width: 0; }
.qv_dark_strip a, .qv_base ul a, .qv_menu_side a { overflow-wrap: anywhere; }
