/* public/assets/css/style.css */
:root {
  --primary: #d62828;
  --primary-dark: #b91c1c;
  --black: #111111;
  --black-soft: #1f1f1f;
  --white: #ffffff;
  --gray-50: #f8f8f8;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 10px 24px rgba(17, 17, 17, 0.06);
  --shadow-md: 0 18px 50px rgba(17, 17, 17, 0.1);
  --container: 1160px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sarabun", "Noto Sans Thai", sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  padding: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-size: 1rem;
  line-height: 1.2;
}

.brand-text span {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.menu-toggle {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--black);
  border-radius: 999px;
}

.site-nav {
  position: absolute;
  top: calc(var(--header-height) - 2px);
  left: 16px;
  right: 16px;
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  font-weight: 600;
  color: var(--gray-700);
}

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 12px 16px;
  border-radius: 14px;
  text-align: center;
}

.hero {
  padding: 34px 0 40px;
  background:
    radial-gradient(circle at top right, rgba(214, 40, 40, 0.08), transparent 24%),
    linear-gradient(180deg, #fff 0%, #fff 58%, #f8f8f8 100%);
}

.hero-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.hero-side {
  display: grid;
  gap: 18px;
}

.hero-media-card {
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow-md);
}

.hero-media-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.media-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(214, 40, 40, 0.1);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
}

.media-note {
  color: var(--gray-500);
  font-size: 0.92rem;
  font-weight: 600;
}

.gallery-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.hero-main-button {
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
  margin-bottom: 14px;
  background: var(--gray-100);
}

.hero-main-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.hero-main-button:hover .hero-main-image,
.hero-thumb-button:hover .hero-thumb,
.showcase-image-button:hover .showcase-image {
  transform: scale(1.04);
}

.hero-thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-thumb-button {
  overflow: hidden;
  border-radius: 14px;
  background: var(--gray-100);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.hero-thumb {
  width: 100%;
  height: 88px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(214, 40, 40, 0.1);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.section-kicker-dark {
  background: rgba(17, 17, 17, 0.08);
  color: var(--black);
}

.hero h1 {
  margin: 14px 0 14px;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero-desc {
  margin: 0 0 24px;
  color: var(--gray-700);
  max-width: 650px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(214, 40, 40, 0.22);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  border: 1px solid rgba(214, 40, 40, 0.18);
  background: var(--white);
  color: var(--primary);
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-highlights li {
  position: relative;
  padding-left: 22px;
  color: var(--gray-700);
  font-weight: 500;
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
}

.hero-card {
  background: linear-gradient(180deg, #151515 0%, #0f0f0f 100%);
  color: var(--white);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.hero-card-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
}

.contact-card h2 {
  margin: 0 0 18px;
  font-size: 1.35rem;
}

.contact-line {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-line:first-of-type {
  border-top: 0;
}

.contact-line span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.contact-line a,
.contact-line p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
  word-break: break-word;
}

.quick-stats {
  padding: 0 0 24px;
  background: var(--gray-50);
}

.stats-grid {
  display: grid;
  gap: 16px;
}

.stat-card {
  padding: 18px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: var(--shadow-sm);
}

.stat-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.stat-card span {
  color: var(--gray-500);
}

.section {
  padding: 74px 0;
}

.section-dark {
  background: #101010;
  color: var(--white);
}

.section-accent {
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 14px 0 10px;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.18;
}

.section-heading p {
  margin: 0;
  color: var(--gray-500);
}

.section-heading-light p {
  color: rgba(255, 255, 255, 0.72);
}

.card-grid,
.fleet-grid,
.showcase-grid,
.mini-route-grid,
.about-points {
  display: grid;
  gap: 18px;
}

.feature-card,
.placeholder-card,
.about-point,
.mini-route-card {
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.feature-card h3,
.placeholder-card h3,
.about-point h3,
.mini-route-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.feature-card p,
.placeholder-card p,
.about-point p,
.mini-route-card p {
  margin: 0;
  color: var(--gray-500);
}

.fleet-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fleet-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.fleet-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.route-table-wrap {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: var(--shadow-sm);
}

.route-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 560px;
}

.route-table th,
.route-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.route-table th {
  background: var(--black);
  color: var(--white);
  font-size: 0.98rem;
}

.route-table tr:last-child td {
  border-bottom: 0;
}

.route-table td:last-child {
  font-weight: 700;
  color: var(--primary);
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.about-grid-simple {
  grid-template-columns: 1fr;
}

.about-simple-card {
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
}

.about-simple-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.18;
}

.about-simple-card p {
  margin: 0;
  color: var(--gray-700);
}

.contact-section {
  background: var(--gray-50);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.contact-item {
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.contact-item h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.contact-item a,
.contact-item p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  word-break: break-word;
}

.qr-card {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: var(--shadow-sm);
}

.qr-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.qr-image {
  width: min(100%, 300px);
  border-radius: 18px;
  border: 1px solid var(--gray-200);
  margin-bottom: 0;
}

.showcase-grid-real {
  grid-template-columns: repeat(1, 1fr);
}

.showcase-card {
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 20px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.showcase-image-button {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: var(--gray-100);
}

.showcase-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.showcase-card h3 {
  margin: 14px 4px 2px;
  font-size: 1.05rem;
}

.site-footer {
  background: var(--black);
  color: var(--white);
  padding-top: 32px;
}

.footer-inner {
  display: grid;
  gap: 20px;
  padding-bottom: 22px;
}

.footer-inner p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 24px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.floating-actions {
  position: fixed;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 10px;
  z-index: 999;
}

.floating-actions a {
  min-width: 58px;
  min-height: 58px;
  padding: 0 14px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(214, 40, 40, 0.28);
}

.floating-actions a:nth-child(2) {
  background: #16a34a;
}

.floating-actions a:nth-child(3) {
  background: #1877f2;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.lightbox.is-open {
  display: block;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1100px);
  max-height: 90vh;
  margin: 4vh auto;
  background: #0f0f0f;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-image {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 18px;
}

.lightbox-caption {
  margin: 12px 4px 2px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
  text-align: center;
}

@media (min-width: 768px) {
  .hero {
    padding: 54px 0 56px;
  }

  .hero-grid,
  .stats-grid,
  .mini-route-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.services-grid,
  .fleet-grid,
  .showcase-grid-real {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

@media (min-width: 992px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    color: var(--gray-700);
  }

  .nav-cta {
    padding: 12px 18px;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .fleet-grid,
  .showcase-grid-real {
    grid-template-columns: repeat(3, 1fr);
  }

  .mini-route-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .floating-actions {
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 767px) {
  .hero-main-image {
    height: 240px;
  }

  .hero-thumb-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-thumb {
    height: 96px;
  }

  .showcase-image {
    height: 220px;
  }

  .lightbox-dialog {
    width: min(94vw, 1100px);
    margin: 5vh auto;
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .brand-text span {
    display: none;
  }

  .hero h1 {
    font-size: 1.95rem;
  }

  .btn {
    width: 100%;
  }

  .floating-actions a {
    min-width: 54px;
    min-height: 54px;
  }

  .hero-thumb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}