:root {
  --brand-red: #b32025;
  --brand-red-dark: #7f1317;
  --brand-green: #178a43;
  --brand-green-dark: #0f5f2e;
  --navy: #7f1317;
  --deep-blue: #178a43;
  --gold: #d84e3c;
  --amber: #86d1a5;
  --paper: #ffffff;
  --ink: #1e2937;
  --line: rgba(127, 19, 23, 0.16);
  --shadow-soft: 0 10px 28px rgba(127, 19, 23, 0.14);
  --shadow-strong: 0 20px 50px rgba(33, 55, 42, 0.28);
  --radius-lg: 24px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 5%, rgba(179, 32, 37, 0.22) 0, rgba(179, 32, 37, 0) 40%),
    radial-gradient(circle at 90% 6%, rgba(23, 138, 67, 0.2) 0, rgba(23, 138, 67, 0) 38%),
    linear-gradient(165deg, #f3f7f2 0%, #f9f9f6 45%, #edf3ee 100%);
  min-height: 100vh;
  line-height: 1.56;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px;
}

.navbar {
  position: sticky;
  top: 12px;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  animation: reveal 0.8s ease both;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: 260px;
  height: 78px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 10px;
  border-radius: 10px;
  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: rgba(179, 32, 37, 0.1);
  color: var(--brand-red);
}

.banner {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: stretch;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(23, 138, 67, 0.28);
  background: linear-gradient(135deg, var(--brand-red-dark) 0%, var(--brand-red) 48%, var(--brand-green) 110%);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  animation: slideUp 0.85s ease both;
}

.banner-main {
  color: #fff;
  padding: 26px;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.banner-main::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  right: -120px;
  top: -120px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-main::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  left: -100px;
  bottom: -150px;
  background: rgba(23, 138, 67, 0.22);
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.8rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.banner-main h1 {
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  font-size: clamp(1.6rem, 3.8vw, 2.9rem);
  margin-bottom: 10px;
  max-width: 18ch;
  position: relative;
  z-index: 1;
}

.banner-main p {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 1;
}

.banner-cta {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.banner-gallery {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: center;
  background: linear-gradient(160deg, rgba(127, 19, 23, 0.24), rgba(23, 138, 67, 0.18));
}

.banner-img {
  width: 100%;
  height: 100%;
  min-height: 128px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 8px 20px rgba(3, 11, 20, 0.35);
  transition: transform 0.25s ease;
}

.banner-img.tall {
  grid-row: span 2;
  min-height: 266px;
}

.banner-img:hover {
  transform: translateY(-2px);
}

.btn {
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 11px;
  font-weight: 800;
  font-size: 0.93rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  background: linear-gradient(140deg, #ffffff, #ffe1e2);
  color: var(--brand-red-dark);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  background: linear-gradient(130deg, rgba(23, 138, 67, 0.45), rgba(23, 138, 67, 0.25));
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.section {
  margin-top: 26px;
  animation: reveal 0.95s ease both;
}

.section-title {
  font-family: Arial, sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  margin-bottom: 14px;
  color: var(--navy);
}

.section-sub {
  margin-top: -4px;
  margin-bottom: 14px;
  color: #425067;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.section-head .section-title {
  margin-bottom: 0;
}

.section-head .btn {
  flex-shrink: 0;
}

.metrics-band {
  border-radius: 20px;
  border: 1px solid rgba(33, 102, 220, 0.2);
  background:
    radial-gradient(circle at 14% 24%, rgba(22, 105, 244, 0.08) 0, rgba(22, 105, 244, 0) 36%),
    radial-gradient(circle at 80% 18%, rgba(22, 105, 244, 0.08) 0, rgba(22, 105, 244, 0) 42%),
    linear-gradient(180deg, #fdfefe, #f5f7fb);
  box-shadow: 0 14px 30px rgba(14, 40, 92, 0.12);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 6px 4px;
  overflow: hidden;
}

.metric-card {
  text-align: center;
  padding: 24px 14px;
  position: relative;
}

.metric-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 0;
  width: 1px;
  height: 64%;
  background: rgba(21, 96, 230, 0.15);
}

.metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.45rem;
  line-height: 1;
  background: rgba(43, 52, 66, 0.1);
  color: #222a36;
  margin-bottom: 8px;
}

.metric-card strong {
  display: block;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1;
  color: #2b3442;
  margin-bottom: 7px;
}

.metric-card p {
  font-size: 1.05rem;
  color: #3a4454;
  font-weight: 700;
}

.routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.route {
  background: linear-gradient(170deg, #ffffff, #f3f8f4);
  border: 1px solid rgba(23, 138, 67, 0.2);
  border-radius: 18px;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  box-shadow: 0 14px 30px rgba(20, 78, 46, 0.12);
}

.route::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-green), #5fc585);
}

.route:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px rgba(20, 78, 46, 0.2);
}

.route-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9eef5;
}

