/* Tariff Clone Styles matching safetrackcalltaxi.com/tariff */
:root {
  --st-brand: #01256a;
  --st-brand-foreground: #ffffff;
  --st-primary: #e90d6b;
  --st-primary-foreground: #ffffff;
  --st-cream: #ffd1e5;
  --st-cream-hover: #fae8cc;
  --st-border: #e6e5dd;
  --st-text-muted: rgba(32, 70, 47, 0.7);
  --st-text-dark: #01256a;
}

.st-tariff-section {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--st-text-dark);
  padding: 20px 0 60px 0;
  background-color: #faf9f6;
}

.st-font-serif {
  font-family: 'Playfair Display', Georgia, serif !important;
}

/* Hero Banner */
.st-hero-banner {
  position: relative;
  border-radius: 16px;
  background-color: var(--st-brand);
  color: var(--st-brand-foreground);
  padding: 40px 20px;
  text-align: center;
  overflow: hidden;
  margin-top: 15px;
  margin-bottom: 35px;
  box-shadow: 0 4px 20px rgba(32, 70, 47, 0.15);
}

@media (min-width: 768px) {
  .st-hero-banner {
    padding: 60px 40px;
  }
}

.st-hero-banner .st-glass-left {
  position: absolute;
  left: -35px;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  width: 220px;
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
}

.st-hero-banner .st-glass-right {
  position: absolute;
  right: -35px;
  top: 50%;
  transform: translateY(-50%) rotate(8deg) scaleX(-1);
  width: 220px;
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
}

.st-hero-banner h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .st-hero-banner h1 {
    font-size: 46px;
  }
}

.st-hero-banner h1 span {
  color: var(--st-primary);
}

.st-hero-banner p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin: 0 auto 24px auto;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .st-hero-banner p {
    font-size: 16px;
  }
}

.st-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--st-primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 9999px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin: 5px;
}

.st-btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.st-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ffffff;
  color: var(--st-brand) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 9999px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  margin: 5px;
}

.st-btn-white:hover {
  background-color: var(--st-cream);
  transform: translateY(-1px);
}

/* Tabs */
.st-tabs-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.st-tabs-pill-wrap {
  display: inline-flex;
  background-color: var(--st-cream);
  border-radius: 9999px;
  padding: 5px;
  border: 1px solid rgba(32, 70, 47, 0.08);
}

.st-tab-btn {
  padding: 8px 28px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--st-brand);
  cursor: pointer;
  transition: all 0.2s ease;
}

.st-tab-btn:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.7);
}

.st-tab-btn.active {
  background-color: var(--st-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(243, 130, 29, 0.3);
}

.st-sub-tab-btn {
  padding: 6px 22px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--st-brand);
  cursor: pointer;
  transition: all 0.2s ease;
}

.st-sub-tab-btn:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.7);
}

.st-sub-tab-btn.active {
  background-color: var(--st-primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(243, 130, 29, 0.25);
}

/* Section titles */
.st-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--st-brand);
  text-align: center;
  margin: 0 0 6px 0;
}

@media (min-width: 768px) {
  .st-section-title {
    font-size: 32px;
  }
}

.st-section-subtitle {
  font-size: 14px;
  color: var(--st-text-muted);
  text-align: center;
  margin: 0 0 24px 0;
}

/* Badges for cities/towns */
.st-badge-pill {
  background-color: var(--st-cream);
  color: var(--st-brand);
  border: 1px solid var(--st-border);
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  display: inline-block;
  margin: 4px;
  transition: transform 0.15s;
}

.st-badge-pill:hover {
  transform: translateY(-1px);
}

/* Card Boxes */
.st-tariff-card {
  border: 1px solid var(--st-border);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  margin-top: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.st-card-header {
  background-color: var(--st-brand);
  color: #ffffff;
  padding: 16px 24px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
}

.st-card-grid {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .st-card-grid {
    flex-direction: row;
  }
  .st-card-grid > div {
    flex: 1;
  }
  .st-card-grid > div:first-child {
    border-right: 1px solid var(--st-border);
  }
}

.st-grid-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  border-bottom: 1px solid var(--st-border);
  font-size: 14px;
}

.st-card-grid > div > .st-grid-row:last-child {
  border-bottom: none;
}

