:root {
    --ink: #17202a;
    --muted: #667085;
    --brand: #0f766e;
    --brand-dark: #115e59;
    --accent: #f59e0b;
    --soft: #f4f8f7;
    --line: #d9e2df;
    --white: #ffffff;
    --font-body: "Inter", Arial, Helvetica, sans-serif;
    --font-heading: "Manrope", "Inter", Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
.brand,
.price,
strong {
    font-family: var(--font-heading);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
}

.topbar a {
    font-weight: 700;
}

.topbar .container,
.navbar .container,
.actions,
.form-grid,
.card-grid,
.stats,
.admin-shell {
    display: flex;
    gap: 16px;
}

.topbar .container,
.navbar .container {
    align-items: center;
    justify-content: space-between;
}

.navbar .container {
    flex-wrap: wrap;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    font-weight: 800;
    font-size: 22px;
    color: var(--brand-dark);
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
}

.brand-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-copy {
    display: grid;
    gap: 1px;
    line-height: 1.1;
}

.brand-name {
    font: inherit;
}

.brand-slogan {
    color: var(--muted);
    font: 700 11px/1.1 var(--font-body);
    letter-spacing: 0;
    text-transform: uppercase;
}

.admin-sidebar .brand-slogan {
    color: rgba(255, 255, 255, .72);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #344054;
    font-weight: 600;
}

.nav-links > a:not(.btn) {
    padding: 8px 2px;
}

.nav-links > a:hover {
    color: var(--brand-dark);
}

.nav-highlight {
    padding: 9px 13px !important;
    border-radius: 8px;
    background: var(--accent);
    color: #1f2937;
    font-weight: 800;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 118, 110, .18);
}

.nav-cta {
    min-height: 38px;
    padding: 8px 13px;
}

.btn.secondary {
    background: #fff;
    color: var(--brand-dark);
    border-color: var(--line);
}

.btn.warning {
    background: var(--accent);
    color: #1f2937;
}

.btn.ghost {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border-color: rgba(255, 255, 255, .42);
}

.btn.danger {
    background: #b42318;
}

.hero {
    min-height: 560px;
    display: grid;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(12, 33, 41, .86), rgba(12, 33, 41, .30)),
        url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=80") center/cover;
    color: #fff;
}

.home-hero {
    min-height: 640px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(8, 31, 42, .92), rgba(8, 31, 42, .58) 52%, rgba(8, 31, 42, .22)),
        url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
    gap: 44px;
    align-items: center;
}

.hero-content {
    max-width: 720px;
}

.hero h1,
.page-hero h1 {
    font-size: 58px;
    line-height: 1.05;
    margin: 0 0 18px;
    letter-spacing: 0;
    max-width: 780px;
}

.hero p {
    font-size: 20px;
    margin: 0 0 28px;
    max-width: 640px;
}