.route-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 16, 26, 0.28), rgba(9, 16, 26, 0));
  pointer-events: none;
}

.route-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.35s ease;
}

.route:hover .route-media img {
  transform: scale(1.03);
}

.route-content {
  padding: 16px 18px 18px;
}

.route h4 {
  margin-bottom: 0;
  font-size: 1.08rem;
  color: var(--navy);
  font-family: Arial, sans-serif;
}

.route p {
  margin-top: 10px;
  color: #43556d;
}

.route-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.route-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(23, 138, 67, 0.12);
  color: var(--brand-green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.route-meta {
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px dashed rgba(23, 138, 67, 0.2);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.route-meta span {
  font-size: 0.82rem;
  color: #5d6d82;
  font-weight: 700;
}

.agencies-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.agency-card {
  border-radius: 16px;
  border: 1px solid rgba(35, 95, 194, 0.22);
  background:
    radial-gradient(circle at 90% -20%, rgba(44, 123, 229, 0.2), rgba(44, 123, 229, 0) 42%),
    linear-gradient(162deg, #ffffff, #f5f8ff 58%, #eef4ff);
  box-shadow: 0 12px 24px rgba(20, 78, 46, 0.1);
  padding: 18px 16px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}

.agency-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(50, 93, 168, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(50, 93, 168, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}

.agency-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(32, 75, 155, 0.22);
}

.agency-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.agency-pin {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.03rem;
  background: rgba(179, 32, 37, 0.12);
  color: var(--brand-red-dark);
  border: 1px solid rgba(179, 32, 37, 0.24);
  flex-shrink: 0;
}

.agency-card h4 {
  margin-bottom: 0;
  color: var(--brand-red);
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.agency-info {
  color: #2c3b4e;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.agency-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(18, 62, 133, 0.22);
  padding: 7px 12px;
  color: #123e85;
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.agency-phone:hover {
  color: #0d2f66;
  border-color: rgba(18, 62, 133, 0.45);
}

.agency-map-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(41, 97, 199, 0.25);
  padding: 7px 12px;
  color: #17458f;
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.agency-map-link:hover {
  color: #0e397c;
  border-color: rgba(41, 97, 199, 0.45);
  background: #ffffff;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.publications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}

.publication-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(127, 19, 23, 0.08);
}

.publication-media {
  width: 100%;
  min-height: 280px;
  background: linear-gradient(135deg, rgba(179, 32, 37, 0.08), rgba(23, 138, 67, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px 18px;
}

.publication-media img,
.publication-media video {
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  display: block;
  background: #ffffff;
  border-radius: 16px;
}

.publication-video {
  padding-bottom: 8px;
}

.publication-pdf {
  padding: 0 18px 12px;
}

.publication-pdf-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(179, 32, 37, 0.24);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  cursor: zoom-in;
}

.publication-pdf-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
}

.publication-pdf-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 999px;
  background: rgba(179, 32, 37, 0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 9px;
}

.publication-pdf-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(to top, rgba(12, 17, 26, 0.88), rgba(12, 17, 26, 0.1));
}

.publication-pdf-open:focus-visible {
  outline: 3px solid rgba(13, 110, 253, 0.45);
  outline-offset: 2px;
}

.publication-pdf-preview:hover {
  border-color: rgba(179, 32, 37, 0.45);
}

.publication-pdf-open:not(.publication-pdf-preview) {
  width: 100%;
  border: 1px solid rgba(179, 32, 37, 0.24);
  background: linear-gradient(135deg, rgba(179, 32, 37, 0.08), rgba(255, 255, 255, 0.9));
  color: var(--brand-red-dark);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.publication-pdf-open:not(.publication-pdf-preview):hover {
  border-color: rgba(179, 32, 37, 0.45);
  background: linear-gradient(135deg, rgba(179, 32, 37, 0.13), rgba(255, 255, 255, 0.96));
}

.publication-gallery {
  display: grid;
  gap: 8px;
  padding: 0 18px 18px;
  width: 100%;
}

.publication-gallery.gallery-count-1 {
  grid-template-columns: 1fr;
}

.publication-gallery.gallery-count-2 {
  grid-template-columns: repeat(2, 1fr);
}

.publication-gallery.gallery-count-3 {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
}

.publication-gallery.gallery-count-3 .publication-gallery-item:first-child {
  grid-column: span 2;
}

.publication-gallery.gallery-count-4 {
  grid-template-columns: repeat(2, 1fr);
}

.publication-gallery-item {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(179, 32, 37, 0.08), rgba(23, 138, 67, 0.12));
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  min-height: 180px;
  max-height: 400px;
  width: 100%;
  position: relative;
}

.publication-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #ffffff;
  flex-shrink: 0;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 300;
}

.gallery-modal.is-open {
  display: block;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 27, 0.82);
}

.gallery-modal-content {
  position: relative;
  z-index: 1;
  width: min(96vw, 1080px);
  height: min(90vh, 820px);
  margin: 4vh auto;
  border-radius: 16px;
  background: rgba(19, 24, 33, 0.9);
  display: grid;
  grid-template-columns: 68px 1fr 68px;
  align-items: center;
  padding: 16px;
}

.gallery-modal-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-content img,
.gallery-modal-content iframe {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  background: #111723;
  display: block;
}

.gallery-modal-content img {
  object-fit: contain;
}

.gallery-modal-content iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-modal-content.is-pdf img {
  display: none;
}

.gallery-modal-content:not(.is-pdf) iframe {
  display: none;
}

.gallery-modal-content.is-pdf .gallery-modal-nav {
  visibility: hidden;
  pointer-events: none;
}

.gallery-modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.gallery-modal-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  margin: 0 auto;
}

.gallery-modal-counter {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  color: #e8eef7;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.86rem;
}

.publication-body {
  padding: 18px 20px 10px;
}

.publication-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.publication-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(23, 138, 67, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 243, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.publication-avatar img {
  width: 84%;
  height: 84%;
  object-fit: contain;
}

.publication-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.publication-author strong {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.2;
}

.publication-date {
  color: #667487;
  font-size: 0.88rem;
}

.publication-content {
  color: #425067;
}

.publication-title {
  color: var(--navy);
  font-size: 1.16rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.publication-body p {
  color: #425067;
  font-size: 0.98rem;
  line-height: 1.7;
  white-space: normal;
}

.empty-state,
.notice-box {
  border-radius: 18px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.notice-box {
  background: #fff5f5;
  border-color: rgba(179, 32, 37, 0.18);
  color: var(--brand-red-dark);
}

.publish-layout {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
}

.publish-info,
.publish-form-wrap {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.publish-info {
  background: linear-gradient(165deg, rgba(179, 32, 37, 0.08), rgba(23, 138, 67, 0.08));
}

.publish-list {
  padding-left: 18px;
  color: #425067;
}

.publish-list li {
  margin-bottom: 8px;
}

.flash-message {
  margin-bottom: 14px;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
}

.flash-message.success {
  background: rgba(23, 138, 67, 0.12);
  color: var(--brand-green-dark);
}

.flash-message.error {
  background: rgba(179, 32, 37, 0.1);
  color: var(--brand-red-dark);
}

.field-help {
  font-size: 0.85rem;
  color: #5a677a;
}

.form-grid label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: #354961;
}

input[type="color"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}

.current-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
}

.current-media-grid img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 6px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(127, 19, 23, 0.1);
  vertical-align: top;
}

.admin-table th {
  background: rgba(179, 32, 37, 0.08);
  color: var(--brand-red-dark);
  font-size: 0.9rem;
}

.admin-table tbody tr:hover {
  background: rgba(23, 138, 67, 0.05);
}

.table-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.table-actions form {
  margin: 0;
}

.table-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}

.table-btn.edit {
  background: rgba(23, 138, 67, 0.12);
  color: var(--brand-green-dark);
}

.table-btn.delete {
  background: rgba(179, 32, 37, 0.12);
  color: var(--brand-red-dark);
}

.service,
.fleet,
.quote {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}
.service-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
.service-title i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(23, 138, 67, 0.12);
  color: var(--brand-green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.web-sales-panel {
  margin-top: 16px;
  border-radius: 18px;
  border: 1px solid rgba(23, 138, 67, 0.2);
  background: linear-gradient(145deg, #ffffff, #f3f9f5);
  box-shadow: 0 16px 30px rgba(15, 95, 46, 0.12);
  padding: 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: center;
}

.web-sales-panel h3 {
  color: var(--navy);
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.web-sales-panel p {
  color: #42556e;
}

.web-sales-links {
  display: grid;
  gap: 10px;
}

.web-sales-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.web-sales-link i {
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.web-sales-link span {
  display: grid;
  line-height: 1.2;
}

.web-sales-link strong {
  font-size: 0.98rem;
}

.web-sales-link small {
  font-size: 0.8rem;
  opacity: 0.9;
}

.web-sales-link.pinbus {
  background: rgba(179, 32, 37, 0.08);
  border-color: rgba(179, 32, 37, 0.18);
  color: var(--brand-red-dark);
}

.web-sales-link.pinbus i {
  background: rgba(179, 32, 37, 0.14);
}

.web-sales-link.redbus {
  background: rgba(23, 138, 67, 0.1);
  border-color: rgba(23, 138, 67, 0.2);
  color: var(--brand-green-dark);
}

.web-sales-link.redbus i {
  background: rgba(23, 138, 67, 0.16);
}
.web-sales-link.pqrs {
  background: rgba(43, 52, 66, 0.1);
  border-color: rgba(43, 52, 66, 0.2);
  color: #263241;
}
.web-sales-link.pqrs i {
  background: rgba(43, 52, 66, 0.15);
}

.web-sales-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(15, 43, 72, 0.12);
}

.service h3,
.fleet h3,
.quote h3,
.mv-card h3,
.contact h3,
.contact-form h3,
.footer-grid h4 {
  font-family: Arial, sans-serif;
  font-size: 1.04rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.fleet-title {
  display: flex;
  align-items: center;
  gap: 9px;
}

/* ── Hotel card ─────────────────────────────────────────── */
.hotel-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(127, 19, 23, 0.18), 0 4px 16px rgba(0,0,0,0.06);
  background: var(--paper);
  border: 1px solid rgba(127, 19, 23, 0.10);
}

.hotel-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #1a1412;
}

.hotel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(12, 8, 6, 0.30) 0%,
    rgba(12, 8, 6, 0.06) 60%,
    rgba(12, 8, 6, 0.00) 100%
  );
  pointer-events: none;
}

.hotel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hotel-card:hover .hotel-media img {
  transform: scale(1.06);
}

.hotel-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
}

