:root {
    --bg: #f5f3ef;
    --bg-accent: #fff6e5;
    --card: #ffffff;
    --text: #1b1f24;
    --muted: #5f6b7a;
    --accent: #d97735;
    --accent-dark: #c45f1c;
    --border: #e6dfd4;
    --success: #2f855a;
    --danger: #c53030;
    --shadow: 0 20px 40px rgba(27, 31, 36, 0.12);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top, var(--bg-accent), var(--bg));
    min-height: 100vh;
}

body.has-left-bg main,
body.has-left-bg .site-header {
    position: relative;
    z-index: 1;
}

@media (max-width: 720px) {
    .left-wallpaper,
    .right-wallpaper {
        display: none;
    }
}

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

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(245, 243, 239, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 16px;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-title img {
    height: 42px;
    width: auto;
    display: block;
}

.brand-tagline {
    color: var(--muted);
    font-size: 0.9rem;
}

.site-nav {
    display: flex;
    gap: 18px;
    font-weight: 500;
}

.site-nav a {
    padding: 8px 12px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
    background: var(--accent);
    color: #fff;
}

.hero {
    padding: 64px 0 32px;
}

.hero-content {
    display: grid;
    gap: 18px;
    background: var(--card);
    border-radius: 28px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.hero h1 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    letter-spacing: -0.02em;
}

.hero p {
    color: var(--muted);
    font-size: 1.05rem;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}

.search-field {
    position: relative;
}

.search-field input {
    width: 100%;
}

.search-form input {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--border);
    font-size: 1rem;
    outline: none;
    background: #fff;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(217, 119, 53, 0.2);
}

.search-form button {
    padding: 16px 22px;
    border-radius: 999px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.search-form button:hover {
    transform: translateY(-1px);
    background: var(--accent-dark);
}

.search-hint {
    color: var(--muted);
    font-size: 0.9rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 26px 0 18px;
}

.section-header h2 {
    font-size: 1.5rem;
}

#resultCount {
    color: var(--muted);
    font-size: 0.95rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    gap: 18px;
    justify-content: center;
}

.banner-card {
    background: var(--card);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 18px 30px rgba(27, 31, 36, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
}

.banner-link {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.instructor-card {
    background: var(--card);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 18px 30px rgba(27, 31, 36, 0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: fadeUp 0.5s ease forwards;
}

.card-main h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.card-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 300px;
    background: #f1e8dc;
}

.card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-photo.placeholder {
    background: linear-gradient(135deg, #e7d9c6, #f3e9db);
    height: 100%;
}

.card-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 16px;
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(15, 10, 6, 0.75) 100%);
    display: grid;
    gap: 4px;
}

.card-overlay h3 {
    margin: 0;
    font-size: 1.2rem;
}

.pioneer-icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(27, 31, 36, 0.18);
}

.pioneer-icon-badge svg {
    width: 20px;
    height: 20px;
}

.card-badges {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    gap: 8px;
}

.highlight-icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    color: #ff00bb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(27, 31, 36, 0.18);
}

.highlight-icon-badge svg {
    width: 20px;
    height: 20px;
}