.st-grid-row .st-label {
  color: var(--st-text-muted);
}

.st-grid-row .st-val {
  font-weight: 600;
  color: var(--st-brand);
  text-align: right;
}

/* Info Cards (Night charges, Extras, Bata) */
.st-info-card {
  background-color: var(--st-cream);
  border-radius: 16px;
  padding: 22px;
  margin-top: 20px;
  border: 1px solid rgba(230, 229, 221, 0.7);
  height: calc(100% - 20px);
}

.st-info-card h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--st-brand);
  margin: 0 0 8px 0;
}

.st-info-card p {
  font-size: 13.5px;
  color: rgba(32, 70, 47, 0.85);
  margin: 0;
  line-height: 1.5;
}

/* Outstation Desktop Table */
.st-table-wrapper {
  border: 1px solid var(--st-border);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  margin-top: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.st-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
  text-align: center;
  margin-bottom: 0 !important;
}

.st-table thead {
  background-color: var(--st-brand);
  color: #ffffff;
}

.st-table thead th {
  padding: 10px 4px;
  font-weight: 600;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  vertical-align: middle;
  font-size: 11px;
  text-align: center;
}

.st-table thead th:first-child,
.st-table thead th:nth-child(2) {
  text-align: left;
  padding-left: 10px;
}

.st-table thead th:last-child {
  border-right: none;
}

.st-table tbody td {
  padding: 6px 4px;
  border-right: 1px solid var(--st-border);
  border-top: 1px solid var(--st-border);
  white-space: nowrap;
  vertical-align: middle;
  font-size: 11.5px;
  color: rgba(32, 70, 47, 0.9);
}

.st-table tbody td:first-child {
  text-align: left;
  padding-left: 10px;
  font-weight: 600;
  color: var(--st-brand);
}

.st-table tbody td:nth-child(2) {
  text-align: left;
  padding-left: 10px;
  color: var(--st-text-muted);
}

.st-table tbody td:last-child {
  border-right: none;
}

.st-table tbody tr.even-row {
  background-color: #ffffff;
}

.st-table tbody tr.odd-row {
  background-color: var(--st-cream);
}

.st-table tbody tr.row-addl {
  background-color: rgba(253, 240, 220, 0.7);
  border-top: 2px solid rgba(243, 130, 29, 0.35);
}

.st-table tbody tr.row-addl td,
.st-table tbody tr.row-hills td {
  font-weight: 700;
  color: var(--st-brand);
  padding: 8px 4px;
}

.st-table tbody tr.row-addl td:first-child,
.st-table tbody tr.row-hills td:first-child {
  color: var(--st-primary);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 12px;
}

/* Badges in table header */
.st-badge-nonac {
  display: inline-block;
  margin-top: 2px;
  font-size: 8px;
  font-weight: 600;
  border-radius: 9999px;
  padding: 2px 6px;
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.st-badge-ac {
  display: inline-block;
  margin-top: 2px;
  font-size: 8px;
  font-weight: 600;
  border-radius: 9999px;
  padding: 2px 6px;
  background-color: var(--st-primary);
  color: #ffffff;
}

/* Mobile Outstation Vehicle Selector */
.st-mobile-vehicle-wrap {
  margin-top: 20px;
}

.st-vehicle-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.st-vehicle-pill {
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 600;
  border: 1px solid var(--st-border);
  background-color: #ffffff;
  color: var(--st-brand);
  cursor: pointer;
  transition: all 0.2s ease;
}

.st-vehicle-pill:hover {
  background-color: var(--st-cream);
}

.st-vehicle-pill.active {
  background-color: var(--st-brand);
  color: #ffffff;
  border-color: var(--st-brand);
  box-shadow: 0 2px 8px rgba(32, 70, 47, 0.25);
}

/* Mobile Outstation Card */
.st-mobile-card {
  border: 1px solid var(--st-border);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  margin-top: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.st-mobile-card-header {
  background-color: var(--st-brand);
  color: #ffffff;
  padding: 14px 18px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
}

.st-mobile-col-head {
  display: grid;
  grid-template-columns: 1fr 65px 65px;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--st-border);
  background-color: rgba(253, 240, 220, 0.45);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.st-mobile-col-head .st-col-pkg {
  color: var(--st-text-muted);
}

.st-mobile-col-head .st-col-nonac {
  text-align: right;
  color: var(--st-brand);
}

.st-mobile-col-head .st-col-ac {
  text-align: right;
  color: var(--st-primary);
}

.st-mobile-row {
  display: grid;
  grid-template-columns: 1fr 65px 65px;
  gap: 8px;
  align-items: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--st-border);
  font-size: 12px;
}

.st-mobile-row:last-child {
  border-bottom: none;
}

.st-mobile-pkg {
  color: rgba(32, 70, 47, 0.85);
}

.st-mobile-pkg strong {
  color: var(--st-brand);
  font-weight: 600;
}

.st-mobile-nonac {
  text-align: right;
  font-weight: 600;
  color: rgba(32, 70, 47, 0.9);
}

.st-mobile-ac {
  text-align: right;
  font-weight: 700;
  color: var(--st-primary);
}

.st-mobile-footer-row {
  display: grid;
  grid-template-columns: 1fr 65px 65px;
  gap: 8px;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--st-border);
  background-color: rgba(253, 240, 220, 0.6);
  font-size: 12px;
}

