/* ==========================================================================
   PRINCETON LIMO AND TAXI SERVICES — pages.css
   Additive styles for inner pages. Uses ONLY the design tokens from style.css
   (load style.css first, then this file).
   ========================================================================== */

/* ── Inner-page hero (same banner as home, shorter) ─────────────────────── */
.hero-banner-exact.hero-sub { min-height: 470px; }
.hero-sub .hero-exact-body { max-width: 720px; padding-bottom: 56px; }
.hero-sub .hero-exact-title { font-size: clamp(2rem, 3.3vw, 3.1rem); }
.hero-sub .hero-title-nowrap { white-space: normal; }
.hero-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  list-style: none; margin-bottom: 18px;
  font-size: 0.85rem; font-weight: 500;
}
.breadcrumb li { color: rgba(255,255,255,0.6); }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--or); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: rgba(255,255,255,0.35); }
.breadcrumb li[aria-current] { color: var(--or); font-weight: 600; }

/* ── Generic page sections ──────────────────────────────────────────────── */
.page-section { padding: 48px 0; background: var(--bg); }
.page-section.tight { padding: 28px 0; }

.content-grid {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; align-items: start;
}
.content-card {
  background: var(--bg-2); border: 1px solid var(--b2);
  border-radius: var(--radius-container); padding: 44px 40px;
  box-shadow: var(--sh-md);
}
.content-card h2 {
  font-size: 2.1rem; font-weight: 800; line-height: 1.18;
  letter-spacing: -0.01em; margin-bottom: 18px;
}
.content-card h3 { font-size: 1.2rem; font-weight: 700; margin: 26px 0 10px; }
.prose p { color: var(--t2); margin-bottom: 16px; font-size: 1rem; line-height: 1.75; }
.prose p strong { color: var(--t1); }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 8px 0 4px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--t2); font-size: 0.97rem; line-height: 1.55;
}
.check-list li::before {
  content: '✓'; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--or-fill); border: 1px solid var(--or-border); color: var(--or);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800; margin-top: 1px;
}

.side-stack { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.side-card {
  background: var(--bg-2); border: 1px solid var(--b2);
  border-radius: var(--radius-card); padding: 28px 24px; box-shadow: var(--sh-sm);
}
.side-card.accent {
  background: linear-gradient(160deg, rgba(244,124,31,0.16), var(--bg-2) 62%);
  border-color: var(--or-border);
}
.side-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.side-card p { color: var(--t2); font-size: 0.92rem; margin-bottom: 18px; }
.side-card .btn-dark, .side-card .btn-outline-dark { width: 100%; }
.side-card .btn-outline-dark { margin-top: 10px; justify-content: center; }
.side-phone {
  display: block; font-family: var(--font-heading); font-weight: 800;
  font-size: 1.55rem; color: var(--or); margin-bottom: 4px;
}
.fact-list { list-style: none; display: flex; flex-direction: column; }
.fact-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--b1);
  font-size: 0.9rem; color: var(--t2);
}
.fact-list li:last-child { border-bottom: none; }
.fact-list li span:last-child { color: var(--t1); font-weight: 600; text-align: right; }

.svcloc-services-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.page-section .svcloc-block:first-child { margin-top: 0; }

/* Routes table */
.route-table-wrap {
  background: var(--bg-2); border: 1px solid var(--b2);
  border-radius: var(--radius-card); overflow-x: auto;
}
.route-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.route-table th {
  text-align: left; padding: 16px 22px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--or);
  background: var(--bg-3); border-bottom: 1px solid var(--b2);
}
.route-table td {
  padding: 16px 22px; font-size: 0.95rem; color: var(--t2);
  border-bottom: 1px solid var(--b1);
}
.route-table tr:last-child td { border-bottom: none; }
.route-table td:first-child { color: var(--t1); font-weight: 600; }
.route-table tbody tr:hover td { background: var(--bg-3); }
.table-note { font-size: 0.82rem; color: var(--t3); margin-top: 12px; }

/* FAQ (native <details>, no JS) */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq-item {
  background: var(--bg-2); border: 1px solid var(--b2);
  border-radius: 18px; transition: var(--ts);
}
.faq-item[open] { border-color: var(--or-border); box-shadow: var(--sh-or); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.02rem; color: var(--t1);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--or-fill); color: var(--or); border: 1px solid var(--or-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; transition: var(--ts);
}
.faq-item[open] summary::after { content: '–'; background: var(--or); color: #fff; }
.faq-item p { padding: 0 24px 22px; color: var(--t2); font-size: 0.95rem; line-height: 1.7; }

/* Contact info cards (no map image on inner pages) */
.info-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-cards-grid .map-info-card { min-width: 0; background: var(--bg-2); }

/* Related locations */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--bg-2); border: 1px solid var(--b2); border-radius: 18px;
  padding: 24px; transition: var(--ts); color: var(--t1);
}
.related-card:hover { border-color: var(--or-border); transform: translateY(-4px); box-shadow: var(--sh-or); color: var(--t1); }
.related-card .tag { font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--or); }
.related-card h3 { font-size: 1.05rem; font-weight: 700; }
.related-card span.go { color: var(--or); font-weight: 700; font-size: 0.9rem; margin-top: 4px; }

