/* Estilos base guide-page — autocontenidos, no depende de otros ficheros de sección */

.guide-page__header {
    background: var(--skin-bg-subtle);
    padding: 3rem 0 2rem;
    border-bottom: 1px solid var(--skin-border-default);
}

.guide-page__header-inner {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.guide-page__title {
    font-family: var(--skin-font-display, 'Manrope', sans-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--skin-text-primary);
    margin: 0 0 0.5rem;
}

.guide-page__subtitle {
    font-family: var(--skin-font-body, 'Inter', sans-serif);
    font-size: 1.1rem;
    color: var(--skin-text-secondary);
    margin: 0;
}

.guide-page__body {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.guide-page__section {
    margin-bottom: 2rem;
}

.guide-page__section h2 {
    font-family: var(--skin-font-display, 'Manrope', sans-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--skin-text-primary);
    margin: 0 0 0.75rem;
}

/* Estilos específicos buscar_empresa_cif */

.cif-search-page__form-section {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--skin-border-default);
    margin-bottom: 2rem;
}

.cif-search-page__form {
    max-width: 540px;
}

.cif-search-page__input-row {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0px 3px 3px -1.5px rgba(10, 13, 18, 0.04),
                0px 8px 8px -4px rgba(10, 13, 18, 0.03),
                0px 20px 24px -4px rgba(10, 13, 18, 0.08);
    padding: 8px 8px 8px 16px;
}

.cif-search-page__input {
    flex: 1;
    height: 44px;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--skin-font-secondary);
    font-size: var(--skin-text-lg);
    font-weight: var(--skin-weight-regular);
    color: var(--skin-dark-900);
    min-width: 0;
    padding: 0 8px;
}

.cif-search-page__input::placeholder {
    color: #8A8A8A;
}

.cif-search-page__input:focus {
    outline: none;
}

.cif-search-page__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--skin-brand-navy);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    font-family: var(--skin-font-secondary);
    font-size: var(--skin-text-sm);
    font-weight: var(--skin-weight-semibold);
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
    white-space: nowrap;
    flex-shrink: 0;
    height: 44px;
    transition: background 0.2s ease;
}

.cif-search-page__btn:hover {
    background: var(--skin-navy-hover);
}

.cif-search-page__hint {
    margin-top: 0.75rem;
    font-family: var(--skin-font-body, 'Inter', sans-serif);
    font-size: 0.9rem;
    color: var(--skin-text-secondary);
}

.cif-search-page__hint a {
    color: var(--skin-text-link);
    text-decoration: none;
}

.cif-search-page__hint a:hover {
    text-decoration: underline;
}

.cif-search-page__faq {
    margin-top: 1rem;
}

.cif-search-page__faq-item {
    border-bottom: 1px solid var(--skin-border-default);
    padding: 1rem 0;
}

.cif-search-page__faq-item:last-child {
    border-bottom: none;
}

.cif-search-page__faq-item summary {
    font-family: var(--skin-font-body, 'Inter', sans-serif);
    font-weight: 600;
    cursor: pointer;
    color: var(--skin-text-primary);
    list-style: none;
}

.cif-search-page__faq-item summary::-webkit-details-marker {
    display: none;
}

.cif-search-page__faq-item summary::after {
    content: '+';
    float: right;
    font-weight: 400;
    color: var(--skin-text-secondary);
}

.cif-search-page__faq-item[open] summary::after {
    content: '−';
}

.cif-search-page__faq-item p {
    margin-top: 0.75rem;
    font-family: var(--skin-font-body, 'Inter', sans-serif);
    color: var(--skin-text-secondary);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .guide-page__title { font-size: 1.5rem; }
    .guide-page__body { padding: 1.5rem 1rem; }
    .guide-page__header-inner { padding: 1.5rem 1rem; }
    .guide-page__header { padding: 1.5rem 0 1rem; }
}

@media (max-width: 480px) {
    .cif-search-page__btn {
        padding: 12px 16px;
        font-size: var(--skin-text-xs);
    }
}
