:root {
  color-scheme: light;
  --ink: #252723;
  --navy: #292d29;
  --navy-soft: #383d37;
  --orange: #a54f37;
  --paper: #f4f2ec;
  --muted: #686b63;
  --white: #fff;
  --font-body: "Segoe UI", Tahoma, sans-serif;
  --font-display: "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 30px; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-body);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.topbar { color: #565a53; background: #f4f2ec; font-size: 11px; }
.topbar-inner { min-height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar p { margin: 0; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.topbar svg, .nav-call svg, .hero-actions svg { width: 15px; height: 15px; }

.site-header { position: relative; z-index: 5; color: var(--ink); background: #fff; border-bottom: 1px solid #e8e6e0; }
.nav-wrap { min-height: 76px; display: flex; justify-content: space-between; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; color: #fff; background: var(--orange); font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.brand-mark svg { width: 22px; height: 22px; stroke-width: 1.7; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-family: var(--font-display); font-size: 15px; letter-spacing: .035em; line-height: 1.2; }
.brand-copy small { color: #686b63; font-size: 10px; font-weight: 500; letter-spacing: .035em; }
.primary-nav { display: flex; align-items: center; gap: 28px; font-size: 12px; font-weight: 500; }
.primary-nav > a:not(.nav-call) { color: #41443f; }
.primary-nav > a:not(.nav-call):hover { color: var(--orange); }
.nav-call { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; color: var(--ink); border: 1px solid #d6d4cd; }
.nav-call:hover { color: #fff; background: var(--orange); border-color: var(--orange); }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; color: var(--ink); background-color: var(--paper); background-image: linear-gradient(90deg, #f4f2ec 0%, rgb(244 242 236 / 99%) 42%, rgb(244 242 236 / 91%) 62%, rgb(244 242 236 / 26%) 100%), url("assets/otobus-hero.jpg"); background-position: center, center 48%; background-size: cover; }
.hero-layout { min-height: 505px; display: grid; grid-template-columns: 1fr; align-items: center; gap: 0; padding-block: 36px; }
.hero-content { position: relative; z-index: 1; align-self: center; max-width: 535px; padding: 0; }
.eyebrow { margin: 0 0 17px; color: #676a63; font-size: 11px; font-weight: 600; letter-spacing: .035em; }
.eyebrow > span { display: none; }
.hero h1, h2 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.035em; }
.hero h1 { max-width: 540px; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.1; }
h1 em, h2 em { color: var(--orange); font-style: normal; }
.hero-lead { max-width: 440px; margin: 20px 0 0; color: #5b5f58; font-size: 15px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button { min-height: 43px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 0 15px; font-size: 12px; font-weight: 600; transition: background .2s ease, color .2s ease; }
.button-primary { color: #fff; background: var(--orange); }
.button-primary:hover { background: #85402e; }
.button-outline { color: var(--ink); border: 1px solid #d6d4cd; }
.button-outline:hover { background: #f4f2ec; }
.hero-brands { margin: 25px 0 0; color: #53564f; font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.hero-brands span { padding-inline: 5px; color: #999990; }
.location-arrow { margin-left: auto; color: var(--orange); font-size: 17px; }

.section { padding: 76px 0; }
.services-section { background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 33px; }
.eyebrow-dark { color: #686b63; }
.section-heading h2, .gallery-heading h2 { font-size: clamp(31px, 3.5vw, 42px); line-height: 1.15; }
.section-intro { max-width: 430px; margin: 0 0 3px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid #d8d6cf; }
.service-card { position: relative; min-height: 190px; padding: 22px 24px 18px 0; background: transparent; border: 0; border-bottom: 1px solid #d8d6cf; }
.service-card + .service-card { padding-left: 24px; border-left: 1px solid #d8d6cf; }
.service-card-featured { color: var(--ink); background: transparent; border-color: #d8d6cf; }
.service-card h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.service-card p { margin: 0; color: #686b63; font-size: 13px; line-height: 1.7; }
.service-card > a { position: absolute; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-size: 11px; font-weight: 600; }

.brands-section { padding: 58px 0; color: var(--ink); background: #fff; border-bottom: 1px solid #e8e6e0; }
.brands-layout { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.brands-copy h2, .contact-copy h2 { font-size: clamp(31px, 3.5vw, 42px); line-height: 1.15; }
.brands-copy > p:not(.eyebrow) { max-width: 475px; margin: 14px 0 13px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-size: 12px; font-weight: 600; }
.brand-list { margin: 0; color: #50534d; font-size: 14px; font-weight: 600; letter-spacing: .11em; white-space: nowrap; }
.brand-list span { padding-inline: 8px; color: #a4a399; }

.process-section { background: #f4f2ec; }
.process-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 60px; }
.process-layout h2 { font-size: clamp(29px, 3.5vw, 40px); line-height: 1.2; }
.process-layout > p { max-width: 510px; margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

.gallery-section { padding: 72px 0; color: var(--ink); background: #fff; }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 30px; }
.gallery-heading .eyebrow { margin-bottom: 15px; }
.gallery-heading h2 { font-size: clamp(31px, 3.5vw, 42px); }
.gallery-controls { display: flex; gap: 6px; }
.gallery-arrow { width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink); background: transparent; border: 1px solid #d6d4cd; cursor: pointer; font-size: 17px; }
.gallery-arrow:hover { color: #fff; background: var(--orange); border-color: var(--orange); }
.gallery-frame { position: relative; max-width: 900px; margin-inline: auto; }
.gallery-image-button { position: relative; width: 100%; height: clamp(270px, 48vw, 500px); display: block; overflow: hidden; padding: 0; background: #eeece5; border: 0; cursor: zoom-in; }
.gallery-image { width: 100%; height: 100%; display: block; object-fit: contain; transition: opacity .25s ease; }
.gallery-image.is-changing { opacity: .25; }
.gallery-zoom { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; display: grid; place-items: center; color: var(--ink); background: rgb(255 255 255 / 90%); font-size: 19px; }
.gallery-caption { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 12px 16px; color: var(--ink); background: rgb(255 255 255 / 92%); }
.gallery-counter { color: var(--orange); font-size: 10px; font-weight: 600; }
.gallery-description { margin: 0; font-size: 11px; }
.gallery-bottom { display: flex; justify-content: space-between; align-items: center; max-width: 820px; margin: 18px auto 0; }
.gallery-bottom > p { margin: 0; color: var(--muted); font-size: 11px; }
.gallery-dots { display: flex; gap: 7px; }
.gallery-dot { width: 7px; height: 7px; padding: 0; background: #c9c7bf; border: 0; border-radius: 50%; cursor: pointer; }
.gallery-dot.is-active { width: 21px; background: var(--orange); border-radius: 5px; }

.contact-section { padding: 76px 0; color: var(--ink); background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 65px; }
.contact-copy > p:not(.eyebrow) { max-width: 405px; margin: 17px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.contact-phone { width: fit-content; min-width: 0; display: flex; align-items: center; padding: 9px 0; }
.contact-phone > span { display: grid; gap: 4px; }
.contact-phone small, .contact-address small { color: #66695f; font-size: 10px; font-weight: 500; }
.contact-phone strong { color: var(--ink); font-size: 16px; }
.contact-address { display: flex; align-items: flex-start; gap: 13px; margin: 20px 0; }
.address-pin { display: none; }
.contact-address p { margin: 6px 0 0; color: #444740; font-size: 13px; line-height: 1.7; }
.directions-button { min-width: 0; min-height: 40px; }
.directions-button svg { width: 15px; height: 15px; }
.map-card { position: relative; min-height: 350px; overflow: hidden; background: #e4e2db; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25); }
.map-label { position: absolute; right: 12px; bottom: 12px; left: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: var(--ink); background: #fff; }
.map-label > span:first-child { display: grid; gap: 3px; }
.map-label small { color: #686b63; font-size: 10px; letter-spacing: 0; }

.site-footer { color: var(--ink); background: #f4f2ec; }
.footer-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand .brand-mark { width: 32px; height: 32px; }
.footer-brand .brand-copy strong { font-size: 11px; }
.footer-brand .brand-copy small { color: #686b63; font-size: 9px; }
.footer-inner > p { margin: 0; color: #686b63; font-size: 11px; }
.footer-inner > a:last-child { color: var(--ink); font-size: 12px; font-weight: 600; }
.footer-inner > a:last-child span { color: var(--orange); }
.footer-bottom { min-height: 43px; display: flex; justify-content: space-between; align-items: center; color: #686b63; border-top: 1px solid #dddbd3; font-size: 10px; }
.footer-bottom span:last-child { letter-spacing: .06em; }
.whatsapp-float { position: fixed; z-index: 10; right: 22px; bottom: 22px; width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: #368b5b; border-radius: 50%; transition: background .2s ease; }
.whatsapp-float:hover { background: #287348; }
.whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }

.lightbox { position: fixed; width: min(1000px, calc(100% - 32px)); max-width: none; max-height: 90vh; padding: 0; overflow: visible; background: transparent; border: 0; }
.lightbox::backdrop { background: rgb(2 10 16 / 90%); }
.lightbox img { width: 100%; max-height: 85vh; display: block; object-fit: contain; }
.lightbox-close { position: absolute; top: -43px; right: 0; width: 36px; height: 36px; color: #fff; background: transparent; border: 1px solid rgb(255 255 255 / 40%); cursor: pointer; font-size: 25px; line-height: 1; }

@media (max-width: 900px) {
  .primary-nav { gap: 20px; }
  .hero-layout { min-height: 450px; }
  .brands-layout { gap: 35px; }
  .contact-layout { gap: 40px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 36px, 540px); }
  .topbar-inner { min-height: 34px; }
  .topbar p { max-width: 230px; font-size: 9px; line-height: 1.3; }
  .topbar a { font-size: 10px; }
  .nav-wrap { min-height: 68px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { font-size: 9px; }
  .menu-toggle { width: 40px; height: 40px; display: grid; align-content: center; justify-items: center; gap: 5px; padding: 0; color: var(--ink); background: transparent; border: 1px solid #d6d4cd; cursor: pointer; }
  .menu-toggle span { width: 18px; height: 2px; display: block; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 67px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 9px 18px 17px; color: var(--ink); background: #fff; border-top: 1px solid #e8e6e0; box-shadow: 0 10px 18px rgb(0 0 0 / 8%); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav > a:not(.nav-call) { padding: 13px 3px; border-bottom: 1px solid #e8e6e0; }
  .nav-call { justify-content: center; margin-top: 13px; }
  .hero { background-image: linear-gradient(180deg, #f4f2ec 0%, rgb(244 242 236 / 99%) 62%, rgb(244 242 236 / 91%) 82%, rgb(244 242 236 / 57%) 100%), url("assets/otobus-hero.jpg"); background-position: center, 62% center; }
  .hero-layout { min-height: 0; grid-template-columns: 1fr; gap: 0; padding-block: 52px; }
  .hero-content { padding: 0; }
  .hero h1 { font-size: clamp(38px, 10vw, 52px); }
  .hero-lead { max-width: 440px; font-size: 14px; }
  .section { padding: 58px 0; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-intro { margin-top: 15px; font-size: 13px; }
  .section-heading h2, .gallery-heading h2 { font-size: 32px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card + .service-card { min-height: 0; padding: 18px 0 46px; border-right: 0; border-left: 0; }
  .service-card > a { bottom: 15px; }
  .brands-section { padding: 48px 0; }
  .brands-layout { grid-template-columns: 1fr; gap: 20px; }
  .brands-copy h2, .contact-copy h2 { font-size: 34px; }
  .brand-list { font-size: 12px; }
  .brand-list span { padding-inline: 5px; }
  .process-layout { grid-template-columns: 1fr; gap: 13px; }
  .process-layout h2 { font-size: 32px; }
  .gallery-section { padding: 58px 0; }
  .gallery-heading { align-items: end; gap: 12px; }
  .gallery-heading h2 { font-size: 29px; }
  .gallery-controls { gap: 6px; }
  .gallery-arrow { width: 37px; height: 37px; }
  .gallery-image-button { height: min(70vw, 390px); }
  .gallery-bottom { display: block; }
  .gallery-bottom > p { margin-bottom: 14px; }
  .gallery-dots { flex-wrap: wrap; }
  .contact-section { padding: 58px 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .map-card { min-height: 320px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 13px; padding-block: 24px; }
  .footer-bottom { gap: 12px; font-size: 8px; }
  .whatsapp-float { right: 15px; bottom: 15px; width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
