/*
Copyright 2018 The Manrope Project Authors (https://github.com/googlefonts/manrope)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

*/
@font-face{font-family:"Lodochnik Sans";src:url("assets/fonts/Manrope-variable.ttf") format("truetype");font-weight:200 800;font-style:normal;font-display:swap;}
/* Phone layouts for the approved shared design. Desktop rules remain above 760px. */
@media (max-width: 760px) {
  :root { --font-site:'Avenir Next',Avenir,'Lodochnik Sans',Montserrat,sans-serif; }
  html { -webkit-text-size-adjust:100%; scroll-padding-top:16px; }
  body { min-width:0; font-family:var(--font-site); }
  body:has(dialog[open]) { overflow:hidden; overscroll-behavior:none; }
  .container { width:calc(100% - 32px); }
  input, select, textarea { font-size:16px; }
  button, a, input, select { -webkit-tap-highlight-color:transparent; }
  .section { padding-block:44px; }
  .section h2, .budget-intro h2, .models-section .section-heading h2,
  .help-approved-heading h2 { font-size:clamp(29px,8vw,38px); line-height:1.12; letter-spacing:-1.1px; }
  .section-heading { flex-direction:column; align-items:flex-start; gap:18px; }
  .section-heading h2 { margin:0; }
  .button { min-height:48px; }

  /* Compact header and a menu that stays inside the phone. */
  .site-header { background:var(--paper,#f7f8f5); }
  .site-header .header-inner { height:68px; gap:12px; }
  .site-header .brand, .hero .brand, .reviews-page .brand { gap:9px; font-size:21px; letter-spacing:-.7px; min-width:0; }
  .brand .brand-label small { font-size:10px; letter-spacing:.1px; }
  .site-header .brand-mark { width:32px; height:32px; flex:none; }
  .menu-toggle { display:flex; flex:none; width:44px; height:44px; padding:10px; border-radius:50%; }
  .menu-toggle[aria-expanded="true"] { background:#e6ece7; }
  .desktop-nav { display:none; }
  .site-header .mobile-nav { margin:0 16px 12px; padding:8px 16px; border:1px solid var(--line); border-radius:16px; background:var(--paper,#f7f8f5); }
  .mobile-nav a { display:block; min-height:48px; padding:13px 0; font-size:16px; line-height:1.4; }
  .mobile-nav a + a { border-top:1px solid var(--line); }

  /* The wide film keeps its complete framing; text and controls have their own space. */
  .hero { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto auto auto; height:auto; min-height:0; overflow:visible; padding-bottom:12px; background:var(--paper,#f7f8f5); }
  .hero header { grid-row:1; width:calc(100% - 32px); margin:12px auto 0; padding:5px 11px; gap:10px; min-height:58px; }
  .hero .anchor { width:32px; height:32px; }
  .hero .anchor img { width:40px; }
  .hero .nav { display:none; }
  .hero .mobile-nav { position:absolute; left:16px; right:16px; top:78px; z-index:30; padding:8px 16px; max-height:65svh; overflow-y:auto; box-shadow:0 12px 24px #10294218; }
  .hero .copy { grid-row:2; width:100%; margin:24px 0 0; padding:0 16px; position:relative; z-index:3; }
  .hero .copy h1 { font-size:clamp(32px,8.5vw,42px); line-height:1.08; letter-spacing:-1.3px; max-width:18ch; margin:0 auto 14px; text-wrap:balance; }
  .hero .copy p { font-size:15px; line-height:1.5; max-width:34ch; margin:0 auto; }
  .hero .copy p br { display:none; }
  .hero .search { width:100%; max-width:none; height:54px; margin:20px auto 0; padding:4px 5px 4px 14px; gap:9px; }
  .hero .search svg { width:18px; height:18px; }
  .hero .search input { font-size:16px; min-height:44px; }
  .hero .search button { min-height:44px; padding:10px 15px; font-size:14px; white-space:nowrap; }
  .hero .motion { grid-row:3; grid-column:1; position:relative; inset:auto; z-index:0; width:100%; aspect-ratio:1920/840; margin-top:10px; background:#c9d7df; overflow:hidden; }
  .hero .motion video { width:100%; height:100%; object-fit:contain; filter:none; }
  .hero .motion::before { content:""; position:absolute; z-index:1; inset:-1px 0 auto; height:22px; pointer-events:none; background:linear-gradient(var(--paper,#f7f8f5),transparent); }
  .hero .veil { display:none; }
  .hero .play-toggle { grid-row:3; grid-column:1; position:relative; inset:auto; z-index:2; align-self:end; justify-self:end; width:44px; height:44px; min-height:44px; margin:0 8px 8px 0; padding:0; border:0; border-radius:50%; font-size:0; background:transparent; box-shadow:none; }
  .hero .play-toggle::before { content:""; position:absolute; inset:6px; border-radius:50%; background:#102b3bd9; border:1px solid #ffffff70; box-shadow:0 1px 5px #0002; }
  .hero .play-toggle::after { content:""; position:absolute; left:17px; top:17px; width:3px; height:10px; background:#fff; box-shadow:6px 0 #fff; }
  .hero .play-toggle[aria-label^="Включить"]::after { left:19px; top:16px; width:0; height:0; background:transparent; box-shadow:none; border-top:6px solid transparent; border-bottom:6px solid transparent; border-left:8px solid #fff; }
  .hero .consult { grid-row:5; position:relative; inset:auto; width:calc(100% - 32px); max-width:none; margin:16px auto 12px; padding:16px; display:grid; grid-template-columns:48px minmax(0,1fr); gap:4px 12px; border-radius:18px; box-shadow:0 6px 20px #1029420b; }
  .hero .consult .avatar { width:48px; height:48px; grid-row:1 / span 2; align-self:center; }
  .hero .consult > div:last-child { display:contents; }
  .hero .consult h2 { grid-column:2; font-size:16px; line-height:1.3; margin:0 0 4px; }
  .hero .consult p { grid-column:2; font-size:13px; margin:0; gap:10px; }
  .hero .consult button { grid-column:1/-1; margin-top:12px; min-height:48px; font-size:15px; padding:12px; }
  .hero .boat-suggestions { max-height:min(330px,45svh); }

  /* Two price choices per row, one model or review per slide. */
  .budget-intro { gap:12px; margin-bottom:24px; }
  .budget-intro p { font-size:16px; line-height:1.5; }
  .budget-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .budget-section .budget-list button { padding-top:8px; border-radius:12px; }
  .budget-section .budget-art { aspect-ratio:1.35; }
  .budget-section .budget-list strong { font-size:15px; line-height:1.3; min-height:64px; margin-inline:12px; padding:12px 25px 12px 0; }
  .budget-section .budget-list strong::after { width:23px; height:23px; font-size:17px; }
  .models-section .section-heading { gap:18px; margin-bottom:24px; }
  .models-section .text-link, .all-reviews-link { min-height:48px; font-size:14px; padding:12px 18px; }
  .models-section .model-carousel-track .model-card { flex-basis:100%; }
  .models-section .model-carousel-track .model-photo { aspect-ratio:16/9; }
  .models-section .model-carousel-track .model-caption { padding:18px 0; min-height:94px; gap:12px; }
  .models-section .model-carousel-track .model-card-details { font-size:23px; line-height:1.25; }
  .models-section .model-card-price { font-size:16px; }
  .models-section .model-card-arrow { width:40px; height:40px; }
  .models-section .model-carousel-arrow, .reviews-carousel .model-carousel-arrow { width:44px; height:44px; top:calc((100% - 132px)/2); }
  .models-section .model-carousel-prev, .reviews-carousel .model-carousel-prev { left:-7px; }
  .models-section .model-carousel-next, .reviews-carousel .model-carousel-next { right:-7px; }
  .model-card-review { min-height:44px; display:inline-flex; align-items:center; top:10px; right:10px; padding:9px 13px; font-size:12px; }
  .model-carousel-count { min-height:20px; letter-spacing:1px; }
  .video-section-heading { flex-direction:column; gap:0; margin-bottom:24px; }
  .video-section-heading .video-heading { margin-bottom:18px; }
  .video-heading p { font-size:16px; line-height:1.5; }
  .all-reviews-link { margin:0; align-self:flex-start; }
  .review-carousel-track .video-card { flex-basis:100%; }
  .review-carousel-track .video-card h3 { font-size:23px; line-height:1.3; margin-top:16px; }
  .review-carousel-track .review-model-link { display:inline-flex; align-items:center; min-height:44px; font-size:15px; }

  /* The inline quiz stays comfortable without taking the entire page. */
  .quiz-layout { grid-template-columns:minmax(0,1fr); gap:24px; }
  .quiz-copy h2 { margin-bottom:16px; }
  .quiz-copy p { font-size:16px; line-height:1.5; }
  .quiz-card { padding:20px 16px; border-radius:18px; }
  .quiz-card legend { font-size:24px; margin-bottom:18px; }
  .quiz-option { min-height:48px; font-size:16px; gap:12px; padding:12px; }
  .quiz-option input { width:20px; height:20px; }
  .quiz-option { min-width:0; }
  .quiz-option > span { min-width:0; overflow-wrap:anywhere; word-break:normal; }
  .quiz-navigation { gap:12px; }
  .quiz-navigation .quiz-next { min-height:48px; font-size:14px; padding:12px 18px; }
  .quiz-back { min-height:44px; font-size:14px; }

  .help-approved-heading > p { font-size:18px; line-height:1.5; letter-spacing:-.2px; }
  .help-approved-grid { grid-template-columns:minmax(0,1fr); gap:16px; }
  .help-approved-portrait { grid-row:auto; aspect-ratio:1.2; min-height:0; }
  .help-expertise-card { min-height:0; padding:22px 20px 108px; }
  .help-expertise-card h3 { font-size:23px; line-height:1.3; }
  .help-expertise-card > p { font-size:16px; line-height:1.6; }
  .help-line-icon { width:50px; height:50px; margin-bottom:18px; }
  .help-approved-cta { margin-top:30px; }
  .help-invitation { font-size:21px; line-height:1.4; }
  .help-next-step { font-size:17px; line-height:1.5; }
  .help-approved-cta .button { font-size:16px; min-height:52px; padding:14px 20px; }
  .help-reassurance { font-size:15px; line-height:1.5; }

  /* Catalog and review search share full-size controls and horizontal filter chips. */
  .catalog-page { background:var(--paper,#f7f8f5); }
  .catalog-intro { background:var(--paper,#f7f8f5); padding:20px 0 24px; }
  .catalog-intro h1 { font-size:clamp(32px,8.4vw,40px); line-height:1.12; }
  .catalog-breadcrumbs, .reviews-breadcrumbs { font-size:13px; margin-bottom:20px; gap:10px; }
  .catalog-search { border-radius:18px; padding:5px 5px 5px 12px; gap:7px; }
  .catalog-search input { font-size:16px; min-height:44px; }
  .catalog-search .search-icon { width:16px; height:16px; margin:0; flex:none; }
  .catalog-search .button { font-size:13px; min-height:46px; padding:10px 13px; border-radius:14px; }
  .catalog-budget-filters, .reviews-brand-chips { flex-wrap:nowrap; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; gap:8px; padding:3px 1px 8px; margin-top:18px; }
  .catalog-budget-filters a, .reviews-brand-chips button { flex:none; white-space:nowrap; font-size:13px; min-height:44px; padding:12px 15px; }
  .catalog-toolbar { flex-direction:column; align-items:stretch; gap:14px; }
  .catalog-toolbar p { font-size:16px; }
  .catalog-sort { justify-content:space-between; gap:12px; font-size:14px; }
  .catalog-sort select { min-height:44px; font-size:16px; min-width:0; max-width:75%; }
  .catalog-grid { grid-template-columns:minmax(0,1fr); gap:20px; }
  .catalog-tile { border-radius:14px; }
  .catalog-tile-body { padding:18px; }
  .catalog-tile h2 { font-size:25px; font-weight:400; }
  .catalog-tile-brand { font-size:12px; }
  .catalog-tile-length { font-size:14px; }
  .catalog-tile-price { font-size:21px; }
  .catalog-more, .reviews-more { width:100%; min-width:0; min-height:48px; font-size:15px; }
  .reviews-page .site-header { padding-top:10px; }
  .reviews-page .header-inner { height:58px; padding:5px 12px; }
  .reviews-page .mobile-nav { margin:10px 16px 0; }
  .reviews-title-row { gap:12px; margin-bottom:24px; }
  .reviews-title-row h1 { font-size:clamp(34px,9vw,43px); letter-spacing:-1px; }
  .reviews-title-row p { font-size:17px; }
  .reviews-search { flex-direction:column; gap:10px; }
  .reviews-search-field { height:54px; border-radius:18px; padding-inline:14px; gap:12px; }
  .reviews-search-field input { font-size:16px; }
  .reviews-search select { width:100%; max-width:none; height:48px; border-radius:16px; padding:10px 14px; font-size:16px; }
  .reviews-archive-grid { grid-template-columns:minmax(0,1fr); gap:26px; }
  .reviews-archive-grid .review-entry h2 { font-size:24px; line-height:1.25; }
  .reviews-archive-grid .review-model-link { display:block; min-height:44px; font-size:15px; line-height:1.5; padding:5px 0; }

  /* Boat pages keep a whole-boat image and readable specification values. */
  .boat-page { background:var(--paper,#f7f8f5); }
  .boat-main { padding-top:18px; }
  .breadcrumbs { font-size:12px; gap:7px; margin-bottom:20px; }
  .boat-heading h1 { font-size:clamp(34px,10vw,46px); letter-spacing:-1.4px; line-height:1.1; }
  .manufacturer-logo { max-width:100%; margin-bottom:14px; padding:10px 12px; }
  .manufacturer-logo img, .manufacturer-logo-wide img { max-width:180px; max-height:58px; object-fit:contain; }
  .boat-overview { grid-template-columns:minmax(0,1fr); gap:20px; }
  .boat-page .gallery-stage { aspect-ratio:16/9; border-radius:14px; background:#e9eeeb; touch-action:pan-y; }
  .boat-page .gallery-photo-button img { transform:none; object-fit:cover; }
  .gallery-control { width:44px; height:44px; }
  .gallery-prev { left:8px; top:calc(50% - 22px); }
  .gallery-next { right:8px; top:calc(50% - 22px); }
  .gallery-expand { right:8px; top:8px; }
  .gallery-counter { font-size:12px; padding:5px 10px; bottom:10px; }
  .boat-page .gallery-thumbnails { display:grid; grid-auto-flow:column; grid-auto-columns:82px; grid-template-columns:none; overflow-x:auto; overscroll-behavior-x:contain; gap:8px; margin-top:10px; padding-bottom:8px; scroll-snap-type:x proximity; }
  .gallery-thumbnail { scroll-snap-align:start; border-radius:8px; min-height:44px; }
  .boat-price-card { padding:22px 18px; border-radius:16px; border-color:var(--line); }
  .boat-price { font-size:clamp(28px,8.5vw,36px); letter-spacing:-1px; white-space:normal; }
  .boat-price-note { font-size:15px; line-height:1.5; margin-bottom:20px; }
  .boat-apply { width:100%; min-width:0; min-height:50px; padding:13px 14px; font-size:15px; }
  .boat-section-nav { margin-block:24px; gap:0; overscroll-behavior-x:contain; }
  .boat-section-nav a { min-height:48px; font-size:14px; padding:14px 12px; }
  .boat-panel { padding:22px 16px; border-radius:16px; }
  .boat-panel h2, .boat-video-section h2 { font-size:27px; letter-spacing:-.8px; line-height:1.2; }
  .boat-page .boat-spec-list > div { grid-template-columns:minmax(0,1fr) minmax(85px,40%); gap:12px; padding:14px 0; font-size:15px; line-height:1.45; }
  .boat-spec-list dt, .boat-spec-list dd { overflow-wrap:anywhere; }
  .boat-spec-list dd { text-align:right; }
  .boat-equipment { padding:0; }
  .boat-equipment > summary { padding:22px 16px; min-height:64px; }
  .boat-equipment > summary h2 { font-size:25px; }
  .equipment-content { padding:0 16px 18px; }
  .equipment-columns { grid-template-columns:minmax(0,1fr); gap:0; }
  .equipment-columns li { font-size:15px; line-height:1.6; }
  .equipment-group > summary { font-size:18px; min-height:52px; padding-block:16px; }
  .equipment-table-wrap { max-width:100%; overscroll-behavior-x:contain; }
  .equipment-table th, .equipment-table td, .equipment-table td:last-child { font-size:13px; line-height:1.5; padding:12px 7px; }
  .boat-video-poster, .vboats-page .boat-video-poster { aspect-ratio:16/9; border-radius:14px; }
  .review-title, .option-description, .boat-source { font-size:14px; line-height:1.5; }
  .photo-dialog { width:calc(100% - 16px); padding:52px 8px 56px; border-radius:16px; max-height:calc(100dvh - 16px); }
  .photo-dialog img { max-height:calc(100dvh - 145px); }
  .expanded-prev, .expanded-next { top:auto; bottom:7px; }
  .expanded-prev { left:calc(50% - 52px); }
  .expanded-next { right:calc(50% - 52px); }

  /* Dialog controls remain reachable, including with a short viewport. */
  .dialog-close, .review-player-close { width:44px; height:44px; display:grid; place-items:center; padding:0; flex:none; }
  .purchase-quiz-dialog, .purchase-quiz-dialog:not(.is-contact-step), .purchase-quiz-dialog.is-contact-step { width:calc(100% - 24px); max-width:540px; max-height:calc(100dvh - 24px); margin:auto; padding:20px 16px 16px; border-radius:18px; overflow:hidden; }
  .purchase-quiz-dialog[open] { display:flex; flex-direction:column; }
  .purchase-quiz-dialog > .dialog-close { top:6px; right:6px; }
  .purchase-quiz-dialog:not(.is-contact-step) h2 { font-size:20px; line-height:1.25; letter-spacing:-.4px; margin:0 34px 16px 0; flex:none; }
  .purchase-quiz-dialog.is-contact-step h2 { font-size:26px; line-height:1.1; margin:0 32px 12px 0; flex:none; }
  .purchase-quiz-dialog .purchase-quiz-context { font-size:14px; line-height:1.4; margin:0 0 10px; }
  .purchase-quiz-dialog #purchase-quiz-form { min-height:0; }
  .purchase-quiz-dialog .quiz-progress-row { margin-bottom:14px; }
  .purchase-quiz-dialog #purchase-quiz-fields { gap:8px; overscroll-behavior:contain; }
  .purchase-quiz-dialog .quiz-card legend { font-size:22px; margin-bottom:12px; }
  .purchase-quiz-dialog .quiz-option { min-height:48px; font-size:14px; line-height:1.35; padding:10px 7px; gap:6px; }
  .purchase-quiz-dialog .quiz-option input { width:19px; height:19px; }
  .purchase-quiz-dialog .quiz-option:has(input[value="combo"]) { grid-column:1/-1; }
  .purchase-quiz-dialog .quiz-next { min-height:48px; font-size:14px; padding:11px 15px; }
  .purchase-quiz-dialog #purchase-quiz-form .quiz-navigation { margin-top:14px; padding-top:12px; }
  .purchase-quiz-dialog #purchase-contact-form { min-height:0; overflow-y:auto; overscroll-behavior:contain; }
  .is-contact-step .purchase-contact-intro { font-size:14px; line-height:1.45; margin-bottom:12px; }
  .is-contact-step .purchase-contact-free { font-size:14px; line-height:1.4; padding:8px 10px; margin-bottom:12px; }
  .is-contact-step .contact-fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .is-contact-step .contact-fields label { font-size:13px; gap:6px; min-width:0; }
  .is-contact-step .contact-fields input { height:48px; min-width:0; padding:10px; font-size:16px; }
  .purchase-quiz-dialog.is-contact-step .lead-consent { font-size:12px; line-height:1.45; margin:14px 0; gap:10px; }
  .purchase-quiz-dialog .lead-consent input { width:20px; height:20px; }
  .is-contact-step #purchase-contact-form .quiz-navigation { position:sticky; bottom:0; z-index:2; background:var(--paper,#f7f8f5); padding-top:12px; padding-bottom:2px; margin-top:12px; flex-wrap:nowrap; gap:10px; }
  .is-contact-step [data-lead-submit] { font-size:14px; line-height:1.25; min-height:48px; padding:11px 12px; }
  .review-player-dialog { width:calc(100% - 16px); border-radius:16px; max-height:calc(100dvh - 16px); }
  .review-player-bar { padding:8px 10px; gap:8px; }
  .review-player-bar h2 { font-size:18px; }
  .review-player-close { width:44px; height:44px; font-size:28px; }

  .site-legal-footer { padding-inline:16px; }
  .site-legal-inner { padding-block:24px; gap:14px; font-size:13px; }
  .site-legal-inner nav { display:flex; flex-direction:column; gap:5px; }
  .site-legal-inner nav a { display:block; min-height:44px; padding-block:10px; }
  .legal-nav { padding-inline:16px; gap:16px; margin-block:20px; }
  .legal-nav a:first-child { font-size:21px; }
  .legal-document { padding-inline:16px; margin-block:32px; font-size:16px; }
  .legal-document h1 { font-size:32px; line-height:1.15; }
  .legal-document h2 { font-size:24px; margin-top:30px; }
}

@media (max-width: 360px) {
  .hero .brand, .site-header .brand, .reviews-page .brand { font-size:19px; }
  .hero .copy { margin-top:20px; }
  .hero .copy p { font-size:14px; }
  .hero .search { gap:7px; padding-left:12px; }
  .hero .search button { font-size:13px; padding-inline:12px; }
  .budget-section .budget-list strong { font-size:14px; margin-inline:10px; padding-right:23px; }
  .models-section .model-carousel-track .model-card-details { font-size:22px; }
  .purchase-quiz-dialog:not(.is-contact-step) h2 { font-size:18px; margin-bottom:12px; }
  .purchase-quiz-dialog .quiz-option { font-size:13px; }
  .purchase-quiz-dialog #purchase-quiz-fields:has(input[name="purchase-material"]) { grid-template-columns:minmax(0,1fr); }
  .purchase-quiz-dialog.is-contact-step h2 { font-size:24px; }
  .is-contact-step .purchase-contact-intro, .is-contact-step .purchase-contact-free { font-size:13px; }
  .purchase-quiz-dialog.is-contact-step .lead-consent { font-size:11.5px; }
}

@media (max-width: 760px) and (max-height: 500px) {
  .purchase-quiz-dialog, .purchase-quiz-dialog:not(.is-contact-step), .purchase-quiz-dialog.is-contact-step { max-height:calc(100dvh - 16px); width:calc(100% - 16px); padding:14px; }
  .purchase-quiz-dialog:not(.is-contact-step) h2 { font-size:17px; margin-bottom:10px; }
  .purchase-quiz-dialog .quiz-progress-row { margin-bottom:8px; }
  .purchase-quiz-dialog .quiz-card legend { font-size:18px; margin-bottom:8px; }
}

/* Use a real arrow path instead of an iOS emoji inside the budget circle. */
@media(max-width:760px){
 .budget-section{--budget-arrow-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 18 18 6M6 6h12v12' fill='none' stroke='%23284338' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
 .budget-section .budget-list button strong::after,.budget-section .budget-list button:hover strong::after{content:"";font-size:0;background:transparent var(--budget-arrow-icon) center/12px 12px no-repeat}
}

@media(max-width:760px){.boat-page .gallery-stage{background:#fff}}
