/* ==========================================================================
   DedicaQR — Estilos adicionales del Sprint 2
   Complementa app.css del Sprint 1. Solo clases NUEVAS.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Helpers genéricos
   -------------------------------------------------------------------------- */
.dq-lead {
    font-size: 17px;
    color: var(--c-text-soft);
    max-width: 640px;
    margin: 0 auto 24px;
    line-height: 1.6;
}
.dq-container--prose { max-width: 760px; }

.dq-grid { display: grid; gap: 16px; }
.dq-grid--2 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
    .dq-grid--2 { grid-template-columns: 1fr 1fr; }
}

.dq-divider {
    border: 0;
    border-top: 1px solid var(--c-border);
    margin: 56px 0;
}

.dq-muted { color: var(--c-text-soft); font-size: 13px; }

.dq-section__sub {
    text-align: center;
    color: var(--c-text-soft);
    max-width: 720px;
    margin: -28px auto 36px;
    font-size: 16px;
}
.dq-section__lead {
    text-align: center;
    color: var(--c-text-soft);
    max-width: 720px;
    margin: -28px auto 36px;
}

/* --------------------------------------------------------------------------
   PLANES
   -------------------------------------------------------------------------- */
.dq-plans-hero {
    padding: 56px 0 36px;
    text-align: center;
    background: linear-gradient(180deg, #FFF8F5 0%, #FFEDE7 100%);
}
.dq-plans-hero h1 {
    font-size: clamp(28px, 4.5vw, 42px);
    margin: 16px 0 12px;
}

.dq-currency-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 18px auto 0;
    padding: 6px 8px;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    font-size: 13px;
}
.dq-currency-switch span:first-child {
    padding: 0 8px;
    color: var(--c-text-soft);
    font-weight: 500;
}
.dq-currency-switch a {
    padding: 6px 14px;
    border-radius: 999px;
    color: var(--c-text-soft);
    font-weight: 600;
    transition: all .15s ease;
}
.dq-currency-switch a:hover { background: rgba(201, 24, 74, .08); color: var(--c-primary); }
.dq-currency-switch a.is-active {
    background: var(--c-primary);
    color: #fff;
}
.dq-currency-switch a.is-active:hover { color: #fff; }

.dq-plans-section { padding: 56px 0; }
.dq-plans-section--alt { background: #fff; }

.dq-plans-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .dq-plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dq-plans-grid { grid-template-columns: repeat(4, 1fr); } }

.dq-plan-card {
    background: #fff;
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
}
.dq-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.dq-plan-card.is-featured {
    border-color: var(--c-primary);
    box-shadow: 0 10px 30px rgba(201, 24, 74, .15);
}
.dq-plan-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--c-primary), #E73C68);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}
.dq-plan-card h3 {
    font-size: 22px;
    margin: 0;
    color: var(--c-primary);
}
.dq-plan-card__tagline {
    color: var(--c-text-soft);
    font-size: 14px;
    margin: 0;
    min-height: 42px;
}
.dq-plan-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    padding: 8px 0;
    border-bottom: 1px solid var(--c-border);
}
.dq-plan-card__price strong {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--c-text);
    line-height: 1;
}
.dq-plan-card__period { color: var(--c-text-soft); font-size: 14px; }
.dq-plan-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    flex: 1;
}
.dq-plan-card__features li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    line-height: 1.4;
}
.dq-plan-card__description {
    color: var(--c-text-soft);
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

/* --------------------------------------------------------------------------
   EMPRESAS (business)
   -------------------------------------------------------------------------- */
.dq-biz-hero {
    padding: 64px 0 48px;
    background: linear-gradient(135deg, #FFF8F5, #FFEDE7 60%, rgba(255, 179, 193, .25));
}
.dq-biz-hero h1 {
    font-size: clamp(28px, 5vw, 46px);
    max-width: 720px;
}
.dq-biz-hero__content { max-width: 720px; }

.dq-biz-value { padding: 64px 0; background: #fff; }
.dq-biz-uses  { padding: 64px 0; background: var(--c-bg); }

.dq-biz-uses__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .dq-biz-uses__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dq-biz-uses__grid { grid-template-columns: repeat(3, 1fr); } }

.dq-biz-use {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 24px 20px;
    transition: all .2s ease;
}
.dq-biz-use:hover {
    border-color: var(--c-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.dq-biz-use__icon { font-size: 36px; margin-bottom: 12px; }
.dq-biz-use h3 { font-size: 18px; margin: 0 0 8px; color: var(--c-primary); }
.dq-biz-use p { margin: 0; color: var(--c-text-soft); font-size: 14px; }

/* --------------------------------------------------------------------------
   CONTACTO
   -------------------------------------------------------------------------- */
.dq-contact { padding: 56px 0; }
.dq-contact__head { text-align: center; margin-bottom: 32px; }
.dq-contact__head h1 { font-size: clamp(28px, 4vw, 38px); margin: 14px 0 12px; }

.dq-contact__card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--c-border);
}
.dq-field select,
.dq-field textarea {
    padding: 12px 14px;
    border: 1.5px solid var(--c-border);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: var(--c-text);
    transition: border-color .15s ease, box-shadow .15s ease;
    width: 100%;
}
.dq-field select:focus,
.dq-field textarea:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(201, 24, 74, .12);
}
.dq-field textarea { resize: vertical; min-height: 120px; }

.dq-contact__channels {
    margin-top: 32px;
    text-align: center;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px dashed var(--c-border);
}
.dq-contact__channels h3 { font-size: 16px; margin: 0 0 12px; color: var(--c-text); }
.dq-contact__channels ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.dq-faq { padding: 56px 0; }
.dq-faq__head { text-align: center; margin-bottom: 32px; }
.dq-faq__head h1 { font-size: clamp(28px, 4vw, 38px); margin: 14px 0 12px; }

.dq-faq__cat { margin-bottom: 36px; }
.dq-faq__cat h2 {
    font-size: 22px;
    color: var(--c-primary);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--c-pink);
}