.st-mobile-footer-row:last-child {
  border-bottom: none;
}

.st-mobile-footer-row .st-footer-label {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--st-primary);
  font-weight: 600;
  font-size: 12px;
}

.st-mobile-footer-row .st-footer-nonac {
  text-align: right;
  font-weight: 700;
  color: rgba(32, 70, 47, 0.9);
}

.st-mobile-footer-row .st-footer-ac {
  text-align: right;
  font-weight: 700;
  color: var(--st-primary);
}

/* Additional Hours Charges Table & Cards */
.st-addl-table-wrap {
  border: 1px solid var(--st-border);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  margin-top: 20px;
}

.st-addl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-bottom: 0 !important;
}

.st-addl-table thead {
  background-color: var(--st-brand);
  color: #ffffff;
}

.st-addl-table thead th {
  padding: 12px 16px;
  font-weight: 600;
  text-align: left;
}

.st-addl-table tbody td {
  padding: 12px 16px;
  border-top: 1px solid var(--st-border);
  color: rgba(32, 70, 47, 0.85);
}

.st-addl-table tbody tr.even-row {
  background-color: #ffffff;
}

.st-addl-table tbody tr.odd-row {
  background-color: var(--st-cream);
}

.st-addl-table tbody td:first-child {
  font-weight: 600;
  color: var(--st-brand);
}

/* Mobile Additional Hours Cards */
.st-addl-mobile-card {
  border: 1px solid var(--st-border);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  margin-top: 15px;
}

.st-addl-mobile-card .st-card-head {
  background-color: var(--st-brand);
  color: #ffffff;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 13.5px;
}

.st-addl-mobile-card .st-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 16px;
  border-bottom: 1px solid var(--st-border);
  font-size: 13px;
}

.st-addl-mobile-card .st-row:last-child {
  border-bottom: none;
}

.st-addl-mobile-card .st-row .st-vehicle {
  color: var(--st-text-muted);
}

.st-addl-mobile-card .st-row .st-price {
  font-weight: 600;
  color: var(--st-brand);
}

/* Bottom CTA Quote Box */
.st-quote-banner {
  border-radius: 16px;
  background-color: var(--st-brand);
  color: #ffffff;
  padding: 35px 20px;
  text-align: center;
  margin-top: 45px;
  box-shadow: 0 4px 20px rgba(32, 70, 47, 0.15);
}

@media (min-width: 768px) {
  .st-quote-banner {
    padding: 50px 40px;
  }
}

.st-quote-banner h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
}

@media (min-width: 768px) {
  .st-quote-banner h3 {
    font-size: 30px;
  }
}

.st-quote-banner p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 22px auto;
}

@media (min-width: 768px) {
  .st-quote-banner p {
    font-size: 16px;
  }
}

/* Responsive display helpers */
@media (max-width: 767px) {
  .st-desktop-only {
    display: none !important;
  }
  .st-mobile-only {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .st-desktop-only {
    display: block !important;
  }
  .st-mobile-only {
    display: none !important;
  }
}