.svcloc-pill a { color: inherit; }
.svcloc-pill a:hover { color: var(--or); }

/* ── Reservation page ───────────────────────────────────────────────────── */
.res-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.res-card {
  background: var(--bg-2); border: 1px solid var(--b2);
  border-radius: var(--radius-container); padding: 44px 40px; box-shadow: var(--sh-md);
}
.res-card h2 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
.res-card > p { color: var(--t2); margin-bottom: 28px; }
.form-section-title {
  font-family: var(--font-heading); font-size: 0.8rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--or);
  margin: 10px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--b1);
}
.form-group-row.three { grid-template-columns: repeat(3, 1fr); }
textarea.form-control { resize: vertical; min-height: 96px; }
.fare-box {
  background: var(--bg-3); border: 1px solid var(--b2); border-radius: 16px;
  padding: 16px 20px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin: 8px 0 20px;
}
.fare-box .fare-label { font-size: 0.85rem; color: var(--t2); font-weight: 700; letter-spacing: .03em; }
.fare-box .fare-sub { font-size: 0.8rem; color: var(--t3); }
.fare-box #estimatedFare { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 800; color: var(--or); }
.res-card .modal-submit-btn { box-shadow: var(--sh-or); }
.res-card .modal-submit-btn:hover { transform: translateY(-2px); }
.steps-stack { display: flex; flex-direction: column; gap: 14px; }
.steps-stack .process-step-card { padding: 20px; display: flex; gap: 16px; align-items: flex-start; }
.steps-stack .step-num-bubble { margin-bottom: 0; flex-shrink: 0; }
.steps-stack .step-title { margin-bottom: 4px; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .content-grid, .res-layout { grid-template-columns: 1fr; }
  .side-stack { position: static; }
  .info-cards-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-banner-exact.hero-sub { min-height: 440px; }
}
@media (max-width: 768px) {
  .page-section { padding: 28px 0; }
  .content-card, .res-card { padding: 28px 18px; border-radius: 20px; }
  .content-card h2, .res-card h2 { font-size: 1.55rem; }
  .svcloc-services-grid.cols-2 { grid-template-columns: 1fr; }
  .info-cards-grid, .related-grid { grid-template-columns: 1fr; }
  .form-group-row.three { grid-template-columns: 1fr; }
  .hero-banner-exact.hero-sub { min-height: 400px; }
  .hero-sub .hero-exact-body { padding: 12px 16px 32px; }
  .fare-box { flex-direction: column; align-items: flex-start; }
  .faq-item summary { padding: 16px 18px; font-size: 0.95rem; }
  .faq-item p { padding: 0 18px 18px; }
}

/* ── Blog ───────────────────────────────────────────────────────────────── */
@media (min-width: 769px) { .hero-nav-links { gap: 24px; } }

.post-featured {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 0; margin-bottom: 28px;
  background: var(--bg-2); border: 1px solid var(--b2);
  border-radius: var(--radius-container); overflow: hidden; box-shadow: var(--sh-md);
}
.post-featured-visual {
  display: flex; align-items: center; justify-content: center; min-height: 280px;
  color: var(--or);
  background: radial-gradient(circle at 30% 30%, rgba(244,124,31,0.22), var(--bg-3) 70%);
  border-right: 1px solid var(--b1);
}
.post-featured-body { padding: 44px 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.post-featured-body h3 { font-size: 1.9rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.post-featured-body p { color: var(--t2); font-size: 1rem; line-height: 1.7; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--bg-2); border: 1px solid var(--b2); border-radius: var(--radius-card);
  padding: 28px 24px; box-shadow: var(--sh-sm); transition: var(--ts);
}
.post-card:hover { border-color: var(--or-border); transform: translateY(-5px); box-shadow: var(--sh-or); }
.post-card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--or-fill); border: 1px solid var(--or-border); color: var(--or); margin-bottom: 6px;
}
.post-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--or); }
.post-card h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.35; }
.post-card p { color: var(--t2); font-size: 0.92rem; line-height: 1.6; flex: 1; }
.post-meta { font-size: 0.82rem; color: var(--t3); }
.post-link { color: var(--or); font-weight: 700; font-size: 0.92rem; margin-top: 4px; }
.post-link:hover { color: var(--or-h); }

@media (max-width: 1080px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .post-featured { grid-template-columns: 1fr; }
  .post-featured-visual { min-height: 180px; border-right: none; border-bottom: 1px solid var(--b1); }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .post-featured-body { padding: 28px 18px; }
  .post-featured-body h3 { font-size: 1.45rem; }
}
