* {
    box-sizing: border-box;
}

/* ===== PRICING CARDS ===== */
.pcard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
    max-width: 1200px;
    margin: 0 auto;
}

.pcard-grid--moto {
    max-width: 940px;
}

.pcard {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--pd-line, #c7cede);
    border-top: 4px solid var(--pd-accent, var(--pd-navy, #10173f));
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 2px 10px rgba(16, 23, 63, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.pcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -20px rgba(16, 23, 63, .28);
}

.pcard--yellow { --pd-accent: #f0a800; }
.pcard--blue { --pd-accent: #1a9cb5; }
.pcard--green { --pd-accent: #1f8a44; }
.pcard--red { --pd-accent: #a91313; }
.pcard--navy { --pd-accent: var(--pd-navy, #10173f); }

.pcard-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.pcard-name {
    font-family: var(--font-display, inherit);
    font-size: 1.5rem;
    letter-spacing: .02em;
    color: var(--pd-navy, #10173f);
}

.pcard-hours {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--pd-steel, #5b6478);
    white-space: nowrap;
}

.pcard-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid #eef0f2;
    border-bottom: 1px solid #eef0f2;
    margin-bottom: 18px;
}

.pcard-prices--single {
    grid-template-columns: 1fr;
    text-align: center;
}

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

.pcard-price-label {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--pd-steel, #5b6478);
}

.pcard-price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pd-navy, #10173f);
    line-height: 1.15;
}

.pcard-prices--single .pcard-price-value {
    font-size: 2.1rem;
}

/* ===== CAR PLAN PRICE TABLE (hours × week/weekend) ===== */
.pcard-price-table {
    width: 100%;
    border-collapse: collapse;
    padding: 14px 0;
    margin-bottom: 18px;
    border-top: 1px solid #eef0f2;
    border-bottom: 1px solid #eef0f2;
}

.pcard-price-table th,
.pcard-price-table td {
    text-align: center;
    padding: 6px 4px;
}

.pcard-price-table thead th {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--pd-steel, #5b6478);
    white-space: nowrap;
}

.pcard-price-table tbody td:first-child {
    text-align: left;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--pd-steel, #5b6478);
}

.pcard-price-table tbody td:not(:first-child) {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--pd-navy, #10173f);
}

.pcard-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.pcard-perk {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f3f5fa;
    color: var(--pd-navy, #10173f);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 999px;
}

.pcard-perk svg {
    width: 13px;
    height: 13px;
    fill: var(--pd-accent, var(--pd-navy, #10173f));
    flex-shrink: 0;
}

.pcard-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    flex: 1;
}

.pcard-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: #3c3f4a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.pcard-benefits li i {
    color: var(--pd-accent, var(--pd-navy, #10173f));
    font-size: 0.75rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.pcard-cta {
    display: block;
    text-align: center;
    font-family: var(--font-mono, monospace);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--pd-navy, #10173f);
    border: 1.5px solid var(--pd-navy, #10173f);
    border-radius: 999px;
    padding: 12px 18px;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}

.pcard-cta:hover {
    background: var(--pd-navy, #10173f);
    color: #fff;
}

@media (max-width: 575px) {
    .pcard-prices {
        grid-template-columns: 1fr;
    }
}

/* ===== ABOUT QUICK GRID ===== */
.about-quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.about-quick-item {
    background: #fff;
    border: 1px solid var(--pd-line, #c7cede);
    border-radius: 16px;
    padding: 22px 18px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.about-quick-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -14px rgba(16, 23, 63, .25);
    border-color: var(--pd-amber, #ffb100);
}

.about-quick-item .aq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--pd-navy, #10173f);
    color: var(--pd-amber, #ffb100);
    font-size: 18px;
    margin-bottom: 12px;
}

.about-quick-item h4 {
    font-family: var(--font-display, inherit);
    font-size: 1.05rem;
    letter-spacing: .02em;
    color: var(--pd-navy, #10173f);
    margin-bottom: 6px;
}

.about-quick-item p {
    font-size: 0.85rem;
    color: #58595B;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 767px) {
    .about-quick-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== DATOS GENERALES ===== */
.info-general-section {
    position: relative;
    background: linear-gradient(160deg, var(--pd-navy-2, #1c2a63) 0%, var(--pd-navy, #10173f) 100%);
    padding: 70px 0;
    overflow: hidden;
}

.info-general-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.info-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 177, 0, .18);
    border-radius: 16px;
    padding: 26px 20px;
    text-align: center;
    transition: transform .25s, background-color .25s;
}

.info-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .07);
}

.info-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--pd-amber, #ffb100);
    color: var(--pd-navy, #10173f);
    font-size: 20px;
    margin-bottom: 14px;
}

.info-card h4 {
    font-family: var(--font-display, inherit);
    font-size: 1.15rem;
    letter-spacing: .02em;
    color: #fff;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 0.85rem;
    color: #c7cede;
    line-height: 1.6;
    margin: 0;
}

.info-card p a {
    color: #ffd479;
    text-decoration: none;
}

.info-card p a:hover {
    text-decoration: underline;
}

.info-card-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 12px;
}

.info-card-links img {
    border-radius: 6px;
    transition: transform .2s;
}

.info-card-links a:hover img {
    transform: scale(1.12);
}

@media (max-width: 991px) {
    .info-general-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575px) {
    .info-general-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== EXAM CTA BANNER ===== */
.exam-cta-section {
    padding: 20px 0 60px;
}

.exam-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    background: #f3f5fa;
    border: 1px solid var(--pd-line, #c7cede);
    border-radius: 20px;
    padding: 36px 40px;
}

/* ===== EXAM / BLOG PAGE HERO ===== */
.exam-hero {
    background: linear-gradient(160deg, var(--pd-navy-2, #1c2a63) 0%, var(--pd-navy, #10173f) 100%);
    padding: 90px 0 50px;
    text-align: center;
    color: #fff;
}

.exam-hero h1 {
    font-family: var(--font-display, inherit);
    font-size: 2.6rem;
    letter-spacing: .02em;
    color: #fff;
}

.exam-hero-sub {
    color: #c7cede;
    max-width: 560px;
    margin: 14px auto 0;
    font-size: 15px;
    line-height: 1.6;
}

/* ===== EXAM PROGRESS ===== */
.exam-progress {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    padding: 14px 0;
    border-bottom: 1px solid var(--pd-line, #c7cede);
    margin-bottom: 30px;
    font-family: var(--font-mono, monospace);
    font-size: 12px;
    color: var(--pd-steel, #5b6478);
}

.exam-progress-bar {
    flex: 1;
    height: 6px;
    background: #eef0f5;
    border-radius: 999px;
    overflow: hidden;
}

.exam-progress-fill {
    height: 100%;
    background: var(--pd-amber, #ffb100);
    transition: width .25s ease;
}

/* ===== EXAM QUESTION CARD ===== */
.exam-question {
    background: #fff;
    border: 1px solid var(--pd-line, #c7cede);
    border-radius: 16px;
    padding: 24px 26px;
    margin-bottom: 18px;
}

.exam-question-number {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--pd-steel, #5b6478);
    margin-bottom: 10px;
}

.exam-question-text {
    font-weight: 700;
    color: var(--pd-navy, #10173f);
    font-size: 1rem;
    margin-bottom: 16px;
}

.exam-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exam-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--pd-line, #c7cede);
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #3c3f4a;
    transition: border-color .2s, background-color .2s;
}

.exam-option:hover {
    border-color: var(--pd-amber, #ffb100);
}

.exam-option.is-selected {
    border-color: var(--pd-navy, #10173f);
    background: #f3f5fa;
    font-weight: 600;
}

.exam-option input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    padding: 0 !important;
    background-color: transparent !important;
    accent-color: var(--pd-navy, #10173f);
    flex-shrink: 0;
}

.exam-option.is-review {
    cursor: default;
}

.exam-option.is-correct {
    border-color: #1f8a44;
    background: #eef8f1;
    color: #1f8a44;
    font-weight: 600;
}

.exam-option.is-wrong {
    border-color: #a91313;
    background: #fdeeee;
    color: #a91313;
    font-weight: 600;
}

.exam-submit {
    margin: 30px 0 10px;
}

/* ===== EXAM RESULT ===== */
.exam-result {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    border: 1px solid var(--pd-line, #c7cede);
}

.exam-result.is-pass {
    background: #eef8f1;
    border-color: #1f8a44;
}

.exam-result.is-fail {
    background: #fdeeee;
    border-color: #a91313;
}

.exam-result-score {
    font-family: var(--font-display, inherit);
    font-size: 3.5rem;
    color: var(--pd-navy, #10173f);
}

.exam-result h3 {
    font-family: var(--font-display, inherit);
    font-size: 1.4rem;
    margin: 6px 0 10px;
    color: var(--pd-navy, #10173f);
}

.exam-result-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.exam-result-actions .pcard-cta {
    max-width: 220px;
}

/* ===== BLOG ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.blog-card {
    display: block;
    background: #fff;
    border: 1px solid var(--pd-line, #c7cede);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -18px rgba(16, 23, 63, .3);
}

.blog-card-date {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--pd-steel, #5b6478);
}

.blog-card h3 {
    font-family: var(--font-display, inherit);
    font-size: 1.25rem;
    color: var(--pd-navy, #10173f);
    margin: 10px 0 8px;
}

.blog-card p {
    font-size: 0.88rem;
    color: #58595B;
    line-height: 1.5;
    margin-bottom: 14px;
}

.blog-card-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pd-navy, #10173f);
}

.blog-content p {
    font-size: 1rem;
    line-height: 1.85;
    color: #3c3f4a;
    margin-bottom: 20px;
}

@media (max-width: 575px) {
    .exam-cta {
        flex-direction: column;
        text-align: center;
        padding: 30px 24px;
    }
}

/* ===== "CÓMO LLEGAR" MAP LINK BUTTONS ===== */
.map-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.map-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    padding: 12px 24px 12px 14px;
    text-decoration: none;
    transition: background-color .2s, transform .2s;
}

.map-link-btn:hover {
    background: rgba(255, 255, 255, .18);
    transform: translateY(-2px);
}

.map-link-btn img {
    border-radius: 6px;
    flex-shrink: 0;
}

.map-link-btn span {
    font-family: var(--font-mono, monospace);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
    color: #fff;
    white-space: nowrap;
}