.pioneer-text-badge {
    display: inline-flex;
    align-items: center;
    margin: 6px 0 2px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff3e0;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pioneer-text-badge svg {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-overlay .city,
.card-overlay .neighborhood {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
}

.card-info {
    grid-template-columns: auto auto;
    column-gap: 8px;
    align-items: center;
}

.card-info h3 {
    margin: 0;
    grid-column: 1 / -1;
}

.city {
    color: var(--muted);
    font-size: 0.95rem;
}

.neighborhood {
    color: var(--muted);
    font-size: 0.85rem;
}

.card-rating {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 0.9rem;
    color: var(--muted);
}

.instructor-card .contact-button,
.instructor-card .contact-button.disabled {
    margin-top: auto;
}

.card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    margin-top: auto;
}

.card-actions .contact-button {
    flex: 1;
    width: auto;
}

.badge-sections {
    display: grid;
    gap: 10px;
}

.badge-group {
    display: grid;
    gap: 6px;
}

.badge-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f7efe3;
    border: 1px solid var(--border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.star {
    color: #d0c7bc;
    font-size: 1rem;
}

.star.filled {
    color: #f6b73c;
}

.btn-cep {
    padding: 12px 16px;
    border-radius: 12px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-cep:hover {
    transform: translateY(-1px);
    background: var(--accent-dark);
}

.contact-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(217, 119, 53, 0.25);
}

.contact-button:hover {
    transform: translateY(-1px);
    background: var(--accent-dark);
    box-shadow: 0 12px 22px rgba(217, 119, 53, 0.3);
}

.instructor-card .contact-button,
.instructor-card .contact-button.disabled {
    width: 140px;
    justify-content: center;
}

.contact-button.disabled {
    background: #a0aec0;
    cursor: not-allowed;
}

.contact-button.secondary {
    background: #fff;
    color: var(--accent);
    border: 1px solid var(--accent);
    box-shadow: none;
}

.contact-button.secondary:hover {
    background: var(--accent);
    color: #fff;
}

.whatsapp-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    font-size: 18px;
    line-height: 1;
    align-items: center;
    justify-content: center;
}

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

.form-section {
    padding: 48px 0;
    display: grid;
    gap: 18px;
}

.form-subtitle {
    color: var(--muted);
    max-width: 520px;
}

.pioneer-benefits {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    padding: 18px 20px;
    border-radius: 18px;
    background: #fff3f7;
    border: 1px solid #f3c6d4;
    color: var(--text);
    max-width: 720px;
}

.pioneer-benefits h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.pioneer-benefits p {
    color: var(--muted);
    font-size: 0.95rem;
}

.pioneer-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffd7e4;
    color: #d6336c;
}

.pioneer-icon svg {
    width: 24px;
    height: 24px;
}

.form-card {
    background: var(--card);
    padding: 28px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 14px;
}

.form-stack {
    display: grid;
    gap: 18px;
}

.form-card h2 {
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.checkbox-group,
.radio-group {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: #faf6ef;
    border: 1px solid var(--border);
}

.checkbox-group p {
    font-weight: 600;
    color: var(--text);
}

.group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pill-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border 0.2s ease, color 0.2s ease;
}

.pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pill span {
    color: var(--text);
}

.pill:has(input:checked) {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.pill:has(input:checked) span {
    color: #fff;
}

.checkbox-group label,
.radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
}

.checkbox-group input,
.radio-group input {
    accent-color: var(--accent);
}

.form-row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.checkbox-single {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-weight: 500;
    padding: 14px;
    border-radius: 16px;
    background: #faf6ef;
    border: 1px solid var(--border);
}

.checkbox-single input[type="checkbox"] {
    accent-color: var(--accent);
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.term-text {
    flex: 1;
}

.term-link {
    align-self: flex-start;
    white-space: nowrap;
}

.city-field {
    position: relative;
}

.city-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(27, 31, 36, 0.12);
    padding: 6px;
    display: none;
    max-height: 220px;
    overflow: auto;
    z-index: 5;
}

.city-suggestions.is-visible {
    display: block;
}

.city-suggestions button {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-radius: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text);
}

.city-suggestions button:hover {
    background: #f7efe3;
}

.cnh-guide {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: start;
}

.cnh-figure {
    background: #f9f6f1;
    border-radius: 16px;
    padding: 12px;
    border: 1px solid var(--border);
}

.cnh-figure img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.cnh-hint {
    color: var(--muted);
    font-size: 0.9rem;
}

.form-card label {
    display: grid;
    gap: 8px;
    font-weight: 500;
}


.form-card input,
.form-card select,
.form-card textarea {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 1rem;
}

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

.detail-section {
    padding: 48px 0;
}

.detail-card {
    background: var(--card);
    padding: 28px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(240px, 320px) 1fr;
    align-items: start;
}

.detail-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f1e8dc;
    height: 360px;
}

.detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-content {
    display: grid;
    gap: 14px;
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

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

.detail-text {
    color: var(--text);
    line-height: 1.6;
}

.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 16px;
}

@media (max-width: 860px) {
    .detail-card {
        grid-template-columns: 1fr;
    }

    .detail-media {
        height: 320px;
    }
}

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

.tab-nav {
    display: inline-flex;
    gap: 8px;
    background: #fff7e8;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px;
    width: fit-content;
}

.tab-button {
    border: none;
    background: transparent;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
}

.tab-button.is-active {
    background: var(--accent);
    color: #fff;
}

.tab-panel {
    display: none;
}

.tab-panel.is-active {
    display: grid;
    gap: 18px;
}

.faq-section {
    padding: 48px 0 64px;
    display: grid;
    gap: 24px;
}

.faq-header {
    background: var(--card);
    border-radius: 24px;
    padding: 28px 32px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 10px;
}

.faq-header h1 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.faq-header p {
    color: var(--muted);
    font-size: 1rem;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    background: var(--card);
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 10px;
}

.faq-item h3 {
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--muted);
    line-height: 1.6;
}

.alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 500;
}

.alert.success {
    background: rgba(47, 133, 90, 0.1);
    color: var(--success);
}

.alert.error {
    background: rgba(197, 48, 48, 0.1);
    color: var(--danger);
}

.alert.info {
    background: rgba(217, 119, 53, 0.1);
    color: var(--accent-dark);
}

.empty-state {
    padding: 22px;
    border-radius: 16px;
    background: #fff7e8;
    color: var(--muted);
    margin-top: 12px;
}

.empty-state-grid {
    display: grid;
    gap: 16px;
    justify-items: center;
    text-align: center;
}

.empty-card {
    width: min(300px, 92vw);
    min-height: 280px;
    border-radius: 20px;
    border: 1px dashed var(--border);
    background: #ffffff;
    display: grid;
    gap: 6px;
    align-content: center;
    padding: 24px;
    color: var(--text);
}

.empty-card-title {
    font-weight: 700;
    color: var(--text);
}

.empty-card-subtitle {
    color: var(--muted);
    font-size: 0.95rem;
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 50;
}

.modal.is-open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(27, 31, 36, 0.55);
}

.modal-card {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow);
    width: min(720px, 92vw);
    max-height: 80vh;
    display: grid;
    overflow: hidden;
}

.modal-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.modal-header h3 {
    font-size: 1.1rem;
}

.modal-close {
    border: none;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--muted);
}

.modal-body {
    padding: 18px 22px;
    overflow: auto;
    display: grid;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text);
}

.modal-image .modal-body {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111;
}

.modal-image img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.modal-body ul {
    padding-left: 20px;
    display: grid;
    gap: 6px;
}

.modal-footer {
    padding: 16px 22px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
}

.admin-section {
    padding: 40px 0;
    display: grid;
    gap: 24px;
}