.hotel-badge i {
  font-size: 0.78rem;
}

.hotel-body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  background: linear-gradient(160deg, #fffdf9 0%, #ffffff 100%);
}

.hotel-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-green-dark);
}

.hotel-eyebrow i {
  font-size: 0.85rem;
}

.hotel-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
}

.hotel-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.hotel-divider {
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #b8960c, #e8c43a);
  margin: 2px 0 4px;
}

.hotel-body p {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
}

.hotel-features {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

.hotel-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #2d3748;
  font-weight: 500;
}

.hotel-features li i {
  color: var(--brand-green-dark);
  font-size: 1rem;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .hotel-card {
    grid-template-columns: 1fr;
  }
  .hotel-media {
    min-height: 260px;
  }
  .hotel-body {
    padding: 28px 24px;
  }
  .hotel-title {
    font-size: 1.45rem;
  }
  .hotel-features {
    grid-template-columns: 1fr;
  }
}

.fleet-title i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(179, 32, 37, 0.1);
  color: var(--brand-red-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.pqrs-wrap {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
}
.pqrs-info,
.pqrs-form-card {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}
.pqrs-info {
  background: linear-gradient(170deg, rgba(23, 138, 67, 0.08), rgba(179, 32, 37, 0.08));
}
.pqrs-info h3 {
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.pqrs-info p,
.pqrs-info ul {
  color: #455972;
}
.pqrs-info ul {
  padding-left: 18px;
  margin-top: 8px;
}
.pqrs-info li {
  margin-bottom: 6px;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.captcha-row {
  border: 1px dashed rgba(38, 50, 65, 0.24);
  border-radius: 12px;
  padding: 10px;
  background: #f8fbff;
}

.captcha-row label {
  display: block;
  font-weight: 700;
  color: #354961;
  margin-bottom: 6px;
}

.math-captcha-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(43, 52, 66, 0.08);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(43, 52, 66, 0.15);
}

.math-operation {
  font-size: 18px;
  font-weight: 800;
  color: #283442;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.math-captcha-box input {
  flex: 1;
  max-width: 100px;
  padding: 8px 10px;
  border: 1px solid rgba(43, 52, 66, 0.2);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  background: white;
}

.math-captcha-box input:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.captcha-box {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(43, 52, 66, 0.1);
  color: #283442;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.captcha-missing {
  display: block;
  background: rgba(179, 32, 37, 0.1);
  color: #7f1317;
  font-weight: 700;
  letter-spacing: 0;
}

@media (max-width: 640px) {
  .math-captcha-box {
    flex-direction: column;
    align-items: stretch;
  }
  
  .math-operation {
    text-align: center;
  }
  
  .math-captcha-box input {
    max-width: 100%;
  }
}

.stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #ffffff, #ecf6ef);
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.stat strong {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  color: var(--deep-blue);
}

.stat span {
  font-size: 0.9rem;
  color: #495a74;
}

.mv-grid,
.faq-list,
.contact-wrap {
  display: grid;
  gap: 12px;
}

.mv-grid,
.faq-list {
  grid-template-columns: 1fr 1fr;
}

.contact-wrap {
  grid-template-columns: 1.1fr 0.9fr;
}

.mv-card {
  border-radius: 36px 36px 56px 36px;
  padding: 30px 34px;
  border: 0;
  background: linear-gradient(160deg, #1d6ef0, #0f5de2);
  box-shadow: 0 22px 42px rgba(14, 40, 92, 0.2);
  color: #eff5ff;
}

.mv-card p {
  color: rgba(239, 245, 255, 0.95);
  line-height: 1.75;
  font-size: 1.06rem;
}

.mission {
  border-left: 0;
  background: linear-gradient(155deg, #d53434, #b32025 55%, #8f171b);
  box-shadow: 0 22px 42px rgba(140, 19, 23, 0.25);
}

.vision {
  border-left: 0;
  background: linear-gradient(155deg, #2faa57, #178a43 55%, #0f5f2e);
  box-shadow: 0 22px 42px rgba(15, 95, 46, 0.26);
}

.mv-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1;
}

.mv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.mv-icon svg {
  width: 100%;
  height: 100%;
}

.quality-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quality-card {
  background: linear-gradient(165deg, #ffffff, #f7faf7);
  border: 1px solid rgba(15, 95, 46, 0.14);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 14px 28px rgba(13, 48, 26, 0.12);
}

.quality-card h3 {
  color: var(--brand-green-dark);
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.quality-card p {
  color: #40526a;
  line-height: 1.68;
}

details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  box-shadow: var(--shadow-soft);
}

summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}

details p {
  margin-top: 8px;
  color: #415069;
}

#faq .faq-list {
  grid-template-columns: 1fr;
  max-width: 980px;
}

#faq .faq-item {
  border-radius: 16px;
  border: 1px solid rgba(25, 90, 185, 0.2);
  background:
    radial-gradient(circle at 96% -35%, rgba(22, 102, 229, 0.16), rgba(22, 102, 229, 0) 42%),
    linear-gradient(160deg, #ffffff, #f7faff 56%, #eef4ff);
  box-shadow: 0 14px 30px rgba(19, 64, 137, 0.14);
  padding: 0;
  overflow: hidden;
}

#faq .faq-item + .faq-item {
  margin-top: 4px;
}

#faq .faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  font-size: 1.02rem;
  color: #213953;
}

#faq .faq-item summary::-webkit-details-marker {
  display: none;
}

