:root {
  --dark: #10141c;
  --dark-raised: #191f2a;
  --ink: #151a24;
  --muted: #555e6c;
  --red: #e2243a;
  --red-dark: #bc192c;
  --paper: #f4f5f7;
  --line: #dee1e7;
  --white: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #3a86e8; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.033em; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { max-width: 70ch; }
address { font-style: normal; }
summary { cursor: pointer; }
.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; inset: 8px auto auto 8px; padding: 10px 16px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-header { color: var(--white); background: var(--dark); border-bottom: 1px solid #ffffff1a; }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: clamp(16px, 3vw, 37px); }
.brandmark { flex: none; display: inline-flex; align-items: center; width: 118px; padding: 5px 8px; border-radius: 8px; background: #fff; }
.brandmark img { width: 100%; }
.desktop-nav { display: flex; gap: clamp(12px, 2.6vw, 30px); margin-inline: auto; align-items: center; }
.desktop-nav a, .site-footer nav a { color: #e4e8ee; text-decoration: none; white-space: nowrap; font-weight: 600; }
.desktop-nav a:hover, .site-footer a:hover { text-decoration: underline; }
.header-contact { flex: none; display: grid; gap: 1px; }
.header-contact a, .hero-phone a, .contact-phone a, .footer-main > a:last-child { text-decoration: none; font-weight: 760; white-space: nowrap; }
.header-contact span { font-size: .875rem; color: #c1c8d3; }
.mobile-nav { display: none; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 49px; padding: 10px 20px; border: 1px solid transparent; border-radius: 9px; font-weight: 700; text-align: center; text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
.button.primary { background: var(--red); color: white; }
.button.primary:hover { background: var(--red-dark); }
.button.outline { border-color: #aeb4c0; color: inherit; background: transparent; }
.button.outline:hover { background: #9ba6b823; border-color: currentColor; }
.button:disabled { cursor: wait; opacity: .75; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero { color: white; background: var(--dark); }
.hero-inner { isolation: isolate; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.hero-copy { padding: clamp(38px, 6.5vw, 92px) 0 clamp(40px, 6vw, 78px); position: relative; z-index: 1; display: grid; justify-items: start; align-content: center; gap: 22px; }
.hero h1 { max-width: 760px; font-size: clamp(2.3rem, 5.15vw, 4.8rem); line-height: 1.02; letter-spacing: -.06em; }
.hero-home .hero-copy { grid-column: 1 / -1; min-height: 595px; }
.hero-home h1 { max-width: min(690px, 56%); }
.hero-intro { color: #e3e7ed; font-size: 1.125rem; max-width: 44ch; }
.location-line { color: #f1b8bd; font-size: .9rem; font-weight: 760; text-transform: uppercase; letter-spacing: .115em; }
.offer { border: 1px solid #ffffff3f; border-radius: 12px; padding: 7px 14px; background: #10141cea; display: inline-flex; align-items: center; gap: 12px; font-weight: 650; }
.offer span { text-decoration: underline; text-underline-offset: .2em; }
.offer strong { color: #ff6674; font-size: 1.65rem; letter-spacing: -.05em; line-height: 1.2; }
.hero-phone { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 15px; }
.hero-phone span { color: #c4cbd6; font-size: .875rem; }
.hero-photo { position: absolute; inset: 0 -35px 0 39%; z-index: 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 0%, #10141ce8 10%, #10141c51 43%, #10141c0a 75%), linear-gradient(0deg, #10141c9e, transparent 27%); }
.hero-photo figcaption { position: absolute; z-index: 1; inset: auto 21px 14px auto; color: white; text-shadow: 0 1px 6px #000; font-size: .875rem; }
.hero-home { overflow: hidden; }
.hero-service .hero-inner { grid-template-columns: minmax(0, 1.6fr) minmax(0, .95fr); gap: clamp(20px, 6vw, 95px); }
.hero-service h1 { font-size: clamp(2.1rem, 4.6vw, 4.15rem); }
.hero-note { align-self: center; padding: clamp(22px, 4vw, 46px); border: 1px solid #ffffff26; border-top: 3px solid #f35364; border-radius: 16px; background: var(--dark-raised); }
.hero-note h2 { margin-block: 8px 13px; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.hero-note p { color: #d4dae3; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding-block: 13px; color: var(--muted); font-size: .9rem; }
.breadcrumbs > :not(:first-child)::before { content: "/"; margin-right: 12px; color: #777f8d; }
.breadcrumbs span { color: var(--ink); }

.section { padding-block: clamp(42px, 7vw, 88px); }
.section h2 + *, .section-heading + * { margin-top: 26px; }
.section-heading { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: end; gap: 10px 25px; }
.section-heading p { color: var(--muted); }
.booking-reasons { padding-block: 24px; border-bottom: 1px solid var(--line); background: #fff; }
.booking-reasons-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(15px, 3vw, 38px); }
.booking-reasons article { border-left: 2px solid #f35364; padding-left: 15px; }
.booking-reasons h2 { font-size: clamp(1.12rem, 2vw, 1.38rem); }
.booking-reasons p { margin-top: 6px; color: var(--muted); }
.booking-reasons a { font-size: .9rem; font-weight: 650; text-decoration-thickness: 1px; }
.brand-section, .services, .faq, .other-models { background: var(--paper); }
.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.brand-grid article, .service-grid article, .model-grid article, .news-grid article { padding: 23px; border: 1px solid var(--line); background: white; border-radius: 12px; }
.brand-grid h3 { padding-bottom: 10px; font-size: 1.5rem; }
.brand-grid h3 a, .model-grid h3 a, .news-grid h3 a { text-decoration: none; }
.brand-grid h3 a:hover, .model-grid h3 a:hover, .news-grid h3 a:hover { color: var(--red-dark); text-decoration: underline; }
.brand-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; }
.brand-grid li a { display: block; padding-block: 3px; color: var(--muted); }
.model-grid, .service-grid, .process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-grid article h3 + p, .model-grid article h3 + p, .news-grid article h3 + p { margin-top: 8px; color: var(--muted); }
.process-grid article { padding: 10px 15px 16px 0; }
.process-grid article p { margin-block: 11px 5px; color: var(--muted); }
.process-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; color: var(--red-dark); background: #fdebef; font-weight: 780; }
.gallery-grid, .repair-guide-grid { display: grid; gap: 18px; }
.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-grid figure { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius, 12px); background: var(--paper); }
.gallery-grid figure a { display: block; }
.gallery-grid figure a:focus-visible { outline-offset: -3px; }
.gallery-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; background: #dadee5; }
.gallery-grid figcaption { padding: 12px 14px; color: var(--ink); font-size: .94rem; }
.repair-guide { background: var(--paper); }
.repair-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.repair-guide-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.repair-guide-grid article p { margin-top: 9px; color: var(--muted); }
.guide-offer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 18px; padding: 17px 21px; border-left: 3px solid var(--red); border-radius: 10px; background: #fff; color: var(--muted); }
.guide-offer strong { color: var(--ink); }
.faq-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 26px; align-items: start; }
.faq-inner h2 + div { margin-top: 0; }
.faq details { border-top: 1px solid #b7bdc9; padding: 15px 0; }
.faq details:last-child { border-bottom: 1px solid #b7bdc9; }
.faq summary { font-weight: 690; }
.faq details p { margin-top: 9px; color: var(--muted); }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.news-grid time, .article time { display: block; margin-bottom: 10px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips a { padding: 8px 13px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.lead-strip { padding-block: 28px; color: white; background: var(--dark-raised); }
.lead-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 17px 28px; flex-wrap: wrap; }
.lead-strip h2 { font-size: clamp(1.45rem, 3vw, 2.2rem); }
.lead-strip h2 + p { margin-top: 6px; color: #d8dce3; }
.lead-strip p + a { display: inline-block; margin-top: 6px; text-decoration: underline; text-underline-offset: .2em; }
.contacts { background: #eef0f4; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 24px; }
.contact-grid h2 + address { margin-top: 15px; }
.contact-grid img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 15px; }
.contact-phone { margin-block: 10px 17px; font-size: 1.45rem; }
.arrival summary { cursor: pointer; font-weight: 650; }
.arrival p { margin-top: 8px; }
.article h1 { max-width: 20ch; font-size: clamp(2.25rem, 4.2vw, 4rem); }
.article h1 + *, .article h2 + * { margin-top: 18px; }
.article-inner p + p { margin-top: 15px; }
.article-inner h2 { margin-top: 28px; font-size: 1.55rem; }
.article-inner .intro { font-size: 1.25rem; }
.article-inner .actions + p { margin-top: 18px; }
.terms-list { padding-inline-start: 1.5em; margin-bottom: 18px; }
.terms-list li + li { margin-top: 7px; }

.site-footer { padding-block: 28px 24px; color: #e1e6ef; background: var(--dark); }
.footer-main, .footer-main nav, .footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 25px; }
.footer-main { justify-content: space-between; }
.footer-legal { margin-top: 19px; padding-top: 16px; border-top: 1px solid #ffffff22; font-size: .875rem; color: #c8d0dc; }
.text-button { padding: 0; border: 0; color: inherit; background: transparent; text-decoration: underline; text-underline-offset: .2em; }

dialog { width: min(490px, calc(100% - 28px)); max-height: calc(100% - 30px); padding: 23px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); box-shadow: 0 20px 110px #0006; }
dialog::backdrop { background: #10141ccd; }
.dialog-top { display: flex; justify-content: space-between; align-items: start; gap: 14px; margin-bottom: 14px; }
.dialog-top h2 { font-size: 1.55rem; }
.close { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; font-size: 1.5rem; color: var(--ink); background: var(--paper); }
dialog form, .request-fields { display: grid; gap: 10px; }
dialog label { display: grid; gap: 4px; font-weight: 650; }
dialog label span { color: var(--muted); font-size: .9rem; font-weight: 400; }
dialog input:not([type="checkbox"]), dialog textarea { width: 100%; padding: 9px 10px; border: 1px solid #9ca5b5; border-radius: 7px; color: var(--ink); background: white; }
.consent { grid-template-columns: auto 1fr; align-items: start; }
.consent input { margin: 5px 2px; accent-color: var(--red); }
.trap { position: absolute; left: -9999px; }
.form-status { color: #a92031; }
#analytics-dialog .actions { margin-top: 17px; }
.analytics-choice { position: fixed; z-index: 4; right: 18px; bottom: 18px; width: min(100% - 36px, 375px); padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 7px 35px #10141c3b; }
.analytics-choice .actions { margin-top: 10px; }

@media (max-width: 1020px) {
  .desktop-nav { gap: 15px; }
  .header-contact span { display: none; }
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-home .hero-copy { min-height: 545px; }
}

@media (max-width: 840px) {
  .desktop-nav { display: none; }
  .header-contact { margin-left: auto; }
  .mobile-nav { position: relative; display: block; }
  .mobile-nav summary { display: grid; place-items: center; list-style: none; width: 42px; height: 42px; border: 1px solid #ffffff40; border-radius: 8px; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span, .mobile-nav summary span::before, .mobile-nav summary span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: white; }
  .mobile-nav summary span::before, .mobile-nav summary span::after { content: ""; position: relative; }
  .mobile-nav summary span::before { top: -6px; }
  .mobile-nav summary span::after { top: 4px; }
  .mobile-nav nav { position: absolute; min-width: 220px; right: 0; top: 50px; z-index: 3; display: grid; gap: 5px; padding: 15px; border: 1px solid #ffffff38; border-radius: 9px; background: var(--dark-raised); }
  .mobile-nav nav a { padding: 5px; }
  .hero-home h1 { max-width: 65%; }
  .service-grid, .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 63px; gap: 10px; }
  .brandmark { width: 88px; padding: 3px 6px; }
  .header-contact { font-size: .91rem; }
  .header-cta { display: none; }
  .hero-home .hero-inner, .hero-service .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-home .hero-copy { min-height: auto; padding-bottom: 0; }
  .hero-home h1 { max-width: 100%; }
  .hero-copy { gap: 16px; padding-block: 35px; }
  .hero-intro { font-size: 1.025rem; }
  .hero-photo { position: relative; inset: auto; width: calc(100% + 32px); margin: 14px -16px 0; aspect-ratio: 16 / 8; }
  .hero-photo::after { background: linear-gradient(180deg, var(--dark), transparent 32%), linear-gradient(0deg, #10141c95, transparent 40%); }
  .hero-note { margin-bottom: 24px; }
  .brand-grid, .process-grid, .faq-inner, .contact-grid, .news-grid,
  .booking-reasons-inner, .gallery-grid, .repair-guide-grid { grid-template-columns: 1fr; }
  .brand-grid ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 8px; }
  .brand-grid article, .service-grid article, .model-grid article, .news-grid article { padding: 17px; }
  .process-grid { gap: 2px; }
  .process-grid article { padding-bottom: 18px; }
  .footer-main nav { order: 3; width: 100%; gap: 8px 17px; }
  .button { padding-inline: 14px; }
}

@media (max-width: 390px) {
  .service-grid, .model-grid { grid-template-columns: 1fr; }
}

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