.light-tag {
    background: rgba(255, 255, 255, .18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
}

.hero-actions {
    flex-wrap: wrap;
}

.hero-secondary {
    background: rgba(255, 255, 255, .94);
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-trust-row span {
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    font-weight: 700;
}

.hero-image-stack {
    position: relative;
    min-height: 440px;
}

.hero-image-stack img {
    position: absolute;
    width: 72%;
    border: 6px solid rgba(255, 255, 255, .84);
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
    object-fit: cover;
}

.hero-image-stack img:first-child {
    top: 0;
    right: 0;
    height: 310px;
}

.hero-image-stack img:last-child {
    left: 0;
    bottom: 0;
    height: 260px;
}

.search-panel {
    margin-top: -48px;
    position: relative;
    z-index: 3;
}

.elevated-search {
    margin-bottom: 18px;
}

.panel,
.card,
.admin-card,
.notice {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.panel {
    padding: 22px;
}

.section {
    padding: 72px 0;
}

.section.soft {
    background: var(--soft);
}

.lead-capture-band {
    padding: 28px 0 54px;
}

.trust-stats-section {
    padding: 4px 0 14px;
}

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

.trust-stats div {
    min-height: 112px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

.trust-stats strong {
    display: block;
    color: var(--brand-dark);
    font-size: 30px;
    line-height: 1.05;
}

.trust-stats span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 700;
}

.quick-lead {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: center;
}

.quick-lead h2 {
    margin: 8px 0 8px;
}

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

.quick-lead-form input {
    min-width: 0;
}

.quick-lead-form .phone-field {
    min-width: 0;
    grid-column: span 2;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section h2,
.page-hero h1 {
    margin: 0;
}

.section h2 {
    font-size: 34px;
    line-height: 1.18;
}

.form-intro {
    margin-bottom: 18px;
}

.form-intro h3 {
    margin: 10px 0 4px;
    font-size: 24px;
}

.form-intro p {
    margin: 0;
}

.form-note {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.progressive-lead-form {
    position: relative;
}

.lead-primary-fields .field {
    flex-basis: 240px;
}

.progressive-fields {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.progressive-fields[hidden] {
    display: none;
}

.lead-form-actions {
    margin-top: 14px;
}

.lead-form-actions .btn {
    width: 100%;
}

.progressive-status {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #e6fffb;
    color: var(--brand-dark);
    font-size: 14px;
    font-weight: 700;
}

.muted {
    color: var(--muted);
}

.trust-section {
    padding-top: 46px;
}

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

.trust-card {
    min-height: 178px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(244, 248, 247, .96)),
        #fff;
}

.trust-icon {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #e6fffb;
    color: var(--brand-dark);
    font-weight: 800;
}

.trust-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--brand-dark);
    font-size: 18px;
}

.trust-card p {
    margin: 0;
    color: var(--muted);
}

.card-grid {
    flex-wrap: wrap;
}

.package-card,
.story-card,
.admin-card {
    overflow: hidden;
    flex: 1 1 300px;
}

.story-card-photo,
.testimonial-gallery-main {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.testimonial-gallery {
    background: #f2f4f7;
}

.testimonial-gallery-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
}

.testimonial-gallery-strip img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
}

.package-card {
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}

.package-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 54px rgba(15, 23, 42, .12);
}

.package-card img,
.placeholder-image {
    height: 210px;
    width: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #0f766e, #f59e0b);
}

.package-card img {
    filter: saturate(1.08) contrast(1.03);
    transition: transform .28s ease, filter .28s ease;
}

.package-card:hover img {
    transform: scale(1.035);
    filter: saturate(1.16) contrast(1.05);
}

.package-hero-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    filter: saturate(1.06) contrast(1.03);
}

.package-rating-line {
    display: inline-flex;
    margin: 10px 0 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 800;
}

.card-body,
.admin-card {
    padding: 18px;
}

.package-card .card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.tag {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    background: #e6fffb;
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.package-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rating-pill {
    white-space: nowrap;
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 12px;
    font-weight: 800;
}

.price {
    font-size: 20px;
    font-weight: 800;
    color: var(--brand-dark);
}

.package-card-footer {
    align-items: center;
    margin: auto 0 0;
    padding-top: 10px;
}

.package-card-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: stretch;
    gap: 8px;
}

.package-card-actions .btn {
    flex: 0 0 132px;
    width: 132px;
    min-height: 40px;
    padding: 8px 10px;
}

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

.category-tile {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 24px;
    border-radius: 8px;
    overflow: hidden;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
}

.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(8, 31, 42, .82));
}

.category-tile span,
.category-tile strong {
    position: relative;
}

.category-tile span {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.category-tile strong {
    font-size: 24px;
    line-height: 1.15;
}

.category-tile.domestic {
    background-image: url("https://images.unsplash.com/photo-1544735716-392fe2489ffa?auto=format&fit=crop&w=900&q=80");
}

.category-tile.international {
    background-image: url("https://images.unsplash.com/photo-1528181304800-259b08848526?auto=format&fit=crop&w=900&q=80");
}

.category-tile.inbound {
    background-image: url("https://images.unsplash.com/photo-1524492412937-b28074a5d7da?auto=format&fit=crop&w=900&q=80");
}

.mini-category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.mini-category-row a {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--brand-dark);
    font-weight: 700;
}

