:root {
  color-scheme: light;
  --navy: #0b1524;
  --navy-soft: #132236;
  --gold: #e0bd80;
  --contact-gold: #C6A875;
  --paper: #fbfaf7;
  --ink: #142236;
  --muted: #4e5968;
  --border: #ddd7cc;
  --shell: min(1180px, 100% - 3rem);
  font-family: "Avenir Next", system-ui, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a57232; outline-offset: 5px; }
.dark :focus-visible, .hero :focus-visible, .site-header :focus-visible,
.site-footer :focus-visible, .fleet-lightbox :focus-visible { outline-color: var(--gold); }
.container { width: var(--shell); margin-inline: auto; }
.skip { position: fixed; top: 1rem; left: 1rem; z-index: 10; padding: .75rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
p, h1, h2, h3, figure { margin: 0; }
.hero-motto, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.06; letter-spacing: -.035em; }
h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.5rem); line-height: 1.25; }
section[id]:not(.hero) { scroll-margin-top: 6.25rem; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 5; color: white; background-color: transparent; border-bottom: 1px solid #ffffff24; transition: background-color .25s ease; }
.site-header.is-scrolled, .site-header.menu-open { background-color: var(--navy); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 5.25rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; line-height: 1.25; }
.brand strong { display: block; font-size: 1rem; letter-spacing: .025em; }
.brand small { display: block; margin-top: .22rem; color: #e0e6ed; font-size: .7rem; }
.monogram { display: grid; flex: 0 0 auto; width: 2.65rem; aspect-ratio: 1; place-items: center; border: 1px solid var(--gold); color: var(--gold); font: 1.5rem Georgia, serif; }
nav { display: flex; align-items: center; gap: clamp(.8rem, 2.5vw, 2.1rem); }
nav a { padding: .55rem .15rem; text-decoration: none; font-size: .9rem; font-weight: 600; }
nav a:hover { color: var(--gold); }
.nav-contact { padding-inline: 1rem; border: 1px solid #e0bd8080; color: var(--gold); }
.menu-toggle { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; background: transparent; border: 1px solid #e0bd8080; color: var(--gold); cursor: pointer; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: block; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; color: var(--gold); text-decoration: none; white-space: nowrap; font-size: .9rem; font-weight: 650; transition: color .2s ease; }
.header-phone:hover { color: white; }
.header-phone .icon { color: var(--contact-gold); }

.hero {
  display: grid;
  min-height: 90vh;
  min-height: 90svh;
  align-items: center;
  color: white;
  background-color: var(--navy);
  --hero-photo: url("assets/images/hero-bus.jpg");
  background-image:
    linear-gradient(180deg, #081220a3, transparent 22%),
    linear-gradient(90deg, #081220d1, #08122086 36%, #08122012 70%, transparent),
    var(--hero-photo);
  background-size: cover;
  background-position: 74% center;
}
.hero-inner { padding-block: 8.25rem 4rem; }
.hero-motto { font-size: clamp(3.3rem, 6.4vw, 6.75rem); line-height: 1; text-shadow: 0 2px 18px #08122066; }
.hero-subtitle { margin-top: 1.35rem; font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 400; text-shadow: 0 1px 8px #081220b3; }
.actions { margin-top: 1.9rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 3.2rem; padding: .7rem 1.2rem; border: 1px solid transparent; font-size: .9rem; font-weight: 750; text-decoration: none; transition: background-color .2s, border-color .2s; }
.primary { color: var(--navy); background: var(--gold); }
.primary:hover { background: #f4d6a2; }

.section { padding-block: clamp(4rem, 9vw, 8rem); }
.light { background: var(--paper); }
.dark { color: white; background: var(--navy); }
.about-section { --about-gold: #C6A875; color: #fff; background: #111820; }
.about-story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: start; gap: clamp(2rem, 7vw, 6rem); }
.about-eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; color: var(--about-gold); font-size: .73rem; font-weight: 750; letter-spacing: .17em; }
.about-eyebrow::before { content: ""; flex: 0 0 1.75rem; height: 1px; background: currentColor; }
.about-heading h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.about-portrait { width: 100%; height: auto; margin-top: 2rem; }
.about-copy { display: grid; gap: 1.25rem; max-width: 64ch; color: #b5bbc3; line-height: 1.75; }
.about-motto { margin-top: .25rem; color: var(--about-gold); font: italic clamp(1.35rem, 2.6vw, 1.85rem)/1.3 Georgia, "Times New Roman", serif; }
.about-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(2.5rem, 6vw, 4.5rem) 0 0; padding: 1.5rem 0; border-block: 1px solid #c6a87555; list-style: none; text-align: center; color: #b5bbc3; }
.about-stats li { padding-inline: .75rem; }
.about-stats li + li { border-inline-start: 1px solid #c6a87555; }
.about-stats strong { display: block; margin-bottom: .35rem; color: var(--about-gold); font: 400 clamp(2rem, 5vw, 3.75rem)/1 Georgia, "Times New Roman", serif; }
.offer-section { --offer-gold: #C6A875; color: #fff; background: #111820; }
.offer-section :focus-visible { outline-color: var(--offer-gold); }
.offer-heading { display: grid; gap: .85rem; max-width: 49rem; margin-bottom: clamp(1.75rem, 5vw, 3.5rem); }
.offer-heading p, .offer-card p, .offer-cta p { color: #b5bbc3; }
.offer-heading .offer-eyebrow { display: flex; align-items: center; gap: .75rem; color: var(--offer-gold); font-size: .73rem; font-weight: 750; letter-spacing: .17em; }
.offer-eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: clamp(.9rem, 2vw, 1.4rem); }
.offer-card { padding: clamp(1.35rem, 3vw, 2.25rem); border: 1px solid #c6a87545; background: #151e27; transition: background-color .25s ease, border-color .25s ease; }
.offer-card .icon, .offer-benefits .icon { color: var(--offer-gold); }
.offer-card h3 { margin-block: .95rem .45rem; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
@media (hover: hover) {
  .offer-card:hover { border-color: #c6a87590; background: #1b2630; }
}
.offer-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: clamp(1.75rem, 4vw, 3rem) 0; padding: 1.2rem 0; border-block: 1px solid #c6a87545; list-style: none; }
.offer-benefits li { display: flex; align-items: center; justify-content: center; gap: .65rem; font-weight: 650; }
.offer-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.offer-cta h3 { font: 400 clamp(1.8rem, 4vw, 3rem)/1.15 Georgia, "Times New Roman", serif; }
.offer-cta .offer-cta-subtitle { margin-block: .35rem .8rem; color: var(--offer-gold); font-size: 1.125rem; }
.offer-cta .primary { color: #111820; background: var(--offer-gold); }
.offer-cta .primary:hover { background: #d5ba8e; }
.fleet-section { --fleet-gold: #C6A875; color: white; background: #111820; }
.fleet-section :focus-visible { outline-color: var(--fleet-gold); }
.fleet-heading { display: grid; gap: .85rem; max-width: 45rem; }
.fleet-heading p { color: #b5bbc3; }
.fleet-heading .fleet-eyebrow { color: var(--fleet-gold); font-size: .73rem; font-weight: 750; letter-spacing: .17em; }
.fleet-stats { display: flex; flex-wrap: wrap; gap: .75rem clamp(1rem, 5vw, 4rem); margin-block: 2rem; padding: .85rem 0; border-block: 1px solid #ffffff24; list-style: none; color: #b5bbc3; }
.fleet-stats strong { color: var(--fleet-gold); }
.fleet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.fleet-card { border: 1px solid #ffffff24; background: #17212b; }
.fleet-photo { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #111820; }
.fleet-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fleet-frame, center); transition: transform .4s ease; }
.fleet-photo--setra-srebrna { --fleet-frame: 55% 55%; }
.fleet-photo--setra-czerwona { --fleet-frame: 65% 60%; }
.fleet-photo--mercedes-sprinter { --fleet-frame: center 57%; }
.fleet-photo--volkswagen-caravelle { --fleet-frame: 56% 60%; }
.fleet-photo:focus-visible { position: relative; z-index: 1; outline-offset: -4px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .fleet-photo:hover img { transform: scale(1.035); }
}
.fleet-card-details { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem 1rem; padding: clamp(1rem, 2.5vw, 1.6rem); }
.fleet-seats { display: inline-flex; align-items: center; gap: .5rem; color: var(--fleet-gold); white-space: nowrap; }
.service-area { color: white; background: var(--navy); border-block: 1px solid #c6a87545; }
.service-area :focus-visible { outline-color: var(--gold); }
.service-area-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: clamp(1.75rem, 6vw, 5rem); }
.service-area p { max-width: 58ch; margin-top: .9rem; color: #d4dae2; }
.service-area .button { margin-top: 1.5rem; }
.service-area-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.service-area-list li { padding: .75rem 1rem; border: 1px solid #c6a87545; color: var(--gold); background: var(--navy-soft); }
.contact { padding-block: clamp(80px, 8vw, 100px); color: #B5BBC3; background: #111820; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: center; gap: clamp(1.75rem, 7vw, 6rem); width: calc(100% - 3rem); max-width: 1200px; }
.contact :focus-visible { outline-color: var(--contact-gold); }
.contact h2 { margin-bottom: 1rem; color: #FFFFFF; }
.contact h2 + p { max-width: 46ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.contact .primary { color: #111820; background-color: var(--contact-gold); }
.contact .primary:hover { background-color: #D5BA8E; }
.contact-secondary { color: var(--contact-gold); border-color: currentColor; background-color: transparent; }
.contact-secondary:hover { background-color: #c6a87524; }
.contact-details, .footer-company address { font-style: normal; }
.contact-detail { display: flex; align-items: flex-start; gap: .9rem; padding-block: 1rem; }
.contact-detail + .contact-detail { border-top: 1px solid #ffffff24; }
.contact-detail .icon { color: var(--contact-gold); margin-top: .1rem; }
.contact-detail span { display: block; font-size: .8rem; }
.contact-detail a, .contact-detail p { color: #FFFFFF; font-size: clamp(1rem, 2vw, 1.25rem); overflow-wrap: anywhere; }
.contact-detail a { text-decoration: none; transition: color .2s ease; }
.contact-detail a:hover { color: var(--contact-gold); }
.site-footer { color: #d4dae2; font-size: .85rem; }
.footer-inner { align-items: flex-start; padding-block: 2rem; }
.footer-company strong { color: white; }
.footer-company address { margin-top: .45rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-top: .6rem; }
.footer-links a, .footer-bottom a { color: var(--gold); text-underline-offset: .22em; }
.footer-links a:hover, .footer-bottom a:hover { color: white; }
.footer-inner nav { flex-wrap: wrap; gap: .25rem 1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1rem; border-top: 1px solid #ffffff24; }

.fleet-lightbox { width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; color: white; background: #080d13; }
.fleet-lightbox::backdrop { background: #060a12e8; }
body:has(.fleet-lightbox[open]) { overflow: hidden; }
.fleet-lightbox figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; padding: 3.75rem clamp(3rem, 7vw, 6rem) .75rem; touch-action: pan-y pinch-zoom; }
.fleet-lightbox img { width: 100%; height: 100%; object-fit: contain; }
.fleet-lightbox figcaption { padding: .7rem .25rem; text-align: center; }
.fleet-lightbox .close-photo, .fleet-lightbox-arrow { position: absolute; z-index: 1; min-width: 2.75rem; min-height: 2.75rem; border: 1px solid #c6a87580; background: #111820; color: #C6A875; cursor: pointer; }
.fleet-lightbox .close-photo { top: .6rem; right: .6rem; width: 2.75rem; height: 2.75rem; font-size: 1.65rem; line-height: 1; }
.fleet-lightbox-arrow { top: 50%; transform: translateY(-50%); padding: 0; font-size: 1.75rem; line-height: 1; }
.fleet-lightbox-prev { left: .25rem; }
.fleet-lightbox-next { right: .25rem; }
.fleet-lightbox-arrow:hover, .fleet-lightbox .close-photo:hover { border-color: #C6A875; color: white; }

@media (max-width: 64rem) {
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 56rem) {
  .header-inner { flex-wrap: wrap; min-height: 4.5rem; gap: .7rem; padding-block: .65rem; }
  .header-inner nav { order: 1; flex: 1 0 100%; flex-wrap: wrap; justify-content: space-between; gap: .2rem .8rem; }
  .menu-toggle { margin-left: auto; }
}

@media (max-width: 48rem) {
  :root { --shell: min(1180px, 100% - 2rem); }
  .hero {
    align-items: end;
    background-image:
      linear-gradient(180deg, #081220a3, transparent 23%),
      linear-gradient(90deg, #08122042, transparent 85%),
      linear-gradient(0deg, #081220f0, #081220b8 35%, transparent 72%),
      var(--hero-photo);
    background-position: 36% center;
  }
  .hero-inner { padding-block: clamp(7rem, 28svh, 14rem) 2.5rem; }
  .hero-motto { font-size: clamp(2.65rem, 9vw, 4.5rem); }
  .hero-subtitle { max-width: 28ch; margin-top: 1rem; }
  .actions { margin-top: 1.4rem; }
  .about-story { grid-template-columns: minmax(0, 1fr); }
  .contact-inner { width: calc(100% - 2rem); grid-template-columns: minmax(0, 1fr); }
  .fleet-grid { grid-template-columns: minmax(0, 1fr); }
  .service-area-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 37.5rem) {
  .hero { --hero-photo: url("assets/images/hero-bus-1000.jpg"); }
  .offer-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .offer-benefits { grid-template-columns: minmax(0, 1fr); }
  .offer-benefits li { justify-content: flex-start; }
}

@media (max-width: 34rem) {
  .about-stats { grid-template-columns: minmax(0, 1fr); padding-block: 0; text-align: left; }
  .about-stats li { display: flex; align-items: baseline; gap: .8rem; padding: 1rem 0; }
  .about-stats li + li { border-inline-start: 0; border-top: 1px solid #c6a87555; }
  .about-stats strong { min-width: 4rem; margin-bottom: 0; }
  .header-inner { gap: .4rem; }
  .header-inner .brand { gap: .45rem; }
  .header-inner .brand strong { font-size: .82rem; }
  .header-inner .brand small { display: none; }
  .header-inner .monogram { width: 2rem; }
  .header-phone { gap: .3rem; font-size: .75rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .65rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-motto, .hero-subtitle, .hero .actions { animation: hero-enter .7s ease-out both; }
  .hero-subtitle { animation-delay: .1s; }
  .hero .actions { animation-delay: .2s; }
  @keyframes hero-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  [data-reveal].reveal { animation: rise .55s ease both; }
  .contact-details.reveal { animation-delay: .12s; }
  @keyframes rise { from { opacity: .62; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

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