/* ============================================================
   Trip Saathi — SEO guides, destinations, tools, tips
   ============================================================ */

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    align-items: center;
    font-size: 13.5px;
    color: var(--muted);
    margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: #a8b3c7; }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

/* ---------- Page header ---------- */
.page-header {
    background:
        radial-gradient(900px 400px at 80% -20%, rgba(249, 115, 22, 0.16), transparent 60%),
        radial-gradient(700px 360px at -10% 20%, rgba(30, 108, 217, 0.16), transparent 60%),
        linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
    padding: 48px 0 40px;
}
.page-header .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}
.page-header h1 {
    font-size: 40px;
    color: var(--ink);
    margin: 4px 0 14px;
    letter-spacing: -1px;
    font-weight: 800;
    line-height: 1.15;
    max-width: 820px;
}
.page-header .lead {
    color: var(--muted);
    max-width: 700px;
    margin: 0;
    font-size: 17.5px;
    line-height: 1.65;
}
.page-header.centered { text-align: center; }
.page-header.centered h1,
.page-header.centered .lead { margin-left: auto; margin-right: auto; }

/* ---------- Article layout ---------- */
.article-wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 36px 22px 20px;
}
.article {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    box-shadow: var(--shadow-sm);
}
.article h2 {
    font-size: 26px;
    color: var(--ink);
    margin: 36px 0 14px;
    letter-spacing: -0.4px;
    font-weight: 800;
}
.article h2:first-child { margin-top: 0; }
.article h3 {
    font-size: 18.5px;
    color: var(--ink);
    margin: 26px 0 10px;
    font-weight: 700;
}
.article p {
    color: var(--text);
    margin: 0 0 14px;
    font-size: 16px;
}
.article ul, .article ol {
    margin: 0 0 18px;
    padding-left: 22px;
    color: var(--text);
}
.article li { margin-bottom: 8px; font-size: 15.5px; }
.article li::marker { color: var(--brand); }
.article strong { color: var(--ink); }

.article table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 14.5px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border);
}
.article th, .article td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.article th {
    background: var(--bg);
    color: var(--ink);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.article tr:last-child td { border-bottom: none; }
.article tbody tr:hover { background: #fafcff; }

.article .note {
    background: var(--brand-soft);
    border-left: 4px solid var(--brand);
    padding: 14px 18px;
    border-radius: 0 12px 12px 0;
    margin: 18px 0 24px;
    color: var(--text);
    font-size: 15px;
}
.article .note.accent {
    background: var(--accent-soft);
    border-left-color: var(--accent);
}

/* ---------- Tip cards ---------- */
.tip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 20px 0 28px;
}
.tip-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 18px;
}
.tip-card .tip-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}
.tip-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: var(--ink);
}
.tip-card p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
}

/* ---------- Hub / category cards ---------- */
.hub-section { padding: 48px 0 20px; }
.hub-section .section-title { text-align: left; margin-bottom: 8px; }
.hub-section .section-sub { text-align: left; margin: 0 0 28px; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.content-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    color: inherit;
    text-decoration: none;
    height: 100%;
}
a.content-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    text-decoration: none;
}
.content-card .card-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-dark);
    background: var(--brand-soft);
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.content-card .card-tag.orange {
    color: #c2410c;
    background: var(--accent-soft);
}
.content-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--ink);
    font-weight: 750;
    letter-spacing: -0.2px;
}
.content-card p {
    margin: 0;
    flex: 1;
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.55;
}
.content-card .card-link {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 650;
    color: var(--brand);
}