.admin-shell {
    display: grid;
    gap: 22px;
    padding: 32px 0 48px;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(120deg, #0f3d38, #0b5b4a);
    padding: 22px 26px;
    border-radius: 22px;
    color: #f7f7f4;
    box-shadow: var(--shadow);
}

.admin-header h1 {
    margin: 0 0 4px;
    font-size: 1.8rem;
    letter-spacing: 0.02em;
}

.admin-header .form-subtitle {
    color: rgba(247, 247, 244, 0.78);
}

.admin-metrics {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.metric-card {
    background: var(--card);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 6px;
}

.metric-card span {
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.metric-card strong {
    font-size: 1.6rem;
    color: var(--text);
}

.admin-layout {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.admin-column {
    display: grid;
    gap: 22px;
}

.admin-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.8);
}

.pill.pending {
    background: rgba(237, 137, 54, 0.14);
    color: #c05621;
}

.pill.approved,
.pill.active {
    background: rgba(72, 187, 120, 0.15);
    color: #2f855a;
}

.table-wrap {
    overflow-x: auto;
    margin-top: 16px;
}

.empty-state {
    margin-top: 12px;
    color: var(--muted);
}

.admin-inline-form {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(110px, 1fr) minmax(170px, 1.2fr) auto;
    align-items: center;
}

.admin-action-row {
    margin-top: 12px;
}

.admin-action-button {
    padding: 10px 14px;
    border-radius: 999px;
    border: none;
    background: #edf2f7;
    color: #1f2933;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-action-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

.admin-action-button.danger {
    background: rgba(197, 48, 48, 0.15);
    color: var(--danger);
}

.admin-grid {
    display: grid;
    gap: 24px;
}

.admin-panel {
    background: var(--card);
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 0.95rem;
}

.admin-table th,
.admin-table td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.admin-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border);
    background: #f7efe3;
}

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

.actions form button,
.link-button {
    padding: 8px 12px;
    border-radius: 999px;
    border: none;
    background: #edf2f7;
    cursor: pointer;
    font-weight: 500;
}

.actions form button.danger {
    background: rgba(197, 48, 48, 0.15);
    color: var(--danger);
}

.link-button {
    display: inline-flex;
    align-items: center;
}

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

.form-row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.admin-edit {
    border-left: 4px solid var(--accent);
}

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

    .admin-inline-form {
        grid-template-columns: 1fr;
    }
}

.highlight-text-badge {
    display: inline-flex;
    align-items: center;
    margin: 6px 0 2px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 0, 187, 0.12);
    color: #ff00bb;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.highlight-text-badge svg {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 18px;
}

.danger-card {
    border: 1px solid rgba(197, 48, 48, 0.2);
    background: #fff6f6;
}

.danger-button {
    padding: 12px 16px;
    border-radius: 999px;
    border: none;
    background: rgba(197, 48, 48, 0.15);
    color: var(--danger);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.danger-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(197, 48, 48, 0.2);
}

.plan-card {
    background: var(--card);
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 24px;
    box-shadow: 0 14px 24px rgba(27, 31, 36, 0.08);
    display: grid;
    gap: 12px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(47, 133, 90, 0.15);
    color: #1f6f4b;
    font-weight: 700;
    letter-spacing: 0.01em;
    width: fit-content;
}

.plan-heading {
    margin: 4px auto 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 1rem;
}

.plan-status-card {
    margin: 8px 0 18px;
    box-shadow: var(--shadow);
}

.status-plan-card {
    margin-top: 16px;
    padding: 18px;
}

.status-plan-card .plan-price,
.status-plan-card .plan-action {
    display: none;
}

.plan-list-card {
    margin-top: 12px;
    box-shadow: var(--shadow);
}


.plan-card.has-tag {
    padding-top: 40px;
}

.plan-card.recommended {
    border-color: var(--accent);
    box-shadow: 0 18px 28px rgba(217, 119, 53, 0.25);
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 32px rgba(27, 31, 36, 0.16);
    border-color: var(--accent);
}

.plan-card:hover::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 16px;
    background: rgba(217, 119, 53, 0.12);
    pointer-events: none;
}

.plan-tag {
    position: absolute;
    top: 12px;
    left: -10px;
    background: var(--accent);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 10px 18px rgba(27, 31, 36, 0.18);
}

.plan-card h3 {
    margin: 0;
    font-size: 1.1rem;
}

.plan-duration {
    color: var(--muted);
    font-size: 0.9rem;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.plan-discount {
    font-size: 0.85rem;
    color: var(--muted);
}

.plan-features {
    list-style: none;
    display: grid;
    gap: 6px;
    margin: 4px 0;
    color: var(--text);
    font-size: 0.9rem;
}

.plan-features li::before {
    content: '✓';
    color: var(--success);
    margin-right: 8px;
}

.plan-action {
    width: 100%;
    justify-content: center;
}

.site-footer {
    padding: 32px 0 48px;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.is-hidden {
    display: none !important;
}

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

@media (max-width: 720px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content {
        padding: 28px;
    }


    .search-form {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}