#faq .faq-q {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

#faq .faq-q i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(179, 32, 37, 0.12);
  color: var(--brand-red-dark);
  font-size: 0.95rem;
  flex-shrink: 0;
}

#faq .faq-arrow {
  color: #4d6482;
  transition: transform 0.2s ease;
}

#faq .faq-item[open] .faq-arrow {
  transform: rotate(180deg);
}

#faq .faq-item p {
  margin: 0;
  padding: 0 18px 18px 58px;
  color: #3f526b;
  line-height: 1.72;
}

#faq .faq-item p a {
  color: #1856b3;
  font-weight: 700;
}

#faq .faq-item p a:hover {
  color: #0f3f87;
}

.contact {
  background: linear-gradient(150deg, var(--brand-red-dark), var(--brand-red) 55%, var(--brand-green-dark));
  color: #f5f7fb;
  border-radius: var(--radius-lg);
  padding: 22px;
}

.contact p {
  margin-bottom: 5px;
  color: rgba(245, 247, 251, 0.94);
}

.contact-title-light {
  color: #ffffff;
}

.contact-sub-light {
  color: rgba(245, 247, 251, 0.92);
}

.contact-light-panel h3,
.contact-light-panel p {
  color: #ffffff;
}

.contact-form {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  gap: 9px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 11px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fbfcff;
  color: var(--ink);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.form-btn {
  border: 0;
  border-radius: 10px;
  padding: 11px 14px;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(130deg, var(--brand-red), var(--brand-green));
  color: #fff;
  transition: 0.2s ease;
}

.form-btn:hover {
  transform: translateY(-1px);
}

.footer-grid {
  margin-top: 26px;
  border-radius: 18px;
  background: linear-gradient(140deg, #0f5f2e, #15763c 58%, #1b6f38);
  color: #e7edf5;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
}

.footer-grid h4 {
  color: var(--amber);
}

.footer-company-col {
  text-align: center;
}

.footer-logo-card {
  width: min(220px, 100%);
  margin: 10px auto 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(15, 95, 46, 0.2);
  box-shadow: 0 8px 18px rgba(9, 36, 19, 0.16);
}

.footer-company-logo {
  display: block;
  width: 100%;
  height: 56px;
  max-width: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.footer-grid a {
  color: #d7e8ff;
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
}

.footer-grid a:hover {
  text-decoration: underline;
}

.footer-map-wrap {
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-map {
  width: 100%;
  height: 170px;
  border: 0;
  display: block;
}

.copyright {
  margin: 15px 0 8px;
  text-align: center;
  color: #51627b;
  font-size: 0.92rem;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .banner,
  .contact-wrap,
  .mv-grid,
  .faq-list,
  .publish-layout,
  .pqrs-wrap {
    grid-template-columns: 1fr;
  }

  .banner-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .banner-img.tall {
    grid-row: auto;
    min-height: 140px;
  }

  .routes,
  .agencies-grid,
  .cards-3,
  .stats,
  .metrics-band,
  .quality-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .web-sales-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .navbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 14px;
  }

  .logo img {
    width: 210px;
    height: 64px;
  }

  .footer-company-logo {
    height: 52px;
  }

  .banner-main {
    padding: 20px;
    min-height: auto;
  }

  .banner-gallery,
  .routes,
  .agencies-grid,
  .cards-3,
  .stats,
  .metrics-band,
  .quality-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    padding: 18px 12px;
  }

  .metric-card:not(:last-child)::after {
    top: auto;
    right: 18%;
    bottom: 0;
    width: 64%;
    height: 1px;
  }

  .footer-map {
    height: 210px;
  }

  .publication-media {
    min-height: 220px;
    padding: 12px 12px 14px;
  }

  .publication-gallery {
    padding: 0 12px 14px;
    gap: 6px;
  }

  .publication-pdf {
    padding: 0 12px 12px;
  }

  .publication-gallery.gallery-count-2,
  .publication-gallery.gallery-count-3,
  .publication-gallery.gallery-count-4 {
    grid-template-columns: 1fr;
  }

  .publication-gallery.gallery-count-3 .publication-gallery-item:first-child {
    grid-column: 1;
  }

  .publication-gallery-item {
    min-height: 140px;
    max-height: 280px;
  }

  .publication-gallery-item {
    min-height: 150px;
  }

  .gallery-modal-content {
    width: min(96vw, 960px);
    grid-template-columns: 52px 1fr 52px;
    padding: 12px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