/* Destination cards */
.dest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.dest-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}
a.dest-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    text-decoration: none;
}
.dest-card .dest-banner {
    height: 110px;
    background:
        linear-gradient(135deg, rgba(30, 108, 217, 0.85), rgba(249, 115, 22, 0.75)),
        linear-gradient(180deg, #1e6cd9, #0f1a36);
    display: flex;
    align-items: flex-end;
    padding: 16px 18px;
}
.dest-card .dest-banner span {
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.3px;
}
.dest-card .dest-body { padding: 18px; }
.dest-card .dest-body p {
    margin: 0 0 10px;
    font-size: 14.5px;
    color: var(--muted);
}
.dest-card .dest-meta {
    font-size: 13px;
    font-weight: 650;
    color: var(--brand);
}

/* ---------- Checklist ---------- */
.checklist {
    list-style: none;
    padding: 0;
    margin: 12px 0 24px;
}
.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.checklist li:hover { background: #eef4ff; }
.checklist input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--brand);
    flex-shrink: 0;
    cursor: pointer;
}
.checklist li.done span {
    text-decoration: line-through;
    color: var(--muted);
}
.checklist-group-title {
    font-size: 15px;
    font-weight: 750;
    color: var(--brand-dark);
    margin: 22px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ---------- Tool forms / calculators ---------- */
.tool-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 28px 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
}
.tool-panel h2 {
    margin: 0 0 6px;
    font-size: 22px;
    color: var(--ink);
}
.tool-panel .tool-sub {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 15px;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 18px;
}
.form-grid .full { grid-column: 1 / -1; }
.form-field label {
    display: block;
    font-size: 13.5px;
    font-weight: 650;
    color: var(--ink);
    margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(30, 108, 217, 0.15);
}
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}
.tool-result {
    margin-top: 22px;
    padding: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.tool-result h3 {
    margin: 0 0 12px;
    font-size: 16px;
    color: var(--ink);
}
.tool-result .big-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: -0.5px;
    margin: 0 0 6px;
}
.tool-result .result-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14.5px;
}
.tool-result .result-row:last-child { border-bottom: none; }
.tool-result .result-row span:last-child { font-weight: 700; color: var(--ink); }

/* ---------- Related guides ---------- */
.related {
    margin: 40px 0 10px;
}
.related h2 {
    font-size: 22px;
    color: var(--ink);
    margin: 0 0 18px;
    letter-spacing: -0.3px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.related a {
    display: block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    color: var(--ink);
    font-weight: 650;
    font-size: 14.5px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.related a:hover {
    border-color: var(--brand);
    text-decoration: none;
    transform: translateY(-2px);
}
.related a span {
    display: block;
    font-weight: 500;
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
    margin: 40px 0 10px;
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(600px 260px at 100% 0%, rgba(249, 115, 22, 0.35), transparent 55%),
        linear-gradient(135deg, #1e40af 0%, #1e6cd9 55%, #2563eb 100%);
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow);
}
.cta-banner h2 {
    margin: 0 0 10px;
    font-size: 26px;
    letter-spacing: -0.4px;
    color: #fff;
}
.cta-banner p {
    margin: 0 auto 22px;
    max-width: 520px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.88);
}
.cta-banner .btn {
    background: #fff;
    color: var(--brand) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.cta-banner .btn:hover { background: #f0f6ff; }
.cta-banner .btn.accent {
    background: var(--accent);
    color: #fff !important;
}
.cta-banner .cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Glossary ---------- */
.glossary-search {
    margin-bottom: 24px;
}
.glossary-search input {
    width: 100%;
    max-width: 480px;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 15.5px;
    font-family: inherit;
}
.glossary-list { margin: 0; padding: 0; list-style: none; }
.glossary-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.glossary-item h3 {
    margin: 0 0 6px;
    font-size: 17px;
    color: var(--ink);
}
.glossary-item p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}
.glossary-item.hidden { display: none; }

/* ---------- Budget tiers ---------- */
.budget-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 18px 0 28px;
}
.tier {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    background: var(--bg);
}
.tier.mid {
    background: #fff;
    border-color: var(--brand);
    box-shadow: var(--shadow-sm);
}
.tier .tier-label {
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}
.tier.mid .tier-label { color: var(--brand); }
.tier .tier-amount {
    font-size: 24px;
    font-weight: 800;
    color: var(--ink);
    margin: 6px 0 8px;
}
.tier p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- Steps list ---------- */
.steps-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
}
.steps-list li {
    counter-increment: step;
    position: relative;
    padding: 14px 14px 14px 56px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
}
.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 14px;
    top: 14px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    display: grid;
    place-items: center;
}

/* ---------- Footer 5-col tweak for SEO pages ---------- */
.footer-grid.seo-footer {
    grid-template-columns: 1.6fr repeat(5, 1fr);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .card-grid, .dest-grid, .tip-grid, .related-grid, .budget-tiers {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid.seo-footer { grid-template-columns: 1fr 1fr; }
    .page-header h1 { font-size: 32px; }
    .article { padding: 28px 22px; }
}

@media (max-width: 640px) {
    .card-grid, .card-grid.two, .dest-grid, .tip-grid,
    .related-grid, .budget-tiers, .form-grid {
        grid-template-columns: 1fr;
    }
    .page-header { padding: 36px 0 28px; }
    .page-header h1 { font-size: 28px; }
    .cta-banner { padding: 28px 20px; }
    .cta-banner h2 { font-size: 22px; }
    .tool-panel { padding: 22px 18px; }
    .article table { display: block; overflow-x: auto; }
}
