:root {
  color-scheme: light;
  --paper: #f4f5f6;
  --card: #fff;
  --ink: #171b20;
  --muted: #505963;
  --line: #dce0e4;
  --night: #15191e;
  --red: #b7262e;
  --light-red: #ffa1a5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.75 Tahoma, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #2784df; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
img { display: block; width: 100%; }
.wrap { width: min(1180px, calc(100% - 4rem)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; inset-block-start: .5rem; inset-inline-start: 1rem; background: white; padding: .5rem 1rem; transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }

header { background: #fff; }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.15rem; font-weight: 800; line-height: 1.25; }
.brand small { display: block; font-size: .86rem; color: var(--muted); margin-top: .15rem; }
.mark { display: grid; place-items: center; width: 43px; height: 43px; background: var(--red); color: #fff; border-radius: 8px; font-size: 1.6rem; }
.nav nav { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.nav nav a, .header-call { font-size: .95rem; font-weight: 700; }
.nav nav a:hover, .section-head a:hover { color: var(--red); }
.header-call { color: var(--red); border: 1px solid #dbadb0; padding: .42rem .8rem; border-radius: 6px; white-space: nowrap; }

.hero { background: var(--night); color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 510px; }
.hero-content { align-self: center; padding-block: 4rem; padding-inline-end: 2rem; }
.tag { display: inline-block; border-inline-start: 3px solid currentColor; padding-inline-start: .65rem; margin-bottom: 1.1rem; font-weight: 700; color: var(--red); }
.hero .tag { color: var(--light-red); }
h1 { font-size: clamp(2.55rem, 5.3vw, 5rem); line-height: 1.14; letter-spacing: -.035em; }
h1 em { color: var(--light-red); font-style: normal; }
.lede { color: #d3d8de; max-width: 38ch; margin-block: 1.35rem 1.5rem; font-size: 1.08rem; }
.hero-photo { height: 100%; max-height: 630px; min-height: 0; object-fit: cover; object-position: 46% center; }
.hero-actions, .links, .social-links { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 46px; padding: .55rem 1rem; border-radius: 6px; font-weight: 700; background: var(--red); color: #fff; border: 1px solid transparent; }
.button:hover { background: #941a22; }
.outline { color: var(--ink); background: var(--card); border-color: var(--line); }
.outline:hover { background: #e9edf1; }
.hero .outline, .social .outline { background: transparent; color: #fff; border-color: #727981; }
.hero .outline:hover, .social .outline:hover { background: #303840; }

.services { padding-block: 4.8rem; }
.section-head, .social-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.4rem; }
h2 { font-size: clamp(1.8rem, 3.9vw, 3rem); line-height: 1.25; }
.section-head a { text-decoration: underline; text-underline-offset: .3em; font-weight: 700; }
.cards, .reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.cards article { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 6px 20px #1929380d; }
.cards img { height: auto; aspect-ratio: 16/9; object-fit: cover; }
.cards .card-copy { padding: 1.25rem 1.35rem 1.45rem; }
h3 { font-size: 1.23rem; margin-bottom: .25rem; }
.cards p, .visit p:not(.tag) { color: var(--muted); }

.social { background: var(--night); color: #fff; padding-block: 4rem; }
.social-head { align-items: end; }
.social-head p { color: #c6cdd4; margin-top: .45rem; }
.social-links a { font-size: .95rem; }
.reels figure { display: flex; flex-direction: column; margin: 0; background: #222932; border: 1px solid #434c56; border-radius: 10px; overflow: hidden; }
.reels iframe { width: 100%; height: 630px; border: 0; background: #fff; }
.reels .youtube-short iframe { background: #0c0e11; }
.reels figcaption { padding: .8rem 1rem; }
.reels a { text-decoration: underline; text-underline-offset: .24em; }

.visit { background: #fff; padding-block: 4rem; }
.visit-grid { display: grid; grid-template-columns: 1fr 1.3fr; align-items: start; gap: 2rem; }
.visit .note { margin-block: .45rem 1rem; }
.links>a:not(.button) { text-decoration: underline; text-underline-offset: .24em; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-block: 1.3rem; color: var(--muted); }
footer a { text-decoration: underline; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 2.5rem); }
  .reels { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 2rem); }
  .nav { flex-wrap: wrap; gap: .65rem; padding-block: .8rem; }
  .nav nav { order: 3; width: 100%; justify-content: space-between; gap: .35rem; border-top: 1px solid var(--line); padding-top: .55rem; }
  .nav nav a { font-size: .87rem; }
  .hero-grid, .visit-grid, .cards, .reels { grid-template-columns: 1fr; }
  .hero-content { padding-block: 2.7rem 2rem; padding-inline-end: 0; }
  .hero-photo { aspect-ratio: 16/9; height: auto; border-radius: 8px 8px 0 0; }
  .services, .social, .visit { padding-block: 2.8rem; }
  .reels { max-width: 450px; }
  .reels iframe { height: clamp(510px, 156vw, 665px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.hero-photo { object-position: center; }
.featured { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,350px); align-items: center; gap: 1.4rem; margin-bottom: 1.25rem; background: #222932; border: 1px solid #434c56; border-radius: 12px; overflow: hidden; }
.featured-copy { padding: clamp(1.3rem,4vw,2.8rem); }
.featured-copy p { color: #c6cdd4; margin-bottom: 1rem; }
.featured iframe { display: block; width: 100%; height: 585px; border: 0; background: #101318 url(workshop-mazda.avif) center / cover; }
@media (max-width: 700px) {
  .featured { grid-template-columns: minmax(0,1fr); gap: 0; }
  .featured iframe { height: clamp(430px,148vw,585px); }
}

.offers { padding-block: 4.5rem 0; }
.offer-card { display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.offer-copy { padding: clamp(1.4rem, 4vw, 3rem); align-self: center; }
.offer-status { display: inline-block; padding: .1rem .7rem; margin-bottom: .75rem; color: #8e1c24; background: #fbe6e7; border-radius: 4px; font-weight: 700; }
.offer-price { color: var(--red); font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.3; margin-block: .3rem .5rem; }
.offer-price span { font-size: .45em; }
.offer-copy h3 { font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.4; }
.offer-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.offer-actions [hidden] { display: none; }
.offer-picture { display: grid; place-items: center; padding: 1rem; background: var(--night); }
.offer-picture img { width: auto; height: auto; max-width: 100%; max-height: 440px; }
.offer-archive { margin-top: 1rem; padding: .8rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.offer-archive summary { cursor: pointer; font-weight: 700; }
.offer-archive ul { list-style: none; padding: 0; margin: .75rem 0 0; }
.offer-archive li { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; padding: .45rem 0; border-top: 1px solid var(--line); }
.offer-archive a { color: var(--red); text-decoration: underline; }
.offer-archive span { color: var(--muted); }
@media (max-width: 700px) {
  .offers { padding-top: 2.8rem; }
  .offer-card { grid-template-columns: 1fr; }
  .offer-picture img { max-height: 380px; }
}

.visit { background: #eceff2; padding-block: clamp(2.8rem,7vw,5.2rem); }
.visit-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem,5vw,4rem); }
.visit-copy h2 { margin-bottom: .65rem; }
.visit-contact { background: white; border: 1px solid var(--line); border-inline-start: 4px solid var(--red); border-radius: 12px; padding: clamp(1.1rem,3vw,2rem); }
.visit-address { display: grid; gap: .15rem; margin-bottom: 1rem; }
.visit-address strong { font-size: 1.2rem; }
.visit-address span { color: var(--muted); }
.site-footer { display: block; padding: 0; background: #11151a; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1.6rem; padding-block: 2.75rem; }
.site-footer .brand small, .site-footer small { color: #c4cbd2; }
.footer-grid nav { display: grid; align-content: start; justify-items: start; gap: .42rem; }
.footer-grid h2 { font-size: 1rem; margin-bottom: .3rem; }
.site-footer a { text-decoration: none; }
.footer-grid nav a { color: #dbe0e6; }
.site-footer a:hover { color: var(--light-red); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; border-top: 1px solid #3b434b; padding-block: 1rem; }
.footer-bottom a { font-weight: 700; }

@media (max-width: 700px) {
  .visit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.3rem; }
  .footer-grid > div { grid-column: 1 / -1; }
}
@keyframes workshop-rise {
  from { opacity: .35; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-content, .hero-photo { animation: workshop-rise .62s cubic-bezier(.22,.74,.32,1) both; }
  .hero-photo { animation-delay: .09s; }
  .button, .cards article { transition: background-color .2s, transform .2s, box-shadow .2s; }
  .button:active { transform: translateY(1px); }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .button:hover, .cards article:hover { transform: translateY(-3px); box-shadow: 0 8px 16px #12161b22; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .offer-card, .cards article, .visit-contact {
      animation: workshop-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}

.watch-section { padding-top: clamp(1.4rem, 3vw, 2.6rem); }
.watch-section .featured { margin: 0; color: #fff; }
.watch-section .featured-copy .tag { color: var(--light-red); }
.watch-source { display: inline-block; margin-top: 1rem; color: #e6ebf0; text-decoration: underline; text-underline-offset: .25em; }
.watch-stage { background: #101318; }
.watch-stage iframe, .watch-trigger { height: clamp(390px, 47vw, 550px); }
.watch-trigger { position: relative; isolation: isolate; display: grid; place-items: center; color: white; }
.watch-trigger::before { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 25%, #11151ace); z-index: -1; }
.watch-trigger img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.watch-trigger > span { display: inline-flex; align-items: center; gap: .65rem; border-radius: 100px; background: var(--red); padding: .65rem 1rem; font-weight: 700; }
.watch-trigger:hover > span { background: #941a22; }
@keyframes offer-price-glow {
  0%, 100% { text-shadow: none; }
  48% { text-shadow: 0 0 17px #e262668c; }
}
@media (prefers-reduced-motion: no-preference) {
  .offer-price-highlight { animation: offer-price-glow .85s ease-out; }
}
@media (max-width: 700px) {
  .watch-stage iframe, .watch-trigger { height: clamp(340px, 118vw, 510px); }
}

.back-top { position: fixed; z-index: 2; inset-inline-end: max(1rem,env(safe-area-inset-left)); inset-block-end: max(1rem,env(safe-area-inset-bottom)); background: #15191e; color: white; border: 1px solid #737d88; border-radius: 100px; padding: .5rem .9rem; font-size: .9rem; font-weight: 700; box-shadow: 0 4px 14px #161b2140; }
.back-top:hover { background: #303840; }
@media (prefers-reduced-motion: no-preference) {
  .back-top:not([hidden]) { animation: workshop-rise .22s ease-out both; }
}