.planning-section {
    background:
        linear-gradient(90deg, rgba(244, 248, 247, .96), rgba(255, 255, 255, .92)),
        url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.process-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.process-list div {
    min-height: 150px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
}

.process-list strong {
    color: var(--brand-dark);
}

.process-list p {
    margin-bottom: 0;
    color: var(--muted);
}

.final-lead-section .panel {
    box-shadow: none;
}

.brochure-download-button {
    margin-top: 12px;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, .58);
}

.modal-backdrop[hidden] {
    display: none;
}

.modal-panel {
    position: relative;
    width: min(460px, 100%);
    padding: 24px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .28);
}

.modal-panel h2 {
    margin: 0 36px 8px 0;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: var(--soft);
    color: var(--ink);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.file-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
    color: var(--brand-dark);
    font-weight: 700;
}

.file-preview a {
    color: var(--brand-dark);
    text-decoration: underline;
}

.admin-preview-image {
    width: 82px;
    height: 54px;
    border-radius: 8px;
    object-fit: cover;
}

.contact-proof {
    margin-top: 24px;
    padding: 18px;
    border-left: 4px solid var(--accent);
    background: #fff;
}

.contact-proof p {
    margin: 0 0 8px;
}

.form-grid {
    flex-wrap: wrap;
}

.field {
    flex: 1 1 210px;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

input,
select,
textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    background: #fff;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(15, 118, 110, .16);
    border-color: var(--brand);
}

.phone-control {
    display: grid;
    grid-template-columns: minmax(155px, .5fr) minmax(0, 1fr);
    gap: 8px;
}

.phone-code-select {
    min-width: 0;
}

::placeholder {
    color: #98a2b3;
}

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

.page-hero {
    padding: 70px 0;
    background: var(--soft);
}

.split {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 28px;
    align-items: start;
}

.detail-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    list-style: none;
}

.detail-list li,
.timeline-item {
    padding: 14px;
    background: var(--soft);
    border-radius: 8px;
}

.timeline-item {
    margin-bottom: 12px;
}

.footer {
    background: #101828;
    color: #fff;
    padding: 42px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer h2 {
    margin: 0;
}

.footer p {
    margin: 0;
    color: rgba(255, 255, 255, .76);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.footer-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex: 0 0 auto;
}

.footer .footer-slogan {
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
    font-weight: 700;
}

.footer-links a {
    color: #fff;
}

.footer-links a:hover {
    color: var(--accent);
}

.whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
}

.admin-body {
    background: #f7faf9;
}

.admin-shell {
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    background: #101828;
    color: #fff;
    padding: 22px;
}

.admin-main {
    flex: 1;
    min-width: 0;
    padding: 28px;
}

.admin-nav a,
.admin-nav button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 8px;
    font: inherit;
    cursor: pointer;
}

.admin-nav a:hover,
.admin-nav button:hover {
    background: rgba(255,255,255,.12);
}

.admin-nav a.admin-nav-with-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin-nav-badge {
    min-width: 24px;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--accent);
    color: #1f2937;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, .18);
    animation: adminBadgePulse 1.8s ease-in-out infinite;
}

@keyframes adminBadgePulse {
    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(245, 158, 11, .16);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(245, 158, 11, .30);
    }
}

.admin-narrow-form {
    max-width: 560px;
}

.admin-filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(5, minmax(140px, 1fr)) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
}

.admin-filter-bar .field {
    min-width: 0;
}

.admin-filter-bar input,
.admin-filter-bar select {
    min-height: 40px;
}

.admin-filter-actions {
    display: flex;
    gap: 8px;
}

.admin-filter-actions .btn {
    min-height: 40px;
    padding: 8px 12px;
}

.admin-result-summary {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 14px;
}

.admin-card-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.admin-card-toolbar .admin-result-summary {
    margin-bottom: 0;
}

.admin-serial-cell input {
    width: 92px;
    min-height: 36px;
    padding: 8px 10px;
}

.admin-table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-table-actions .btn {
    min-height: 36px;
    padding: 8px 12px;
}

.upload-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
}

.upload-progress[hidden] {
    display: none;
}