.dq-faq__list { display: flex; flex-direction: column; gap: 10px; }
.dq-faq__item {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .15s ease, border-color .15s ease;
}
.dq-faq__item:hover { border-color: var(--c-pink); }
.dq-faq__item[open] { box-shadow: var(--shadow-sm); }

.dq-faq__item summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--c-text);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.dq-faq__item summary::-webkit-details-marker { display: none; }
.dq-faq__item summary::after {
    content: '+';
    color: var(--c-primary);
    font-size: 22px;
    font-weight: 300;
    transition: transform .2s ease;
}
.dq-faq__item[open] summary::after { transform: rotate(45deg); }

.dq-faq__answer {
    padding: 0 20px 18px;
    color: var(--c-text-soft);
    line-height: 1.65;
}

.dq-faq__cta {
    margin-top: 40px;
    text-align: center;
    padding: 28px;
    background: linear-gradient(135deg, rgba(201,24,74,.04), rgba(255,179,193,.15));
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-pink);
}
.dq-faq__cta p { margin: 0 0 14px; color: var(--c-text); font-size: 15px; }

.dq-faq-mini { padding: 40px 0 60px; text-align: center; }

/* --------------------------------------------------------------------------
   PÁGINAS LEGALES
   -------------------------------------------------------------------------- */
.dq-legal { padding: 56px 0; }
.dq-legal__head { margin-bottom: 32px; text-align: center; }
.dq-legal__head h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 8px; color: var(--c-primary); }
.dq-legal__subtitle { color: var(--c-text-soft); font-size: 16px; margin: 0; }
.dq-legal__meta {
    margin-top: 14px;
    font-size: 12px;
    color: var(--c-text-soft);
}
.dq-legal__meta span { margin: 0 8px; }

.dq-legal__content {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 32px;
    border: 1px solid var(--c-border);
    line-height: 1.75;
}
.dq-legal__content h2 {
    font-size: 22px;
    color: var(--c-primary);
    margin-top: 32px;
    padding-top: 4px;
}
.dq-legal__content h2:first-child { margin-top: 0; }
.dq-legal__content h3 { font-size: 18px; margin-top: 24px; }
.dq-legal__content p  { margin: 0 0 14px; color: var(--c-text); }
.dq-legal__content ul,
.dq-legal__content ol { margin: 0 0 16px; padding-left: 24px; }
.dq-legal__content li { margin-bottom: 6px; }
.dq-legal__content a  { color: var(--c-primary); text-decoration: underline; }
.dq-legal__content blockquote {
    margin: 16px 0;
    padding: 12px 18px;
    border-left: 3px solid var(--c-pink);
    background: rgba(255, 179, 193, .12);
    font-style: italic;
}

@media (max-width: 640px) {
    .dq-legal__content { padding: 24px 20px; }
}