.upload-progress-bar {
    flex: 1;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e4e7ec;
}

.upload-progress-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--brand);
    transition: width .18s ease;
}

.testimonial-admin-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin: 14px 0 18px;
}

.testimonial-admin-photo {
    display: block;
    font-weight: 400;
}

.testimonial-admin-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 8px;
}

.testimonial-admin-photo input {
    width: auto;
    min-height: auto;
    margin-right: 6px;
}

.testimonial-admin-thumbs {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.testimonial-admin-thumbs img {
    width: 52px;
    height: 42px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--line);
}

.stats {
    flex-wrap: wrap;
}

.stat {
    flex: 1 1 180px;
    padding: 18px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.notice {
    padding: 12px 14px;
    margin-bottom: 18px;
}

.notice.success {
    border-color: #12b76a;
    color: #027a48;
}

.error-list {
    color: #b42318;
}

.pagination-wrap {
    margin-top: 28px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pagination li {
    display: inline-flex;
}

.pagination a,
.pagination span {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-weight: 800;
}

.pagination a:hover {
    border-color: var(--brand);
    color: var(--brand-dark);
    box-shadow: 0 10px 24px rgba(15, 118, 110, .12);
}

.pagination .active span {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.pagination .disabled span {
    color: #98a2b3;
    background: #f8fafc;
}

.policy-content {
    max-width: 860px;
}

.policy-content h2 {
    margin: 0 0 10px;
    font-size: 26px;
}

.policy-content p {
    margin: 0 0 24px;
    color: var(--muted);
}

@media (max-width: 1050px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-image-stack {
        display: none;
    }

    .quick-lead {
        grid-template-columns: 1fr;
    }

    .quick-lead-form,
    .trust-grid,
    .trust-stats,
    .category-grid,
    .process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .topbar {
        font-size: 13px;
    }

    .topbar .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 14px;
        text-align: center;
    }

    .navbar .container {
        display: block;
    }

    .brand {
        padding: 12px 0 10px;
    }

    .nav-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding-bottom: 14px;
        font-size: 14px;
    }

    .nav-links > a {
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 10px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        text-align: center;
    }

    .nav-links > .btn {
        background: var(--brand);
        color: #fff;
        border-color: var(--brand);
    }

    .admin-filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-filter-search,
    .admin-filter-actions {
        grid-column: 1 / -1;
    }

    .nav-highlight {
        background: var(--accent) !important;
        border-color: var(--accent) !important;
    }

    .hero {
        min-height: 500px;
    }

    .home-hero {
        min-height: 590px;
        padding: 62px 0 84px;
    }

    .hero-layout,
    .quick-lead,
    .category-grid,
    .trust-grid,
    .trust-stats,
    .process-list {
        display: block;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 18px;
    }

    .quick-lead-form {
        grid-template-columns: 1fr;
        margin-top: 18px;
    }

    .admin-filter-bar {
        grid-template-columns: 1fr;
    }

    .admin-filter-search,
    .admin-filter-actions {
        grid-column: auto;
    }

    .admin-card-toolbar {
        display: block;
    }

    .admin-card-toolbar .btn {
        margin-top: 10px;
        width: 100%;
    }

    .quick-lead-form .phone-field {
        grid-column: auto;
    }

    .phone-control {
        grid-template-columns: 1fr;
    }

    .trust-card,
    .trust-stats div,
    .category-tile,
    .process-list div {
        margin-bottom: 14px;
    }

    .category-tile {
        min-height: 250px;
    }

    .package-card-footer {
        display: block;
    }

    .package-card-actions {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .section h2 {
        font-size: 28px;
    }

    .panel {
        padding: 18px;
    }

    .actions {
        gap: 10px;
    }

    .actions .btn {
        flex: 1 1 180px;
    }

    .section-head,
    .split,
    .detail-list,
    .admin-shell {
        display: block;
    }

    .admin-sidebar {
        width: auto;
        position: static;
        height: auto;
        overflow: visible;
    }

    .footer-inner,
    .footer-links {
        display: block;
        text-align: center;
    }

    .footer-links a {
        display: block;
        padding: 8px 0;
    }
}
